©
Copyright 2018, Fiber Mountain, Inc. All Rights Reserved
35
Sensus FPA Installation Manual
150-00006.01.04
6.5
Changing the hostname of the Sensus device
A user can change the hostname of the Sensus device through either an SSH session or the
serial console port connection. However, both /etc/hostname and /etc/hosts must be modified in order
for the change to take effect.
In this example, the hostna
me is changed from “Sensus” to “Sensus
-
170:”
Sensus login: SysAdmin
Password:
Last login: Thu Mar 8 21:17:10 UTC 2018 on tty1
Linux FMC 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l
Fiber Mountain
Welcome to the Glass Core(TM)
SysAdmin@Sensus:~$ sudo vi /etc/hostname
Sensus-170
"/etc/hostname" 1 line, 8 characters written
SysAdmin@Sensus:~$ sudo vi /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1
Sensus-170
After modification of these two files, reboot:
SysAdmin@Sensus:~$ sudo reboot