Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

How do I enable an existing TFTPd within 10.6.6 ?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Do you need to run it with any special settings? By default, it runs chrooted in /private/tftpboot; if you want anything different in the setup, edit /System/Library/LaunchDaemons/tftp.plist as appropriate. Then, activate it with:

sudo launchctl load -w /System/Library/LaunchDaemons/tftp.plist
share|improve this answer
1  
May need to sudo that. –  Spiff Feb 25 '11 at 6:30
    
@Spiff: D'oh! Fixed. –  Gordon Davisson Feb 25 '11 at 7:58
    
default's is fine.. my only problem is mbp:~ alexus$ sudo launchctl load -w /System/Library/LaunchDaemons/tftp.plist bind(): Address already in use com.apple.tftpd: Already loaded mbp:~ alexus$ –  alexus Feb 26 '11 at 1:32
    
It sounds like it's already activated. Try sudo launchctl list com.apple.tftpd and see if it gives you a differently-formatted dum of the .plist (if it's loaded), or an error message (if it's not loaded). Also, try sudo lsof -i:tftp and see if it shows launchd listening on the tftp port (note that launchd will start tftp when it sees incoming traffic on the tftp port). –  Gordon Davisson Feb 26 '11 at 4:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.