Build Instructions


bootpd_nis may run as a standalone daemon, or be forked by inetd on incoming request.

1. As a standalone server :

   bootpd_nis -i <interface> <other flags>

2. As a inetd service :

    Make sure /etc/services contains:

      bootps          67/udp                          # BOOTP/DHCP server
    add the following at /etc/inetd.d:
        bootps dgram   udp     wait    root    /usr/sbin/bootpd_nis bootpd_nis -x -i <interface name> <other flags>
  restart inetd:
       kill -HUP <pid_of_inetd>

3.  as a xinetd service:

        create the file /etc/xinetd.d/bootpd :
    service bootps
        id              = bootps
        socket_type     = dgram
        protocol        = udp
        user            = root
        wait            = yes
        disable         = no
        port            = 67
        server          = /usr/sbin/bootpd_nis
        server_args     =  -i eth0 -x <other_flags>

    restart xinetd server. (kill -HUP)

Command switches:

./bootpd_nis: BOOTP server (v0.3), with NIS support -

        ./bootpd_nis -i <inteface> [<options>]

Required switches:
        -i <interface>   : interface name (eth0, hme0, ...)

Optional switches:
        -g <gateway>     : gateway address (IP or hostname)
        -m <netmask>     : netmask address
        -n <name server> : name server address (IP or hostname)
        -s <server>      : Our address (IP or hostname)
        -b <broadcast>   : network broadcast address
        -l <logfile>     : redirect logs to <logfile>
        -B <bootfile>    : boot file name
        -x               : run from {x,}inetd
        -d               : debug mode