Datasheet
VIPER / VIPER-Lite Embedded Linux Development Kit Quickstart Arcom Embedded Linux (AEL)
Setting up networking
As supplied, the board uses the DHCP protocol to configure the network. This requires
a DHCP server to be available on your network. For more information, please consult
your network administrator.
To configure the VIPER / VIPER-Lite to use a static IP address, follow these steps:
1 Log in to the VIPER / VIPER-Lite by entering the following log in details:
Login name: root
Password: arcom
2 Edit the file /etc/network/interfaces using the nano editor.
# nano /etc/network/interfaces
The vi editor is also installed, in case you prefer to use this.
3 Modify the iface eth0 inet dhcp line to look like the following (substituting your
own IP address and netmask):
iface eth0 inet static
address 10.7.28.2
netmask 255.255.0.0
gateway 10.7.1.1
4 Save the file by holding down Ctrl and pressing O.
5 Exit by holding down Ctrl and pressing X.
6 Optional. Set up a Domain Name System (DNS) server if required. You need a
DNS server if you want to use domain names (such as www.arcom.com) when
accessing the Internet.
To set up a DNS server, edit the file /etc/resolv.conf and add your DNS server
address as follows:
nameserver 10.7.1.9
7 Reinitialize the networking by typing:
# /etc/init.d/networking restart
The following is displayed:
Reconfiguring network interfaces...done
For standalone systems where the VIPER / VIPER-Lite is connected directly to the host
system through an Ethernet crossover cable, you can modify the settings of the VIPER /
VIPER-Lite and the host system, similar to the example shown above, to set up a
network between them.
Chapters 25 and 26 of the RUTE Manual provide a useful introduction to TCP/IP
networking. This manual is on the Development Kit CD, in the /manuals/ folder.
© 2006 Arcom Issue B 18