atsign-foundation / noports

Connect to any device with no external listening ports open
https://noports.com
BSD 3-Clause "New" or "Revised" License
272 stars 15 forks source link

Spike: sshnpd on Yocto #845

Open cpswan opened 9 months ago

cpswan commented 9 months ago

Is your feature request related to a problem? Please describe.

We're coming across prospects who use The Yocto Project as the basis for their embedded systems (typically in devices built around Raspberry Pi Compute Module [CM]).

Describe the solution you'd like

Validate the mechanism by which the sshnpd binary can be placed into a build along with daemon config and keys.

Describe alternatives you've considered

We've already progressed work on OpenWRT, which is open used for similar purposes.

Additional context

We've already had sshnpd running on the earlier Yocto versions of Chirpstack, which now uses OpenWRT.

cpswan commented 8 months ago

I've got 'Poky' building and rebuilding. Next step is to create a custom app layer based on Cmake. Once that's done I should be able to slide in C sshnpd once it's ready. It might also be possible to use existing Dart based binaries.

Moving to PR82 and reducing SP.

cpswan commented 8 months ago

Custom CMake based layer running on Pi3.

image

I could continue with Dart version of sshnpd, but likely better to wait for C version.

cpswan commented 8 months ago

Code at https://github.com/atsign-foundation/meta-hellocmake

cpswan commented 8 months ago

I'll reuse what we do for OpenWRT with https://github.com/atsign-foundation/Atsign_OpenWRT_packages/issues/9