[Followups set to COLN]
In comp.os.linux.networking raffelm <(E-Mail Removed)> wrote:
> I am running Mandrake 9.1 hooked up to a Netgear RT314 router. The
> router assigns the IP address.
>
> Apparently the router is also assigning the hostname for my linux box
> which is getting set to dhcppc2 at the moment. When I call
> hostname from a shell, I see dhcppc2 returned. When I browse to the
> linux box from my W2KP box (linux box is running samba), I can see
> that the name is dhcppc2. Of course, if I clear the DHCP tables in
> the router, the computer name will change depending on who requests an
> IP first. My windows box maintains its name that I set for it. So, I
> figure this has to be a linux configuration issue. So,
>
> I added a line to dhclient-eth0.conf:
> send host-name "AMDGhz20".
If dhclient is running, remove the "host-name" from the line that says
"request ... host-name" in /etc/dhclient.conf.
If you're using pump, I think you may be out of luck. On second thought,
you might try using pump instead of dhclient, as pump doesn't seem to be
able to configure the hostname (or at least, you can't tell it not to).
--
Cameron Kerr
(E-Mail Removed) :
http://nzgeeks.org/cameron/
Empowered by Perl!