{"id":493,"date":"2012-04-27T10:35:58","date_gmt":"2012-04-27T17:35:58","guid":{"rendered":"http:\/\/seanism.com\/blog\/?p=493"},"modified":"2012-04-27T10:54:38","modified_gmt":"2012-04-27T17:54:38","slug":"tftp-in-os-x-lion-10-7","status":"publish","type":"post","link":"https:\/\/seanism.com\/blog\/2012\/04\/tftp-in-os-x-lion-10-7\/","title":{"rendered":"TFTP in OS X Lion 10.7"},"content":{"rendered":"<p>In OS X Lion Apple changed how you access the TFTP server. \u00a0Below are the steps for editing the default location of the TFTP server and launching it.<\/p>\n<ol>\n<li>If you&#8217;d like to change the path the TFTP server uses you can create a directory wherever you&#8217;d like and name it tftp. \u00a0If not skip to step 3 but be aware you won&#8217;t have direct access to the default folder location which is\u00a0<strong>\/private\/tftpboot<\/strong><\/li>\n<li>First let&#8217;s edit the tftp.plist file to point to the new location<\/li>\n<ol>\n<li>Open up Terminal<\/li>\n<li>type\u00a0\u00a0sudo nano \/System\/Library\/LaunchDaemons\/tftp.plist and press enter<\/li>\n<li>Type in your password<\/li>\n<li>Using the arrow keys move the cursor the the\u00a0&lt;string&gt;<strong>\/private\/tftpboot<\/strong>&lt;\/string&gt; location.<\/li>\n<li>Replace the path &lt;string&gt;<strong>\/private\/tftpboot<\/strong>&lt;\/string&gt; with the location you chose. \u00a0I put\u00a0&lt;string&gt;<strong>\/Users\/USERNAME\/tftp<\/strong>&lt;\/string&gt;<\/li>\n<li>Press <strong>control + X<\/strong> and <strong>Y<\/strong> to save.<\/li>\n<\/ol>\n<li>Load and launch the TFTP server<\/li>\n<ol>\n<li>In Terminal type\u00a0<strong>sudo launchctl load -F \/System\/Library\/LaunchDaemons\/tftp.plist<\/strong> and press enter<\/li>\n<li>Next type\u00a0<strong>sudo launchctl start com.apple.tftpd<\/strong> and press enter<\/li>\n<\/ol>\n<\/ol>\n<p>To confirm it is up and listening type\u00a0<strong>netstat -a -p udp | grep tftp<\/strong> into the Terminal window and press enter. \u00a0You should see something similar to this&#8230;<br \/>\nudp6 0 0 *.tftp *.*<br \/>\nudp4 0 0 *.tftp *.*<\/p>\n<p>If not then the daemon did not start correctly. \u00a0You may need to check the plist file for any errors.<\/p>\n<p>I got some of my info from <a title=\"The Weezey Geek\" href=\"http:\/\/www.weezey.com\/2011\/07\/using-os-x-built-in-tftp-server.html\" target=\"_blank\">The Weezey Geek<\/a> but felt it wasn&#8217;t a complete tutorial. \u00a0I wrote this up to hopefully give people a start to finish guide on editing and starting the TFTP server.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-499\" title=\"Terminal Window\" src=\"http:\/\/seanism.com\/blog\/wp-content\/uploads\/2012\/04\/tftp.png\" alt=\"\" width=\"719\" height=\"452\" srcset=\"https:\/\/seanism.com\/blog\/wp-content\/uploads\/2012\/04\/tftp.png 719w, https:\/\/seanism.com\/blog\/wp-content\/uploads\/2012\/04\/tftp-300x188.png 300w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In OS X Lion Apple changed how you access the TFTP server. \u00a0Below are the steps for editing the default location of the TFTP server and launching it. If you&#8217;d like to change the path the TFTP server uses you can create a directory wherever you&#8217;d like and name it tftp. \u00a0If not skip to&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[3],"tags":[132,131,130,133],"class_list":["post-493","post","type-post","status-publish","format-standard","hentry","category-it","tag-10-7","tag-lion","tag-os-x","tag-tftp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1vc3H-7X","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/posts\/493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/comments?post=493"}],"version-history":[{"count":7,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/posts\/493\/revisions"}],"predecessor-version":[{"id":496,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/posts\/493\/revisions\/496"}],"wp:attachment":[{"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/media?parent=493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/categories?post=493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seanism.com\/blog\/wp-json\/wp\/v2\/tags?post=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}