Hi all!
I've been trying to get my RT2500 wireless card to work for well over a year now. I for long didn't have a wireless modem, but I know some networks I could attach to. Lately I bought a wireless router.
The whole ordeal has been very frustrating. But today I'll attempt it again. As basis I use
easuters howto. I've followed many in the past, and none of them worked.
The system I'm using is an 1.5Ghz Celeron Packard Bell, 512MB RAM, with the RaLink RT2500 wireless card. There are leftovers from previous attempts to get the card to work on my system. I'm not bothering with it, because I'm gonna rebuild my partitioning scheme and reinstall everything in a couple of days. Knowing how to get it to work on this 'dirty' system will help me set up a better 'clean' system.
OK, here goes. What is quoted, is quoted from easuters howto.
- Step 1: Know if your hardware works
The very first thing you should do is to find out if a certain card is known to work with Linux before you buy it. Even if a native driver is not availible, then NdisWrapper is usually the next best thing, but it is not 100% fail-safe either!
Check. It works while running Mandriva Life. On an installed Mandriva system the card is as dead as ever.
Step 2: Making sure your card is detected
-snip-
If you have a PCI or CardBus/PCMCIA wireless card:
lspci
root@lappy:~ #lspci
00:00.0 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:06.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01) <= that's the one
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 02)
Gotcha!
Step 3: Get your card and computer talking
a ) With a native Linux module
init 2
vasm
do stuff
init 4
cat /etc/modprobe.conf
Right!
root@lappy:~ #cat /etc/modprobe.conf
# /etc/modprobe.conf (old location for Linux 2.6+ config)
#
# The use of this config file is deprecated if you are using a
# 2.6.x or newer kernel. Instead, create files in the
# /etc/modprobe.d/ directory containing modprobe options.
#
# For more information, see "man modprobe.conf".
alias ra0 rt2500
alias eth0 via-rhine
Ok. I had checked this file prior to running vasm, and the ra0 entry was already there. A leftover from a previous attempt. But! vasm did change the order of the ra0 and the eth0 entries. I am very sure of it.
Now at this moment I'm wondering. I've encountered before that parts of the system expect my wireless to be called wlan0. It seems farfetched, but I don't know what to make of things anymore :confused:
If that is the case, then your network interface has been properly created.
Ai, let's hope so. Continue!
depmod -aq
modprobe xxxxxxxxx
root@lappy:~ #depmod -aq
root@lappy:~ #modprobe rt2500
I've done this before of course, but as far as I can tell you wont brake something by duplicate modprobes. If I'm wrong O_o
You may want to add wlan0 (or whatever network interface you assigned to your card) to ifplugd.
Open /etc/ifplug.d/ifplugd.conf with you editor and find the line that looks like this:
INTERFACES="eth0"
Add your network interface to that line, so it should look like this:
INTERFACES="eth0 wlan0"
Oops. A typo ;-) /etc/ifplug.d should be /etc/ifplugd
Anyway, I've added ra0, assuming that was the way to go.
Funny thing, I've never had to edit this file before. It sometimes seems that every howto is very different from the next. But this is new.
Anyway, it now sais:
INTERFACES="eth0 ra0"
Moving on, action!
root@lappy:~ #service ifplugd restart
Stopping Network Interface Plugging Daemon: eth0 ra0.
Starting Network Interface Plugging Daemon: eth0 ra0.
Looking good!
root@lappy:~ #ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:D0:8F:6F:27
inet addr:80.57.200.113 Bcast:255.255.255.255 Mask:255.255.254.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3860452 errors:0 dropped:0 overruns:0 frame:0
TX packets:2991546 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2935263993 (2.7 GiB) TX bytes:277039546 (264.2 MiB)
Interrupt:11 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
root@lappy:~ #iwconfig
lo no wireless extensions.
ra0 RT2500 Wireless ESSID:""
Mode:Managed Frequency=2.412 GHz Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality:0 Signal level:136 Noise level:113
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
eth0 no wireless extensions.
Looking good again!
And now...
root@lappy:~ #ifconfig ra0 up
SIOCSIFFLAGS: Device or resource busy
root@lappy:~ #ifconfig ra0 down
root@lappy:~ #ifconfig ra0 up
SIOCSIFFLAGS: Device or resource busy
The SIOCSIFFLAGS error again. From this point onward the card does nothing. Nada. And I'm lost again.
Now that could be due to the fact that previous attempts have 'contaminated' my system. But to be frank, I have this error almost every time. And I have tried to install this on several clean systems. Slackware, OpenSUSE, *buntu, Mandriva, Vector. I've googled this to no end, meeting a couple of my own posts (which is always fun)... but frankly I think I'm either overlooking something obvious or I am just cursed; I did meet a witch once...
Now anyone who has read this deserves a medal. Pray, tell me, where did I go wrong?