Version 10 (modified by anonymous, 15 years ago) (diff) |
---|
Installation
First get the latest stable source of the package from:
Then unpack the package. There are 2 methods to build the package:
- Debian package
- Manual installation
Debian package
How to build a debian package:
- debian/rules binary
- dpkg -i <packagename>
The debian package determines if inetd or xinetd configuration must be used.
Manual installation
How to install the package:
- ./configure
- make install
How to configure the daemon (pxeconfigd)
To activate the pxeconfigd daemon utility on other platforms use this procedure:
- edit '/etc/services', eg:
pxeconfigd 6611/tcp # pxe config daemon
- Install the server, the server can ONLY be started from inetd or xinetd:
a) inetd.conf - edit '/etc/inetd.conf', eg: pxeconfigd stream tcp nowait root.sys /usr/sbin/tcpd \ /usr/local/sbin/pxeconfigd - /etc/init.d/inetd reload b) xinetd - cp examples/pxeconfigd.xinetd /etc/xinetd.d/pxeconfigd - /etc/init.d/xinetd reload
Test the setup
You can test it by:
- telnet localhost pxeconfigd (or port number)
output: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. ip = 127.0.0.1, hex = 7F000001 file = /tftpboot/pxelinux.cfg/7F000001 Connection closed by foreign host.
In syslog a line will be added if the removal is succesful:
Feb 20 09:32:40 test pxeconfigd: /tftpboot/pxelinux.cfg/7F000001
Note
As you can see '/tftpboot/pxelinux.cfg/' is the default directory. If you placed the config files somewhere else you can add the -d,--directory option, eg:
pxeconfigd stream tcp nowait root.sys /usr/sbin/tcpd \ /usr/local/sbin/pxeconfigd -d /<some>/<other>/<place>