NomadNet (e2e mesh comms via BT/WiFi/LoRa)
#1
I was promptly reminded to contribute this info
( to the Pinephone community,)
 after posting my success at
https://github.com/markqvist/Reticulum/discussions/229


Why is this relevant to Manjaro and Pinephone?

I bought a Mobian Pinephone when it came out.

After slogging my way through a number of distros
 I ended up nailing Manjaro Phosh into place and
 abandoned further attempts to find a better distro.

The struggle to keep Phosh running has gotten easier,
 thanks mostly to other people posting here for 
 the quiet folk like myself to read and benefit from.

I have simply been trying to keep a linux console access
 to do simple tasks, like checking on servers and whatnot.

My use case is for Zero participation in the Apple/Google prisons.
----------------

The idea of e2e mesh comms like Briar and FireChat 
 always seemed to be a natural for a linux phone
 instead of a "walled garden" like Android or iOS.
I have, yearly,
 watched for anything that would mesh on linux
 without wild joyrides of moving target suite-package development.


A few weeks ago I stumbled across a reference to Reticulum
 which not only aims at meshing over WiFi and Bluetooth
 but includes something I have years of work in hacking:
 data over radio modems.
I used serial stream data for monitoring various
 geophysical exploration data acquisition equipment
 along with maritime environmental data packets.
Across vast regions of jungle, mountain and shallow marine projects.
Building and running such meshes was bread-and-butter 

Along comes Reticulum which
 proposes to build long-arm meshes
 which could possibly sustain data flows across vast regions.

Reticulum is not an application orgy.
It is a protocol the rest us can build upon.
I hope it does not, as many such projects do,
 evolve into a "moving target" that requires mandatory updates
 on a monthly basis rendering users to holding abandonware.

It also looks like a 'holy grail' because it ditches the entire
 DNS-ICANN prison overlords.
That, almost in itself,
 raises interest toward integrating with global reach of things like i2p.

Anyways - Nomadnet installs and runs well enough 
 as "betaware" on PinePhone.

My personal bet is that without any lingering bloatware (Electron Cool ),
 it could be a screamer on Pinephone Pro,
 so I guess I need to buy one of those and test it.

Reticulum is very primitive at the moment
 but collecting interest+participation in a parabolic learning curve.

If you want something that should eventually put
 naked emperors like Telegram/Session/.etc/++ to shame,
 you might try this out and see where it is headed.
And you could be a part of it.

Visit the github because that is where most of the real interaction takes place:
start here:
https://github.com/markqvist/Reticulum/discussions/229

My perspective is that this is a welcome and timely development,
 in context of much of what is happening in the word today.
  Reply
#2
(02-16-2023, 06:20 AM)reTestability Wrote: Along comes Reticulum which
 proposes to build long-arm meshes
 which could possibly sustain data flows across vast regions.

This is great! Thanks for figuring out how to get this on Manjaro. I tried RNS awhile back with Arch, but my phone was too buggy to get through the steps to install crashing repeatedly on each attempt, but I'll try again using the method you outlined in the link in the next few days hopefully.

Manjaro came with my PP which worked fine the first day I got it and played around, but when I picked it up a week later the internet kept flipping on and off (among other issues) making it impossible to update the OS over the net.

Is there another way like loading the newest PP Manjaro version on an SD card as just a file (instead of flashing Manjaro on the SD card) to manually upgrade it so I free up the SD card from just being used to boot the Arch operating system all the time?
  Reply
#3
(02-16-2023, 04:52 PM)PineFone Wrote:
(02-16-2023, 06:20 AM)reTestability Wrote: Along comes Reticulum which
 proposes to build long-arm meshes
 which could possibly sustain data flows across vast regions.

This is great! Thanks for figuring out how to get this on Manjaro. I tried RNS awhile back with Arch, but my phone was too buggy to get through the steps to install crashing repeatedly on each attempt, but I'll try again using the method you outlined in the link in the next few days hopefully.

Manjaro came with my PP which worked fine the first day I got it and played around, but when I picked it up a week later the internet kept flipping on and off (among other issues) making it impossible to update the OS over the net.

Is there another way like loading the newest PP Manjaro version on an SD card as just a file (instead of flashing Manjaro on the SD card) to manually upgrade it so I free up the SD card from just being used to boot the Arch operating system all the time?
I decided on Manjaro Phosh,
 after all the agony of trying to keep other distros running.

(I quit KDE back when it trainwrecked version 3.5.10 
 and then Plasma,
 and repeatedly have tossed KDE in the rubbish bin ever since.
 a "Looks pretty, always broke" 'harbor queen')

I am a bit confused about how you boot your PP  ?!?
Are you always booting from the SD card ?
If so my advice may not work for you,
 but just to share a bit:

I remember  installing Manjaro (onto the PP) from the SD card as usual,
 then, in reverse strategy,  installed Manjaro on the SD card (from inside PP),
 which allowed me to repartition the card (which restores the full capacity)
  and then stow new .iso files in the /home/whatever directory of the SD card.
The issue back then was whether the new iso would boot correctly
 because I got annoyingly tired of juggling SD cards.

There are probably three better methods to do that,
 but I am running out of daylight here.

Good luck with your efforts on RNS,
 just ask if you need any help.
  Reply
#4
(02-17-2023, 12:41 PM)reTestability Wrote: Are you always booting from the SD card ?

Yes. I may have had the KDE issue you were mentioning that soured me on Manjaro and always went the Arch Phosh on SD card route, however Manjaro Phosh (updated 2/17/23) is KDE-free and a bit bloated, but over all looks good for this RNS install test.

To make it easy, I went the SD card route and once I get this working, I might try your suggested method for booting directly from the PP without an SD card.

