LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   KDE Connect does not see my mobile device and vice versa (https://www.linuxquestions.org/questions/linux-networking-3/kde-connect-does-not-see-my-mobile-device-and-vice-versa-4175596037/)

Paraply 12-23-2016 08:57 PM

KDE Connect does not see my mobile device and vice versa
 
Hi,
what do you all use for communication between a mobile phone and the desktop?

I am running Arch Linux (with systemd) and KDE (with Plasma 5). I have not been able to find anything, save USB sticks, to pass files between my dekstop and phone. I have not got F-droid to work and thought I would try KDE Connect. However, it does not pair with KDE Connect on my phone. So I read that I must open port range 1714:1764 for both udp and tcp. I am using iptables, but I have not been able to figure out which command(s) to use to achieve that. I suppose this may also depend on how my iptables has been configured?

In short: I am lost and would much appreciate some tips and/or guidance!

frankbell 12-23-2016 09:07 PM

This thread may help.

http://www.linuxquestions.org/questi...ne-4175595970/

Note that in my last post to it, I mention that I've heard good things about KDE Connect, but I haven't gotten around to testing it yet. I will test it tomorrow if I don't get distracted, and post the results to that thread.;)

Paraply 12-24-2016 12:51 AM

Thank you, frankbell!
Meanwhile I forced myself to do something useful for a change and find out how to make the exceptions in iptables. I added these two lines
Code:

iptables -I INPUT -p tcp --dport 1714:1764 -j ACCEPT
iptables -I INPUT -p udp --dport 1714:1764 -j ACCEPT

and KDE Connect was up and running immediately.

Now the phone is just another partition in Dolphin, as it were, what more can one ask?
Well, KDE Connect has additional features, but moving files effortlessly is the most important for me.
Getting KDE Connect to work was really worth the effort.

jamison20000e 12-24-2016 01:35 AM

Can you try PCManFM and\or Thunar I have had them work when others did not?

One of my phones had a setting to find before it would listen to USB, then offered different connection types on demand... eg MTP, PTP &c.

Can also try turning on Androids USB debugging but be careful as it will open up developer settings that can brick your phone if you mess with them and don't know what you're doing! Go to settings > Phone Info or About Phone > Software Information >( it may be elsewhere on other phones but you want to find )Kernel Version: then just tap the heck out of it. ;)

That gives you Developer Settings (but again be careful) so you can turn on USB Debugging.

Hope it works? :hattip:

Edit: whoops, I missed that you got it working. :redface:


All times are GMT -5. The time now is 04:09 AM.