Hammer WiFi

From eLinux.org
Revision as of 00:29, 27 May 2008 by Robotguy (talk | contribs) (1) [http://www.edimax.com/en/produce_detail.php?pd_id=3&pl1_id=1&pl2_id=44 '''Edimax EW-7318Ug'''])
Jump to: navigation, search

Here are the WiFi adapters we know work with the Hammer Board:

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.

Here is a known working configuration for this adapter. These lines are added to your inittab file. You might be able to use this configuration for other cards by making substitutions as shown. Your WAN device might have a different name than wlan0, 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 board)
null::sysinit:/bin/sleep 5
null::sysinit:/sbin/ifconfig wlan0 <IP address> netmask 255.255.255.0 broadcast <Broadcast address> up
null::sysinit:/sbin/iwconfig wlan0 essid thedynaplexnetwork (Replace with 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>