Manual pages › File formats and configuration files (4)
nodename(4)
the machine's name
Package: amxbase, added for amigaux.
NAME
nodename - the machine's name
SYNOPSIS
/etc/nodename
DESCRIPTION
/etc/nodename holds the machine's name on its one line: letters, digits and -. At boot, /etc/sysinit gives it to the system, and uname -n then prints it.
The file is written when the system is installed, by ifup(1M) when a line of /etc/inet/interfaces says name host, and by the DHCP client's hook when that file says hostname dhcp and the server gives a name. Each of these also changes the running name at once (uname -S). To rename the machine by hand, write the new name here (and in this host's line of /etc/inet/hosts); it applies at the next boot, or at once with uname -S name.
An update of the base package keeps the file as it is.
FILES
- /etc/nodename
- this file.
SEE ALSO
| 31 October 2026 | amix-base |