Bill Johnson <[EMAIL PROTECTED]> writes:
> I recently had Time Warner Cable's RoadRunner service installed. It took
> all of 5 minutes to run kudzu (I'm running RedHat7.0) and have the
> ethernet card recognized, dhcp configured, and away it
> went. Wonderful. It was simpler to configure it on RedHat than it was on
> Windows.
>
> HOWEVER, my hostname used to be localhost. Now, the hostname is replaced
> with something from RoadRunner like c4-1a175.neo.rr.com.
>
> QUESTION - Is it necessary to have the hostname clobbered like this? Is
> there a way to avoid it? I run vmware, and have several drives mapped to
> the network, and of course these mappings are broken now. I can remap,
> but I'd rather get my old hostname back.
Not a redhat guru, but someone who is will probably need to know what
dhcp softare is running on your `client' machine.
Have you investigated the man pages for the software involved?
man dhcpcd shows an option `-H'
-H Forces dhcpcd to set hostname of the host to the
hostname option supplied by DHCP server. By
default dhcpcd will NOT set hostname of the host to
the hostname option received from DHCP server.
Is that flag being run? If your software is called by `ifup' you will
find parts of it that set the arguments sent to dhcpcd. Look through
the /sbin/ifup script.
If you are running a firewall, you probably need to let dhcp set your
hostname (in the firewall script).
I know nothing of vmware, but its probably possible to map the drives
dynamically according to what the dhcp server has given you. Or
possibly map them to a local address on a second NIC.
If you are using `dhcpcd' you can use the -c option to call a script
of choice where you can do all manner of things that depend on the
addresses from the dhcp server. That script will be called when ever
dhcpcd is invoked and completes successfully.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list