/etc/hosts
file. Mine looks like this:
127.0.0.1 localhost loghost 136.152.64.181 silvia.HIP.Berkeley.EDU silvia.HIP silvia 136.152.64.1 inr-3.Berkeley.EDU inr-3 slip-gateway 128.32.136.9 ns1.Berkeley.edu ns1 128.32.136.12 ns2.Berkeley.edu ns2By the way, silvia is the name of the car that I had when I was back in Japan (it is called 2?0SX here in U.S.).
/etc/host.conf
.
Otherwise, funny things may happen.
/etc/rc.conf
. Note that you should edit
the file /etc/sysconfig
instead if you are running FreeBSD
previous to version 2.2.2.
hostname=myname.my.domainYou should give it your full Internet hostname.
network_interfaces="lo0"to:
network_interfaces="lo0 sl0"
ifconfig_sl0="inet ${hostname} slip-gateway netmask 0xffffff00 up"
defaultrouter=NOto:
defaultrouter=slip-gateway
/etc/resolv.conf
which contains:
domain HIP.Berkeley.EDU nameserver 128.32.136.9 nameserver 128.32.136.12As you can see, these set up the nameserver hosts. Of course, the actual domain names and addresses depend on your environment.
/etc/passwd
or /etc/master.passwd
files!