Skip to main contentClick to view our Accessibility Statement or contact us with accessibility-related questions.

PhaserShare


BOOTP
Bootstrap protocol, BOOTP, is the recommended way to establish communications from the host to the printer in an internet protocol environment. BOOTP obtains booting data from the bootptab file. With the proper information stored in the bootptab file, the printer can find its own name and IP address and boot from the network without any intervention, even for a first time boot.

  1. Verify that the bootpd and bootptab files are in the correct directories:

    UNIX: /etc or /usr/etc directory
    OS/2: TCPIPETC (for bootptab) and TCPIPBIN (for bootpd)
    LAN Server: MPTNETC (for bootptab) and MPTNBIN (for bootpd)

    Type:

    ls bootp*

  2. Edit the hosts file to add the printer internet addresses and names:

    128.07.60.30 P340-mktg
    128.07.60.31 P340-sales

    For OS/2, use the TCP/IP Configuration Notebook under the Services tab to add the printer internet addresses and names.

  3. Some UNIX hosts may require an explicit update to the arp table to add the new entries. This command is host-specific; check your host documentation for details.

    arp -s ether P340-mktg 08:00:11:01:00:45
    arp -s ether P340-sales 08:00:11:01:00:46

    The ether switch indicates that you are providing an Ethernet address.

  4. Set up the bootptab file.

  5. Start or restart the inetd or bootpd daemon. For OS/2 Warp, LAN Server 4.0, and UNIX, use the bootpd daemon.

Here is a sample bootptab file; check your host system documentation to see which fields your implementation of BOOTP supports.

# Global entries for all hosts
global: :sm=255.255.255.0:
:bf=dummyfile:
# Master entries for each subnet template
subnet60: :tc=global:gw=128.07.60.100:
subnet61: :tc=global:gw=128.07.61.150:
# Individual printer entries
P340-mktg: :tc=subnet60:ht=ethernet:
:ha=080011010045:
:ip=128.07.60.30:
P340-sales: :tc=subnet60:ht=ethernet:
:ha=080011010046:
:ip=128.07.60.31:

The printer recognizes the BOOTP fields listed in the following table:

Field Description Values
gw

Gateway address list

List of IP addresses separated by spaces.

ha

Hardware address.

Hexadecimal; the ha tag must be preceded by ht tag.

ht

Hardware type (see Assigned Numbers RFC)

Unsigned decimal, octal, or hexadecimal integer or one of the following symbolic names:

For UNIX Ethernet:
ethernet or ether for 10 Mbit Ethernet (DIX encapsulation);
ieee802 for IEEE 802 Ethernet (SNAP encapsulation).
For UNIX Token Ring:
token ring
For OS/2 Ethernet or Token Ring:
ether

ip

IP address

A single IP address.

lg

Log host address(es)

A list of IP addresses separated by spaces.

sm

Subnet mask

A single IP address.

Running BOOTPD under OS/2 Warp

The bootpd daemon cannot be started automatically by inetd or by placing it in the OS/2 Startup Folder. The line START BOOTPD must be inserted in the TCPEXIT.CMD file manually. If the TCPEXIT.CMD file does not exist, you must create it.

Running BOOTP under UNIX

There are two ways to run BOOTP:

BOOTP always running

  1. If the bootpd command line does not exist in your /etc/rc.local file, you need to add it. To verify that the bootpd startup command is in the file, type:

    grep bootpd /etc/rc.local

    If the bootpd startup command is in the file, the following line is displayed. The -s option specifies continuous execution.

    /etc/bootpd -s ; echo -n ' bootpd'

  2. Verify that bootpd resides where it is specified in /etc/rc.local. For the preceding examples, bootpd would be located in /etc. If there is a mismatch between the actual location and the specified location, either move the bootpd binary or change the /etc/rc.local file.

  3. The port numbers for BOOTP listening and replying must be set in the /etc/services file. If they are not set, edit the file and add them. To verify that the ports are set in the file, type:

    grep bootp /etc/services

    If the ports are set in the file, the following lines are displayed:

    bootps 67/udp
    bootpc 68/udp

  4. To start the bootpd daemon without rebooting the system, type:

    /etc/bootpd -s &

BOOTP running only on request

  1. If the bootpd command line does not exist in your /etc/inetd.conf file, you need to add it. To verify that the bootpd startup command is in the file, type:

    grep bootpd /etc/inetd.conf

    If the bootpd startup command is in the file, the following line is displayed:

    bootps dgram udp wait root /etc/bootpd bootpd

  2. Verify that bootpd resides where it is specified in /etc/inetd.conf. For the preceding examples, bootpd would be located in /etc. If there is a mismatch between the actual location and the specified location, either move the bootpd binary or change the /etc/inetd.conf file.

  3. The port numbers for BOOTP listening and replying must be set in the /etc/services file. If they are not set, edit the file and add them. To verify that the ports are set in the file, type:

    grep bootp /etc/services

    If the ports are set in the file, the following lines are displayed:

    bootps 67/udp
    bootpc 68/udp

  4. Restart the inetd daemon without rebooting the system to put the changes you have made into effect. Use one of the following methods.

    For BSD systems

    1. Find out the process ID number for the inetd daemon; type:

      ps -aux | grep inetd

      This command produces the following output:

      root 193 0.0 0.0 48 0 ? IW Oct 24 0:12 inetd
      root 12366 0.0 0.3 32 196 pb S 11:55 0:00 grep inetd

    2. Restart the inetd daemon, which is process ID number 193 in this example. Type:

    kill -HUP 193

    For System V

  5. Find out the process ID number for the inetd daemon; type:

    ps -ef | grep inetd

    This command produces the following output:

    root 6206 3112 0 Nov 06 - 0:00 /etc/inetd
    root 13177 12135 2 06:36:22 pts/3 0:00 grep inetd

  6. Restart the inetd daemon, which is process ID number 6206 in this example. Type:

kill -HUP 6206

Support Home Page
Network Printers Support Home
Additional Information

Register your Printer
ASPs & TPMs
About Software Support
Color Connection
Printer Warranties
Material Safety Data Sheets
Supplies & Cartridge Recycling Program