Technical article 105762

Configuring the ip address of HP Jetdirect printer or port-server from SCO UNIX.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

The instructions for configuring my HP Jetdirect printer or
port-server say to connect the printer to my LAN, turn it on and
telnet to 192.0.0.192 from another machine on the LAN.  Telneting
to this special IP address will put me into a configuration utility
and allow me to set the printer's ip address, netmask, broadcast,
and hostname so I can integrate it into my LAN. However, when I
telnet to 192.0.0.192 from my SCO machine, I get the error:
no route to host

Cause

Although the printer or port-server is directly connected to your
LAN, packets will not reach it unless there is a gateway machine
that can talk to both your network _and_ the 192.0.0 network. To
set up this gateway, follow the instructions below.

Solution

If it is an HP Jetdirect printer (as opposed to port-server) you
are configuring, go to the control panel on the printer and enable
remote administration before the following steps will work.  Your
printer documentation will give detailed instructions on how to do
this. Once remote administration is enabled, do the following:
1. Log in as root.

2. Determine the name of your network interface (usually net0) by typing:

# ifconfig -a

3. Set up an alias for the 192.0.0 network using the same interface:

# ifconfig net0 alias 192.0.0.1 netmask 255.255.255.0 broadcast 192.0.0.255

You will now be able to telnet to 192.0.0.192 from the machine on which you configured the alias interface, and configure your printer (or port-server) network information. You will not be able to telnet to 192.0.0.192 from any other SCO machines on the LAN since they would send the packets out of their default router.

NOTE:     The alias interface configuration will be lost when the system is
          rebooted.

See also

ifconfig(ADMN)

From the Xinuos technical article database, record 105762. Reproduced with permission. The original is at www.sco.com/ta/105762, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.