Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help

Mandrake 10 Howto

From Rt2x00Wiki

This is a HOWTO for getting rt2400 working under Mandrake 10. It was contributed by Philippe Rousselot (amazilia) on the forums.

1.Get the source from
(as of 20-08-04) expand in /usr/src
# tar -xvzf rtxxx.tar.gz /usr/src/
2.Get the latest qt packages
Here is what I have on my machine
# rpm -qa | grep qt
3.Make sure you have the source of your kernel in /usr/src/
# rpm -qa | grep kernel
# ls -l /usr/src/
total 12
lrwxrwxrwx 1 root root 16 ao 18 17:13 linux -> linux-2.6.3-7mdk/
drwxr-xr-x 21 root root 4096 ao 18 17:14 linux-2.6.3-7mdk/
drwxr-xr-x 7 root root 4096 ao 18 18:34 RPM/
drwxr-xr-x 4 philippe philippe 4096 jun 23 04:45 rt2400-1.2.0/
4.Make sure you have the following link
# ls -l /lib/modules/2.6.3-7mdk/
total 796
lrwxrwxrwx 1 root root 25 ao 18 17:13 build -> /usr/src/linux-2.6.3-7mdk/
5.Compile the module
# cd /usr/src/rt2400-1.2.0/Module/
#make install
6.Compile RaConfig
# cd /usr/src/rt2400-1.2.0/Utility/
7.Start Ra0
Create and run the following script as root from anywhere.
07:29, 4 Dec 2004 (PST)07:29, 4 Dec 2004 (PST)07:29, 4 Dec 2004 (PST)07:29, 4 Dec 2004 (PST)07:29, 4 Dec 2004 (PST)serialmonkey
# By
# July-August 2004, based on tips from the
# rt2400 Linux Driver project help forum
# ( - no copyright.
# This script brings up and connects an
# rt2400 chipset based wireless network
# card to a DHCP server. It is not validated
# with regard to static IP addressing.
ifconfig ra0 down
# Install the module if not installed
insmod /usr/src/rt2400-1.2.0/Module/rt2400.o
ifconfig ra0 up
# Set wireless parameters as needed
iwconfig ra0 mode Managed
iwconfig ra0 channel auto
iwconfig ra0 rate auto
#iwconfig ra0 nick nowhereman
#iwconfig ra0 key restricted [1] XXXXXXXXXXXXX
#iwconfig ra0 key [1]
iwconfig ra0 key off
# Note: scanning must start very soon after ifconfig
iwconfig ra0 essid any
# Connect to DHCP server (comment if not DHCP)
dhclient ra0
# Settings for static IP (i.e. not DHCP)
#ifconfig ra0 x.x.x.x netmask x.x.x.x broadcast x.x.x.x
#ip route add default via dev ra0
07:29, 4 Dec 2004 (PST)07:29, 4 Dec 2004 (PST)07:29, 4 Dec 2004 (PST)07:29, 4 Dec 2004 (PST)07:29, 4 Dec 2004 (PST)serialmonkey
# ./script
insmod: error inserting '/usr/src/rt2400-1.2.0/Module/rt2400.o': -1 File exists
Internet Software Consortium DHCP Client V3.0.1rc13
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit
sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/ra0/00:08:a1:52:e6:27
Sending on LPF/ra0/00:08:a1:52:e6:27
Sending on Socket/fallback
DHCPDISCOVER on ra0 to port 67 interval 7
DHCPREQUEST on ra0 to port 67
bound to -- renewal in 1054468517 seconds.
8.Run RaConfig
[root@localhost Module]# /usr/src/rt2400-1.2.0/Utility/RaConfig&
everything should work
to make sure you really use ra0, stop any other network card
with mcc for example.
Pinging the router should work
# ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=5.10 ms
64 bytes from icmp_seq=2 ttl=64 time=2.39 ms
64 bytes from icmp_seq=3 ttl=64 time=2.47 ms
64 bytes from icmp_seq=4 ttl=64 time=2.28 ms
# ifconfig
lo Lien encap:Boucle locale
inet adr: Masque:
adr inet6: ::1/128 Scope:Hte
RX packets:346 errors:0 dropped:0 overruns:0 frame:0
TX packets:346 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:53260 (52.0 Kb) TX bytes:53260 (52.0 Kb)
ra0 Lien encap:Ethernet HWaddr 00:08:A1:52:E6:27
inet adr: Bcast: Masque:
adr inet6: fe80::208:a1ff:fe52:e627/64 Scope:Lien
RX packets:14871 errors:0 dropped:0 overruns:0 frame:0
TX packets:506 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:960974 (938.4 Kb) TX bytes:31800 (31.0 Kb)
Interruption:10 Adresse de base:0xa000
[root@localhost Module]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
ra0 RT2400PCI ESSID:"Wireless"
Mode:Managed Channel:10 Access Point: 00:09:5B:2D:32:3E
Bit Rate:11Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality:69 Signal level:24 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
9.Automatic restart after reboot
In your Module folder is the file ifcfg-ra0 copy this to
/etc/sysconfig/network/ or wherever Mandrake installs its ifcfg-* files.
# find / -name "ifcfg-ra0"
# find / -name "ifcfg-*"
# cp /usr/src/rt2400-1.2.0/Module/ifcfg-ra0 /etc/sysconfig/network-scripts/
# more /usr/src/rt2400-1.2.0/Module/ifcfg-ra0
10.Add script to /etc/rc.d/rc.local
to start ra0 at boot time add the previous script at the end of
/etc/rc.d/rc.local just before the following line
touch /var/lock/subsys/local
If it does not work as root rerun the script, but it works for me.

Retrieved from ""

This page has been accessed 24,858 times. This page was last modified 15:29, 4 December 2004 by Mark Wallis. Content is available under GNU Free Documentation License 1.2.

[Main Page]
Main Page
Community portal
Current events
Recent changes
Random page

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports