Lantronix LPS1-T Printer User Manual


 
Setting the IP Address TCP/IP Configuration
4-2
On a UNIX host, create an entry in the host’s ARP table and substitute the intended IP ad-
dress and the hardware address of the MPS, then ping the MPS. This process typically re-
quires superuser privileges.
Figure 4-1: ARP and Ping on UNIX
In order for the ARP command to work on Windows, the ARP table on the PC must have
at least one IP address defined other than its own. If the ARP table is empty, the command
will return an error message. Type ARP -A at the DOS command prompt to verify that
there is at least one entry in the ARP table.
Figure 4-2: ARP and Ping on Windows
Note:
There should be replies from the IP address if the ARP command
worked.
When the MPS receives the ping packet, it will notice that its IP address is not set and will
send out broadcasts to see if another node is using the specified address. If no duplicate is
found, the MPS will use the IP address and will respond to the ping packet.
The MPS will not save the learned IP address permanently; this procedure is intended as a
temporary measure to enable EZWebCon to communicate with the MPS, or allow an ad-
ministrator to Telnet into the MPS. Once logged in, the administrator can enter the Change
IPaddress command to make the address permanent.
Figure 4-3: Configuring Permanent IP Address
Any host wishing to access the MPS will have to be told the MPS’s IP address. This is typ-
ically configured in the unix file /etc/hosts or via a nameserver. Refer to the host’s docu-
mentation for additional information.
# arp -s 192.0.1.228 00-80-a3-xx-xx-xx
% ping 192.0.1.228
C:\ ARP -S 192.0.1.228 00-80-A3-XX-XX-XX
C:\ PING 192.0.1.228
% telnet 192.0.1.228
Trying 192.0.1.228
Lantronix MPSx Version n.n/n (yymmdd)
Type Help at the ‘Local_>’ prompt for assistance.
Enter Username> gopher
Local> SET PRIVILEGED
Password> system (not echoed)
Local>> DEFINE SERVER IPADDRESS 192.0.1.228