HamRadio AX.25 packet on RaspBerry


5 posts
by f6bvp » Tue Jul 24, 2012 8:53 pm
I succeeded the compilation of a dedicated Raspbian 3.1.9+ kernel with packet radio modules (6pack, kiss, Rose, NetRom).
I followed instructions given in Debian paragraph of http://elinux.org/RPi_Kernel_Compilation
I then installed a ROSE node switch FPAC on my RPi.
Node will soon be available through ssh.
Compilation took the whole night but it did not hurt as I was sleeping !
Now I will install a co located F6FBB BBS.
At the same time lighttpd is running a web page advertizing RPi at
http://f6bvp.org:8080
I need some help to build a deb package including kernel binary image and AX.25 modules in order to help other hams interested by this project.

73 de Bernard, f6bvp
Posts: 9
Joined: Fri Jun 22, 2012 9:22 pm
by another_mikey » Tue Jul 31, 2012 12:15 am
I am looking to try hosting a DXCluster using the Pi and am very interested in what you might have found out regarding the process for adding many of the modules and recompiling. I will need the Ax25 support for sure - not sure about the ROSE stuff though - I don't think I have any need of that.

Only other concern will be for getting a RS-232 port working. I will likely try a USB to serial adapter as a simple solution and then go towards using one of the dedicated serial ports (with level conversion) if I need to.

Anyway, wanted to post to find out if you were going to make any builds of the kernel available with AX25 installed or if you had any other advice before I embark on trying to rebuild it myself.

is there a way to do it with a cross compiler under Windows & as I am assuming the long duration must have meant you compiled things natively on the Pi itself?

ML/KE0MF
Posts: 3
Joined: Sun Jul 22, 2012 6:18 pm
by g8bpq » Sat Aug 04, 2012 8:11 am
Hi,

The bootc kernels include all the ax.25 modules, so i suggest you use them rather than building your own kernel. There is a build for raspian posted somewhere on the site.

I have a node working, running NETROM over the Ethernet port using the BPQEther driver, and KISS using the serial port. You have to stop the system using the port, both for kernel messages and a getty.

I have just about completed a TNC that will plug into the expansion header. The prototype is a modified TNC-X, but I hope to produce a customised board. The idea is to talk to the PI over i2c, so more than one TNC can be connected (it will have a stackable header)..

73, John G8BPQ
Posts: 1
Joined: Sat Aug 04, 2012 8:03 am
by k4gbb » Fri Sep 14, 2012 6:42 pm
I have set up two Raspberries. Both running FPAC (ROSE) and Net Rom.
Both are supporting a RMS Gate. We are having some trouble setting up the VA site to run with a TNC-X. The FTDI drivers appear to be problematic.

You can find a script to install ax25 on the Raspberrian Wheezy image dated 8/16/2012.
on my Raspberry RMS Gate web sitehtml://k4gbb.no-ip.info/docs/Raspberry.html.

The secret seems to be finding a solid PSU and USB hub.

73
<<Charley>>
k4gbb
The Grass may be greener on the other side of the fence, but it still has to be mowed.
User avatar
Posts: 50
Joined: Sun Aug 12, 2012 5:33 am
Location: Dunnellon, FL USA - EL88tx
by k4gbb » Sun Sep 16, 2012 10:20 pm
Recent modifications of the FTDI driver used the TNC-X have resulted in a stable working environment.
The original FTDI USB driver would nether send or receive. The updated driver from FTDI's web site was installed and the USB port was operational. Our choice of HUBs was unfortunate. There was a problem connecting the TNC thru the USB3 hub. It had an issue regarding communicating to the the RPi the connection of USB2 devices. Therefore the TNC-X was never recognized.

Connecting the TNC directly to the RPI was the only way to make it work. Later, a borrowed HUB was substituted and allowed the TNC to be powered externally.

While this updated USB driver made the Ax.25 port work it made the RPi somewhat unstable. It would run for hours and lock-up. The 8000 interrupts thread http://www.raspberrypi.org/phpBB3/viewtopic.php?p=156720#p156720 shows more work being done on the FTDI USB driver. The work by gsh seems to have solved the problem.

You will find instructions and documentation for installing a TNC-X using the USB interface at http://k4gbb.no-ip.info/docs/Raspberry.html

73
<<Charley>>
k4gbb
The Grass may be greener on the other side of the fence, but it still has to be mowed.
User avatar
Posts: 50
Joined: Sun Aug 12, 2012 5:33 am
Location: Dunnellon, FL USA - EL88tx