Saturday, May 06, 2006

Linksys WUSB54GC Wireless USB Adapter -- install on Debian 2.6.8 kernel

Most of this info came from posts on Ralinktech.com forums

  • my base system consisted of a "minimal" debian install from debian-31r1-i386-netinst.iso
  • apt-get install kernel-source-2.6.8 kernel-headers-2.6.8-2-386 unzip gcc-3.4 gcc make wireless-tools

  • cd /usr/src
  • tar -xvjf kernel-source-2.6.8.tar.bz2
  • mv kernel-source-2.6.8 linux-2.6.8
  • get linux driver from RaLink web site
  • wget http://www.ralinktech.com/drivers/Linux/RT73_Linux_STA_Drv1.0.3.0.tar.gz
  • tar -xvzf RT73_Linux_STA_Drv1.0.3.0.tar.gz
  • cd RT73_Linux_STA_Drv1.0.3.0/Module
  • cp Makefile.6 Makefile
  • vi /usr/src/RT73_Linux_STA_Drv1.0.3.0/Module/rtmp_def.h
  • ... after the #define RTVID3 and RTPID3 lines insert:
     
    #define RTVID4              0x13b1                 // Linksys WUSB54GC
    #define RTPID4              0x0020
    
    ... after the "{USB_DEVICE(RTVID3,RTPID3)}, \" line insert:
    
     {USB_DEVICE(RTVID4,RTPID4)}, 
    ... save and exit
    wq!
  • make

  • cp rt73.ko /lib/modules/2.6.8-2-386/kernel/drivers/net/wireless/
  • insmod /lib/modules/2.6.8-2-386/kernel/drivers/net/wireless/rt73.ko
  • depmod -a
  • modprobe rt73 (should be redundant ?)

  • vi /etc/modprobe.conf
  • alias rausb0 rt73
  • vi /etc/network/interfaces
  • auto rausb0
    iface rausb0 inet static
      address 192.168.0.20
      netmask 255.255.255.0
      gateway 192.168.0.1
      broadcast 192.168.0.255
    up sh /etc/network/do_wep &
  • vi /etc/network/do_wep
  • #!/bin/sh
    ifconfig rausb0 up
    iwconfig rausb0 essid eeeeeee key restricted xxxxxxx nick nnnnnnn
    ifup rausb0
  • chmod 755 /etc/network/do_wep
  • /etc/init.d/networking restart


4 Comments:

Anonymous Anonymous said...

What about Monitor mode - It doesn't seem to work with the ralink drivers.
The drivers at serialmonkey.com do have Monitor mode but as yet they don't work properly.
Any other way to get Monitor mode going?

8:10 AM  
Blogger Kenneth J said...

Updated link: http://www.ralinktech.com/drivers/Linux/RT73_Linux_STA_Drv1.0.3.6.tar.gz

10:51 AM  
Blogger Kenneth J said...

For instructions on wpa_supplicant to run with rt73, see http://kennethjor.blogspot.com/2006/10/linksys-wusb54gc-ralink-rt73-and.html

6:22 PM  
Blogger José Villegas said...

Hey! I made it work in a debian-like distribution... any idea on how to create my access point using this driver? Any tools for that?

Thanks,

3:28 PM  

Post a Comment

<< Home