2010年1月31日 星期日

Enable TFTP Server on Mac OS X 10.6

Step.1 啟動 TFTP service

# sudo /sbin/service tftp start


Step.2 變更 TFTP root directory (如果有必要的話)

TFTP root directory 的預設路徑是在 /private/tftpboot
如果想要變更的話,請修改 tftp.plist 的 tag,如:

<array>
<string>/usr/libexec/tftpd</string>
<string>-i</string>
<string>/Users/fly/tftp</string>
</array>


修改完畢之後,tftpd 需要重新啟動

# sudo /sbin/service tftp stop
# sudo /sbin/service tftp start

沒有留言: