Linux Tcp/Ip Configuration - Technologic Systems TS-5700 User Manual

Table of Contents

Advertisement

TS-5700 User's Manual

9.1 LINUX TCP/IP configuration

When using the TS-5700 with TS-Linux, the DM9102A driver can be included in the kernel or loaded as a kernel
module. If the Technologic Systems kernel is used, the DM9102A driver is built into the kernel. The settings
stored in EEPROM on the TS-5700 are used to configure the DM9102A.
The TCP/IP settings for the TS-Linux are configured in the file '/etc/sysconfig/ifcfg-eth0', here is a listing:
DEVICE=eth0
IPADDR=192.168.0.50
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ENABLE=yes
The TCP/IP network settings are configured in the file '/etc/sysconfig/network_cfg', here is a listing:
### Technologic Systems
### General Network Configuration File
###
NETWORKING=yes
GATEWAY=192.168.0.1
GW_DEV=eth0
Hostname="miniepc.embeddedARM.com"
BOOTPROTO=no
DEFRAG_IPV4=no
FORWARD_IPV4=no
The TCP/IP name resolution server is configured in the file '/etc/resolv.conf', here is a listing:
Nameserver 192.168.0.1
To access the web server, open a web browser and enter "192.168.0.50" as the address. This should display
the sample web page which demonstrates some of the functionality of Apache with PHP. Use the "ifconfig"
command at the bash prompt to display the status of the Ethernet ports. See the Technologic Systems
support page.
Technologic Systems
# Name of Ethernet Interface
# IP address of this Ethernet interface
# Used with NETWORK to determine local IP's
# Used with NETWORK to determine local IP's
# Broadcast IP for system wide messages
Initialize on startup
# Gateway for internet access
# Gateway device to use
# Host name for this computer
# Name server for domain name lookups.
16
http://embeddedARM.com/
Linux
5/2009

Advertisement

Table of Contents
loading

Table of Contents