LinuxQuestions.org
Help answer threads with 0 replies.
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 04-25-2005, 01:08 PM   #1
rparle
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Cool [resolved] WMP54G Linksys PCI card with ndiswrapper on Ubuntu


I've just switched from Mandrake 10.0 to the latest Ubuntu (5.04) and I'm having difficulty getting my wireless card working again. Its a Linksys WMP54G PCI card. I eventually had it working under Mandrake using ndiswrapper, but I haven't been able to get it working under Ubuntu.

I've installed ndiswrapper.
Code:
ndiswrapper -l
tells me the driver and hardware are present

I can set the WEP key and mode with iwconfig, but it won't accept the ESSID. I type
Code:
iwconfig wlan0 essid evergreenterrace
, but when I type
Code:
iwconfig
it still says "any". If I change the mode from "managed" to "auto" it lets me set the ESSID but it switches to ad-hoc.

Code:
iwlist wlan0 scan
gives me no results when the mode is "managed" and gives me a single result when the mode is "auto". The single result doesn't match the router or any other machine in the building. I get the impression that leaving it on "auto" lets it set up its own little network of just this one machine. Needless to say that's useless.

A couple of threads indicate that the power could be off. The only way to fix this that I've seen is to change the RadioState in /etc/ndiswrapper/driver/some-conf-file.conf. I've tried RadioState|1 and RadioState|0 (which it was initially and everyone says it should be).

I've also seen some references to running lspci. I don't know what those people were looking for but... lspci has a line representing the card.

Any suggestions?

Last edited by rparle; 04-27-2005 at 02:05 PM.
 
Old 04-26-2005, 07:59 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
When you use iwconfig, are you doing it under your user account or have you used sudo to run with root permisions?

Therefore, your command would be
Code:
sudo iwconfig wlan0 essid evergreenterrace
and then you would enter password at the prompt.
 
Old 04-26-2005, 08:18 AM   #3
rparle
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by XavierP
When you use iwconfig, are you doing it under your user account or have you used sudo to run with root permisions?

Therefore, your command would be
Code:
sudo iwconfig wlan0 essid evergreenterrace
and then you would enter password at the prompt.
Yeah, I'm doing it all as root. I managed to get it to recognise that the network is there. I get the proper access point and ESSID., and those settings stick. This came about when I removed the Windows driver that came with the card and replaced it with a similar one provided by HP/Compaq for their card with the same or similar chipset.

Now I've got iwconfig telling me that it's on the network "evergreenterrace" (my home network) and it has the right access point MAC address but I can't ping anything, not even the router.

I'm using Windows right now so I don't have the output to hand, but route gives me something like:
Code:
192.168.1.0              *              255.255.255.0   wlan0
default            192.168.1.254                             wlan0
I can't remember all of the details, but it looks like it wants to connect to anything on the network directly and to anything else via 192.168.1.254 (my DSL modem). If I'm right about that interpretation then that's set up correctly.

What could be stopping me from pinging the router after iwlist and iwconfig can see it?
 
Old 04-26-2005, 12:10 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
You need to get the card to look for an address. Try
Code:
dhcpcd wlan0
as root.
 
Old 04-26-2005, 06:19 PM   #5
rparle
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by XavierP
You need to get the card to look for an address.
My router doesn't run DHCP; I have assigned a static IP to each machine.
 
Old 04-27-2005, 02:04 PM   #6
rparle
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
resolved

Thanks for your help. I've managed to sort it out. I changed the router to use DHCP and made sure I could get an IP that way, so I was sure there was some communication going on. I still wasn't able to ping the router, but when I rebooted the machine it stalled for ages trying to synchronise the system clock, which it had just failed on before. I figured I was getting a name server timeout rather than a network timeout. I tried pinging the router when it finally booted and... still nothing. Then I tried the modem (seperate device due to our odd setup here) which responded to ping instantly. I opened Firefox and accessed the router's Web-based setup. I was able to get to it. I'm still not able to ping it! Weird. Anyway, after a little fiddling with route (my router wants to be the default gateway but it doesn't work unless the modem is the default), I'm able to get online. I'm posting this from Ubuntu.

Thanks again.
 
Old 04-27-2005, 02:49 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Congratulations and what a very very weird thing to happen. One thing which strikes is that you could have tried
Code:
sudo ifconfig wlan0 address <ip address>
in fact, I'd suggest you read through 'man ifconfig' as it has a number of useful options.
 
  


Reply


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 12:05 AM
Linksys Wireless G PCI Card (WMP54G) [DRIVERS!!!] Sherpa Linux - Wireless Networking 33 03-29-2006 08:32 AM
Ubuntu: linksys wireless pci card. xVern Linux - Hardware 1 09-07-2005 10:12 AM
Linksys Wireless G PCI card (WMP54G I think) OneSeventeen Linux - Wireless Networking 2 04-09-2005 08:09 AM
ndiswrapper for linksys WMP54G skeetnah Linux - Wireless Networking 1 12-10-2003 02:59 PM

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

All times are GMT -5. The time now is 03:18 AM.

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