The text of a manual · part 7 of 21
HP JetDirect Print Servers (600N/400N/500X/300X) Administrator's Guide: TCP/IP Configuration, pages 47 to 55
Pages 47 to 55 of 164, from HP JetDirect Print Servers (600N/400N/500X/300X) Administrator's Guide
The original document is the PDF (2.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the HP J3263A JetDirect 300X
Page 47
Using RARP This subsection describes how to configure the print server using the Reverse Address Resolution Protocol (RARP) on UNIX and Linux systems. This setup procedure enables the RARP daemon running on your system to respond to a RARP request from the HP JetDirect print server and to supply the IP address to the print server. 1. Turn the printer off. 2. Log onto your UNIX or Linux system as a superuser. 3. Make sure the RARP daemon is running on your system by typing the following command at the system prompt: ps -ef | grep rarpd (Unix) ps ax | grep rarpd (BSD or Linux) 4. The system response should be similar to the following: 861 0.00.2
24
72
5
14:03
0:00 rarpd -a
860 0.00.5
36 140
5
14:03
0:00 rarpd -a
5. If the system does not display a process number for the RARP daemon, see the rarpd man page for instructions on starting the RARP daemon. 6. Edit the /etc/hosts file to add your designated IP address and node name for the HP JetDirect print server. For example: 13.32.11.24 laserjet1
EN
TCP/IP Configuration 41
Page 48
7. Edit the /etc/ethers file (/etc/rarpd.conf file in HP-UX 10.20) to add the LAN hardware address/station address (from the configuration page) and the node name for the HP JetDirect print server. For example: 00:60:b0:a8:b0:00 laserjet1 Note
If your system uses Network Information Service (NIS), you need to incorporate changes to the NIS host and ethers databases.
8. Turn the printer on. 9. To verify that the card is configured with the correct IP address, use the ping utility. At the prompt, type: ping <IP address> where <IP address> is the assigned address from RARP. The default IP address is 192.0.0.192. 10. If ping does not respond, see the chapter “Troubleshooting the HP JetDirect Print Server.”
42 TCP/IP Configuration
EN
Page 49
Using the arp and ping Commands You can configure an HP JetDirect print server with an IP address using an ARP (Address Resolution Protocol) command from a supported system. The protocol is not routable, that is, the workstation from which the configuration is made must be located on the same network segment as the HP JetDirect print server. Using the arp and ping commands with HP JetDirect print servers requires the following: ●
Windows NT/2000 or UNIX system configured for TCP/IP operation
●
HP JetDirect firmware version x.08.03 or later
●
The LAN hardware (MAC) address of the HP JetDirect print server (specified on an HP JetDirect configuration page, or on a label attached to HP JetDirect external print servers)
Note
On some systems, superuser rights may be required for the arp command.
After an IP address is assigned via arp and ping commands, use other tools (such as Telnet, embedded web server, or HP Web JetAdmin software) to configure other IP parameters. To configure a JetDirect print server, use the following commands. Depending on the system, the LAN hardware address requires a specific format. ●
From a DOS prompt (Windows NT/2000): arp -s <IP address> <LAN hardware address> ping <IP address>
●
From a UNIX command prompt: arp -s <IP address> <LAN hardware address> ping <IP address>
EN
TCP/IP Configuration 43
Page 50
where <IP address> is the desired IP address to be assigned to the print server. The arp command writes the entries to the arp cache on the workstation, and the ping command configures the IP address on the print server. For example: ●
In Windows NT 4.0 or Windows 2000 arp -s 13.32.8.98 00-b0-60-a2-31-98 ping 13.32.8.98
●
In UNIX arp-s 13.32.8.98 00:b0:60:a2:31:98 ping 13.32.8.98
Note
Once the IP address has been set on the print server, additional arp and ping commands will be ignored. Once the IP address is configured, arp and ping cannot be used unless the print server is reset to factory values. On UNIX systems, the arp -s command may vary between different systems. Some BSD-based systems expect the IP address (or host name) in reverse order. Other systems may require additional parameters. See your system documentation for specific command formats.
44 TCP/IP Configuration
EN
Page 51
Using Telnet This subsection describes how to configure the print server using Telnet. Note
To use Telnet commands with the HP JetDirect print server, a route must be available from your workstation to the print server. Simplistically, this means that there must be a match between the network identification of your system to that of the HP JetDirect print server. On Windows 95/98 and NT/2000 systems, you can use the following route command at a DOS prompt to add a route to the print server: route add <IP address JetDirect> <IP address workstation> where <IP address JetDirect> is the IP address configured on the HP JetDirect print server, and <IP address workstation> is the IP address of the workstation's network card that is attached to the same physical LAN as the print server.
CAUTION
EN
Using Telnet to change dynamically-configured JetDirect print servers (for example, using BOOTP, RARP, DHCP), may result in a static configuration depending on the parameter being changed.
TCP/IP Configuration 45
Page 52
To set configuration parameters, you must set up a Telnet connection from your system to the HP JetDirect print server. 1. Type the following at the system prompt: telnet <IP address> where <IP address> may be the assigned address from BOOTP, RARP, DHCP, the printer control panel, or the default IP address. The default IP address is 192.0.0.192. The <IP address> is listed on the JetDirect configuration page. 2. When the server responds connected to IP address, press [Enter] twice to make sure that the Telnet connection is initialized. 3. If you are prompted for a password, type the correct password. By default, Telnet does not require a password, but you can set up to a 14-character password by using the password command (passwd). Once a password is set, password protection is enabled. You can disable password protection by typing 0 (zero) when prompted for a new password, or by performing a cold reset on the print server. Note
Any time during the Telnet session you can type:? then press [Enter] to view available configuration parameters, the correct command format, and a list of additional commands to display. To print current configuration information, type / then press [Enter].
46 TCP/IP Configuration
EN
Page 53
Note
The Present Config field in the Telnet Configuration menu describes how the HP JetDirect print server is configured. For example, if the HP JetDirect print server is configured by your BOOTP server, the menu will contain the line, “present config=BOOTP.” Other possible configuration types are RARP, DHCP, or Telnet/Front Panel.
Note
On Windows systems local echo should be selected. To determine if local echo is enabled, perform the following: ●
Windows 95/98/NT: Click Terminal and Preferences.
●
Windows 2000: Run Microsoft Telnet and enter the display command.
On UNIX systems, it is not necessary to select local echo. 4. At the Telnet prompt “>” type: parameter: value then press [Enter], where parameter refers to the configuration parameter you are defining, and value refers to the definitions you are assigning to that parameter. Each parameter entry is followed by a carriage return. See Table 3.3 for examples on assigning configuration parameters.
EN
TCP/IP Configuration 47
Page 54
5. Repeat step 4 to set any additional configuration parameters. 6. When you have finished typing the configuration parameters, type: quit and press [Enter] to activate the configuration parameters. To exit without activating parameters, type exit and press [Enter].
Telnet Configuration Parameter Examples The examples in Table 3.3 show how to use Telnet configuration commands. Note
If a parameter is supplied by the DHCP server, its value cannot be changed using Telnet without disabling DHCP.
48 TCP/IP Configuration
EN
Page 55
Table 3.3
Telnet Configuration Parameter Examples (1 of 2)
IP Address Parameter Example ip: 13.32.11.24 where ip identifies the parameter and 13.32.11.24 specifies the address for the printer. By typing this parameter, you can overwrite the IP address used to make the Telnet connection with one you have selected.
Subnet Mask Example subnet-mask: 255.255.255.0 where subnet-mask identifies the parameter and 255.255.255.0 specifies the subnet mask.
Default Gateway Example default-gw: 13.32.11.85 where default-gw identifies the parameter and 13.32.11.85 specifies the IP address of the gateway. Note: If the HP JetDirect print server is configured by DHCP and you change the subnet mask or the default gateway address (using front-panel, Telnet, or other tool), you should change the IP address to release the present IP address back to the DHCP server IP address pool.
Syslog Server Example syslog-server: where syslog-server identifies the parameter and 13.32.11.85 13.32.11.85 specifies the IP address of that server.
Protocol Enabling/Disabling Example
IPX/SPX: 1 dlc-llc: 1 ethertalk: 1
(1 enables, 0 disables) (1 enables, 0 disables) (1 enables, 0 disables)
Idle Timeout Parameter Example idle-timeout: 120 where idle-timeout identifies the parameter and 120 specifies the number of seconds an idle print data connection is allowed to remain open. If you set this parameter to 0, the connection does not terminate and no other host is able to make a connection.
Banner Page Parameter Example banner: 1
(1 enables, 0 disables)
EN
TCP/IP Configuration 49