Debian-based systems use the file /etc/hostname to read the hostname of the system at boot time and to set up the hostname using the init script /etc/init.d/hostname.sh.
To change the hostname of the DT78xx, perform the following steps:
Open the network configuration
file /etc/hostname
using an editor of your choosing. The following example uses
the vi editor:
# vi /etc/hostname
Replace the existing hostname with the name that you want to use. In the following example, the name DT7816_Lab is used for the hostname.
DT7816_Lab
Save and close the file.
Apply the changes without rebooting by entering the following command:
# /etc/init.d/hostname.sh start