Replies: 26 comments
-
I don't think you have missed anything, this should definitely work out of the box. Would you mind posting the Reticulum config from the system hosting a nomadnet node, and also from one of the clients? |
Beta Was this translation helpful? Give feedback.
-
Also, can you report what operating systems you are using on these machines? |
Beta Was this translation helpful? Give feedback.
-
Both of these are running linux. One Manjaro and one postmarketOS (alpine). I didn't do anything with reticulum manually. I just set enable_node to yes in the nomadnet config on both. But here is the reticulum config.
|
Beta Was this translation helpful? Give feedback.
-
Thanks! Can you also run |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks for providing the logs. That is indeed strange, the AutoInterfaces are not even seeing each other. Do you have client isolation or something similar enabled on the WiFi APs? Or maybe multicast traffic is filtered? |
Beta Was this translation helpful? Give feedback.
-
No. I am able to ssh between the two just fine. |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the details. I'll try and replicate the issue to get it fixed. I'll post here when I know something :) |
Beta Was this translation helpful? Give feedback.
-
Ok, if there is anything else I need to look into that may be causing issues I am willing to. My setup is nothing unusual though so I'm not sure what it would be. |
Beta Was this translation helpful? Give feedback.
-
What hardware are you running Postmarketos on? Is it a device with a non-mainline kernel? I am just guessing here, but maybe it is using an android-based kernel with no IPv6 multicast support. I have not been able to reproduce this on Manjaro alone, and unfortunately, I don't have access to any devices that will run postmarketos right now. I don't know if it is possible for you to do a wireshark capture at both ends for the wifi interfaces for the announce, and send me those. Is there an option in your WiFi AP or router to block multicast traffic? If so, try turning it off. The AutoInterface in Reticulum relies on multicast to discover peers. |
Beta Was this translation helpful? Give feedback.
-
This is on a Pinephone. The kernel package is linux-postmarketos-allwinner-5.19.2 and it's not android based I don't think. I believe it's pretty close to mainline. I will try another device and see if I have any luck. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the details. It would be very nice to have it confirmed working on the PinePhone, but unfortunately I don't have one available to test with. Could I ask you to try and set up a TCP server/client connection between the two devices? Just to rule out that it is not something else entirely. It would also be quite strange though, if they had disabled multicast support in the kernel. |
Beta Was this translation helpful? Give feedback.
-
What do you mean by TCP server client connection? |
Beta Was this translation helpful? Give feedback.
-
Configuring the interfaces manually between the two devices, and seeing if that works. So, for example, set up a TCPServerInterface on the Manjaro system, and configure a TCPClientInterface on the PinePhone. Both are added by editing the Reticulum config file. This is just to check that communication is actually working if the two devices have been manually configured to connect to each other. If that test succeeds, we can be pretty sure it has something to do with multicast traffic not being processed as intended. |
Beta Was this translation helpful? Give feedback.
-
This worked and they are now connected. |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks for trying it out. Then it is almost certainly an issue with multicast traffic not being processed correctly. The question remains whether this lies in PostmarketOS, in the PinePhone kernel, or in the WiFi AP(s) you are using. If you are willing to share it, could you let me know what WiFi access points you are using? |
Beta Was this translation helpful? Give feedback.
-
I use one of these. https://freemeshwireless.com/ It runs openWRT. |
Beta Was this translation helpful? Give feedback.
-
Ok, I am pretty sure it is not going to be blocking multicast then :) Do you have another computer running Linux you could test it with? As in, trying out using only the AutoInterface between the Manjaro system and another Linux system? Just to confirm completely that the automatic peering actually works over your WiFi. |
Beta Was this translation helpful? Give feedback.
-
Alright, I'm trying to install nomadnet on two different machines with pip but I'm having the same issue with both. Failures pointing at cffi. I successfully installed nomadnet on two different machines a couple weeks ago no problem. |
Beta Was this translation helpful? Give feedback.
-
If it is on ARM machines, you might need to look here: https://markqvist.github.io/Reticulum/manual/gettingstartedfast.html#reticulum-on-arm64 There's not always precompiled Python wheels for the dependencies of RNS on ARM, and on some distros, the build tools/headers are not installed by default. Alternatively, just for testing, you can try with the |
Beta Was this translation helpful? Give feedback.
-
I installed python3-dev and got farther. Now it says "error: can't find Rust compiler". It must be debian doing things differently than alpine/pmOS because I had none of these issues when installing it on the Pinephone and it is arm64 as well. |
Beta Was this translation helpful? Give feedback.
-
Ok, it's cryptography that is failing because of debian buster not having a new enough rust package I think. I need to upgrade this this machine to bullseye anyways so I'll do that soon and give it another try. I think I have one other computer I can try on in the mean time. |
Beta Was this translation helpful? Give feedback.
-
Thanks for all your effort in debugging this :) |
Beta Was this translation helpful? Give feedback.
-
Ok, still failing to install with pip on an arm v7 device running debian bullseye. Suppose I should probably open a separate issue for the issues getting it installed. But so far I haven't been able to get it installed on anything else I have to be able to test the auto interface discovery further. |
Beta Was this translation helpful? Give feedback.
-
The ARM Debian build scripts mentioned here might help you out: |
Beta Was this translation helpful? Give feedback.
-
I'm closing this as an issue now, and migrating it to the discussion forum, since I am quite certain it is not an issue with nomadnet/rns, but a problem with multicast on the pinephone. Hopefully more info crops up, and if there is a way to implement a workaround, we definitely should. |
Beta Was this translation helpful? Give feedback.
-
I have "enable_node = yes" in my config on both clients on my LAN. But when I go to Network and view the Announce Stream there is nothing there on either one. Even when selecting Announce Now again nothing shows up so I can't get my nodes/clients connected to each other.
Have I missed something?
Beta Was this translation helpful? Give feedback.
All reactions