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


> >  2. I can't seem to get the DHCP send-hostname feature to work.
> It only works for system connections at the moment, but if you have
> DHCP_HOSTNAME in your ifcfg file, it should pick that up and send it.
> Verify this by dumping /var/run/nm-dhclient-eth0.conf and seeing what
> options are in it.

I've just been playing with this one at the moment in F8. I've got


in both /etc/sysconfig/networking/devices/ifcfg-eth0
    and /etc/sysconfig/network-scripts/ifcfg-eth0

nm-applet on F8 now shows just "Auto eth0", but I'll leave that for the
time-being... anyway, with NetworkManager nm-dhclient-eth0.conf contains

    send host-name "rhapsody";

BUT I don't think the client is actually sending this --- I captured the
packets with Wireshark and it's not in any of the DHCP request's

When I ran /sbin/dhclient eth0 -cf /etc/dhclient-eth0.conf (which
contains the same lines as nm-dhclient-eth0.conf above), the hostname
request is part of the request packet, and the name resolves OK.


The Holy ettlz                              TheHolyettlz googlemail com
PGP key ID: 03F94B5D

Attachment: signature.asc
Description: This is a digitally signed message part

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