Internet connection through USB
I have recently updated to version 1.1.9.28 and since then I cannot connect to internet through USB any more. I was used to connect as explained in https://together.jolla.com/question/58975/network-sharing-from-pc-to-phone-answered/
The problem is that now, when executing /usr/lib/connman/tools/connmanctl services
, it cannot found the usb gadget (only the cellular is found). I have checked and the usb interface is not in the blacklist.
On my PC (Ubuntu) nothing has changed (no upgrades, etc.), firewall is disabled and the file /etc/network/interfaces is modified as explained in the previous link.
Does anyone have a clue about what has been changed with the last update? Thanks
I had the same problem and the normally route command like in the issue explaned are working. And on my phone it's the file /etc/connman/main.conf that is modified. I tried to modify the file like in the issue explaned, but it doesn't works.
yajo ( 2015-11-17 18:04:20 +0300 )I have version 2.0.0.1 and it doesn't work. I downloaded the latest version of the connman via the command 'devel-su git clone git://git.kernel.org/pub/scm/network/connman/connman.git connman' I tried to installed it and after a while, I was successful. I removed the actually connman via 'devel-su pkcon remove connman'. Then I installed it again, because it worked not good. I have to start the connman-service manual and he breaks often, so i renamed the connman.service into net.connman.service. I did the same with the vpn-service file. After this I did the command 'devel-su pkcon install connman'. So I have now two versions of connman parallel. I can start this one, who supports usb and bluetooth-tethering with 'devel-su systemctl start net.connman.service'. You have to configure it manually via 'connmanctl'. Sometimes I get an error and I have to start the connman again. The connman from Jolla works normally. If you try to do that, be careful. You can damage your complete Network-manager, so you have no possibility to connect to the Internet.
yajo ( 2016-01-16 15:27:26 +0300 )@yajo thanks for the informations, compiling latest connman manually was the only solution to share the ethernet connection from my pc to my phone via USB for the mobile mail app. However I recommend using the latest release from https://git.kernel.org/pub/scm/network/connman/connman.git instead of the latest Git version to avoid bugs. I also don't recommend removing the original connman version since it was unnecessary for me and it could uninstall several system applications as dependencies.
Any idea why USB is not supported in the original version even if USB is not blacklisted in
baptx ( 2018-01-03 15:50:31 +0300 )/etc/connman/main.conf
? With latest Sailfish OS version,/usr/lib/connman/tools/connmanctl
does not exist anymore andpkcon install connman-tools
says "Fatal error: connman-tools-1.24+git106-1.20.1.armv7hl requires connman = 1.24+git106-1.20.1, but this requirement cannot be provided", do you know why? Hopefully I still have the self-compiled version of connmanctl.@yajo did you manage to get an Internet connection from your computer USB connection that is working with the Aptoide Android store? I tried this solution but the Android app still says "no network connection" when I try to click on an featured app to see a description that was not previously cached: https://together.jolla.com/question/2780/fixed-in-10716-sailfish-and-android-apps-using-different-dns/?answer=11554#post-id-11554
baptx ( 2018-11-21 14:45:34 +0300 )I'm sorry. I don't use it any more. I just tried to install the latest version now, but I could not figure out, how it works. If I remember correct, there was an android app to simulate an existing wifi connection. But I'm not quite sue how well this worked.
yajo ( 2018-11-21 16:39:40 +0300 )