← Back to team overview

ubuntu-phone team mailing list archive

Re: Ethernet through USB

 

Oli, I have not once been able to get usb tethering happening through those commands. Using a Nexus 4 - multiple installs, various channels (including stable), it doesn't work.

Running: android-gadget-service enable rndis makes the internet connection icon on my laptop look like it's connecting, but nothing happens - just keeps trying indefinitely and then cuts out. I've posted this previously, but have not had any response. I've been in a remote part of Indonesia this week, and it would have been extremely useful to have this functionality - nothing doing for the moment.

I'm happy to test this if you can give me an idea of what would be useful. For now, this feature is not working. I've tried this with Ubuntu 14.04 & 14.10 laptops.

Mitchell

android-gadget-service enable rndis



On 30/03/15 19:47, Oliver Grawert wrote:
hi,
Am Montag, den 30.03.2015, 10:34 +0200 schrieb Matthias Apitz:
Hello,

My other Linux phone (Openmoko Freerunner) supports Ethernet through
USB. When the device is connected on the USB port of my FreeBSD laptop,
it is known by its vendor and product ID and the cdce driver creates an
network interface to route IP through. I'm already checking how to get
support in it for the device:

Mar 30 10:25:17 c720-r276659 kernel: ugen0.4: <BQ> at usbus0
Mar 30 10:25:17 c720-r276659 root: Unknown USB device: vendor 0x2a47 product 0x2008 bus uhub0

in my beloved FreeBSD.

Once this is done, has ubuntu-phone support for this at the other side
of the USB cable? Would be nice to talk SSH directly to it via USB and
not only over Wifi.
the phablet-shell command from the phablet-tools package does exactly
that ... (well, not with a full network setup, just with tunneling an
ssh connection through adb)

https://launchpad.net/phablet-tools has the source, it is shell, so should theoretically work on your BSD as well ...

for networking the bq supports tethering via a usb device (run the
following in the terminal app or via adb):

android-gadget-service enable rndis

that will create an usb0 network device on a linux,PC  not sure what BSD
does with it though :)

ciao
	oli





Follow ups

References