voipmeister.com voip stuff matters and more

Articles tagged with TFTP

Using the macOS builtin tftp server

Should you ever need a tftp server on your macOS device, you can use the builtin tftp server:

sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
sudo launchctl start com.apple.tftpd

The tftp root folder is /private/tftproot

The file /System/Library/LaunchDaemons/tftp.plist holds the configuration.

Stopping the tftp server is as easy as:

sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist

Tested and approved’ on macOS Sierra

TFTP Download From Rommon

It is possible to start a TFTP download while in Rommon mode. You will need to fill some variables before you issue the tftpdnld command:

rommon 1 > IP_ADDRESS=192.168.0.156
rommon 2 > IP_SUBNET_MASK=255.255.255.0
rommon 3 > DEFAULT_GATEWAY=192.168.0.1
rommon 4 > TFTP_SERVER=192.168.0.1
rommon 5 > TFTP_FILE=c2800nm-ipvoicek9-mz.123-15.T2.bin
rommon 6 > tftpdnld