![Arcom ELAN-104NC Скачать руководство пользователя страница 9](http://html.mh-extra.com/html/arcom/elan-104nc/elan-104nc_quick-start-manual_2964779009.webp)
CONTROL SYSTEMS
Issue B
2192-10962-000-000
page 8
Setting up Networking
1. Login to the ELAN-104NC as root user,
login name:
root
password:
arcom
2. Mount the root (/) partition as read-write by typing
mount –n –o remount,rw /
These steps only need to be carried out once.
3. Change to the directory /etc/config/network/interfaces by typing
cd /etc/config/network/interfaces
4. Copy the file lo to the file eth0
cp lo eth0
5. Edit the file eth0 using the ae editor.
ae eth0
The file should look like (with appropriate IP address and netmask)-
DEVICE=eth0
IPADDR=
IP address
NETMASK=
netmask
6. Save the file by typing CRTL+X then CTRL+W
7. Exit the ae editor by typing CTRL+Q
8. Setup DNS if required, by editing the file /etc/resolv.conf
cd /etc
ae resolv.conf
The file should look like this-
nameserver
IP address of nameserver
9. Setup a default gateway if required, by editing the file /etc/config/network/routes/gateway
cd /etc/config/network/routes
ae gateway
The file should look like this-
GATEWAY=
IP address of gateway
10. Reinitialise networking by typing
/etc/init.d/network start