Model 5052RD-K ALERT2 Receiver/Decoder
HydroLynx Systems, Inc.
A102688
Page 19
The ALERT2 Decoder host name is defined as ts4200 by default. Change the host name
by adding the file: /etc/hostname containing the new host name.
For example, change the ALERT2 decoder name to a2decoder1. Display the current host
name with the command: hostname
hostname[Enter]
ts4200
Before creating the file, enable decoder changes by making the file system read-write:
mount / -o remount,rw[Enter]
Create the hostname file with the echo command:
echo “a2decoder1” >/etc/hostname[Enter]
Reboot the ALERT2 decoder to make the changes effective. Type the command: reboot
Restart your ALERT2 Decoder Console connection and log in again.
4.1.8 ALERT2 Decoder Name Servers and Host Names
The ALERT2 Decoder defines its name servers in the file: /etc/resolv.conf. Display the
current name servers with the command:
cat /etc/resolv.conf[Enter]
nameserver 8.8.8.8 # Google Public DNS
nameserver 4.2.2.1 # Level 3, Broomfield, CO
nameserver 4.2.2.2 # Level 3, Broomfield, CO
nameserver 151.197.0.38 # Verizon, Reston, VA
If your ALERT2 Decoder is on a private network, it cannot connect to the internet for the
name servers. Add your private name server by changing the file: /etc/resolv.conf
Before changing the file, enable decoder changes by making the file system read-write:
mount / -o remount,rw[Enter]
Create the hostname file with the echo command:
echo “nameserver My.Name.Server.IP” >/etc/resolv.conf[Enter]
You can remove the name servers and add your private network host names to the file:
/etc/hosts.
rm /etc/resolv.conf[Enter]
127.0.0.1 localhost