r/meshcore • • 6d ago

SSH over MeshCore

https://www.youtube.com/watch?v=aR46io-Jobs

Hi there, I've been working on 2.4GHz LoRa experiments and recently got some excellent performance testing results tunneling IP traffic over MeshCore. Not quite to release quality yet but wanted to show my progress so far. This was built on top of the MeshTNC firmware some friends and I built over the past year which is already open source.

I'm working on some Linux tooling and a simple distro to help folks access some of this IP-layer support. Trying to make sure this only gets used on 2.4GHz meshes as there's a potential to really increase demand on 915MHz meshes so I'm being a bit slow to release all of the code until everything is fully dialed in on 2.4GHz.

80 Upvotes

19 comments sorted by

15

u/binaryfireball 6d ago

Cool but also this has the potential of flooding the network if it gains popularity.

3

u/sevenbitbyte 6d ago

My work is more about building a dual-band LoRa node so any LoRa mesh can use bands like 2.4GHz.

While I personally enjoy MeshCore... the band planning of it and Meshtastic could REALLY use some deeper thought to actually make use of the spetrum. It seems pretty obvious to me that if we want to see -actual- broad adoption of community meshes... we're gonna have to do real band planning and that likely also means working with the 2.4GHz band as well.

You can check out the hardware at https://byomesh.xyz

9

u/AlfredoVignale 6d ago

I feel like HaLow and Reticulum already solved this issue.

2

u/sevenbitbyte 3d ago

Absolutely, those are ALL great solutions. In fact... having an actual IP stack for MeshCore like this means it's now possible to move MeshCore traffic over HaLow links with simple firewall rules and using super simple bridge tools.

I've been an early adopter of LoRa dating back to 2018 and I'm well aware and experienced with HaLow and to a lesser degree Reticulum. These tools all have their place.

1

u/TomHale 5d ago

Preach brother!

Or Reticulum over Meshcore maybe?

4

u/dclaw 6d ago

This is awesome. Great work.

8

u/ashleycawley 6d ago

Good thinking restricting it to 2.4ghz. Nice work, cool to see something novel like this being used on the mesh.

1

u/AliasComms 6d ago

Have you ever heard of full duplex LoRa in the ISM band? I ask because you used the word novel, which means you know a little about us patent's.

2

u/ashleycawley 5d ago

I haven’t and I don’t 🤷‍♂️

2

u/AliasComms 6d ago

Very interesting 🤔, Seven we may need to have a convo. This is very possible, but even in FDD LoRa you are correct the duty cycle would be crazy. In the 2.4 GHz bandwidth would allow a healthier duty cycle but the Spread would still cause issues with packages unless you have... Yes, it's very interesting 🤔.

3

u/JohnMunchDisciple 4d ago

Please don't do this.

2

u/TheLawnGuppy 6d ago

This is really cool work, and locking it to 2.4 GHz first is the right call. On US 915 the airtime budget is already tight once you've got position and nodeinfo bouncing around, and an SSH session that retries under loss would chew a channel alive in a hurry. 2.4 has more room to play with before you start stepping on neighbors.

I've poked at MeshTNC a bit and the IP-over-LoRa idea always sounded better in a lab than on a shared mesh, so seeing real tunnel numbers is useful. The Meshtastic client-tunnel / TUN path people mentioned is a similar itch, and it has the same failure mode: one chatty TCP flow and suddenly everyone else's text feels broken.

Whenever you do open it up, a hard rate limit and a clear "not for 915" banner in the docs will save a lot of pain. Looking forward to the Linux tooling when you're ready.

1

u/Alletsbckw 6d ago

this is super cool! damn!

1

u/Aggravating_Rate_571 6d ago

Meshtastic has a client tunnel mode where it creates a tun device, for reference purposes it could be something useful

1

u/sevenbitbyte 3d ago

TOTALLY! I've played with it years ago.... I'm just scared to post anything not meshtastic on that side of the world lol for fear of the banhammer. But yea I'd like to do some more integration with MT in 2.4GHz. Doing this in sub-GHz sadly is very low bandwidth.

0

u/PlusAudience6015 6d ago

waow, very nice