Visit Jeremy's Blog.
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 08-14-2009, 08:30 PM   #1
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Rep: Reputation: 36
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!
Old 08-16-2009, 04:53 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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.

Last edited by jschiwal; 08-16-2009 at 05:39 AM. Reason: added kernel update parts & ath driver info.
Old 08-16-2009, 09:27 AM   #3
Registered: Jun 2009
Distribution: Debian Squeeze, centOS
Posts: 229

Original Poster
Rep: Reputation: 36
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!


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
fc5 madwifi atheros ar5005g wireless network mike_morley Linux - Wireless Networking 0 10-27-2006 04:08 PM
installing madwifi drivers (Atheros AR5212) the_r Linux - Newbie 1 05-26-2006 03:06 AM
Madwifi with atheros in laptop not working in debian with linux 2.6 annacoder Linux - Wireless Networking 4 04-28-2006 02:48 AM
madwifi Atheros drivers 802.11 layer kpachopoulos Linux - Wireless Networking 0 11-04-2005 08:42 AM
Error Message Madwifi Drivers Atheros Mandrake 10.1 Help Tunein_Connect Linux - Newbie 5 07-21-2005 02:04 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration