Line 21: |
Line 21: |
| | | |
| /tftpboot/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure) | | /tftpboot/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure) |
− | | + | <syntaxhighlight lang="bash"> |
| + | mkdir -p /etc/e-smith/templates-custom/etc/exports/ |
| + | echo "/tftpboot/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)" > /etc/e-smith/templates-custom/etc/exports/30tftp |
| + | expand-template /etc/exports |
| + | </syntaxhighlight> |
| /tftpboot/images/ubunturescue_1104/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure) | | /tftpboot/images/ubunturescue_1104/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure) |
| + | if you have installed smeserver-nfs |
| | | |
| === Installation === | | === Installation === |
Line 33: |
Line 38: |
| yum --enablerepo=smecontribs --enablerepo=base install smeserver-tftp-server | | yum --enablerepo=smecontribs --enablerepo=base install smeserver-tftp-server |
| | | |
− | Officially you should then need to apply the database changes etc. Whilst this is not required to be able to run the tftp server straight away, it will be required at some stage, and the server manager will remind you to, until you do.
| + | The tftp status can be controlled via the Thin Clients server-manager panel if you have installed my [[Thinclient|smeserver-thinclient]] contrib. |
− | | |
− | signal-event post-upgrade
| |
− | signal-event reboot
| |
− | | |
− | The tftpd status is controlled via the Thin Clients server-manager panel if you have installed my [[Thinclient|smeserver-thinclient]] contrib.
| |
| | | |
− | If you haven't, you'll need to enable the tftp server | + | If you haven't, you'll need to enable the tftp server manually from the shell (logged in as root) |
− | config setprop tftpd status enabled | + | config setprop tftp status enabled |
− | signal-event tftpd-conf | + | signal-event smeserver-tftp-server-update |
| | | |
| If for any reason the tftp server isn't running, try: | | If for any reason the tftp server isn't running, try: |
− | service tftpd restart | + | systemctl restart tftp |
| | | |
| === Defaults === | | === Defaults === |
Line 104: |
Line 104: |
| | | |
| These settings can be set/changed via | | These settings can be set/changed via |
− | config setprop tftpd <prop> <value> | + | config setprop tftp <prop> <value> |
− | signal-event tftpd-conf | + | signal-event smeserver-tftp-server-update |
| | | |
| <nowiki>*1</nowiki> blksize does not have a default entry in the configuration database. It can be added as above or removed via | | <nowiki>*1</nowiki> blksize does not have a default entry in the configuration database. It can be added as above or removed via |
| | | |
| see Bug 10646 for updated tftp contrib with addition of default setting | | see Bug 10646 for updated tftp contrib with addition of default setting |
− | config delprop tftpd blksize | + | config delprop tftp blksize |
− | signal-event tftpd-conf | + | signal-event smeserver-tftp-server-update |
| | | |
| <nowiki>*2</nowiki> refuse does not have a default entry in the configuration database. It can be added as above or removed via | | <nowiki>*2</nowiki> refuse does not have a default entry in the configuration database. It can be added as above or removed via |
− | config delprop tftpd refuse | + | config delprop tftp refuse |
− | signal-event tftpd-conf | + | signal-event smeserver-tftp-server-update |
| | | |
| ===Setup PXE Booting=== | | ===Setup PXE Booting=== |
Line 290: |
Line 290: |
| | | |
| Most Voip phone scan read a config file based on their MAC address to configure themselves during boot. | | Most Voip phone scan read a config file based on their MAC address to configure themselves during boot. |
− | This can takea while to set up but is a massive time saver. | + | This can take a while to set up but is a massive time saver. |
| | | |
| ===Related Contribs=== | | ===Related Contribs=== |
| | | |
− | https://wiki.koozali.org/Thinclient
| + | [[Thinclient|smeserver-thinclient]] |
− | | |
− | This can aid with basic tftpd setup.
| |
| | | |
− | There is also a distro called [https://sourceforge.net/projects/thinstation/ Thinstation] This PXE it's own Linux distro that can be used a thin client.
| + | This can aid with basic tftp setup. |
| | | |
| === Uninstall === | | === Uninstall === |
Line 305: |
Line 303: |
| | | |
| If you want to fully clean up, by removing the entries from the configuration database | | If you want to fully clean up, by removing the entries from the configuration database |
− | config delete tftpd | + | config delete tftp |
| | | |
| === Source === | | === Source === |