LinuxQuestions.org
Visit Jeremy's Blog.
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 09-28-2008, 11:01 AM   #1
Gardoglee
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
DHCPDISCOVER appears to listen on wrong adapter


I am having a problem with DHCPDISCOVER on my wife’s Asus Eee 2G running Xandros and using an Atheros internal WiFi adapter. The problem, which seems very similar to what many others have described in posts on various sites including this one, seems to be related to dhclient and the exchange of DHCPDISCOVER requests and responses between the adapter and the access point.

The odd circumstances are that when we are on the road with the Eee and it is configured to use DHCP for IP addressing it works flawlessly. The problem we have only occurs when we are at home. We have a DSL line with an Actiontec DSL modem which also supplies a WiFi access point. As such this single unit is supplying the DHCP server function for both wired and wireless connections, which seems like may be part of the problem we are experiencing.

When we are at home I can get the Eee to connect through WiFi by setting the config to have a static IP address. However, if I set it to DHCP the dhclient does not get a DHCP response. This seemed odd because I can use other machines running Windows or Solaris against the same access point and not have problems. I also have tried replacing the access point, with the same results.

I am running WPA with a pre-shared key. I have messed with the key, tried dropping back to WEP, have tried turning on and off SSID broadcast from the AP, and various other tricks. I have also tried various configuration file changes suggested by the various postings in various sites. And while I have a workaround with the static IP address, I was still trying to figure out the cause of this problem.

Then the other day I noticed something which seemed so obvious I wondered why I hadn't noticed it before, and whether I still had a brain at all. The Asus has two adapters, a wired LAN adapter at eth0, and a WiFi adapter at ath0. The messages I was getting when I tried to start the WiFi adapter were about "DHCPDISCOVER on eth0". Since eth0 was not plugged in at the time, it was obvious that it would never be getting a response from the DHCP server. The new question, however, is why is dhclient requesting the DHCPDISCOVER on eth0 when I am trying to start ath0?

I have read dozens of posts on numerous sites and no one seems to have addressed this particular question, although from looking at what is posted I believe others are having the same experience. So my question is, why would the DHCPDISCOVER request be going out on a different adapter than the one I am trying to start, and why would this only be happening when I am at home?

Last edited by Gardoglee; 09-28-2008 at 11:09 AM. Reason: Correct misspellings
 
Old 09-29-2008, 01:33 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
See if this helps:

http://roddy.ie/?p=199
 
  


Reply

Tags
ath0, connect, dhclient, dhcp, eth0, wifi



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
LXer: Listen Live. PayPal explains that they can do no wrong LXer Syndicated Linux News 0 11-02-2007 10:11 AM
SUSE 10.1, wireless network adapter appears to be undetected.How to fix this? casmac SUSE / openSUSE 7 02-12-2007 05:31 AM
Dhcpdiscover go_joe Linux - Networking 4 06-13-2006 01:08 PM
Slackware uses wrong video adapter elitecodex Slackware 1 02-25-2004 03:19 PM
Slack 9 trying to load wrong ethernet adapter flashingcurser Slackware 3 04-29-2003 09:05 PM

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

All times are GMT -5. The time now is 01:29 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