Skip to content
English
  • There are no suggestions because the search field is empty.

Change Hostname via Terminal

If the customer has changed the Hostname for the Qx Server, this will cause issues with connection to Wireguard.  This will necessitate modifying the hostname from the terminal, as Cockpit will be unavailable. 

Type the following command to edit /etc/hostname using nano or via text editor:

sudo nano /etc/hostname
Delete the old name and setup new name.
Example: QX750077 (Case does matter! All Caps!)

Next Edit the /etc/hosts file:
sudo nano /etc/hosts
Replace any occurrence of the existing computer (if any) name with your new one.
Reboot the system to changes take effect:
sudo reboot