Log into the unit via local terminal or SSH on port 2222 with the 'mango' user and supplied password.
NOTE: All MangoGT come with a hostname and static IPv6 address based on the unit serial number for ease of configuration. In the following examples, XXXX represents the numerical serial number of the unit.
- hostname: mangogtXXXX
- IPv6: [fe80::XXXX]
mangoGT1234 would have hostname
mangogt1234 and IPv6 address [fe80::1234]
To change the network settings, run the following command to access the network settings file:
sudo nano /etc/network/interfaces
Modify the eth0 adapter as needed. The MangoGT is a DHCP client by default and the below entry is an example of changing it to a static IP. Note that the default gateway and DNS servers are not required if they are not applicable:
allow-hotplug eth0 iface eth0 inet static address 192.168.0.100 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.1 126.96.36.199
When finished, type
Ctrl-X to exit the file, followed by
y to save changes, and
Enter to overwrite the file.
If DNS servers are required when using a static IP, they will also need to be defined in the
/etc/resolv.conf file. Run the following command:
sudo nano /etc/resolv.conf
Modify the entry as needed. Below is an example matching the previous network settings example:
nameserver 192.168.0.1 nameserver 188.8.131.52 (edited)