You are not logged in.
Pages: 1
Topic closed
So I am on a relatively fresh install with the Plasma desktop, and I cannot get KDE Connect to find my Android devices (or vice versa). I have opened all the required ports as explained here (I am running firewalld as a frontend for iptables), I have tried disabling my firewall as described here, and I have tried using the git version from the AUR.
Running
kdeconnect-cli -lreturns simply
0 devices foundSo it appears that the program itself is working; I am probably missing something painfully obvious in terms of my network setup.
I am running LineageOS and Resurrection Remix (based on LineageOS) on my two Android devices.
I'll update this post to include any information I should have included from the start.
Thanks in advance.
Offline
Did you make sure the two devices are in the same network?
If you have your desktop in the local LAN and the phone is connected to the mobile network instead of your local network, then the two cannot communicate directly.
Can you try if they can ping each other? The two devices need to be in the same IP network.
Offline
Did you check you firewall config?
You have to make sure that your tcp/udp port 1716 is opened
Offline
The two devices need to be in the same IP network.
Actually it is not required. Because you can add you computer by entering its IP, only required thing is reachable tcp/udp port 1716 on target host
Offline
Did you make sure the two devices are in the same network?
All my devices are connected to the same network, yes. So that is definitely not the issue.
Did you check you firewall config?
You have to make sure that your tcp/udp port 1716 is opened
I'm not sure where to find a config file for iptables; I'll update once I locate it. But I did run
sudo iptables -I INPUT -i <yourinterface> -p udp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT
sudo iptables -I INPUT -i <yourinterface> -p tcp --dport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT
sudo iptables -A OUTPUT -o <yourinterface> -p udp --sport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPT
sudo iptables -A OUTPUT -o <yourinterface> -p tcp --sport 1714:1764 -m state --state NEW,ESTABLISHED -j ACCEPTas per these instructions. It is my understanding that those commands are intended to open ports in the range 1714 to 1764 UDP and TCP.
Edit: in the commands above, I did replace <yourinterface> with my interface. So that's also not the issue.
Last edited by Maerman (2019-05-28 04:27:18)
Offline
I guess maybe the `kdeconnectd` run on IPv6 only?
sudo netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
...
tcp6 0 0 :::1716 :::* LISTEN 3605/kdeconnectd
...
udp6 0 0 :::1716 :::* 3605/kdeconnectd
... Then can add link local addr of IPv6 the PC(which is running KDE). E.g. fe80:....
Offline
Please don't necrobump, OP hasn't returned to the forums since 2021, they're unlikely to still be looking for a solution to this.
https://wiki.archlinux.org/title/Genera … bumping%22
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed