{"id":1085,"date":"2025-05-19T12:19:08","date_gmt":"2025-05-19T05:19:08","guid":{"rendered":"https:\/\/omtel.ltd\/?p=1085"},"modified":"2025-05-19T12:19:08","modified_gmt":"2025-05-19T05:19:08","slug":"tftpd-on-macbook-m1","status":"publish","type":"post","link":"https:\/\/omtel.ltd\/index.php\/2025\/05\/19\/tftpd-on-macbook-m1\/","title":{"rendered":"tftpd on macbook m1"},"content":{"rendered":"<p><strong>Check tftpd running<\/strong><br \/>\nteee@NP ~ % netstat -na |grep \\*.69<\/p>\n<p>teee@NP ~ % apropos tftp<br \/>\nmakewhatis: \/opt\/local\/man: Not a directory<br \/>\ntftp(1) &#8211; trivial file transfer program<br \/>\ntftpd(8) &#8211; Internet Trivial File Transfer Protocol server<br \/>\nCURLOPT_TFTP_BLKSIZE(3) &#8211; TFTP block size<br \/>\nCURLOPT_TFTP_NO_OPTIONS(3) &#8211; send no TFTP options requests<br \/>\ntftp(1) &#8211; trivial file transfer program<br \/>\ntftpd(8) &#8211; Internet Trivial File Transfer Protocol server<\/p>\n<p><strong>Start tftpd<\/strong><strong><br \/>\nteee@NP ~ % sudo launchctl load -F \/System\/Library\/LaunchDaemons\/tftp.plist<\/strong><\/p>\n<p><strong>Check tftpd start<\/strong><br \/>\nteee@NP ~ % netstat -na |grep \\*.69<br \/>\nudp4 0 0 *.69 *.*<br \/>\nudp6 0 0 *.69 *.*<\/p>\n<p><strong>Symlink the tftpboot folder<\/strong><br \/>\nteee@NP ~ % cd \/private<br \/>\nteee@NP \/private % sudo rm -rf tftpboot<br \/>\nteee@NP \/ % mkdir \/Users\/teee\/tftpboot<br \/>\nteee@NP \/ % sudo ln -s \/Users\/teee\/tftpboot tftpboot<\/p>\n<p>teee@NP \/ % sudo launchctl unload -F \/System\/Library\/LaunchDaemons\/tftp.plist<br \/>\nteee@NP \/ % sudo launchctl load -F \/System\/Library\/LaunchDaemons\/tftp.plist<\/p>\n<p><strong>Copy file into position<\/strong><br \/>\nteee@NP \/ % cd \/Users\/teee\/tftpboot<\/p>\n<p><strong>Stop tftpd<\/strong><br \/>\nteee@NP ~ % sudo launchctl unload -F \/System\/Library\/LaunchDaemons\/tftp.plist<br \/>\nteee@NP ~ % netstat -na |grep \\*.69<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check tftpd running teee@NP ~ % netstat -na |grep \\*.69 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-1085","post","type-post","status-publish","format-standard","hentry","category-macos"],"_links":{"self":[{"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/posts\/1085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/comments?post=1085"}],"version-history":[{"count":1,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/posts\/1085\/revisions"}],"predecessor-version":[{"id":1086,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/posts\/1085\/revisions\/1086"}],"wp:attachment":[{"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/media?parent=1085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/categories?post=1085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/omtel.ltd\/index.php\/wp-json\/wp\/v2\/tags?post=1085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}