LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-14-2009, 08:30 PM   #1
mf93
Member
 
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 192.168.1.100 and 192.168.1.254 was actually at 169.254.5.77
here is the output from ifconfig
Code:
ath0     Link encap:Ethernet HWaddr...
         inet6 addr: ...
         UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
         ...
         ...
ath0:avahi Link Encap:Ethernet HWaddr...
           inet addr:169.254.5.77 Bcast:169.254.255.255 Mask:255.255.0.0
           UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Also, my network is configured with DHCP...when I set it to manual I change the subnet mask back to 255.255.255.0 which is what its supposed to be and i clear the broadcast or set it to 192.168.1.1 or 192.168.1.254(im 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...
Code:
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
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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
mf93
Member
 
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!
 
  


Reply



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

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

All times are GMT -5. The time now is 09:04 PM.

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