On October 7, 2001 04:39 am, Jon Biddell wrote:
There's an easier way - in /etc/hosts, add a line for localhost. Here's what I have;
# /etc/hosts
127.0.0.1 localhost localhost.localnet # local loop back interface 192.168.1.1 xena xena.localnet # primary workstation 192.168.1.10 peewee peewee.localnet # wife's Winblows notebook 192.168.1.100 evilware-2 evilware-2.localnet # Winblows machine for pda/mp3 192.168.1.250 slave slave.localnet # the main server 192.168.1.254 gateway gateway.localnet # the modem server / firewall machine
# end /etc/hosts
This works fine and has since version 6.1.
Thanks Jon. I am running SuSE 7.2 Pro My /etc/hosts file looks somewhat different than yours and somewhat different than I am used to. It uses IPv6: # special IPv6 addresses 127.0.0.1 localhost 192.168.1.3 CR792449-A.slnt1.on.wave.home.com CR792449-A ::1 localhost ipv6-localhost ipv6-loopback fe00::0 ipv6-localnet ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts -- burns