Mac OS X开启TFTP服务

When you would like to use TFTP on your Mac OS X machine, take these simple steps:

  1. Change /System/Library/LaunchDaemons/tftp.plist Quite simple; remove two lines <key>Disabled</key> and <true/>. Besides that, I added the -l option with <string>-l</string>, but that's optional.
  2. Load tftp.plist into launchd The command :
    launchdctl load -F /System/Library/LaunchDaemons/tftp.plist will do that.
  3. sudo launchctl start com.apple.tftpd
  4. Monitor /var/log/system.log With the command tail -f /var/log/system.log

你可能感兴趣的:(Mac OS X开启TFTP服务)