PDA

Bekijk de volledige versie : Set hostname



sollie
17-04-2007, 20:00
If you want to set a hostname to remove the (none) lines, showed everywhere, you can use the following command:

/opt/bin/hostname Meterkast (this will set "Meterkast" as hostname)

To set it at boot, you have to add the following line to rc.local:

# Set hostname
/opt/bin/hostname Meterkast

Test it by using: /opt/bin/hostname

Greetz Sollie.