When only the local LAN is connected, devices cannot communicate with each other.
Because Jami seems to have to be connected to the internet to use it. If there is no internet, Jami will prompt 'No network connection'.
This situation should be easily reproducible, but I am still willing to provide relevant records if gentlemen need them.
I think that if it can be compatible with a local area network, not just the internet, it may allow Jami to have similar functions as Briar, and Jami can make voice and video calls, which is a great feature of Jami.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
Activity
Sort or filter
Newest first
Oldest first
Show all activity
Show comments only
Show history only
session 21changed title from Local DHT function failure to Jami is unable to use the local area network without a network connection
changed title from Local DHT function failure to Jami is unable to use the local area network without a network connection
I found that Jami's Android client has been updated with a new version. After the update, I will try to see if I can send messages between local devices normally without connecting to the internet.
I think it could be the same problem,
I have enabled Local Peer Discovery, but obviously it doesn't seem to work without the internet.
Of course, it is also possible that our mobile hotspot does not support local broadcasting?
I don't know if Jami will send messages to devices on the local network through the internet when he has a local network.
This is just a novice's doubt,please don't take it to heart.
Another issue is that sometimes Jami's video transmission seems to be a bit slow, and I need to wait for a while to see my friend's video footage, but this is not a very important issue.
Another issue is that sometimes Jami's video transmission seems to be a bit slow, and I need to wait for a while to see my friend's video footage, but this is not a very important issue
@El4 It seems that it is, but Hardware acceleration should be enabled by default. I haven't changed this option, but it is enabled when I check the settings
If there is no internet, Jami will prompt 'No network connection'.
Actually this should be ok. Because it's from the Android settings, you should got a question mark on your wifi. This means android cannot reach Google DNS (generally it's done like this) but your local wifi can work without any issue.
When my phone is disconnected from the network, they can transfer files between them, including my computer, but when using Jami, it will prompt 'no network connection' and cannot send messages to each other
I tried Jami on a LAN yesterday, but I got weird result.
Environment
OS version of device A: Android 10
OS version of device B: Android 13
Jami version: 20230602-01 f-droid
Settings
Push notifications: disabled
DHT proxy: disabled
Local peer discovery: enabled
Steps
Enable the account on device A
Enable the account on device B
The switch of account turned orange.
Run a node with "dhtnode" in termux
dhtnode -D -p 4222
Immediately dntnode started, Jami went online.
2023-06-16 edited
I captured packets with tcpdump
sudo tcpdump -vv -i enp2s0 -nn 'udp and host 239.192.0.1'
Earlier versions send packets to 239.192.0.1:8888 as soon as I enable the account even if the cable is disconnected. At least 20220615-01 f-droid works.
04:23:02.606975 IP (tos 0x0, ttl 1, id 9082, offset 0, flags [DF], proto UDP (17), length 30) 192.168.1.72.8888 > 239.192.0.1.8888: [udp sum ok] UDP, length 204:23:02.607006 IP (tos 0x0, ttl 1, id 9083, offset 0, flags [DF], proto UDP (17), length 60) 192.168.1.72.8888 > 239.192.0.1.8888: [bad udp cksum 0xb1eb -> 0xb3ba!] UDP, length 32
But 20230602-01 f-droid behaves differently, it doesn't seem to send multicast packets if it's not able to reach cached nodes or bootstrap in settings. (?)
In non connected mobile hotspot, the phone that activated the hotspot cannot use Jami, but other phones connected to this hotspot can use Jami normally in LAN mode. This is the result we obtained last time, and we don't know if this is still the case recently.
This problem is even more serious because the local network function is completely disabled when using a mobile hotspot. Previously, at least the hotspot enabled by the phone could be used to build a local area network.
In the latest versions of Android 424 and Windows 202405161705, other devices are no longer able to use the hotspot of their phones to achieve local area network communication, but at least last year this feature was possible.