{"id":39,"date":"2014-10-19T22:45:00","date_gmt":"2014-10-19T22:45:00","guid":{"rendered":"http:\/\/n2xu.wordpress.com\/?p=39"},"modified":"2024-07-31T01:58:11","modified_gmt":"2024-07-31T01:58:11","slug":"raspberry-pi-tnc-pi-setup-configuration","status":"publish","type":"post","link":"https:\/\/n2xu.net\/index.php\/2014\/10\/19\/raspberry-pi-tnc-pi-setup-configuration\/","title":{"rendered":"Raspberry Pi\/TNC-Pi Setup\/configuration"},"content":{"rendered":"<p>This is a raw, working document intended to record how to set this up from scratch.<\/p>\n<p>Raspbian version: 2014-09-09-wheezy-raspbian.img<\/p>\n<p>1. Setup the OS:<br \/>\nUse caution on your target storage device:<br \/>\nsudo dd bs=4M if=2014-09-09-wheezy-raspbian.img of=\/dev\/sdb<\/p>\n<p>2.&nbsp; Boot the card and expand the file system, change password, configure ssh server, and set hostname&#8230; then reboot the pi.<\/p>\n<p>3.&nbsp; Assume root<br \/>\nsudo su -l root<\/p>\n<p>4.&nbsp; Update your OS:<br \/>\napt-get update<br \/>\napt-get dist-upgrade<br \/>\napt-get upgrade<\/p>\n<p>5.&nbsp; Edit TNC-Pi&nbsp; specific Ras-Pi needed files:<br \/>\nFile: \/boot\/cmdline.txt<br \/>\nRemove the following: console=ttyAMA0,115200<br \/>\nRemove the following: kgdboc=ttyAMA0,115200 (this was not present on my pi)<\/p>\n<p>File: \/etc\/inittab<br \/>\nRemove the last line in tbe file, it should be:<br \/>\nT0:23:respawn:\/sbin\/getty -L ttyAMA0 115200 vt100<\/p>\n<p>6. Reboot<\/p>\n<p>7. For the first run I&#8217;m using info from the following two websites:<br \/>\nhttp:\/\/www.febo.com\/packet\/linux-ax25\/ax25-config.html<br \/>\nhttp:\/\/k4gbb.us\/docs\/Raspberry.html<\/p>\n<p>Other reference links from http:\/\/wiki.complete.org\/LinuxPacketRadio<\/p>\n<p>8. I&#8217;m compiling from source, install the build tools:<br \/>\napt-get install build-essential libax25-dev libx11-dev zlib1g-dev libncurses5-dev<\/p>\n<p>9. Move original ax library files:<br \/>\nmkdir \/usr\/lib\/ax25lib<br \/>\nmv \/usr\/lib\/libax25* \/usr\/lib\/ax25lib\/<\/p>\n<p>10. Compile (see k4gbb page)<\/p>\n<p>11. Simlink directories<br \/>\nln -s \/var\/ax25 \/usr\/local\/var\/ax25<br \/>\nln -s \/etc\/ax25 \/usr\/local\/etc\/ax25<\/p>\n<p>12. Prepare files system<br \/>\ncd \/usr\/local\/bin<br \/>\nchmod 2755 *<\/p>\n<p>13. Load Modules<br \/>\nmodprobe ax25<br \/>\nmodprobe<\/p>\n<p>8. Install ax25 software:<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a raw, working document intended to record how to set this up from scratch. Raspbian version: 2014-09-09-wheezy-raspbian.img 1. Setup the OS: Use caution on your target storage device: sudo dd bs=4M if=2014-09-09-wheezy-raspbian.img of=\/dev\/sdb 2.&nbsp; Boot the card and expand the file system, change password, configure ssh server, and set hostname&#8230; then reboot the &#8230; <a title=\"Raspberry Pi\/TNC-Pi Setup\/configuration\" class=\"read-more\" href=\"https:\/\/n2xu.net\/index.php\/2014\/10\/19\/raspberry-pi-tnc-pi-setup-configuration\/\" aria-label=\"Read more about Raspberry Pi\/TNC-Pi Setup\/configuration\">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":[14,13],"tags":[8],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-computer-stuff","category-ham-radio","tag-raspi"],"_links":{"self":[{"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":1,"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":139,"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/posts\/39\/revisions\/139"}],"wp:attachment":[{"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/n2xu.net\/index.php\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}