
TS-5400 User’s Manual
Technologic Systems
10/31/03
14
LINUX TCP/IP configuration
When using the TS-5400 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-5400 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
# Name of Ethernet interface
IPADDR=192.168.0.50
# IP address of this Ethernet interface.
NETMASK=255.255.255.0
# Used with NETWORK to determine local IP’s.
NETWORK=192.168.0.0
# Used with NETMASK to determine local
IP’s.
BROADCAST=192.168.0.255 # Broadcast IP for system wide messages
.
ENABLE=yes
# Initialize on startup
The second Ethernet port on the TS-5400 is configured by the file: /etc/sysconfig/ifcfg-eth1
By default the eth1 config file has ENABLE=no, which means eth1 will not be configured on boot up.
Change this to yes if you want eth1 configured by the startup scripts.
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
# Gateway for internet access
GW_DEV=eth0
# Gateway device to use
Hostname="miniepc.embeddedx86.com"
# Host name for this computer
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 # Name server for domain name lookups.
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 Linux Support Page for more information.
http://www.embeddedx86.com/support/linuxhelp.php
Summary of Contents for TS-5400
Page 1: ...TS 5400 User s Manual ...