Re: Automatic eth0 lost, and using DHCP send-hostname



On Sun, 2008-07-27 at 20:17 +0100, The Holy ettlz wrote:
> On Sun, 2008-07-27 at 14:42 -0400, Dan Williams wrote:
> > What's the output of:
> > 
> > ps aux | grep dhclient
> 
> root       886  0.0  0.0   4044   660 pts/0    R+   19:58   0:00 grep
> dhclient
> root     26497  0.0  0.0   2384  1044 ?        S    19:29
> 0:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action
> -pf /var/run/dhclient-eth0.pid -lf /var/run/dhclient-eth0.lease
> -cf /var/run/nm-dhclient-eth0.conf eth0
> 
> > while you're connected using NetworkManager?  Are there any _more_ lines
> > in /etc/dhclient-eth0.conf than what was in nm-dhclient-eth0.conf?
> 
> Ah, sorry, Dan, seems I botched something... I had the
> old /etc/dhclient-eth0.conf lying around when I used NM and
> nm-dhclient-eth0.conf was
> 
>     # Created by NetworkManager
>     # Merged from /etc/dhclient-eth0.conf
> 
>     send host-name "rhapsody";
> 
> /etc/dhclient-eth0.conf is *just* the last line above.
> Now I've removed /etc/dhclient-eth0.conf, nm-dhclient-eth0.conf is just
> 
>    # Created by NetworkManager
> 
> In either case, the host name doesn't get set. I've also tried
> restarting NM, nm-applet nm-system-settings to see if I can get the
> "System eth0" entry back, but it's now just "Auto eth0", even though I
> have the relevant files in /etc/sysconfig/...

If you 'service NetworkManager stop' and also 'killall -TERM
nm-system-settings', then run (as root):

/usr/sbin/nm-system-settings --debug --plugins=ifcfg-fedora

what's the output?

Dan




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