Changes

From SME Server
Jump to navigationJump to search
483 bytes added ,  10:45, 20 November 2018
Line 3: Line 3:  
== smeserver-tftp-server ==
 
== smeserver-tftp-server ==
 
Maintainer: [mailto:smeserver@batley.id.au Trevor Batley]<br>
 
Maintainer: [mailto:smeserver@batley.id.au Trevor Batley]<br>
Current vesrion: 1.0-2
+
{{#smeversion: smeserver-tftp-server }}
    
=== Description ===
 
=== Description ===
Line 9: Line 9:     
It was produced to support my [[Thinclient|smeserver-thinclient]] contrib, but can be used independently.
 
It was produced to support my [[Thinclient|smeserver-thinclient]] contrib, but can be used independently.
  −
I also have a sister contrib that uses [[Atftp_server|atftp-server]], if you prefer that server. It works the same as this one and is interchangeable.
      
=== Requires ===
 
=== Requires ===
Line 25: Line 23:  
  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., but this is not required for this package.
+
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.
    
  signal-event post-upgrade
 
  signal-event post-upgrade
Line 32: Line 30:  
The tftpd status is controlled via the Thin Clients server-manager panel if you have installed my [[Thinclient|smeserver-thinclient]] contrib.
 
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 and expand all the templates etc.
+
If you haven't, you'll need to enable the tftp server
 
  config setprop tftpd status enabled
 
  config setprop tftpd status enabled
 
  signal-event tftpd-conf
 
  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:
  /etc/init.d/supervise/tftpd restart
+
  service tftpd restart
    
=== Defaults ===
 
=== Defaults ===
Line 56: Line 54:  
| private
 
| private
 
| private/public/localhost
 
| private/public/localhost
| private = internal interface ONLY
+
|
public = all interfaces
  −
 
  −
localhost = localhost ONLY
   
|-
 
|-
 
| log
 
| log
 
| normal
 
| normal
 
| normal/verbose/disabled
 
| normal/verbose/disabled
| normal = -v
+
| equivalent to -v or -vv or none
verbose = -vv
  −
 
  −
disabled = none
   
|-
 
|-
 
| user
 
| user
| root
+
| nobody
| root/nobody
+
| nobody/<user>
| should default to nobody, but this doesn't work
+
| default to nobody, any valid user id
 
|-
 
|-
| privelege
+
| privilege
 
| ro
 
| ro
 
| ro/rw
 
| ro/rw
|  
+
| read-only or read-write (rw equivalent to -c)
 
|-
 
|-
 
| timeout
 
| timeout
 
| default
 
| default
| default/300
+
| default/nnn
| default = 900 seconds (15 minutes)
+
| timeout value in seconds (default is 900)  
|-
  −
| UDPPort
  −
| 69
  −
| any port
  −
|
   
|-
 
|-
 
| directory
 
| directory
Line 93: Line 80:  
| any directory
 
| any directory
 
|
 
|
 +
|-
 +
| blksize <sup>1</sup>
 +
|
 +
| Value between 512-65464
 +
| e.g. equivalent to -B [512-65464]
 +
|-
 +
| refuse <sup>2</sup>
 +
|
 +
| any tftp parameter
 +
| e.g. blksize equivalent to  -r blksize
 
|-
 
|-
 
|}
 
|}
Line 98: Line 95:  
These settings can be set/changed via
 
These settings can be set/changed via
 
  config setprop tftpd <prop> <value>
 
  config setprop tftpd <prop> <value>
 +
signal-event tftpd-conf
 +
 +
<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
 +
config delprop tftpd blksize
 +
signal-event tftpd-conf
 +
 +
<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
 
  signal-event tftpd-conf
 
  signal-event tftpd-conf
    
=== Uninstall ===
 
=== Uninstall ===
 
  yum remove smeserver-tftp-server tftp-server
 
  yum remove smeserver-tftp-server tftp-server
 +
signal-event post-upgrade ; signal-event reboot
   −
Everything should be turned off, but if not, or you just want to make sure
+
If you want to fully clean up, by removing the entries from the configuration database
  /etc/init.d/tftpd stop
+
  config delete tftpd
An error saying that /etc/init.d/supervise/tftpd does not exist should be returned
      
=== Source ===
 
=== Source ===
 
The source for this contrib can be found in the smecontribs [http://smecontribs.cvs.sourceforge.net/smeserver/smeserver-tftp-server/ CVS] on sourceforge.
 
The source for this contrib can be found in the smecontribs [http://smecontribs.cvs.sourceforge.net/smeserver/smeserver-tftp-server/ CVS] on sourceforge.
   −
A copy is held in my [http://mirror.contribs.org/smeserver/contribs/trevorb/7.x/Thinclient/source/ contribs directory].
+
=== Bugs ===
 +
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-tftp-server component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-tftp-server|title=this link}}.
   −
=== Bugs ===
+
{{#bugzilla:columns=id,product,version,status,summary |sort=id|order=desc |component=smeserver-tftp-server|noresultsmessage="No open bugs found."}}
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-tftp-server component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-tftp-server|title=this link}}.
   
----
 
----
[[Category: Contrib]]
+
[[Category:Contrib]]
[[Category: Asterisk]]
+
[[Category:Asterisk]]
[[Category: Administration]]
+
[[Category:Administration]]

Navigation menu