TCP/IP over the air with LinHT – M17 Project

8 min read Original article ↗

Photo above: the Yagi at Mokrá near Brno, looking out from the tower. Photo by OK5VAS.

In November 2026, Andreas, Wojciech and I wondered whether we could play Doom or Quake across a radio link using our LinHT handhelds. We started for the fun of it, and it gave us a way to see how much data the LinHT and its SX1255 transceiver could handle. Six days after that conversation, Andreas and I had two laptops exchanging packets over 162 km.

Andreas had already tried Doom on the LinHT, and Wojciech had used 64-QAM to stress-test the SX1255 in both transmit and receive at megabit rates. That made us think Quake over the radio was worth a try, first on PCs and perhaps eventually on the LinHT itself. M17 was designed for digital voice, and its 40 ms frames were too long for the response time we wanted from a game. We decided to build a packet network of our own, loosely inspired by Wi-Fi.

I’d been interested in amateur packet networks for some time, so I started writing the modem and the networking code. Andreas named it FART and helped me test it.

FART wordmark next to Mr. Nibble, a waving packet with a backpack
The FART logo and its mascot, Mr. Nibble, a little packet with a backpack.

A network over radio

FART stands for Fast Amateur Radio Transport (the name and the acronym were too good to say no to). It carries Internet Protocol (IP) packets on a shared channel in the 70 cm amateur band. Each station listens before sending and can repeat a packet if the receiver does not acknowledge it. Linux sees an ordinary network interface, so a laptop connected to the LinHT by USB can ping another laptop or send it a message with the same programs it uses on a wired network.

Two laptops connected by USB to LinHT radios, with example IP addresses at each end
An example of the current peer mode. Each laptop has a local USB address and an address that the other laptop can reach over FART.

The first modem did the basics, enough for two stations to send packets over a simulated radio channel on one computer. By the next day we could try the same modem on two LinHT units joined by a cable, where we could vary the signal level and count the lost packets.

16 NovThe three of us sketch the idea.
17–18 NovBasic modem and channel simulator, then the first cable tests.
19–20 NovShort tests on handheld antennas in Brno, up to about 1 km.
22 Nov161.7 km from Mokrá to the Reisalpe.
22–24 NovWe analyse the logs and revise how the radios share the channel.
25–27 NovI clean up the code and tune it for faster transfers and shorter delays.

This is why you want an open-source SDR in a handheld. We went from a rough idea to a 162 km field test in six days. Being able to run our own modem on the LinHT saved us a great deal of work.

A profile sets the modulation, error correction and symbol rate. We have 13 profiles in two channel widths. The narrow profiles fit in 25 kHz, while the wide ones occupy about 110 kHz and can carry more data when the signal is strong enough.

ProfilesChannel widthModulationMeasured payload rate
6 narrow25 kHzGMSK, QPSK, 16-QAM, 64-QAM, 256-QAM14–88 kbit/s
7 wideAbout 110 kHzQPSK, 16-QAM, 64-QAM, 256-QAM142–400 kbit/s
Best rates per measured profile over a cable between two LinHT units. Four of the seven wide profiles have cable measurements.

Mokrá to the Reisalpe

On 22 November I set up at the Mokrá lookout tower near Brno, while Andreas took his station to the Reisalpe in Lower Austria. We used two LinHT Rev C handhelds at the 2 W setting on 437 MHz, with a directional Yagi antenna at each end.

Map of the 161.7 km link from OK5VAS near Brno to OE3ANC southwest of Vienna
The link crosses the Czech–Austrian border. Borders and rivers from Natural Earth. Elevation from Copernicus DEM GLO-90, © DLR e.V. 2010–2014 and © Airbus Defence and Space GmbH 2014–2018, provided under COPERNICUS by the European Union and ESA. All rights reserved.
Elevation profile with a clear line of sight and the lower Fresnel zone partly blocked near 80 km
Terrain along the path, with the line of sight in red and the first Fresnel zone in green. The dotted line is sea level, drawn with an effective Earth radius of 4/3.

The terrain model shows a clear line of sight at 161.7 km with standard atmospheric refraction. Near the Leiser Berge, the ground cuts into the first Fresnel zone (the region around that line where obstacles can affect reception). About half of its radius stays clear there.

Three LinHT screens side by side showing STA, a station in HEAR and a running throughput test
The interface we use to test FART in the field on the LinHT.

What we tried

Laptop and Yagi in the snow on the Reisalpe, beside a close-up of the LinHT
The Reisalpe station. Andreas fixed his Yagi to a small tree and ran the laptop next to it. Photos by OE3ANC.

Three of the radio settings we tried carried traffic. On the narrow profiles we measured about 12 and 25 kbit/s in separate test runs. On the wide 16-QAM profile, we reached 142 kbit/s with a median ping round trip of 121 ms. We exchanged messages with the command-line tool netcat and in Quake III’s chat.

I should have checked my antenna setup at Mokrá more carefully. The coax connector broke near the end of the session, and I doubt it had a good connection from the start. I’ll use a different cable on the next test and see how the link behaves.

Quake III on the Reisalpe during the link test (15 s, silent). Video by OE3ANC.

The game itself stalled. Our client sent 91 datagrams per second, and the radio carried about 4.5 per second in that direction. Each station waited for the channel before each transmission, and we had left it set to send only one datagram at a time.

Since coming home from Mokrá I’ve spent several days tuning the protocol to reduce the delay. I can now play Quake on two of the wide profiles with the radios connected by cable. That’s with the revised software, which sends several packets in one transmission and gives interactive traffic priority. The next step is to take it back out into the field.

What this means for LinHT

Running FART on LinHT gave us a reason to measure the transmitter and the switch from receive to transmit. The power amplifier gave us enough signal for the 162 km exchange at the 2 W setting. Wojciech also measured where the amplifier starts to compress, which helps us set the transmit level for signals such as 16-QAM. He wrote up the measurements in LinHT RF power output tests.

In the lab we measured about 3.5 ms from the decision to switch from receive to transmit to the start of the burst at the other radio. That includes the software and audio buffers, so we used the result to set the pause between transmissions.

FART also helped us find a problem with the charger on LinHT Rev C. When the onboard charger runs on USB power, it raises the receiver noise floor. In a cable test the receiver needed about 5 dB more signal while charging to reach the same frame loss. While a FART link is active, the software asks the radio to suspend charging to keep the receiver quiet. If the battery gets too low, the radio can resume charging. For the next board revision, we’re looking at placing grounded copper around the charger’s switching nodes and rerouting a nearby supply trace.

At one percent frame loss, GMSK needs about 5 dB more signal with the charger on
Profile 1 (GMSK) over a cable. The horizontal axis shows the signal level relative to the receiver’s full scale (dBFS). At 1% frame loss the two measurements are 5 dB apart.

Using the radios in the field also turned up bugs and gave us a list of things to improve in our Yocto-based LinHT image. We wrote two services that other LinHT programs can use. The charger service measures power use, learns the pack’s usable capacity and estimates the remaining runtime. Andreas’s radio had lost its clock, so we had to line up the two logs after the test. The GNSS service now supplies position and time and can set the radio’s clock from a satellite fix. Both are in LinHT-utils.

What comes next

I’m still working on FART in my spare time, tuning the modem and checking the changes on two LinHT units before we take them out again. We plan to support the Raspberry Pi with the SX1255 HAT as well, so you’ll be able to try it with the hardware you already have. We’ll publish the code as open source, along with the protocol documentation and test results, when it’s ready to share.