WIFI driver working, on network, but no connectivity
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
WIFI driver working, on network, but no connectivity
I've got my Broadcom WIFI card driver working via ndiswrapper, and I've configured the network with iwconfig.
I am running a managed network with WEP and no SSID broadcast, and it all shows up good with iwconfig wlan0 and in my WIFI monitor.
The problem is that even though everything shows I am connected to the network my web browser doesn't think so, and I cannot ping the router.
When I do a iwconfig wlan0 I notice it always shows a number by Invalid misc: . The number grows each time I run iwconfig wlan0.
So I believe it is communicating, but the packets are not being accepted or something.
It may be that you need an ip address for wlan0. For example, I am using ndiswrapper on my laptop, after configuring drivers and connecting to the network, I use the following to get an ip address using dhcp.
That did the trick! I can't tell you how much time I've spent trying to get ndiswrapper working only to come to this brick wall (earlier version wouldn't work, had to find 64bit drivers, etc...).
Now, I am sending this via WIFI from my SUSE linux laptop. Thank you very much!!
It is a Broadcom Air Force One 54g (BCM4318). To get it to work I had to
- download and compile the latest ndiswrapper release (v1.5)
- get drivers for the WIFI card (64bit in my case)
- configure via iwconfig wlan0. here's what I did:
iwconfig wlan0 essid [ESSID]
iwconfig wlan0 key restricted [MYPASSCODE]
iwconfig wlan0 channel 6
iwconfig wlan0 mode Managed
iwconfig wlan0 ap [ROUTER'S MAC ADDRESS]
iwconfig wlan0 nickname "home"
iwconfig wlan0 rate auto
- bring up with ifconfig wlan0 up
- start DHCP for wlan0 (as cybrog has shown above):
dhcpcd -d -t 10 wlan0 if it shows:
**** dhcpcd: already running
**** dhcpcd: if not then delete /var/run//dhcpcd-wlan0.pid file just delete the dhcpcd-wlan0.pid file, and try again
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.