Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| computers:tftpmac [2022/05/24 03:37] – jon | computers:tftpmac [2022/05/24 17:49] (current) – jon | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| The server is disabled by default. | The server is disabled by default. | ||
| - | Starting the TFTP server | + | Starting the tftp server |
| < | < | ||
| sudo launchctl load -F / | sudo launchctl load -F / | ||
| </ | </ | ||
| - | Stopping the TFTP server | + | Stopping the tftp server |
| < | < | ||
| sudo launchctl unload -F / | sudo launchctl unload -F / | ||
| </ | </ | ||
| - | ### Check if its running (no process | + | Check the process |
| + | < | ||
| netstat -atp UDP | grep tftp | netstat -atp UDP | grep tftp | ||
| - | The TFTP daemon uses the /private/ | + | </code> |
| - | ### Copy file to tftp folder | + | The tftp server uses / |
| - | cp FILENAME | + | < |
| - | ### Set permissions for the folder | + | cp filename |
| + | </ | ||
| + | |||
| + | Since the folder | ||
| + | < | ||
| chmod -R 766 / | chmod -R 766 / | ||
| + | </ | ||
| + | |||
| There is a gotcha with the TFTP daemon, which is you cant copy a file to the TFTP daemon if that file does not already exist there. | There is a gotcha with the TFTP daemon, which is you cant copy a file to the TFTP daemon if that file does not already exist there. | ||