-   Linux - Wireless Networking (
-   -   Wireless cannot connect to linksys WRT54GS Debian Atheros with madWifi drivers (

mf93 08-14-2009 09:30 PM

Wireless cannot connect to linksys WRT54GS Debian Atheros with madWifi drivers
Alright I was online doing work and all of a sudden I could not connect to the internet...I looked on Knetwork Manager and it said I was connected to the internet but the ip, which was supposed to be somewhere between and was actually at
here is the output from ifconfig

ath0    Link encap:Ethernet HWaddr...
        inet6 addr: ...
ath0:avahi Link Encap:Ethernet HWaddr...
          inet addr: Bcast: Mask:

Also, my network is configured with DHCP...when I set it to manual I change the subnet mask back to which is what its supposed to be and i clear the broadcast or set it to or not sure what broadcast is) but when I set it back to DHCP it reverts back to the previous IP. Also in iwlist i get something funny...

myComp# iwlist ath0 accesspoints
ath0    No Peers/Access-Point in range

Even though I am within 5 feet of my router which I have accessed wirelessly from other comps from up to 100feet away.
restarting the computer does nothing...maybe I installed madwifi drivers wrong? what should I do?
Any help would be greatly appreciated! thanks in advance!

jschiwal 08-16-2009 05:53 AM

Look at the output of "iwlist ath0 scan". If you don't see any access points, it could indicate a driver related problem, or the hardware could have gone bad. That happened to me in the middle of listening to a podcast on my old laptop. Also reset your wireless router. It could have a problem as well. The fact that you have a zero config address means that you didn't get a response from a DHCP server. Also check if the wireless enable switch got bumped off (or a Fn wireless key sequence).

I almost forgot. If you had a kernel update, and you don't use a native driver, you may need to rebuild the madwifi driver. When I had a broadcom wireless device, back before the bcm43xx driver, I kept around the ndiswrapper source to quickly rebuild the ndiswrapper kernel module. Seeing that you do have a device, this probably isn't the case, but I though it was worth mentioning.

Also, FYI, there is a native kernel driver that doesn't need a firmware blob. Look at lspci -v. You may see either ath5k or ath9k listed as the preferred driver for your atheros wireless controller.

mf93 08-16-2009 10:27 AM

wow ok now I feel rather dumb...Yah I pressed the enable/disable wifi button and everything works fine again...ty soo much for your help!

All times are GMT -5. The time now is 08:15 PM.