LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-28-2005, 10:59 AM   #1
dchirdon
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
Question unable go set up a wlan with ndiswrapper, working for a week!


I'm trying to get the linksys WMP54G wirelsess adapter to connect to my WRT54G router. I've been working for a week....
This is my first post ever, so if I'm doing something wrong in my post just tell me.

Here are the details on my system:

Kernel version: 2.6.3-7
ndiswrapper version: 0.12
driver for WMP54G: rt2500

router info:

internet-connection type- automatic configuration dhcp
wireless network name (ssid) - linksys
wireless channel- 6
ip address-24.131.216.68
mac address- 00:13:10:17:C9:59
subnet mask- 255.255.254.0
default gateway- 24.131.216.1
mtu-1500

my /etc/sysconfig/network-scripts/ifcfg-wlan0 looks like this:

DEVICE=wlan
BOOTPROTO=dhcp
DHCLIENT_SET_DOWN_LINK=yes
MTU="1500"
ONBOOT=yes
GATEWAY=24.131.216.1
GATEWAY=wlan0
MII_NOT_SUPPORTED=yes
ESSID="linksys"
WIRELESS_MODE="managed"
DHCP_HOSTNAME="linksys"
WIRELESS_POWER=yes


The card is able to light up. That's about it.

dmesg prints out this:

ndiswrapper: no version for "struct_module" found: kernel tainted
version 0.12 loaded
This driver (rt2500) is not for your hardware. I't likely to work anyway,
but keep it in mind if you have problem.
wlan0: ndiswrapper ethernet device 00:12:17:a0:6d:79 using driver rt2500
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
ndiswrapper: driver rt2500 added

iwconfig prints out the following:

wlan0 IEEE 802.11g ESSID:"linksys" Nickname:"192.168.1.1"
Mode:managed Frequency:2.437GHz Access Point: 00:13:10:17:C9:5A
Bit Rate=54Mb/s Tx-Power:20 dBm Sensitivity=120 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key: off
Link Quality:100/100 Signal level:-52 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

What am I doing wrong? And what commands should I run after fixing it to connect to the internet? Thanks in advance!
 
Old 03-28-2005, 01:06 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Are you sure you have the right driver installed? It says that it's the wrong driver. Which version do you have? In the ndiswrapper supported list only the v4 model uses it.

Could you also post your info from "ifconfig wlan0".
 
Old 03-28-2005, 01:13 PM   #3
Dooberdoink
LQ Newbie
 
Registered: Mar 2005
Distribution: Mandrake 10.0
Posts: 8

Rep: Reputation: 0
My ifconfig wlan0 shows
encap:Ethernet HWADDR 00:12:17:A0:6D:79
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
collisions:0 txqueuelen:1000
RX bytes:0 (o.o b) TX bytes:0 (0.0b_
Interrupt:22 Memory:e6800000-e6801fff

I am using v4.
 
Old 03-28-2005, 01:40 PM   #4
dchirdon
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
My other name is Dooberdoink.... I am pretty sure I have the right driver installed...
I tried bcmwl5.inf and the one that came on the linksys cd. Neither worked.
I figured that if I tried a windows 2000 driver (rt2500) it might help, and sure enough for the first time wlan0 was able to load. I'm still getting the message that there are no ipv6 routers present. This just isn't making much sense.
 
Old 03-28-2005, 05:45 PM   #5
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
Is it set to the right frequency?
That tainted kernel warning looks ominous.
I assume you know there is an official driver [ here ].

Edit: And are you using the correct *.sys file??

Last edited by dping; 03-28-2005 at 05:46 PM.
 
Old 03-28-2005, 06:36 PM   #6
dchirdon
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
I tainted the kernel when I installed my modem. But what exactly is a tainted kernel? I'm using the *.sys that came with the .inf file. Odd.... What variable would I have to use to change the frequency? I appreciate your help, and I'm thinking that I'll recompile a new kernel.
 
Old 03-28-2005, 09:09 PM   #7
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
I would guess that a "taint" in the kernel could be any number of things. Anyone know more on that?

Based on what you posted earlier (I just double-checked it) you appear to be on the correct frequency.

Depending on how bad the "taint" is, it *might* be a good idea to compile a new kernel; but first, if I were you, I would see if I could get a more recent version of ndiswrapper. I believe the latest version is 1.1, and anything 1.0 or above is probably worlds better than your 0.12 release.

It looks like ndiswrapper is simply not working right (assuming you do have the right windows driver).

As an afterthought, post the output of: (both with the card inserted)
Code:
iwlist wlan0 scan
and
Code:
lspci
 
Old 03-29-2005, 07:04 AM   #8
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
A taint in the kernel is when you don't use open source stuff. So like proprietary drivers from video cards or in this case your windows drivers. You can safely ignore those unless you think you should have complete freedom in your computer. Then you can search and hope there is another driver or buy another card (this idea is sort of a philiosophy/ethical way to look at it) so don't worry about kernel taints unless you want complete freedom in everything on your system.

If you ask yourself if the channel is right search what you have put on on your router. You can often access that with a web browser surfing to the numerical IP address of your router.

You don't seem to have an IP address at the moment. If you can you can try to disable as much protection as possible and then start from there. Anyway if you set the channel essid and key you should be able to use dhcpcd afterwards.
 
Old 03-29-2005, 10:43 AM   #9
dchirdon
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Original Poster
Rep: Reputation: 0
the output from iwlist wlan0 scan is:
Cell 01- Address: 00:13:10:17:C9:5A
ESSID:"linksys"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.437GHz
Quality:0/100 Signal level:154/154 Noise level:0/154
Encryption keyff
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 Rate54Mb/s
Bit Rate:6Mb/s
Bit Rate: 9Mb/s
Bit Rate:12Mb/s
Bit Rate:48Mb/s
Extra:bcn_init=100

lspci says the following about the device:
01:0a.0 network controller: Unknown device 1814:0201 (rev 01)

I'm guessing that here is where my problem is.
Now if only I can get this resolved, I'll be in business! Thanks.
 
Old 03-29-2005, 07:44 PM   #10
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
It looks like your current wireless card / ndiswrapper setup detects the router fine, and the fact that ifconfig lists no IP address seems to point to a problem with your DHCP configuration; however, the the fact that lspci lists the card as an unknown device makes me think that ndiswrapper is [almost, but] not quite working properly.

The ndiswrapper wiki ( here ) says that your card works with ndiswrapper in Mandrake 10.1, but only with a version of ndiswrapper newer than the one that comes on the install cd (which, if I remember right, is ~v0.12). You should definitely upgrade your ndiswrapper.
 
  


Reply



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
Ndiswrapper working but Wlan failed to setup electropizza SUSE / openSUSE 1 09-17-2005 03:21 AM
WLAN Problem Truemobile 1300 WLAN on Debian 3 with NDISWRAPPER FordPrefect Linux - Laptop and Netbook 2 08-08-2005 10:00 AM
Set up my first server last week. Now it is not working adrian29uk Linux - Networking 4 06-22-2005 03:44 AM
Mysql not working but it did last week dsiguy Linux - General 2 05-27-2003 01:59 PM
CD-ROM Stops Working After a Week XASCompuGuy Linux - Hardware 6 07-21-2002 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:23 PM.

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