← Back to team overview

ubuntu-phone team mailing list archive

Re: Reverse tethering support

 

I got it!
http://fixeditfinally.blogspot.com/2013/03/enable-reverse-tethering-on-nexus.html

The "insufficient permissions" can be fixed by running adb from sudo
after "setprop sys.usb.config rndis,adb".
I guess the device identification changes by enabling additional usb
configs (it disconnects the phone shortly), so that udev does not
gives us permission afterwards.

2013/3/1 Matthias Gehre <M.Gehre@xxxxxx>:
>> Hmm, "insufficient permissions"... did you run "adb root" before?
>> Just guessing...
> I even run
>   adb shell setprop sys.usb.config=rndis,adb
> before, which worked. Afterwards, adb shell does no longer connect.
> "insufficient permissions" is local, not on the adb side.
>
> Your proxy idea is quite nice, even though I would prefer full tunneling
> without having to setup apache first.
>
> 2013/3/1 f69m <launchpad@xxxxxxx>:
>> Hi,
>>
>>
>> On 03/01/2013 09:50 PM, Matthias Gehre wrote:
>>>
>>> Based on what I read,
>>> adb shell setprop sys.usb.config=rndis,adb
>>> should be done first to enabe rndis0 interface. After this command,
>>> two things happen:
>>> 1. adb stops working (adb shell gives "error: insufficient permissions
>>> for device" afterwards)
>>
>>
>> Hmm, "insufficient permissions"... did you run "adb root" before?
>> Just guessing...
>>
>> I used SSH tunnels over an ADB tunnel successfully.
>> Not a full internet connection, but works for a lot of things, even for
>> apt-get and friends.
>> See here:
>> https://github.com/f69m/ubuntu-touch-tf300t/wiki/Use-apt-get-without-WLAN
>>
>> Hope it helps!
>>
>> f69m
>>
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp


References