Raspberry Pi/TNC-Pi Setup/configuration

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.  Boot the card and expand the file system, change password, configure ssh server, and set hostname… then reboot the pi.

3.  Assume root
sudo su -l root

4.  Update your OS:
apt-get update
apt-get dist-upgrade
apt-get upgrade

5.  Edit TNC-Pi  specific Ras-Pi needed files:
File: /boot/cmdline.txt
Remove the following: console=ttyAMA0,115200
Remove the following: kgdboc=ttyAMA0,115200 (this was not present on my pi)

File: /etc/inittab
Remove the last line in tbe file, it should be:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

6. Reboot

7. For the first run I’m using info from the following two websites:
http://www.febo.com/packet/linux-ax25/ax25-config.html
http://k4gbb.us/docs/Raspberry.html

Other reference links from http://wiki.complete.org/LinuxPacketRadio

8. I’m compiling from source, install the build tools:
apt-get install build-essential libax25-dev libx11-dev zlib1g-dev libncurses5-dev

9. Move original ax library files:
mkdir /usr/lib/ax25lib
mv /usr/lib/libax25* /usr/lib/ax25lib/

10. Compile (see k4gbb page)

11. Simlink directories
ln -s /var/ax25 /usr/local/var/ax25
ln -s /etc/ax25 /usr/local/etc/ax25

12. Prepare files system
cd /usr/local/bin
chmod 2755 *

13. Load Modules
modprobe ax25
modprobe

8. Install ax25 software:

Leave a Comment

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