Rt2400 Installation Guide
From Rt2x00Wiki
Generic Instructions for the installation of the rt2400 driver module
Below you will find the generic instructions for compiling and installing the rt2400 wireless driver module under Linux. More specific instructions for your specific distribution may exist in the form of community submitted HOWTOS
Compilation and Installation
1. Ensure that you have your current kernel sources expanded in the default directory (i.e. /usr/src/linux-2.x.x). We also recommend that the sources you have here are the ones you used to build your current running kernel.
2. Check that you have the Wireless Extensions built into your running kernel from the sources above. This option can be found in 'make menuconfig' under Network Device Support->Wireless LAN->Wireless LAN (non-hamradio).
3. Ensure you have a symlink from /lib/modules/2.x.x/build to that kernel source directory (i.e. symlink from /lib/modules/2.x.x/build -> /usr/src/linux-2.x.x)
4. Expand the rt2400 source package using tar -xzvf rt2400-x.x.x.tar.gz
5. Change into the rt2400-x.x.x/source folder
6. Run 'make'
7. Run 'make install'
Loading the Module
Assuming everything has installed correctly you should be able to load the module with the command 'modprobe rt2400'
From here you can tell if the module has loaded by running 'iwconfig'. You should get an output simular to that below.
lo no wireless extensions.
ra0 RT2400 Wireless ESSID:"<ANY>"
Mode:Managed Frequency:2.412GHz Bit Rate:1Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
If you can see the 'ra0' interface then the module has loaded correctly and you are in business.
From here
See the Module Usage Guide
TIPS:
- If you have trouble with the driver and are asked to provide debug info then you need todo 2 things. Afterwards all the debug info will be available through the standard syslog.
1. Firstly, replace the 'make' command in step 6 with 'make debug'.
2. Secondly, load the module with an extra debug parameter using the command 'modprobe rt2400 debug=1'.
