how to enable tftp on mountain lion

Hi,


I just tried to enable tftpd on 10.7 but I have some permission problems.


Thanks to have a look into my config


I did:

====

! Edit directory to change to <string>/Users/claude/Documents/tftpboot</string>)

sudo nano /System/Library/LaunchDaemons/tftp.plist


! Unload and load plist file

MacBook-Air-de-Claude:~ claude$ sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist

MacBook-Air-de-Claude:~ claude$ sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist

! Stop and start tftpd deamon

MacBook-Air-de-Claude:~ claude$ sudo launchctl stop com.apple.tftpd

MacBook-Air-de-Claude:~ claude$ sudo launchctl start com.apple.tftpd


! test

tftp> get 192.168.0.5:test.txt

tftp: test.txt: Permission denied

tftp>



These are the directory rights:

=====================

MacBook-Air-de-Claude:~ claude$ ls -lisa /Users/claude/Documents/tftpboot

total 8

6630736 0 drwxr-xr-x 3 claude staff 102 6 nov 20:53 .

679758 0 drwx------ 32 claude staff 1088 6 nov 20:35 ..

3122519 8 -rw-r--r--@ 1 claude staff 2258 8 jui 16:09 test.txt


Trace in on however I do not have any logs.

Posted on Nov 6, 2012 12:00 PM

Reply
8 replies

Nov 6, 2012 11:55 PM in response to etresoft

Thanks Etresoft for your help, I'm using tftp to backup and restore config from network devices.

It still not working.


I changed the setting of /System/Library/LaunchDaemons/tftp.plist

to use directory <string>/tftpboot</string>


! Changed tftpboot right to 777 !

MacBook-Air-de-Claude:~ claude$ ls -lisa /tftpboot

total 8

6630736 0 drwxrwxrwx 3 claude staff 102 6 nov 20:53 .


! Unload and load plist file

MacBook-Air-de-Claude:~ claude$ sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist

MacBook-Air-de-Claude:~ claude$ sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist

! Stop and start tftpd deamon

MacBook-Air-de-Claude:~ claude$ sudo launchctl stop com.apple.tftpd

MacBook-Air-de-Claude:~ claude$ sudo launchctl start com.apple.tftpd


! test

tftp> get 192.168.0.5:test.txt

tftp: test.txt: Permission denied

tftp>


Same issue.



Same problem again

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to enable tftp on mountain lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.