Packet Radio on a Raspberry Pi the cheap way!
|A terminal showing the output of the HELP command in a TNC|
sudo apt-get install libax25 ax25-apps ax25-tools
sudo nano axports
|The contents of my /etc/ax25/ax25ports file|
vhfdrop M0PQA-1 19200 236 4 VHF RadioWhere:
- vhfdrop is the name of your port
- M0PQA-1 is YOUR callsign, followed by a -1
- 19200 is the Data Terminal Equipment (DTE) speed which is the speed between the computer and the TNC. When using Direwolf, this is totally meaningless.
- 236 is the Maximum Transmission Unit (MTU). You can increase this value up to a maximum of 255 if your connection is stable. If not, reduce it to a reasonable number such as 128.
- 4 is the maximum number of packets that your radio will send before waiting for a confirmation. The higher it is, the higher the speed of your comms. However, if one of this packets fail, they all will be re-send. 4 is a reasonable value.
sudo apt-get install checkinstall libncurses5-dev libncursesw5-dev
git clone https://git.code.sf.net/p/linpac/linpac linpac-linpac
git checkout develop
--pkggroup hamradio --pkgsource https://sourceforge.net/projects/linpac/files/LinPac/ \
--maintainer ki6zhdattrinityos.com --provides linpac \
--requires libax25,ax25-apps,ax25-tools,libncurses6 make install
sudo chmod 4755 /usr/bin/listen sudo mkdir -p /var/ax25/mail
sudo chown $USER /var/ax25/mail
sudo direwolf -t 0 -p
|Output from the command above|
In yet another terminal, type:
sudo kissattach /tmp/kisstnc vhfdropYou will need to execute these 6 lines every time you want to use LinPac. Maybe you want to consider creating a shell script file to launch all of them together.
sudo kissparms -c 1 -p vhfdrop
sudo axlisten -archt
Now, onto LinPac. Open (yet) another terminal and type:
- Callsign without SSID. In my case M0PQA
- Home BBS callsign. In my case: M0PQA-1
- Name of the port to connect to: vhfdrop (this is the same name that you added to the end of the ax25ports before)
- Digipeaters used to connect: None. Just hit Enter.
- Full hierarchical address will depend on your region. I'm using #32.GBR.EURO
|LinPac screen once launched|
And that's it. You are now ready to connect to other stations using Packet Radio from your Raspberry Pi, without any additional hardware.
As usual, leave a comment below, or drop me a note over email, Instagram or Twitter, in case you encounter any issues.