PPP - Pedantic PPP Primer : FreeBSD System Configuration : Verifying the FreeBSD Host Name
Previous: FreeBSD System Configuration
Next: Configuring the FreeBSD Host Name

3.1. Verifying the FreeBSD Host Name

It's possible that the FreeBSD host name was specified and saved when the system was initially installed. To verify that it was, enter the following command at a prompt,:

# hostname

The name of the host FreeBSD system will be displayed on a single line. If the name looks correct (this is very subjective :-) skip ahead to Section 3.2, "Verifying the Ethernet Interface Configuration".

For example, in our sample network, we would see 'curly.my.domain' as a result of the `hostname` command if the name had been set correctly during, or after, installation. (At this point, don't worry too much about the ".my.domain" part, we'll sort this out later. The important part is the name up to the first dot.)

If a host name wasn't specified when FreeBSD was installed you'll probably see 'myname.my.domain` as a response. You'll need to edit /etc/sysconfig to set the name of the machine.

3.1.1. Configuring the FreeBSD Host Name


PPP - Pedantic PPP Primer : FreeBSD System Configuration : Verifying the FreeBSD Host Name
Previous: FreeBSD System Configuration
Next: Configuring the FreeBSD Host Name