Problem with setting up dhcp and wireless networking?

Robert Kennedy amtor at hotmail.com
Fri Mar 17 17:32:38 UTC 2006


I fixed the path for the dhclient-script in /etc/dhclient.conf.  The 
dhclient-script was placed in /sbin so I made the appropriate change.

I don't get any errors when I do a "dhclient ath0" but I still do not get an 
IPaddress.  It times out.

Any ideas?

Should I use dhcpcd instaed?

Rob
P.S.  I am using the 2.6.15.2 kernel


>From: "Robert Kennedy" <amtor at hotmail.com>
>Reply-To: dhcp-users at isc.org
>To: dhcp-users at isc.org
>Subject: Problem with setting up dhcp and wireless networking?
>Date: Fri, 17 Mar 2006 15:55:56 +0000
>
>I am trying to get wireless networking up and running.  I am able to 
>connect
>to the router but it appears that I am not being assigned an address by
>dhcp.
>
>Here is the output:
>
>root at frugalware:~# 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
>execve (/etc/dhclient-script, ...): No such file or directory
>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
>execve (/etc/dhclient-script, ...): No such file or directory
>DHCPREQUEST on ath0 to 255.255.255.255 port 67
>DHCPACK from 192.168.1.1
>execve (/etc/dhclient-script, ...): No such file or directory
>bound to 192.168.1.3 -- renewal in 1515 seconds.
>root at frugalware:~#
>
>
>
>
>root at frugalware:~# 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:3 errors:19 dropped:0 overruns:0 frame:19
>           TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:200
>           RX bytes:1222 (1.1 Kb)  TX bytes:684 (684.0 b)
>           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:120 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:9680 (9.4 Kb)  TX bytes:9680 (9.4 Kb)
>
>I am perplexed.  When I do a "iwconfig ath0", it shows that I am conncted.
>It also shows the right encryption key.
>
>Any ideas on what may be going on and how to fix it?
>
>Rob
>
>
>




More information about the dhcp-users mailing list