{"id":2889,"date":"2020-05-15T19:45:10","date_gmt":"2020-05-15T19:45:10","guid":{"rendered":"https:\/\/wiki.thomasandsofia.com\/?p=2889"},"modified":"2020-05-15T20:00:31","modified_gmt":"2020-05-15T20:00:31","slug":"install-a-tftp-server-on-raspberry-pi","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=2889","title":{"rendered":"Install a TFTP server on Raspberry Pi"},"content":{"rendered":"<h3>Install the tftpd-hpa server<\/h3>\n<pre>sudo apt install -y tftpd-hpa<\/pre>\n<h3>(Optional) Install the tftp client<\/h3>\n<pre>sudo apt install -y tftp<\/pre>\n<h3>Edit the config file<\/h3>\n<pre>sudo nano \/etc\/default\/tftpd-hpa\r\n\r\n# \/etc\/default\/tftpd-hpa\r\nTFTP_USERNAME=\"tftp\"\r\nTFTP_DIRECTORY=\"\/home\/tftp\"\r\nTFTP_ADDRESS=\"0.0.0.0:69\"\r\nTFTP_OPTIONS=\"--secure -4 --create\"<\/pre>\n<p>&nbsp;<\/p>\n<h3>Create the tftp folder<\/h3>\n<pre>sudo mkdir \/home\/tftp\r\nsudo chmod 777 \/home\/tftp\r\nsudo chown tftp \/home\/tftp<\/pre>\n<p>&nbsp;<\/p>\n<h3>To Start \/ Restart the TFTP service<\/h3>\n<pre>sudo systemctl start tftpd-hpa<\/pre>\n<p>&nbsp;<\/p>\n<h2>Using the TFTP Client<\/h2>\n<pre>tftp IP.ADD.RE.SS\r\n&lt;verbose&gt;\r\nput source-file &lt;dest-file&gt;\r\nget dest-file &lt;source-file&gt;\r\nquit<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install the tftpd-hpa server sudo apt install -y tftpd-hpa (Optional) Install the tftp client sudo apt install -y tftp Edit the config file sudo nano \/etc\/default\/tftpd-hpa # \/etc\/default\/tftpd-hpa TFTP_USERNAME=&#8221;tftp&#8221; TFTP_DIRECTORY=&#8221;\/home\/tftp&#8221; TFTP_ADDRESS=&#8221;0.0.0.0:69&#8243; TFTP_OPTIONS=&#8221;&#8211;secure -4 &#8211;create&#8221; &nbsp; Create the tftp folder sudo mkdir \/home\/tftp sudo chmod 777 \/home\/tftp sudo chown tftp \/home\/tftp &nbsp; To Start \/ Restart ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=2889\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45,2],"tags":[],"class_list":["post-2889","post","type-post","status-publish","format-standard","hentry","category-icnd1-ccent","category-networking"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/2889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2889"}],"version-history":[{"count":3,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/2889\/revisions"}],"predecessor-version":[{"id":2892,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/2889\/revisions\/2892"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}