Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 01-19-2005, 12:16 AM   #1
LQ Newbie
Registered: Nov 2003
Distribution: fc3 (2.6.9-1.667)
Posts: 6

Rep: Reputation: 0
FC3, ndiswrapper .12, and LinkSys WMP54g v4 (RaLink) problems

at first this was just a basic problem: wireless card wasn't working in fc3, however; now that i have exhausted all my ideas i'm turning to the forums for an answer (hopefully). i'm running fedora core 3 (2.6.9-1.667) with a LinkSys WMP54g v4 (with the RaLink chipset... not whatever they have changed to for the new v4's).

i am not new to linux (i have been using mandrake/redhat/slackware since about 1998) so i know how to get around. however, i have never had the internet on my linux boxes because i always manage to get a win modem that will not work with linux (and i'm too lazy to buy a new one...), so this whole thing could be my lack of a networking background (but i doubt it). i have read everything (google, news groups, lugs, forums, ldp howto's, etc...) on wireless networking and any problem even remotely connected to wireless cards in linux, so no rtfm here

here's what i have tried:

to start off i find my chipset.

[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
02:09.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)
02:0a.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus Reference Card (rev 01)
02:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
02:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)

with that i go read everything i can find on wireless networking and installing wireless cards. i grab ndiswrapper 0.12, driverwrapper 2.23, the Ralink drivers for windows and linux from their site (since i read about people having problems with the LinkSys ones who got the Ralink drivers to work), and
the drivers from a-link (dot) com which i found out about from another linksys thread here titled "Linksys WMP54g help with hang" (i can't post links). with all those copied to my linux drive i figured installing the Ralink linux drivers would be the best option; however, i have no kernel source and didn't get the SRPM discs, so that will have to wait.

so i go with plan b, which is to install ndiswrapper. ndiswrapper compiles, installs, and loads the LinkSys windows drivers without a problem:

[root@localhost ~]# ndiswrapper -l
Installed ndis drivers:
rt2500 driver present, hardware present

[root@localhost ~]# lsmod
Module Size Used by
ntfs 132624 1
nls_utf8 1985 2
md5 4033 1
ipv6 232577 6
autofs4 24005 0
i2c_dev 10433 0
i2c_core 22081 1 i2c_dev
sunrpc 160421 1
ipt_REJECT 6465 2
iptable_filter 2753 1
ip_tables 16193 2 ipt_REJECT,iptable_filter
dm_mod 54741 0
button 6481 0
battery 8517 0
ac 4805 0
joydev 8705 0
uhci_hcd 31449 0
hw_random 5589 0
emu10k1_gp 3649 0
gameport 4801 1 emu10k1_gp
snd_emu10k1_synth 7873 0
snd_emux_synth 38977 1 snd_emu10k1_synth
snd_seq_virmidi 6593 1 snd_emux_synth
snd_seq_midi_event 8385 1 snd_seq_virmidi
snd_seq_midi_emul 6593 1 snd_emux_synth
snd_seq 56785 4 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_seq_midi_emul
snd_emu10k1 93769 3 snd_emu10k1_synth
snd_rawmidi 26725 2 snd_seq_virmidi,snd_emu10k1
snd_pcm_oss 47609 0
snd_mixer_oss 17217 2 snd_pcm_oss
snd_pcm 97993 2 snd_emu10k1,snd_pcm_oss
snd_timer 29765 2 snd_seq,snd_pcm
snd_seq_device 8137 5 snd_emu10k1_synth,snd_emux_synth,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec 64401 1 snd_emu10k1
snd_page_alloc 9673 2 snd_emu10k1,snd_pcm
snd_util_mem 4801 2 snd_emux_synth,snd_emu10k1
snd_hwdep 9413 2 snd_emux_synth,snd_emu10k1
snd 54053 14 snd_emux_synth,snd_seq_virmidi,snd_seq,snd_emu10k1,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd _timer,snd_seq_device,snd_ac97_codec,snd_hwdep
soundcore 9889 2 snd
dmfe 20581 0
ndiswrapper 127852 0
floppy 58609 0
ext3 116809 2
jbd 74969 1 ext3

[root@localhost ~]# ifconfig
lo Link encap:Local Loopback
inet addr: Mask:
inet6 addr: ::1/128 Scope:Host
RX packets:708 errors:0 dropped:0 overruns:0 frame:0
TX packets:708 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:63088 (61.6 KiB) TX bytes:63088 (61.6 KiB)

[root@localhost ~]# iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11g ESSIDff/any Nickname:"localhost.localdomain"
Mode:Auto Frequency:2.437GHz Access Point: 00:00:00:00:00:00
Bit Rate=54Mb/s Tx-Power:20 dBm Sensitivity=-120 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:136/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

sit0 no wireless extensions.

[root@localhost ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:12:17:1A:BF:AF
Protocol:IEEE 802.11b
Frequency:2.437GHz (Channel 6)
Quality:0/100 Signal level:-51 dBm Noise level:-256 dBm
Encryption keyn
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Bit Rate:18Mb/s
Bit Rate:24Mb/s
Bit Rate:36Mb/s
Bit Rate:54Mb/s
Bit Rate:6Mb/s
Bit Rate:9Mb/s
Bit Rate:12Mb/s
Bit Rate:48Mb/s

now at this point i noticed that iwconfig wasn't reporting the proper settings, but iwlist was (this is a brand new wireless tools package (downloaded about 3 days ago). except for the fact that my router's mac is 00:12:17:1A:BF:AD, not xxxx:AF. i figure i should
just be able to change that, run dhcp, and have a working connection. so i run iwconfig:

[root@localhost ~]# iwconfig wlan0 AP 00:12:17:1A:BF:AD

which does nothing. another scan says my ap is the same.
i figure i'll try dhcp anyway and see what i get.

[root@localhost ~]# dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:0f:66:f2:04:a7
Sending on LPF/wlan0/00:0f:66:f2:04:a7
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to port 67 interval 4
DHCPDISCOVER on wlan0 to port 67 interval 8

i get nothing. thinking it might be dhclient (i read about some people having problems with it) i get dhcpcd. but dhcpcd wlan0 does nothing (the cursor just sits on the new line and blinks).

checking route returns:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface * U 0 0 0 lo

my router's internal ip is
out of couriosity i ping but it has 100% packet loss (i do have a firewall on... but by the time i took it down i had other problems too so...) and i can't ping my router. i decided i would just edit all the files i needed manually but either my resolv.conf file contains nothing or something is up with it because nautilus/gedit couldn't open it and cat returns nothing. so before i go screwing with it i try route

route add default gateway fails with:
SIOCADDRT: Network is unreachable

and i can't remove that, everything i try returns:
SIOCDELRT: Invalid argument

since i read that the problem might be that the windows drivers need at
least 12k stack sizes and fc3 kernels only use 4 (and fedora removes the
option in the kernel for the stack size) i tried removing ndiswrapper and
installing linuxant's kernel. however, after doing that the kernel does freeze on modprobe ndiswrapper and the dhcp clients both segfault. i try rebuilding ndiswrapper just in case but on compiling i get "undefined symbol: get_user_size" compile errors.

i gave up on using ndiswrapper here and decided to go get the kernel source
and try the native drivers. throughout the above i tried:
kernels: 2.6.9-1.667 (fc3), 2.6.9-1.667stk16 (linuxant), my own customized 2.6.9 (with a stack size of 128kb - just to be sure
ndiswrapper 0.12 and 1.0rc2 with all the above kernels (except mine - explanation below)
and all the combos of the two kernels and two ndiswrappers with all four of the windows drivers (linksys winxp, ralink winxp, ralink win 2k (i heard they worked for some people), and the driver)
nothing worked.

so after getting the srpm discs and attempt to build the fc3 kernel source (but not install... i just needed them compiled) and get a scsi error:

/usr/src/linux-2.6.9/drivers/scsi/qla2xxx/qla_os.c: In function `qla2x00_queuecommand':
/usr/src/linux-2.6.9/drivers/scsi/qla2xxx/qla_os.c:315: sorry, unimplemented: inlining failed in call to 'qla2x00_callback': function not considered for inlining
/usr/src/linux-2.6.9/drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from here
/usr/src/linux-2.6.9/drivers/scsi/qla2xxx/qla_os.c:315: sorry, unimplemented: inlining failed in call to 'qla2x00_callback': function not considered for inlining
/usr/src/linux-2.6.9/drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from here
make[4]: *** [drivers/scsi/qla2xxx/qla_os.o] Error 1
make[3]: *** [drivers/scsi/qla2xxx] Error 2
make[2]: *** [drivers/scsi] Error 2
make[1]: *** [drivers] Error 2
make: *** [_all] Error 2

after going through the kernel config and trying 2 different ways of compiling i give up on the fc3 kernel. i go get the sources for a general 2.6.9 kernel from and try compiling those, but i get the same error. after 2 more compile attempts i figure i'll just use the libs dir because it should be very close if not the same to the fc3 sources anyway (depending on config). with that the RaLink linux driver compiles, i install it, and ra0 shows up. i reboot the machine and kudzu detects the card, however; it fails when trying to set it up and prints messages about delaying the card. lsmod shows the rt2500 driver installed so i try to configure the card myself with iwconfig but it says there are "no wireless extensions" on ra0. i try dhcp just to see what it says and it complains about the card not existing.

so after all this the closest i got was with the ndiswrapper/dhcp problem in the first place. so... if anyone has any ideas on this pass them along, i will be extremely gratefull if someone gets this going.
Old 01-19-2005, 01:23 AM   #2
LQ Newbie
Registered: Nov 2003
Distribution: fc3 (2.6.9-1.667)
Posts: 6

Original Poster
Rep: Reputation: 0
ok people... i fixed it... anyone with a large fish feel free to start swinging...
although i read all the man pages, etc i could find i was skipping one step; a temporary static link from my card to the router for setting up the dhcp routing.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linksys WMP54G in Ndiswrapper firefox360 Linux - Wireless Networking 2 04-09-2006 01:05 AM
Linksys WMP54G in FC3 using ndiswrapper. Hardware detected but what am I missing? rhinoss Linux - Wireless Networking 15 12-18-2004 11:05 AM
ndiswrapper troubles with Linksys WMP54G kupek85 Linux - Wireless Networking 6 08-04-2004 10:54 PM
linksys wireless WMP54G and ndiswrapper: cannot connect reshma Linux - Newbie 3 02-13-2004 08:29 PM
ndiswrapper for linksys WMP54G skeetnah Linux - Wireless Networking 1 12-10-2003 03:59 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration