[KongchangAI]
· 2 min read· 1,204 words

LinHT Achieves 160km Over-the-Air TCP/IP Link

LinHT Achieves 160km Over-the-Air TCP/IP Link

Open-source handheld radio LinHT carries TCP/IP traffic over a 160km line-of-sight link, proving low-cost long-range data communication.

The project demonstrates a technical validation of establishing a usable TCP/IP connection over a 160km line-of-sight range using the open-source handheld radio LinHT. Based on Linux and supporting VHF/UHF bands and multiple digital modes, LinHT served as a data pipe encapsulating IP packets into RF signals. Three key conditions are required: line-of-sight propagation with stations on high ground, high-gain directional antennas to close the link budget, and protocol adaptation for bit errors and jitter. The approach has potential value for emergency communications and remote connectivity, but the original information lacks performance data such as bandwidth, latency, and packet loss, so practical usability and reproducibility remain to be verified.

From Minimal Hardware to an IP Connection 160km Away

On Hacker News, a project called "160km TCP/IP over the air link with LinHT" drew attention. The project demonstrates how the open-source hardware LinHT can establish a usable TCP/IP connection over a line-of-sight range of up to 160km. For amateur radio enthusiasts and long-range network builders, this is not only a technical validation but also an exploration of the possibilities of low-cost long-distance communication.

The core facts are clear: LinHT is a handheld amateur radio device that supports multiple digital modes, and this experiment used it as the foundation of a wireless link to successfully carry standard TCP/IP traffic. This means two remote computers can access each other as if they were on a local area network, without relying on cellular networks or satellite links.

What LinHT Is and Why It Matters

LinHT (Linux Handheld Transceiver) is an open-source handheld radio based on Linux, aimed at the amateur radio community. It supports VHF/UHF bands, can run multiple digital communication modes, and has a certain amount of computing capability. Unlike traditional commercial walkie-talkies, LinHT's openness allows developers to customize protocol stacks and applications.

In this experiment, LinHT was not used as an ordinary voice radio but as a data transmission pipe. Data is encapsulated into RF signals via a serial or network interface for transmission, and the other end receives them and restores them to IP packets. This "IP over RF" approach has long been practiced in amateur radio, but LinHT's level of integration and portability make setting up long-distance links much simpler.

Amateur Radio Digital Modes and IP over RF

"Digital modes" in amateur radio refer to communication methods that encode voice or data into digital signals and then modulate them onto an RF carrier. Common ones include DMR, D-STAR, YSF, and more flexible packet radio protocols such as AX.25 and FX.25. LinHT's advantage is that it runs full Linux, so it can directly implement the bridging between the TCP/IP protocol stack and RF modulation/demodulation on the device without relying on an external TNC (Terminal Node Controller). The so-called "IP over RF" means encapsulating standard IP packets into RF frames for transmission, and the receiving end decapsulates them back into Ethernet frames or serial data. This idea has decades of history in amateur radio, but traditional solutions often require a PC plus a dedicated modem. LinHT integrates computing and RF into a single handheld device, significantly reducing deployment complexity.

Achieving a 160km over-the-air TCP/IP connection requires several key conditions to be met simultaneously. The first is line-of-sight propagation. In the VHF/UHF bands, radio waves propagate approximately in straight lines, so the antennas at both ends need to be as unobstructed as possible. 160km usually requires stations to be located at high points, such as mountaintops or tall towers, to overcome the effects of the Earth's curvature.

The second is antenna gain and transmit power. Although the original material does not provide specific parameters, it can be inferred that the experiment used directional antennas to concentrate energy. LinHT's own output power is limited, so high-gain antennas are key to making up the link budget.

The third is protocol adaptation. TCP/IP is very sensitive to packet loss and latency, while radio links naturally have bit errors and jitter. The fact that the experiment could run TCP/IP indicates that the link quality was within an acceptable range, possibly using retransmission mechanisms or lower data rates to ensure stability.

Link Budget and Fresnel Zone

The link budget is the core method for assessing whether a wireless link can close. It adds parameters such as transmit power, antenna gain, path loss, and receiver sensitivity in dB to ultimately obtain the signal-to-noise ratio margin at the receiving end. At 160km in the VHF/UHF bands, free-space path loss can reach about 120–130 dB, so high-gain directional antennas and low-noise receiver front ends are crucial. In addition, line-of-sight propagation is not just "if you can see it, it works"; it also requires ensuring that there is no obvious obstruction within the first Fresnel zone. The Fresnel zone is an ellipsoid centered on the line connecting the transmitting and receiving antennas, and on a 160km link its radius can reach tens of meters. Even if the line of sight is unobstructed, ground or vegetation intruding into the Fresnel zone will cause additional attenuation. This is why experimental stations need to choose mountaintops or tall towers and precisely aim the antennas.

Significance for Amateur Radio and Emergency Communications

The value of this project is not just technical showmanship. In emergency communication scenarios, cellular networks and internet infrastructure may be disrupted, and IP links based on amateur radio can be deployed quickly to provide a minimum level of data connectivity. LinHT's open-source nature means the community can continuously improve protocols and hardware and lower the barrier to use.

On the other hand, a distance of 160km is already close to the practical limit of line-of-sight communication, which reminds us that the physical constraints of the radio spectrum still exist. To go farther, one must either raise the antenna or use HF bands with ionospheric reflection, but the latter has extremely low bandwidth and is difficult to use for modern IP applications.

Bandwidth Bottleneck of HF Bands and Ionospheric Reflection

HF bands (3–30 MHz) can achieve over-the-horizon communication of hundreds to thousands of kilometers using ionospheric reflection, which is a traditional long-distance method in amateur radio. However, the ionospheric channel has very narrow bandwidth and is significantly affected by solar activity and day-night changes. Typical usable bandwidth is only a few thousand hertz, barely supporting narrowband voice or low-speed data (such as FT8 and PSK31), and far from enough to carry the tens to hundreds of kbps required by modern TCP/IP applications. By contrast, although VHF/UHF line-of-sight links are limited in distance, their bandwidth can reach tens of kHz to several MHz, making them more suitable for IP transmission. This also explains why 160km is regarded as the practical limit for line-of-sight IP links—going farther requires raising the antenna or switching to HF, and the latter cannot meet the bandwidth requirements of IP applications.

Limitations and Open Questions

The original information is very brief, lacking key performance data such as bandwidth, latency, and packet loss rate, and it does not specify the exact frequency bands and antenna configuration used in the experiment. Therefore, it is impossible to judge the usability of this TCP/IP link in practical applications—is it merely able to ping, or can it support file transfer or even video streaming? These details are crucial for evaluating the project's value.

In addition, the 160km link depends on specific terrain and weather conditions, so reproducibility is questionable. Amateur radio regulations also impose limits on power and antenna gain in different bands, and local regulations must be followed during actual deployment.

Conclusion

This LinHT experiment proves that open-source handheld radios can take on the task of long-distance IP transmission, providing an inspiring case for the amateur radio community. Although public information is limited, it points in a direction: in places beyond infrastructure coverage, software-defined radio and open-source hardware are making long-distance data communication more accessible.

#LinHT#TCP/IP over radio#amateur radio#long-range wireless link#emergency communications
Share:

Related articles