Hammer WiFi

From eLinux.org
Revision as of 21:06, 3 June 2008 by Robotguy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

USB WiFi adapters we know work

1) Edimax EW-7318Ug

For this to work properly, you need at least kernel 2.6.24 with the Hammer Patch. This adapter uses the Ralink RT73 chipset, so the rt73usb driver must be enabled in your kernel.

Configuring for WiFi

Here is a known working configuration for the Edimax EW-7318Ug adapter, and probably others. These lines are added to your inittab file. You might be able to use this configuration for other adapters also. The WiFi module for your adapter might use names other than wlan0 for the interface, so be sure to make that substitution if necessary in all of the following lines.

null::sysinit:/sbin/modprobe mac80211
null::sysinit:/sbin/modprobe cfg80211
null::sysinit:/sbin/modprobe rt73usb (Replace this with the module for your WiFi adapter)
null::sysinit:/bin/sleep 5
null::sysinit:/sbin/ifconfig wlan0 <IP address> netmask broadcast <Broadcast address> up
null::sysinit:/sbin/iwconfig wlan0 essid <Your network's essid)
null::sysinit:/sbin/iwconfig wlan0 channel 11
null::sysinit:/sbin/iwconfig wlan0 mode managed
null::sysinit:/sbin/iwconfig wlan0 enc on
null::sysinit:/sbin/iwconfig wlan0 key <Your WEP key here>
null::sysinit:/sbin/iwconfig wlan0 ap <Your wireless access point ID>