Skip to content

seanism DOT com

Random thoughts from the world of seanism

Menu
  • Useful Apps
  • About Me
    • My Resume
  • Contact Me
Menu

TFTP in OS X Lion 10.7

Posted on April 27, 2012April 27, 2012 by Sean Young

In OS X Lion Apple changed how you access the TFTP server.  Below are the steps for editing the default location of the TFTP server and launching it.

  1. If you’d like to change the path the TFTP server uses you can create a directory wherever you’d like and name it tftp.  If not skip to step 3 but be aware you won’t have direct access to the default folder location which is /private/tftpboot
  2. First let’s edit the tftp.plist file to point to the new location
    1. Open up Terminal
    2. type  sudo nano /System/Library/LaunchDaemons/tftp.plist and press enter
    3. Type in your password
    4. Using the arrow keys move the cursor the the <string>/private/tftpboot</string> location.
    5. Replace the path <string>/private/tftpboot</string> with the location you chose.  I put <string>/Users/USERNAME/tftp</string>
    6. Press control + X and Y to save.
  3. Load and launch the TFTP server
    1. In Terminal type sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist and press enter
    2. Next type sudo launchctl start com.apple.tftpd and press enter

To confirm it is up and listening type netstat -a -p udp | grep tftp into the Terminal window and press enter.  You should see something similar to this…
udp6 0 0 *.tftp *.*
udp4 0 0 *.tftp *.*

If not then the daemon did not start correctly.  You may need to check the plist file for any errors.

I got some of my info from The Weezey Geek but felt it wasn’t a complete tutorial.  I wrote this up to hopefully give people a start to finish guide on editing and starting the TFTP server.

Share this:

  • Print
  • Email
  • Facebook
  • Twitter
  • Reddit

2 thoughts on “TFTP in OS X Lion 10.7”

  1. David Ellis says:
    September 11, 2012 at 9:30 am

    When I do as you instruct, I get a message:

    launchctl: no plist was returned for: /System/Library/LaunchDaemons/tftp.plist
    launchctl: no plist was returned for: /System/Library/LaunchDaemons/tftp.plist
    nothing found to load
    Davids-MacBook-Pro:~ davellis$

    Looking at this, can you see what is wrong?

    Here is the tftp.plist file:

    man sudo

    Disabled

    Label
    com.apple.tftpd
    ProgramArguments

    /usr/libexec/tftpd
    -s
    /users/davellis/tftp

    inetdCompatibility

    Wait

    InitGroups

    Reply
    1. Sean Young says:
      September 11, 2012 at 9:37 am

      You’re running 10.7?

      Let me do some digging.

      Reply

Leave a Reply to David Ellis Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

  • IT
  • Linux
  • Mobile
  • Personal
  • Uncategorized

Tag Cloud!

10.04 activesync backup blog BSOD centOS comic dns eas exchange 2007 iis ios ipad iphone ipod touch itunes linux MacOS microsoft moonlight office osx outlook Outlook 2010 pptp printer PST rras sbs server 2003 server 2008 sharepoint silverlight sms svn sync TB tortoiseSVN ubuntu visualsvn vpn windows windows 7 windows xp wordpress

Follow me on Twitter

My Tweets

Archives

  • August 2022
  • June 2020
  • April 2020
  • July 2016
  • December 2014
  • September 2014
  • April 2014
  • January 2014
  • November 2012
  • April 2012
  • March 2012
  • December 2011
  • November 2011
  • September 2011
  • August 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 seanism DOT com | Built using WordPress and Responsive Blogily theme by Superb
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.