Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

does anyone know any TFTP server for Mac OS X? maybe there is one build-in?

share|improve this question
    
In the text of the question, shouldn't it say "TFTP"? They are different protocols. –  benc Apr 7 '10 at 1:51

3 Answers 3

up vote 4 down vote accepted

It's there, you just have to enable it:

Starting the TFTP server on Mac OS X Leopard (sudo needed) (Note this does not work with Mac OS X Lion):

  • To start the TFTP server, in the terminal window, type: /sbin/service tftp start
    • Your TFTP default folder path will be: /private/tftpboot
  • To Stop the TFTP server, type: /sbin/service tftp stop

To test you can tftp to localhost, or you could create a test file. In terminal, type:

  • echo "testing" >/private/tftpboot/testfile
  • printf "verbose\ntrace\nget testfile\n" | tftp localhost

TFP Server GUI:

If you're into GUIs, this TFTP server GUI app might work for you: http://ww2.unime.it/flr/tftpserver/

share|improve this answer

This solution works on Mac OS X Lion.

There already is one:

sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
sudo launchctl start com.apple.tftpd

And, assuming you don't have a typo in either your subject or problem description:

sudo launchctl load -F /System/Library/LaunchDaemons/ftp.plist
sudo launchctl start com.apple.ftpd
share|improve this answer
    
why is the start com.apple.ftpd command needed? –  Hawken Apr 21 '12 at 15:51

Along with +andrew-stannard directions the default target folder for the OSX built in TFTP server is: /private/tftpboot/yourfile.bin

Also ensure firewall allows the tftp port (69)

So by naming the file according to the hardware you are recovering specs (I had to recover a group of SNOM IP Phones and neglected 1 letter in the file name which took over an hour to diagnose....grrr) Once I fixed that letter the phones all pulled the file in no time.

share|improve this answer

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.