Network Configuration; Network Configuration Environment Variables; Tcp/Ip Ethernet Network Configuration - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

TCP/IP Ethernet
Network
Configuration
Network
Configuration
Environment
Variables
x
The M
800 series terminal supports TCP/IP networking on the Ethernet port. The
network configuration and program APIs are contained in this chapter. The M
series fully support the Linux sockets interface for client and server network
programming. The networking API is contained in the svc.h header file and the
libvfisvc shared library.
Networking is currently supported only on the Ethernet port, the eth0 device.
Configuration variables are read for network configuration in bringing the interface
up at boot time and user control.
The following table of configuration variables is read by the system on power up/
reboot and in bringing the interface up. Either the *DHCP or *IFCONFIG
environment variable must be defined to bring up the eth0 network interface.
These configuration variables must be set within the usr1 account.
Table 19
Variable Name
Values
1
*DHCP
IP Address in the form
*DNS1
xxx.xxx.xxx.xxx
IP Address in the form
*DNS2
xxx.xxx.xxx.xxx
Per Linux – No need to
*IFCONFIG
set MAC address as the
system will do this for
you.
Typically used:
"eth0 xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx"
IP Address in the form
*GATEWAY
xxx.xxx.xxx.xxx
1
*TELNET
C
Definition
If *DHCP is present and the system
supports ethernet, then it will attempt
to initialize its connection via DHCP.
If not DHCP, DNS1 is used as the
name server IP address.
If not DHCP, DNS2 is used as the
name server IP address.
If not DHCP, use *IFCONFIG to set
the following parameters:
host static IP address
netmask
broadcast (optional)
Use to define the address of the
gateway (router).
If *TELNET is present and the system
supports Ethernet, then it will start the
Telnet server daemon.
X
M
800 S
P
ERIES
ROGRAMMERS
9
HAPTER
x
800
205
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents