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 10-25-2005, 10:49 PM   #1
Registered: Oct 2005
Posts: 32

Rep: Reputation: 15
network card configured, but still can't connect to router!

I'm using FC4 and have configured my laptop's wireless card to the extent that I know how. I installed ndiswrapper, got the windows drivers, loaded the drivers into ndiswrapper, modprobe'd ndiswrapper, verified the existence of wlan0, successfully set the essid on wlan0, and brought up the interface using ifconfig. I also turned off wep on my router and on the card.

Everything seems to be working fine--except that I can't connect to the network. I first tried dhclient wlan0. When I do that, I get a series of 'DHCPDISCOVER' lines, followed by a line that reads "No DHCPOFFERS received."

When that didn't work, I tried to go static. I turned off DHCP on my router and configured my card with a static address. I also added the correct gateway and subnet mask. I still couldn't see (i.e., ping) the router or other computers on my network.

I have also tried bringing the interface up and down, using alternate drivers, and cycling the machine.

iwconfig, as well as the graphical tools (e.g., kwifimanager) show strong signal strength. I also see the lights flashing on my router, especially when I'm fishing for an IP lease. I am also associated with my router's ssid.

I'm at a total loss of what to try next. Clearly the card is substantially configured (though my problem might be due to an obscure setting). I am also certain that the devices are within range and in some sort of contact (otherwise the card wouldn't be able to see/associate with the ssid). I am typing on a windows machine that is right beside the FC4 machine; the windows machine has a dynamic ip from the router.

I have noticed a couple of quirks that might have something to do with my problem. First, dmesg lists a series of ndiswrapper errors that read "setting bit rate failed (C00000BB)." The command "iwlist wlan0 rate" says that I have five available bit-rates: 5, 6, 9, 12, 18, and 48 Mb/s. It also says that my current rate is 54 Mb/s (which obviously isn't in the list). I have tried, without success, to change the 54 to one of the options in the list. Might this be a problem?

dmesg also lists the following error: "wlan0: no IPv6 routers present." I don't know what that means or if it might identify a problem.

OK, I've added about as much as I can. Please help!

Edit: I have also turned off my firewall and the extra FC4 security feature (can't remember the name).

Last edited by mikeh2; 10-25-2005 at 11:00 PM.
Old 10-25-2005, 11:43 PM   #2
Registered: May 2005
Distribution: Debian/testing
Posts: 38

Rep: Reputation: 15
I had a problem similar to yours over the summer and I suggest you try to find some linux native drivers. I went around in circles trying to get ndiswrapper to work. I updated it, tried different versions of the windows drivers and basically did so many different things I can't even recall them right now. It was a fuzzy period. In the end, iwconfig would see my router but ifconfig wouldn't get a lease. I was able to get it to work for a couple of minutes but it then took my keyboard hostage.

I then finally just got a linux driver for my Linksys WMP54G (which, by the way, was the first solution I found while googling my problem but I decided to bypass it because ndiswrapper seemed simpler!) and everything has been peachy.

My card uses the rt2500 (or 2400, really doesn't matter) chipset whose drivers can be found here:

I got the 'rt2x00' driver. Knowing the chipset of your card really helps when searching for linux drivers.
Old 10-26-2005, 12:03 AM   #3
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for the suggestion. I have used ndiswrapper with success in the past, but for some reason I am having a lot of problems this time (though my problems might not be with ndiswrapper). Unfortunately, my card is by broadcom, and they have not released native linux drivers for it. Broadcom has released native linux drivers for other models, so maybe I'll try those for kicks...
Old 10-26-2005, 01:02 AM   #4
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Have you tried a different version of the Windows driver? Google for (model number) ndiswrapper and you may find reports of win32 driver versions known to work with ndiswrapper and win32 driver versions known to have problems with ndiswrapper.

Last edited by Snowbat; 10-26-2005 at 01:04 AM.
Old 10-26-2005, 01:20 AM   #5
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I could not get ndiswrapper to work on my laptop until I uses the driver version that was actually on the driver cd that came with the laptop. The driver I downloaded from the net never did work...

So if you downloaded it, try the one that came with your laptop...
Old 10-26-2005, 08:28 AM   #6
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15
I've tried the driver that came with my windows system as well as others that I have found on the Internet. I have had the best luck with the windows drivers that came with my laptop.

Like I wrote yesterday, ndiswrapper *seems* to work fine. The problem appears to be strictly dhcp-related. But I could be wrong.
Old 10-29-2005, 11:30 AM   #7
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15

In case anyone else with a similar problem stumbles upon this post: I fixed this problem by updating my dhclient rpm. I found the updated version on rpmfind.
Old 10-29-2005, 12:34 PM   #8
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15
sigh, cancel that last post. This is really, really strange. I updated the dhclient and immediately got an ip address from my router. This has *never* happened before. So, I put eth0 down and even unplugged my ethernet cable to verify that I had a working connection on wlan0. Sure enough, it was working, and I browsed the Internet for about an hour.

Then I rebooted. When my system came back up, I was once again unable to get an ip address. I even tried uninstalling and reinstalling the updated rpm. No luck. Once again, I can't get an ip address.

Does this recent phenomenon give anyone any ideas?
Old 11-10-2005, 07:21 AM   #9
LQ Newbie
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
Ok, it seems that you have not tried the basics here. The problem, based on your description, would have nothing to do with DHCP at all. It seems that your wireless card is not associating with the access point. Try these steps to find out more information

1. After attempting to connect with your wireless card just type "iwconfig" on its own and check that there is a mac address next to "Access Point" in the output. If the address is just zeros then you have not associated with your access point/router

2. If you were unsuccesful with step 1, check dmesg ( just type dmesg in a shell ) and check that there aren't any error messages relating to ndiswrapper. Do you see any errors when you just type "ndiswrapper -l" ( although you probably wouldn't have got this far if there are ).

3. If you were successful and there is a mac address associated with the access point, double check in the interface to your router that your mac address is listed as connected. It will depend on router how you do this if it your router has such options.

4. It would be really good to see what commands you are using and the out put from them. For example, what parameters are you supplying to iwconfig to make it work? What is the output of iwconfig after you run iwconfig with out parameters? Are you always executing and "ifconfig <internface> up" after running iwconfig?

Updating RPM's and trying new drivers is pointless. You can't fix the problem if you don't know what is wrong and guessing is only going frustrate you more.

Get back to us with this info.
Old 11-11-2005, 07:34 AM   #10
Registered: Oct 2005
Posts: 32

Original Poster
Rep: Reputation: 15
Sorry, I never updated this. I found and used other drivers, which fixed the problem.


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
Card OK, now how can I connect to Router? j4ckm4te Linux - Wireless Networking 3 10-20-2005 01:42 PM
Network card not detected by router kingkongadp64 SUSE / openSUSE 8 10-19-2005 07:50 PM
Setting up a home network - can't connect to router awagner99 Linux - Networking 7 01-30-2005 10:23 PM
PCMCIA wireless card does not connect to the router after finding the correct ESSID Almazick Linux - Wireless Networking 0 09-04-2004 04:34 PM
I think I've configured everything right, but I still can't connect to the Internet Travis86 Linux - Networking 4 12-18-2003 01:11 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

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