The results are below and it's actually the same issue I ran into when trying to put RNS on Arch awhile back which likely means if this gets figured out, it means RNS will work on Arch in addition to Manjaro.

Here's what I got following your instructions
=================================

STEP 1:
sudo pacman -S pinephone-devtools

RESULT=
"error: target not found: pinephone-devtools"

STEP 2:
sudo pacman -S python-pip

RESULT=
SUCCESS

STEP 3:
pip3 install rns

RESULT=
[A lot of info about missing pieces related to netifaces. I couldn't figure out how to copy paste the read out from terminal to gedit to download and repost so below is the final error message]

"note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for netifaces

Failed to build netifaces
ERROR: Could not build wheels for netifaces, which is required to install pyproject.toml-based projects"
  Reply
#5
(02-19-2023, 10:31 AM)PineFone Wrote:
(02-17-2023, 12:41 PM)reTestability Wrote: Are you always booting from the SD card ?

Yes. I may have had the KDE issue you were mentioning that soured me on Manjaro and always went the Arch Phosh on SD card route, however Manjaro Phosh (updated 2/17/23) is KDE-free and a bit bloated, but over all looks good for this RNS install test.

To make it easy, I went the SD card route and once I get this working, I might try your suggested method for booting directly from the PP without an SD card.

The results are below and it's actually the same issue I ran into when trying to put RNS on Arch awhile back which likely means if this gets figured out, it means RNS will work on Arch in addition to Manjaro.

Here's what I got following your instructions
=================================

STEP 1:
sudo pacman -S pinephone-devtools

RESULT=
"error: target not found: pinephone-devtools"

STEP 2:
sudo pacman -S python-pip

RESULT=
SUCCESS

STEP 3:
pip3 install rns

RESULT=
[A lot of info about missing pieces related to netifaces. I couldn't figure out how to copy paste the read out from terminal to gedit to download and repost so below is the final error message]

"note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for netifaces

Failed to build netifaces
ERROR: Could not build wheels for netifaces, which is required to install pyproject.toml-based projects"

(  Regretting the late reply - I have been extremely distracted lately.)

sudo pacman -S gcc (gcc is necessary)
As I recall,
.  installing gcc fixes the "netifaces" error.

Been awhile, but I do remember rolling over the netifaces issue. 

I am still very busy, so it may take time for me to reply here.

Good luck !
  Reply
#6
(02-17-2023, 12:41 PM)reTestability Wrote: I am still very busy

This question is open to anyone viewing this since it's a pretty simple one for anyone with python expertise (which I lack at the moment).

I'm currently getting hung up on PIP3 installation in that it keeps sending it to a non-PATH destination. There are tutorials referencing how to change to a new PATH for other Linux distros, but I don't know what the correct PATH is to change it to for Manjaro, or most recently Arch hoping it would work if I changed to a similar PP distro.

This is the message I get for Arch which is the same when I first tried it in Manjaro:

Quote:WARNING: The scripts pip3 and pip3.10 are installed in '/home/alarm/.local/bin' which is not on PATH.

Consider adding this directory to PATH or, if you prefer to suppress this warning, us --no-warn-scrip-location.

To cover my bases, how do I:

1) Install pip3 in the correct PATH

2) Move the current pip3 file to the correct PATH

3) Add this not on PATH location to the correct PATH


Anyone who can provide one or all of these answers is appreciated in case I screw one of them up during implementation or my occasionally buggy PP mysteriously doesn't allow for one solution, I'll have the other two solutions to fall back on.
  Reply
#7
(04-15-2023, 09:31 AM)PineFone Wrote:
(02-17-2023, 12:41 PM)reTestability Wrote: I am still very busy

This question is open to anyone viewing this since it's a pretty simple one for anyone with python expertise (which I lack at the moment).

I'm currently getting hung up on PIP3 installation in that it keeps sending it to a non-PATH destination. There are tutorials referencing how to change to a new PATH for other Linux distros, but I don't know what the correct PATH is to change it to for Manjaro, or most recently Arch hoping it would work if I changed to a similar PP distro.

This is the message I get for Arch which is the same when I first tried it in Manjaro:

Quote:WARNING: The scripts pip3 and pip3.10 are installed in '/home/alarm/.local/bin' which is not on PATH.

Consider adding this directory to PATH or, if you prefer to suppress this warning, us --no-warn-scrip-location.

To cover my bases, how do I:

1) Install pip3 in the correct PATH

2) Move the current pip3 file to the correct PATH

3) Add this not on PATH location to the correct PATH


Anyone who can provide one or all of these answers is appreciated in case I screw one of them up during implementation or my occasionally buggy PP mysteriously doesn't allow for one solution, I'll have the other two solutions to fall back on.

Apologies for the very late reply, a lot of trouble before I could get logged back onto here.

Manjaro and Arch have issues with Python (don't we all ?)

MAnjaro has gone dormant,
 and Arch has some bits missing from Manjaro (weird, yesh) - so I moved
 to Mobian which appears to support python a bit more completely [first impression] 

you should definitely use a "venv" for whatever you are using python for.
Quite easy to implement.

Perhaps you could look for a quick how-to that makes sense (there are many 'flavors')

Really happy with it so far.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Flight mode turns off wifi but not the modem (cellular) jojuma 2 1,843 02-28-2023, 01:58 PM
Last Post: calinb
  No wifi with phosh image wave22 3 3,009 02-15-2022, 07:25 AM
Last Post: wave22
  WiFi Calling ? User 22007 5 6,558 07-19-2021, 11:17 PM
Last Post: KNERD
  WiFi fun on a new PinePhone ~Daniel~ 3 3,947 06-30-2021, 07:20 AM
Last Post: mouffa

Forum Jump:


Users browsing this thread: 1 Guest(s)