LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-12-2006, 03:59 PM   #1
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Rep: Reputation: 15
dhcpcd ath0 fails, madwifi problem


so i was successfully browsing wirelessly using the madwifi-ng driver for my atheros chip. however, i ran some suse 10 updates (including a kernel upgrade) and now things are messed up. after getting a strange error when trying to create ath0, i reinstalled madwifi-ng. it worked.. now i'm able to scan for access points and even connect to them. however, 'dhcpcd ath0' times out every time. 'dhcpcd eth0' works just fine; in fact i'm using it now. any ideas?! can i somehow reset dhcpcd?

here is my output when trying to connect using wlanassistant. dhcpcd times out when doing this manually too...

Code:
ACTION: CONNECT.
ifup: /sbin/ifconfig ath0 up
iwconfig_set: /usr/sbin/iwconfig ath0 essid hayden_wireless2 mode managed channel 6 key open xxxxxxxxxxxxxxxxxxxxxxxxxx
iwconfig_ap: /usr/sbin/iwconfig ath0 ap 00:90:4B:34:40:BC
ifconfig_dhcp: /sbin/dhcpcd -nd ath0
...file '/var/run/dhcpcd-ath0.pid' does not exist - no DHCP lease present.
CONNECTION FAILED.
after scanning and connecting to the access point manually...
Code:
delilah:/home/josh # iwconfig ath0
ath0      IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:90:4B:34:40:BC
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX   Security mode:restricted
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:2106  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

delilah:/home/josh # dhcpcd ath0
...and it simply never responds.. well, it eventually just times out.

maybe things are connecting as i thought they were.. notice the link quality.
now, if i run 'iwconfig ath0', i get the same results, only it thinks it's 802.11a now, when it's really g.


thanks for the help,
josh

Last edited by Josh328; 01-12-2006 at 04:34 PM.
 
Old 01-12-2006, 04:33 PM   #2
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Original Poster
Rep: Reputation: 15
this may also help...

Code:
delilah:/home/josh # tail -f /var/log/messages
...
Jan 12 16:31:04 delilah kernel: ath0: no IPv6 routers present
Jan 12 16:32:04 delilah dhcpcd[13747]: timed out waiting for a valid DHCP server response
 
Old 01-13-2006, 02:16 PM   #3
big_mac126
Member
 
Registered: Oct 2004
Location: Toronto
Distribution: Fedora Core 4
Posts: 58

Rep: Reputation: 15
madwifi is known to have problems with dhcp (namely with wpa_supplicant)...I'm not sure if that also applies to what ur doing.

http://www.thinkwiki.org/wiki/Wpa_su...nt#For_WPA-PSK
Quote:
NOTE!
At the moment there is a problem within the madwifi driver or wpa_supplicant passing dhcp. Thatīs why I use a fixed IP.

There are two patches one for wpa_supllicant (http://hostap.epitest.fi/bugz/show_bug.cgi?id=63) and one for madwifi
(http://article.gmane.org/gmane.linux...fi.devel/1275). Each one is supposed to work.
 
Old 01-15-2006, 09:35 PM   #4
sharadshankar
Member
 
Registered: Dec 2003
Posts: 43

Rep: Reputation: 15
hey dude i'm having a similar problem on my ubuntu. I'm using realtek rtl8185. I also get no ip-v6 routers found. I'm pretty sure there is something messed up with that. I'm gonna do more digging and see what i can find.
 
Old 01-21-2006, 06:07 PM   #5
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Original Poster
Rep: Reputation: 15
hmm.. ok.. mine scans just fine.. just the DHCP fails. i'm not using WPA either.

Thanks for the responses.. let me know what you find.

Josh
 
Old 02-01-2006, 04:34 AM   #6
avirup dasgupta
Member
 
Registered: Aug 2003
Distribution: Redhat , Fedora Core4, DSL,Solaris
Posts: 49

Rep: Reputation: 15
For some reason,

#ifup ath0

worked for me

I am using FC4.madwifi latest cvs,dwl-520

(Did someone try upgrading the dhclient ?)

Last edited by avirup dasgupta; 02-01-2006 at 04:38 AM.
 
Old 02-07-2006, 09:00 PM   #7
shaoyu
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Unhappy ath0: no IPv6 routers present

Hi, all,
I am having the same problem with FC4 and Madwifi drive.
iwconfig sees the AP, and the AP sees the MAC address, but I simply could not get a dhcp address.
The dmesg reports this: "ath0: no IPv6 routers present".

Is there any expert out there that can help?

Thanks
 
Old 02-07-2006, 10:45 PM   #8
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
Quote:
Code:
delilah:/home/josh # iwconfig ath0
ath0      IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:90:4B:34:40:BC
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX   Security mode:restricted
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:2106  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

delilah:/home/josh # dhcpcd ath0

why is it you have no essid?
iwconfig ath0 essid ssid_name
 
  


Reply


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
eth0 fails shueib Linux - Newbie 6 10-19-2005 01:36 PM
/etc/dhcpc/dhcpcd-eth0.exe mattp Linux - Networking 2 10-17-2005 08:41 AM
eth0 fails at boot up jaysturm Linux - Networking 11 02-27-2004 05:09 PM
eth0 removed from ifconfig after dhcpcd eth0 johnklvr Linux - Networking 3 01-15-2004 08:21 PM
K12LTSP, dhcpcd-eth0.info file beajedi Linux - Networking 0 11-25-2003 06:07 PM

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

All times are GMT -5. The time now is 05:58 AM.

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