← Back to team overview

ubuntu-phone team mailing list archive

Re: Ethernet through USB

 

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