Fiber Mountain Inc SENFG1MA Manuale Utente

Pagina di 46
  
 
© Copyright 2018, Fiber Mountain, Inc. All Rights Reserved 
33 
Sensus Installation Manual 
150-00006 Rev 5 
5.4  Tail the Sensus log via the SSH craft port 
A user can access the device’s log via the SSH port using the following process:  
1.  Configuration will be done via CLI craft (RS232) port on the Sensus Management Module or 
via SSH connection 
2.  Attach serial cable from the front panel CLI craft (RJ-45) port or Ethernet SSH connection 
3.  Login with username (default: SysAdmin) and password (default: Password1), then run the 
following command:  
>./dump_log.sh 
5.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 hostname 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