[Bug 34902] Re: Ralink Wireless USB/PCMCIA/PCI hangs PC
spaceboy8
hecht.thomas at gmail.com
Tue Apr 17 19:31:09 UTC 2007
wget
http://prdownloads.sourceforge.net/rt2400/rt2570-1.1.0-b2.tar.gz?download
Preparation
If not installed already, these packages need to be installed.
Code:
sudo apt-get install build-essential linux-headers-`uname -r` gcc-3.4
At the time this was written driver was rt2570-1.1.0-b1. If driver is
updated commands will need to change to that file name.
Step 1 Download and untar file
Get file
Go here and choose the rt2570beta driver. You'll get a choice of mirrors where to download from. Save it to file.
Now copy the file to /usr/src
Code:
sudo cp /path/to/file/rt2570-1.1.0-b1.tar.gz /usr/src/
Move to /usr/src
Code:
cd /usr/src
Untar file
Code:
sudo tar -xzvf rt2570-1.1.0-b1.tar.gz
Move into file
Code:
cd rt2570-1.1.0b1/Module
Step 2 Make and install file
Code:
sudo make
Code:
sudo make install
Step 3 Set up and load module
make a directory for the .ko file
Code:
sudo mkdir /lib/modules/`uname -r`/drivers/
copy file over to new directory
Code:
sudo cp /lib/modules/2.6.12/extra/rt2570.ko /lib/modules/`uname
-r`/drivers/
Then insert module into kernel
Code:
sudo insmod /lib/modules/`uname -r`/drivers/rt2570.ko
Code:
sudo lsmod -a
Configure your wireless device through /etc/network/interfaces. Here is
a sample file.
iface rausb0 inet dhcp
wireless-essid apname
wireless-key xxxxxxxxx
wireless-mode Managed
auto rausb0
restart the networking service
Code:
sudo /etc/init.d/networking restart
Now try to bring up your device
Code:
sudo ifconfig rausb0 up
To load module at boot add it to /etc/modules file
Code:
sudo echo rt2570 >> /etc/modules
--
Ralink Wireless USB/PCMCIA/PCI hangs PC
https://bugs.launchpad.net/bugs/34902
You received this bug notification because you are a member of Kernel
Bugs, which is a direct subscriber.
More information about the kernel-bugs
mailing list