Ask / Submit

USB Tethering

asked 2013-12-27 16:55:55 +0200

Tom Yea gravatar image

updated 2017-10-27 10:49:25 +0200

coderus gravatar image

I really enjoy being able to plug in my phone to my laptop on a train and use its usually superior reception. Also it charges in the meantime. So this would be a very welcome feature for me. It should be relatively easy to achieve since USB networking seems to already be there. The CM10 implementation of this works very nicely indeed.

edit retag flag offensive close delete



I reopened the question (Answer accepted) as the feature is not released after a long time. Hope it gets closed soon as "Released in a software update"

simo ( 2014-07-14 12:20:51 +0200 )edit

I hope too, I need that feature!

deedend ( 2014-07-20 13:38:57 +0200 )edit

I have How do I use this feature? I do not see menu option.

alloj ( 2015-09-26 00:46:50 +0200 )edit

If I enable Developer mode, I see Developer mode as one Usb option. Ubuntu sees usb0 interface but cannot get ip. What do now?

alloj ( 2015-09-26 10:08:16 +0200 )edit

I tried with Windows 7 machine and it installed drivers fine and got ip from the device. As dns servers it showed something that looked like mac address (fec00:0:0:1). So browsing did not work. I think Jolla should report the dns address it has to pc with dhcp.

alloj ( 2015-09-26 11:24:55 +0200 )edit

4 Answers

Sort by » oldest newest most voted

answered 2013-12-27 16:56:59 +0200

llornkcor gravatar image

updated 2015-01-17 15:16:27 +0200

A USB tethering UI will be part of an upcoming update.

Update by @anandrkris^ : Based on Soumya Bijjal's update on mailing list, it is being worked upon this month. Although, can not determine the release ETA based on this. :)

^ am not a Jolla employee

edit flag offensive delete publish link more


Great. Thank you.

Tom Yea ( 2013-12-27 17:04:49 +0200 )edit

It'll be usefull 'cause my french operator recognizes Jolla as a 4G phone and allows me a 20 Gb fair-use in this case.

TNZ ( 2014-01-13 11:42:39 +0200 )edit

Please add 'roadmap' tag if committed in roadmap by Jolla.

Jukka ( 2014-01-17 11:38:38 +0200 )edit

Juhuu! =:o)

Venty ( 2014-01-20 17:29:34 +0200 )edit

what about reverse tethering? i.e. using the laptops network connection for the phone?

mlatu ( 2014-03-17 15:55:10 +0200 )edit

answered 2014-10-31 13:08:18 +0200

Philippe De Swert gravatar image

Use developer mode and use this command line to install it:

pkcon install usb-moded-connection-sharing-android-config

(Not sure if it works immediately or need to reboot)

Then on USB plug in there will be a connection sharing option. When you select that it will automatically set up everything on the phone end to share the phones data connection.

edit flag offensive delete publish link more


Isnt't this released yet??

When I plug my phone in and select developer mode, I get a usb IP connection automatically. Is that not enough? I would think so

dsilveira ( 2014-10-31 14:04:35 +0200 )edit

@dsilveira: dhcp is not enough. This is about using the phones data connection from the pc. There is a solution but due to UI issues related to roaming it has not been released.

Philippe De Swert ( 2014-10-31 14:06:27 +0200 )edit

hum, I thought that once you had an IP connection to the phone you'd have ip-forwarding aswell, If wireless allows it, I didn't see a reason why USB would be any different!

dsilveira ( 2014-10-31 14:22:28 +0200 )edit

@dsilveira: there is no ip-forwarding set up for wireless either... (That is why there is the separate wifi tethering)

Philippe De Swert ( 2014-10-31 14:59:19 +0200 )edit

@Philippe De Swert - Brilliant!, installed nice an easy, reboot seemed to take its time, but upon plugging in the USB I get the 4 options.

Now, if only my current provider allowed tethering, alas, they don't but it's still nice to have the feature, thanks! :)


Edz ( 2014-10-31 16:27:39 +0200 )edit

huum, I never knew that! Why does it have to be so complicated? Is the GSM network not seen by the system as a normal IP route, when mobile-data is on?

dsilveira ( 2014-11-02 15:35:49 +0200 )edit

