[5] | 1 | Here follow some basic installations instructions. |
---|
| 2 | |
---|
| 3 | To activate the 'pxeconfigd' daemon the following actions are required: |
---|
| 4 | 1) edit '/etc/services', eg: |
---|
| 5 | pxeconfigd 10000/tcp # pxe config daemon |
---|
| 6 | |
---|
| 7 | 2) edit '/etc/inetd.conf', eg |
---|
| 8 | pxeconfigd stream tcp nowait root.sys /usr/sbin/tcpd \ |
---|
| 9 | /usr/sara/sbin/pxeconfigd |
---|
| 10 | |
---|
| 11 | NOTE: the pxeconfigd can only be started from inetd!!! |
---|
| 12 | |
---|
| 13 | 3) kill -1 `pidof inetd` (Linux) |
---|
| 14 | |
---|
| 15 | 4) You can test it by: |
---|
| 16 | telnet localhost pxeconfigd (or port number> |
---|
| 17 | |
---|
| 18 | output: |
---|
| 19 | Trying 127.0.0.1... |
---|
| 20 | Connected to localhost. |
---|
| 21 | Escape character is '^]'. |
---|
| 22 | ip = 127.0.0.1, hex = 7F000001 |
---|
| 23 | file = /tftpboot/pxelinux.cfg/7F000001 |
---|
| 24 | Connection closed by foreign host. |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | 4) As you can see '/tftpboot/pxelinux.cfg/' is the default directory. If |
---|
| 28 | you placed the config file some where else you can add the |
---|
| 29 | '-d/--directory' option, eg: |
---|
| 30 | pxeconfigd stream tcp nowait root.sys /usr/sbin/tcpd \ |
---|
| 31 | /usr/sara/sbin/pxeconfigd -d /<some>/<other>/<place> |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | If the daemon work and you want to install/reinstall a node a link |
---|
| 35 | must be placed in the '/tftpboot/pxelinux.cfg' directory. This can |
---|
| 36 | be done with the 'pxeconfig' utility. This utility will ask some |
---|
| 37 | question and make the links for you.i The utility require the following |
---|
| 38 | setup: |
---|
| 39 | 1) All the pxe configuration files must start with preamble 'default.' |
---|
| 40 | In this distribution two examples are included. Pxeconfig lets the |
---|
| 41 | user decide witch 'default.' config file to use. |
---|
| 42 | |
---|
| 43 | 2) If default is a link to for example default.harddisk. Then |
---|
| 44 | default.harddisk is not included in the list where the user can |
---|
| 45 | choose from. |
---|
| 46 | |
---|
| 47 | 3) You can give command line switch to specifiy where the |
---|
| 48 | pxe config files reside: |
---|
| 49 | pxeconfig -d /<some>/<other>/<place> |
---|
| 50 | |
---|
| 51 | The last utility is 'hexls'. This utility will displat the hex pxe config |
---|
| 52 | file with the corresponding ip-addres. |
---|
| 53 | |
---|
| 54 | Commens or Suggestions mail them to: |
---|
| 55 | Bas van der Vlies <basv@sara.nl> |
---|
| 56 | http://www.sara.nl for more info about SARA |
---|