| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

SettingUpWifi

Page history last edited by PBworks 17 years, 6 months ago

SettingUpWifi

 

THIS ONLY APPLIES TO THE WGT634U

 

This is for AP mode. For client mode, follow ClientModeHowto or ClientMode_(Managed_Mode)_with_WPA-Supplicant.

 

Wireless, by default, isn't on, or working. Follow these steps to set it up:

 

  • If you don't have madwifi installed in your image (ipkg list_installed | grep madwifi) then you have to install it.

 

ipkg install kmod-madwifi

-OR-

ipkg install kmod-madwifi-old (thanks J4k3!)

 

  • To set up wireless settings, create a new file /etc/init.d/S21wifisettings (alternatively, you could include the following lines in your /etc/init.d/S20madwifi):

 

#!/bin/sh

 

wlanconfig ath0 create wlandev wifi0 wlanmode ap

iwconfig ath0 essid "OpenWrt"

## At this place, you can also make other settings like channel, wep, key etc.

ifup ath0

 

# OL: for some reason I have to ifup ath0 before running iwconfig in order to set the channel etc.

 

  • chmod +x /etc/init.d/S21wifisettings

 

  • [gregor@hoffleit.de: Is this step necessary? I don't think so.] Also, edit /etc/modules.d/20-madwifi:

 

ath_pci

ath_pci autocreate=ap

 

  • Now run it. The wireless light on the WGT should start flashing.

 

  • Make sure that ath0 is included in lan_ifnames in your /etc/config/network:

 

lan_ifnames="vlan0 ath0"

 

  • Now

 

ifup lan

 

  • Enjoy.

Comments (0)

You don't have permission to comment on this page.