Sunday, May 22, 2011

Build RT3070 kernel module on Ubuntu 10.04 (Lucid Lynx)

The Ralink USB dongle wireless 802.11n driver install on Ubuntu 10.04 steps as below:

1. Download the driver for linux http://www.ralink.com.tw/support.php?s=2
click RT8070/RT3070USB(RT307x) and press Accept button.

2. Extract the file, open a terminal, cd into it and copy a missing file.
tar -xvf DPO_RT3070_LinuxSTA_V2.3.0.2_20100412.tar.bz2
cd DPO_RT3070_LinuxSTA_V2.3.0.2_20100412
cp RT2870STA.dat RT3070STA.dat

3. edit os/linux/usb_main_dev.c, add one line “MODULE_LICENSE(“GPL”);”. Please refers to http://www.linuxforums.org/forum/wireless-internet/161550-rt3070sta-module-license-unspecified-taints-kernel-solved.html
lsusb to check your id, add the ids into file common/rtusb_dev_id.c.

4. Compile and install the driver.
make (you’ll see one error that related “tftpboot”, ignore it.)
sudo make install

5. Add a missing symlink.
sudo mkdir /etc/Wireless/RT2870STA; sudo ln -s /etc/Wireless/RT3070STA/RT3070STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat

6. Load the driver, if failed please rmmod rt2800usb related kernel modules.
sudo modprobe rt3070sta

7. edit file “/etc/modprobe.d/blacklist.conf”.
Add “blacklist rt2800usb” to the bottom line

After reboot you will use the WLAN well on Ubuntu 10.04, good luck!

No comments:

Post a Comment