Difference between revisions of "USB to WiFi adapter"

From ArmadeusWiki
Jump to: navigation, search
(WiFi configuration)
(Kernel configuration)
Line 12: Line 12:
 
* First, to use a USB dongle, USB Host must be configured. See [[ISP1761_Linux_driver|this page]] to know how to do with the [[APF9328DevFull]].
 
* First, to use a USB dongle, USB Host must be configured. See [[ISP1761_Linux_driver|this page]] to know how to do with the [[APF9328DevFull]].
 
* Then, Wireless network must be configured selecting these options in ''make linux-menuconfig'':
 
* Then, Wireless network must be configured selecting these options in ''make linux-menuconfig'':
<source lang="bash">
+
<pre class="config">
 
  [*] Networking support  --->
 
  [*] Networking support  --->
 
     Wireless  --->
 
     Wireless  --->
 
         <*> Generic IEEE 802.11 Networking Stack (mac80211)
 
         <*> Generic IEEE 802.11 Networking Stack (mac80211)
</source>
+
</pre>
  
 
* Finally, select the chipset :
 
* Finally, select the chipset :
<source lang="bash">
+
<pre class="config">
 
  Device Drivers  --->
 
  Device Drivers  --->
 
     [*] Network device support  --->
 
     [*] Network device support  --->
Line 26: Line 26:
 
             <M> Ralink driver support
 
             <M> Ralink driver support
 
             <M> Ralink rt2501/rt73 (USB) support
 
             <M> Ralink rt2501/rt73 (USB) support
</source>
+
</pre>
  
 
==== Packages needed ====
 
==== Packages needed ====

Revision as of 09:43, 3 February 2009

Tested hardware

Ralink RT2571WF

The WiFi chipset RT2571WF can be found under the D-Link WiFi key DWL-G122. All drivers are included in Linux kernel 2.6.27. But firmware must be downloaded from serialmonkey website at this address.

To use it with APF9328, you need an APF9328DevFull development board (with USB Host).

Kernel configuration

  • First, to use a USB dongle, USB Host must be configured. See this page to know how to do with the APF9328DevFull.
  • Then, Wireless network must be configured selecting these options in make linux-menuconfig:
 [*] Networking support  --->
    Wireless  --->
        <*> Generic IEEE 802.11 Networking Stack (mac80211)
  • Finally, select the chipset :
 Device Drivers  --->
    [*] Network device support  --->
        Wireless LAN  --->
            [*] Wireless LAN (IEEE 802.11)
            <M> Ralink driver support
            <M> Ralink rt2501/rt73 (USB) support

Packages needed

To play with WiFi, select these packages in make menuconfig:

  • To configure Wlan:
 Package Selection for the target  --->
    [*] Networking  --->
        [*]   wireless tools
  • To surf on the net:
 Package Selection for the target  --->
    [*] Networking  --->
        [*]   links

After flashing your rootfs and kernel, you can boot the card and configure WiFi.

WiFi configuration

First mount the module:

# modprobe rt73usb

Then copy the firmware named rt73.bin (found in Module directory of rt73-cvs archive) in apf /lib/firmware directory. If /lib/firmware doesn't exist create it.

 mkdir -p /lib/firmware
 tftp -g -r rt73.bin <yourIP>
 mv rt73.bin /lib/firmware

Your WiFi-module driver is ready, you can now connect the dongle and after go further with the WiFi configuration.

ZyDas zd1212 chipset

To buy this device in France

Configure Linux

$ make linux26-menuconfig
Same as Ralink +

Device Drivers  --->
    [*] Network device support  --->
        Wireless LAN  --->
            <M> ZyDAS ZD1211/ZD1211B USB-wireless support
            [*]   ZyDAS ZD1211 debugging

Get firmware

Install firmware

 # mkdir -p /lib/firmware/zd1211
 # cd /lib/firmware/
 # tftp -g -r zd1211-firmware-1.4.tar.bz2 192.168.0.17
 # bunzip2 zd1211-firmware-1.4.tar.bz2
 # tar xf zd1211-firmware-1.4.tar
 # mv zd1211-firmware zd1211

Launch driver

 # modprobe zd1211rw
 zd1211rw 1-1.1:1.0: phy0
 # ifconfig wlan0 up
 firmware: requesting zd1211/zd1211b_ub
 firmware: requesting zd1211/zd1211b_uphr


Links