TCP/IP over LoRa radios

As I wrote yesterday, I have been experimenting with LoRa radios. Today, I got TCP/IP working over them!

The AX.25 protocol did indeed turn out to be well-suited to this. It’s simple and works. The performance is, predictably, terrible; ping times around 500-600ms, but it does work. I fired up ssh, ran emacs, did a bit with bash, and — yep! Very cool. I tried mosh as well, thinking it would be great for this, but for some reason it just flooded the link with endless packets and was actually rather terrible.

I wrote up how to use it. It’s not even all that hard!

Pretty satisfying seeing this work.

10 thoughts on “TCP/IP over LoRa radios

    1. It was not all that great. I think somewhere in the neighborhood of 3000bps. A large part of that may be attributable to the really terrible interface of the radios I’m using; they will receive at most one packet, then they’ll stop listening until you put them back into listen mode, so transmissions have to delay after each packet to let the receiver transition back into listening.

      1. Looked at your code and I think it can easily support others radio with the init file option.
        Will try this weekend with some others Lora module we have at work.

  1. A Mosh connection is started via a SSH connection, so needing TCP, and then switches to UDP. You mention SSD is working, so can you additionally test UDP?

Leave a Reply

Your email address will not be published. Required fields are marked *

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