2018-02-26 Finish Server Installation


Overview

After installing Ubuntu 16.04 LTS on AUBURN , there are three (3) outstanding issues:

  1. Ethernet NIC is using DHCP instead of a manually assigned IP address
  2. DNS Server on home network is not being used
  3. Host name is not fully qualified

References

Procedure

Changing ETH0 NIC

According to IP Addressing and Name Resolution , the static IP address and DNS resolution for the ETH0 is fixed in the /etc/network/interfaces file.

The original contents of /etc/network/interfaces were:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

The updated contents are (with changes in bold ):

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.109
netmask 255.255.255.0
gateway 192.168.1.1
dns-search yaocm.id.au
dns-nameservers 192.168.1.252 192.168.1.1

These settings were updated with the following command:

sudo reboot

Changing Host Name

According to How do I change the computer name? [duplicate] , the following files need to be updated:

  • /etc/hostname
  • /etc/hosts

Changing /etc/hostname

The original contents of /etc/hostname was:

auburn

This was changed to (with changes in bold ):

auburn.yaocm.id.au

Changing /etc/hosts

The original contents of /etc/hostname was:

127.0.0.1	localhost
127.0.1.1	auburn

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

This was changed to (with changes in bold ):

127.0.0.1	localhost
127.0.1.1	auburn.yaocm.id.au

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Update Host Name

These settings were updated with the following command:

sudo reboot