ttylinux is ready to use Ethernet networking. DHCP will be used when starting up the Ethernet network, unless configured otherwise.
The Ethernet network interface configuration is specified in the text file:
/etc/sysconfig/network-scripts/ifcfg-eth0
This file has specification in the form of "ITEM=value". Edit this file to set the proper Ethernet interface IP addresses, change the Ethernet DHCP usage and to enable Ethernet networking. To enable Ethernet networking, the line ENABLE=no must be changed to ENABLE=yes. To disable DHCP, the line DHCP=yes must be changed to DHCP=no.
After configuring the Ethernet network interface, restart the networking subsystem with the following command.
service network restart
See the description of the /sbin/sysconfig script in section 5.9 for scripted help in setting up the Ethernet network interface configuration.
The Ethernet network interface, commonly referred to as eth0, can be started and stopped independently from the entire network subsystem with the following commands.
Startup eth0 with:
ifup eth0
Shutdown eth0 with:
ifdown eth0