On Sun, 14 Jan 2001 10:27:45 Dan Kronstadt wrote:
>Can you explain how  to use a second NIC to avoid having DHCP on the first 
>NIC (I assume thats what does it) override the hostname?

Install the second card. This may be easy if it's regular PCI or hard if
it's PNP or ISA. You may need to reboot if you want Kudzu to detect and do
the hardware config for you.

Then use your favorite network config tool (I like netcfg, but you might use
Linuxconf) to add a private IP address. I normally use the 192.168.*.*
networks.

Then in you /etc/hosts, add a line for your machine with the private IP
address and the name you want to always use:

# /etc/hosts
# Names for this machine.
127.0.0.1       localhost.localdomain   localhost
192.168.1.1     mymachine.localdomain   mymachine


Tony
-- 
Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to