Changes

Jump to navigation Jump to search
187 bytes added ,  05:57, 15 August 2023
use systemctl rather than service (for restart)
Line 17: Line 17:     
https://wiki.koozali.org/NFS
 
https://wiki.koozali.org/NFS
 +
 +
You will a /etc/exports line similar to this:
 +
 +
/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)
 +
if you have installed smeserver-nfs
    
=== Installation ===
 
=== Installation ===
Line 27: 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
+
If you haven't, you'll need to enable the tftp server manually from the shell (logged in as root)
signal-event reboot
+
  config setprop tftp status enabled
 
+
  signal-event smeserver-tftp-server-update
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
  −
  config setprop tftpd status enabled
  −
  signal-event tftpd-conf
      
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 98: 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 284: 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 299: 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 ===
371

edits

Navigation menu