Difference between revisions of "Hammer WiFi"
(→1) [http://www.edimax.com/en/produce_detail.php?pd_id=3&pl1_id=1&pl2_id=44 '''Edimax EW-7318Ug''']) |
(→1) [http://www.edimax.com/en/produce_detail.php?pd_id=3&pl1_id=1&pl2_id=44 '''Edimax EW-7318Ug''']) |
||
Line 5: | Line 5: | ||
For this to work properly, you need at least kernel 2.6.24 with the Hammer Patch. This adapter uses the [http://www.ralinktech.com Ralink] RT73 chipset, so the rt73usb driver must be enabled in your kernel. | For this to work properly, you need at least kernel 2.6.24 with the Hammer Patch. This adapter uses the [http://www.ralinktech.com Ralink] RT73 chipset, so the rt73usb driver must be enabled in your kernel. | ||
− | Here is a known working configuration for | + | === Configuration for WiFi === |
+ | |||
+ | Here is a known working configuration for the [http://www.edimax.com/en/produce_detail.php?pd_id=3&pl1_id=1&pl2_id=44 '''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 mac80211 | ||
null::sysinit:/sbin/modprobe cfg80211 | null::sysinit:/sbin/modprobe cfg80211 | ||
− | null::sysinit:/sbin/modprobe rt73usb (Replace this with the module for your WiFi | + | null::sysinit:/sbin/modprobe rt73usb (Replace this with the module for your WiFi adapter) |
null::sysinit:/bin/sleep 5 | null::sysinit:/bin/sleep 5 | ||
null::sysinit:/sbin/ifconfig wlan0 <IP address> netmask 255.255.255.0 broadcast <Broadcast address> up | null::sysinit:/sbin/ifconfig wlan0 <IP address> netmask 255.255.255.0 broadcast <Broadcast address> up | ||
− | null::sysinit:/sbin/iwconfig wlan0 essid | + | null::sysinit:/sbin/iwconfig wlan0 essid <Your network's essid) |
null::sysinit:/sbin/iwconfig wlan0 channel 11 | null::sysinit:/sbin/iwconfig wlan0 channel 11 | ||
null::sysinit:/sbin/iwconfig wlan0 mode managed | null::sysinit:/sbin/iwconfig wlan0 mode managed |
Revision as of 00:38, 27 May 2008
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.
Configuration 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 255.255.255.0 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>