[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Dhclient problem



On Tue, 23 Oct 2007 17:37:10 -0400
"Wandell, Doug" <dwandell mitre org> took out a #2 pencil and
scribbled:

> I've rolled an FC6 live cd that configures eth0 via dhcp. The
> default configuration works fine
> - /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0
> ONBOOT=yes
> BOOTPROTO=dhcp
> HWADDR=<MAC address>
>  
> In Wireshark, I see the DHCP Discover, Offer, and ACK. No problem.
>  
> As soon as I add:
> DHCLIENTARGS="-s 192.168.1.100"
>  
> to /etc/sysconfig/network, dhclient hangs indefinitely. Using
> Wireshark on the dhcp server, I can see the DHCP Discover packets
> coming in, and the server's DHCP Offer response. But the FC box
> won't accept the offer.
>  
> Anybody know what's going on here?

Have you attempted to run dhclient in the foreground to see what
it's doing or possibly spitting to the terminal? Something like

dhclient -d -s 192.168.1.100 

This should force it to stay in the foreground and you can see what
is happening. I forget where dhclient logs. I
think /var/log/messages...but if you've been muckin' around a
lot you may have to grep for the dhclient entries.

-- 
ethericalzen gmail com
Life is a prison, death is a release


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]