Saturday, May 06, 2006

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

Most of this info came from posts on 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
  • 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:
    ... save and exit
  • 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
    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


Anonymous Anonymous said...

What about Monitor mode - It doesn't seem to work with the ralink drivers.
The drivers at 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:

10:51 AM  
Blogger Kenneth J said...

For instructions on wpa_supplicant to run with rt73, see

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?


3:28 PM  

Post a Comment

<< Home