Difference between revisions of "Hammer WiFi"

From eLinux.org
Jump to: navigation, search
(1) [http://www.edimax.com/en/produce_detail.php?pd_id=3&pl1_id=1&pl2_id=44 '''Edimax EW-7318Ug'''])
Line 16: Line 16:
 
  null::sysinit:/sbin/iwconfig wlan0 mode managed
 
  null::sysinit:/sbin/iwconfig wlan0 mode managed
 
  null::sysinit:/sbin/iwconfig wlan0 enc on
 
  null::sysinit:/sbin/iwconfig wlan0 enc on
  null::sysinit:/sbin/iwconfig wlan0 key <Put your WEP key here>
+
  null::sysinit:/sbin/iwconfig wlan0 key <Your WEP key here>
 +
null::sysinit:/sbin/iwconfig wlan0 ap <Your wireless access point ID>
 +
 
  
 
[[Category:TCT-Hammer]]
 
[[Category:TCT-Hammer]]
 
[[Category:TinCanTools]]
 
[[Category:TinCanTools]]

Revision as of 22:14, 22 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.25-rc8 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>