Thanks Daniel.

I created the file /etc/dhclient.conf   and added the line;

send host-name "foo";

Note the semi colon.

And volia it just worked.

Cheers Ross Drummond

On Fri, 20 May 2005 11:50, Daniel Grant wrote:
> > I have set up a computer on a LAN.
> >
> > It runs Mandrake 9.2. I have set it up to obtain an IP
> > address etc from the  dhcp server on boot. The dhcp server
> > in a standard multi purpose asdl modem.
> >
> > Everything works fine, an IP address is obtained and
> > routing is set correctly.
> >
> > The only problem is the dhcp server records the Mandrake
> > computer as UNKOWN.
> >
> > Is there some way for the client to tell the server its
> > name?
>
> If Mandrake is using dhclient to do all the work, you can
> set the send host-name setting in /etc/dhclient.conf.
>
> In RedHat/Fedora, it is set on a per interface basis
> (scripts pass the -cf flag to change the config file):
>
> [EMAIL PROTECTED] etc]# cat /etc/dhclient-eth0.conf
> send host-name "cherry";
>
> man dhclient.conf for all the options to put in
> /etc/dhclient.conf.
>
> Can't say what your ADSL modem will make of it, but it works
> fine to a DHCPD server.
>
> Regards
>
> Daniel

Reply via email to