Results 1 to 10 of 54

Thread: Ralink RT73 USB Wifi Driver (patched for injection & frag) + DKMS in Jaunty (9.04)

Threaded View

  1. #1
    Join Date
    Jul 2009
    Location
    Cairo, Egypt
    Beans
    32
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Ralink RT73 USB Wifi Driver (patched for injection & frag) + DKMS in Jaunty (9.04)

    This guide uses p_larbig's RT73 USB enhanced drivers instead of the serialmonkey drivers because p_larbigs's are based off of the serialmonkey drivers, but have been already patched for Injection & Fragmentation Attacks, so you can utilize aireplay-ng in Aircrack-ng to its fullest.
    The guide also helps you build and install the module with DKMS (which is natively supported in Jaunty 9.04), so that if you recompile your kernel or upgrade it later, the module will be automatically rebuilt and installed for you, by DKMS

    For more info on p_larbig's RT73 USB driver sources:
    http://homepages.tu-darmstadt.de/~p_larbig/wlan/

    Notes about this version (3.0.3) from the author's site:
    Version 3.0.3 provides kernel version 2.6.29 compatibility. It uses default kernel memory allocation for devices' private data area. This may fail on 64bit platforms (according to RaLink). In previous versions the driver allocated its own memory and hacked it into the netdev structure. This hack failed in 2.6.29 and has been removed. However, the new mode works for me quite well. Please report if any problems occur.
    The wireless card I tested this on is a DLink DWA-110 USB, the system I tested this on is a clean install of Ubuntu Jaunty 9.04 with all updates as of 17/7/2009 (including the stock kernel 2.6.28-13).

    Blacklist the mac80211-based rt73usb & rt* drivers to avoid conflicts
    create a new file in /etc/modprobe.d called blacklist-rt73.conf
    Code:
    sudo nano /etc/modprobe.d/blacklist-rt73.conf
    and paste the following in it:
    Code:
    # Blacklist rt73usb (mac80211) as it's beta and conflicts with the 
    #  stable ieee80211 based rt73 module
    blacklist rt73usb
    
    # Other modules that possibly conflict with rt73
    blacklist rt2500usb
    blacklist rt2x00lib
    blacklist rt2x00usb
    Download the latest version of the RT73 USB Enhanced Driver
    (in your home directory or in /tmp or wherever you like, it will no longer be needed after)
    Code:
    wget http://homepages.tu-darmstadt.de/~p_larbig/wlan/rt73-k2wrlz-3.0.3.tar.bz2
    tar xjf rt73-k2wrlz-3.0.3.tar.bz2
    cd rt73-k2wrlz-3.0.3
    you should now be in the top-level directory you just extracted ( rt73-k2wrlz-3.0.3 )

    Prepare DKMS config
    create a file in rt73-k2wrlz-3.0.3 directory, called dkms.conf
    Code:
    nano dkms.conf
    and paste the following in it:
    Code:
    PACKAGE_NAME="rt73-k2wrlz"
    PACKAGE_VERSION="3.0.3"
    
    # make sure kernel is 2.6.27 or newer, just in case
    # http://homepages.tu-darmstadt.de/~p_larbig/wlan/
    BUILD_EXCLUSIVE_KERNEL="2.6.(27|28|29|[3-9][0-9])"
    
    MAKE[0]="make -C Module"
    CLEAN="make -C Module clean"
    
    BUILT_MODULE_NAME[0]="rt73"
    BUILT_MODULE_LOCATION[0]="Module"
    DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless"
    
    AUTOINSTALL="yes"
    Create a traball archive of the source directory (with our dkms.conf in it)
    Code:
    tar czf rt73-k2wrlz-3.0.3-dkms.tar.gz rt73-k2wrlz-3.0.3
    Load the rt73-k2wrlz tarball to DKMS source tree
    Code:
    sudo dkms ldtarball --archive=rt73-k2wrlz-3.0.3-dkms.tar.gz
    Build rt73 module with DKMS
    Code:
    sudo dkms build -m rt73-k2wrlz -v 3.0.3
    Install rt73 module with DKMS
    Code:
    sudo dkms install -m rt73-k2wrlz -v 3.0.3
    Insert you RT73 USB Wifi adapter and it should be automatically detected, and automatically configured for you by NetworkManager or WICD (whichever one you use) if you have either installed. I use NetworkManager, and it automatically detected my DLink DWA-110 USB soon after I plugged it in
    Or alternatively you could install RutilT
    Code:
    sudo apt-get install rutilt
    Author's site: http://bonrom.cbbknet.com/
    RutilT is a Gtk+2 utility for Linux that helps you configure your wireless devices. It should play nicely with the "legacy drivers" from the rt2x00 project. I initially intended to support rt2x00 itself, however due to real life constraints, I am no longer doing much development, only maintenance.
    More info on making RutilT run in startup:
    http://ubuntuforums.org/showthread.php?t=502526

    Hope this helps anyone
    Last edited by jasmineaura; October 8th, 2009 at 10:00 AM.
    Frankly, if you're connected to the internet, there's simply no excuse for this level of ignorance. It's willful. - tsm_sf on /.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •