Re: Howto set DHCP_HOSTNAME?



On Tuesday 14 November 2006 6:49 am, Timo Hoenig wrote:
> On Tue, 2006-11-14 at 06:40 -0500, Neal Becker wrote:
> > I've been using nm with Fedora (now FC6) with good results.  I just had
> > to buy a new usb enet if, because eth0 has died.  nm brings it up OK, but
> > without DHCP_HOSTNAME.
> >
> > In /etc/sysconfig/network-scripts/, I have:
> > ifcfg-eth2.bak
> > which includes the DHCP_HOSTNAME line I had manually added, and I have:
> > ifcfg-eth2, which nm made, which does not have DHCP_HOSTNAME.
> >
> > How do I convince nm to include DHCP_HOSTNAME?
>
> If you want to achieve this the NetworkManager backend for your
> distribution needs to be enhanced.
>
> For all backends but the SuSE backend there are currently only stubs for
> nm_system_set_hostname.
>
>    Timo

Thanks.  It did work for eth0.  I think it's because I had used redhat's 
network config utility to setup eth0 at boot time.  I don't want to setup 
eth2 at boot time, because it is a removable device.  Besides, there is no 
reason I can imagine that nm can't be made to handle this.



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