Problem with setting up dhcp and wireless networking?

Robert Kennedy amtor at hotmail.com
Sat Mar 18 02:23:19 UTC 2006


I finally got dhclient v3.0.3 to work -- Sort of...

dhclient now obtains an IP address from my router and assigns the IP address 
to my computer.  But the nameservers in my /etc/resolv.conf file is NOT 
updated.

Here is my dhclient.conf file:

request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-name-servers, host-name,
	netbios-name-servers, netbios-scope;
timeout 20;
---------------

Does anyone know why my /etc/resolv.conf file is NOT being updated?  What is 
the fix?

Rob


>From: "Robert Kennedy" <amtor at hotmail.com>
>Reply-To: dhcp-users at isc.org
>To: dhcp-users at isc.org
>Subject: Re: Problem with setting up dhcp and wireless networking?
>Date: Sat, 18 Mar 2006 00:17:50 +0000
>
>Ted,
>
>I fixed /etc/dhclient/conf.  Now dhclient will find the script.
>
>But when I run dhclient ath0, I still don't get an IP.
>
>Here is the output:
>
>root# dhclient ath0
>Internet Systems Consortium DHCP Client V3.0.3
>Copyright 2004-2005 Internet Systems Consortium.
>All rights reserved.
>For info, please visit http://www.isc.org/products/DHCP
>
>eth1: unknown hardware address type 24
>eth1: unknown hardware address type 24
>Listening on LPF/ath0/00:90:96:76:13:f9
>Sending on   LPF/ath0/00:90:96:76:13:f9
>Sending on   Socket/fallback
>Trying medium "-link0 -link1 -link2" 1
>DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
>Trying medium "link0 link1" 0
>DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
>Trying medium "-link0 -link1 -link2" 1
>DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 10
>Trying medium "link0 link1" 0
>DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 10
>Trying medium "-link0 -link1 -link2" 1
>DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 15
>Trying medium "link0 link1" 0
>DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 15
>Trying medium "-link0 -link1 -link2" 1
>DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3
>No DHCPOFFERS received.
>No working leases in persistent database - sleeping.
>root at frugalware:~#
>
>root#ifconfig
>ath0      Link encap:Ethernet  HWaddr 00:90:96:76:13:F9
>           inet6 addr: fe80::290:96ff:fe76:13f9/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:491 dropped:0 overruns:0 frame:491
>           TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:200
>           RX bytes:0 (0.0 b)  TX bytes:2966 (2.8 Kb)
>           Interrupt:193 Memory:e0fc0000-e0fd0000
>
>lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
>Any ideas?
>
>Rob
>
>
> >From: Ted Lemon <mellon at fugue.com>
> >Reply-To: dhcp-users at isc.org
> >To: dhcp-users at isc.org
> >CC: "Robert Kennedy" <amtor at hotmail.com>
> >Subject: Re: Problem with setting up dhcp and wireless networking?
> >Date: Fri, 17 Mar 2006 14:31:04 -0700
> >
> >You need to specify ath0 to exclude eth1.   dhclient-script is what
> >configures
> >your interface; what's going on here is that you're getting an IP 
>address,
> >but your client script isn't configuring the address on the interface.   
>So
> >you need to make sure you have a valid client script installed, which, at
> >present, you apparently do not.
> >
>
>
>




More information about the dhcp-users mailing list