-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03-Nov-2002/17:27 -0700, Devin Henderson <[EMAIL PROTECTED]> wrote:
>Just installed RH 8.0. Every time I boot my hostname changes from 
>localhost.localdomain to x1-6-00-08-0e-d5-de-77. During boot the line 
>'Setting hostname localhost.localdomains [OK]' appears but when the OS 
>is finally booted the hostname is wrong again. I checked the files in 
>/etc that I thought would be involved but they all look correct with 
>localhost.localdomain as the hostname. I have a cable modem hooked up 
>through USB. could this somehow be resetting the hostname? How can I get 
>it to stay localhost.localdomain? I'm getting an error every time I 
>login that says the address x1-6-00-08-0e-d5-de-77 could not be found 
>and I have to click 'Login anyway'. Can anyone help? Thanks.

You can tell dhcpcd not to change your hostname. See the '-D' option in
the dhcpcd man page. Network interfaces are started by the /sbin/ifup
script, which reads configuration info from
/etc/sysconfig/network-scripts/ifcfg-INTERFACENAME. In your case, you
should be able to add the '-D' option to
/etc/sysconfig/network-scripts/ifcfg-eth0 like this:

DHCPCDARGS='-D'

Then restart your network: sesrvice netwrok restart


Tony
- -- 
Anthony E. Greene <mailto:agreene@;pobox.com>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05      HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]>

iD8DBQE9xnHNpCpg3WyUI50RAqBRAKD6wj/Hf9INcTH2Rv2HoxbtwgKAuwCcDMpQ
EiQ9GB8T8gdLP/SU/ld2S1o=
=arff
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to