@dsilveira: It's not complicated at all... There is a difference between a default route on your phone and your laptop. They are two different devices...

Philippe De Swert ( 2014-11-02 15:51:00 +0200 )edit

hmm, installation does not work:

Fatal error: File './mw/armv7hl/usb-moded-connection-sharing-android-config-0.80 -1.11.1.armv7hl.rpm' not found on medium ''

casanunda ( 2014-11-20 20:58:12 +0200 )edit

It works!!!!! Yeeessssss

deedend ( 2014-12-04 13:27:41 +0200 )edit

@casanunda: Sorry did not see your message earlier. Probably you need to update your rpm database. # pkcon refresh @deedend: Great! Have fun with it!

Philippe De Swert ( 2014-12-04 13:43:06 +0200 )edit

Thank you very much, it works very well. Really good to have this feature. Why it isn't implemented by default ? there are updates for this package?

Cl2ment ( 2014-12-09 01:19:11 +0200 )edit

A new version of USB Switch is available in Jolla Store, now supports USB tethering (if installed, as described by @philippe-de-swert above)

tokaru ( 2015-03-17 11:02:41 +0200 )edit

Thank you, works great! I noticed that I can set up my pc to use DHCP for my usb connection, then it gets the default route set only if you choose the "Internet sharing" and not if you choose "Developer mode". This way I can select "Developer mode" in case my laptop already has (better) internet connection and doesn't need the tethering.

xkr47 ( 2015-06-01 16:13:12 +0200 )edit

@xkr47: You mean it works with dhcp fine (with default route when tethered, no default route when developer mode) Or do you mean there is some bug?

Philippe De Swert ( 2015-06-01 19:32:01 +0200 )edit

Unfortunately doesn't work anymore since one of the recent system upgrades. No success with reinstalling the package. What are the reason? I hope this feature will be soon back...someone who travels a lot absolutely needs this feature & wished I wouldn't have to carry around my old N9 to use this feature. WLAN-hotspot is no option (high energy consumption) and doesn't make much sense with a single user.

molan ( 2015-08-19 18:29:33 +0200 )edit

@caprico: There have been some file migration issues in the last update. Remove /etc/udhcpd.conf with developer mode and it should work again.

Philippe De Swert ( 2015-08-19 21:10:46 +0200 )edit

@Philippe De Swert: Thank you for the fast help! It worked (even though it's shown as diagnostics connection). I hope to see this feature soon in a public release :)

molan ( 2015-08-27 21:58:41 +0200 )edit

I only recently had a need for USB tethering and found this. It works fine, thanks for the good work.

But now I have a possibly silly question. Why is the ethernet sharing limited to my mobile connection?

What can I do to share my phone's WiFi connection over USB?

pichlo ( 2016-03-07 15:01:15 +0200 )edit

Works on Sailfish with Xperia X!!!! Thankyou :)

SymbianRefugee ( 2017-10-27 06:19:00 +0200 )edit

After SFOS 3 update this feature is not working. I can choose Internet Sharing when the phone is connected to a Computer, but nothing happens. I tried to re install it, used pkcon refresh to update the package list. Still nothing is happening.

ajisht2 ( 2018-11-16 06:52:28 +0200 )edit

answered 2018-01-31 14:22:10 +0200

LVPVS gravatar image


If anyone interested, on XperiaX SailfishX you need to install this:

# pkcon install usb-moded-connection-sharing-android-connman-config

LVPVS out.

edit flag offensive delete publish link more



cool didn't knew. thx

carepack ( 2018-01-31 14:44:30 +0200 )edit

thanx LVPVS!

potski ( 2018-02-03 22:20:56 +0200 )edit

Any problems in phone app when using USB tethering ?

potski ( 2018-04-05 21:25:26 +0200 )edit

Works like a charm on Xperia X Compact. A reboot is required after the installation.

luen ( 2018-06-23 02:27:23 +0200 )edit

A systemctl restart usb-moded will do instead

Vieno ( 2018-11-14 22:35:24 +0200 )edit

answered 2018-01-31 14:10:06 +0200

carepack gravatar image

updated 2018-01-31 14:44:49 +0200

Any plans to integrate this feature into the os in the near future? Why isn't it already in?

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2013-12-27 16:55:55 +0200

Seen: 8,400 times

Last updated: Jan 31