install tftp server on MacOS Ventura
I used the following procedure to enable tftp server on my MacBookPro running Ventura:
sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
On my target device running Linux OS, I could use "tftp -g -r <filename> host_IP" to get a file under MBP's /private/tftpboot folder.
However, when my target board boots into the boatload, using tftp from bootloader returns "TFTP error 2: Access violation". After reading quite a few old online stories, I tried to remove the the top two lines from the default /System/Library/LaunchDaemons/tftp.plist.
<key>Disabled</key>
<true/>
There are two problems though:
- the /System/Library/LaunchDaemons/tftp.plist is not writable, even with "sudo".
- I copied the /System/Library/LaunchDaemons/tftp.plist to my local home directory and made the above modification there, then relaunched tftpd with the local plist file:
launchctl load -F tftp-test.plist
now my target device doesn't report access violation, but it reported "Failed: Timeout occured" error.
Can you tell me what is the working procedure to enable tftp server on MacOS Ventura? or how to address above two problems? Thanks!