← Back to team overview

ubuntu-phone team mailing list archive

additional, re USB tethering

 

I per my earlier query, re USB tethering of the Meizu Pro 5

Can anyone suggest which files need editing to get this working (wifi tethering works brilliantly, but I prefer USB tethering for battery and security reasons).

Or a link to the documentation for Ubuntu touch, that could enlighten someone like myself?

--------------

Running dmesg -w in a terminal on my Ubuntu 16.04 laptop, then connecting an Android, and Pro 5 respectively (for comparison) as follows:

On a standard rooted Android phone this (after enabling usb tethering)

[ 8123.917182] usb 1-3: new high-speed USB device number 88 using xhci_hcd

[ 8124.045571] usb 1-3: New USB device found, idVendor=04e8, idProduct=6864

[ 8124.045573] usb 1-3: New USB device strings: Mfr=2, Product=3, SerialNumber=4

[ 8124.045575] usb 1-3: Product: Android

[ 8124.045576] usb 1-3: Manufacturer: Android

[ 8124.045577] usb 1-3: SerialNumber: ##### etc

[ 8124.047232] rndis_host 1-3:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-3, RNDIS device, 1a:36:19:ff:f1:de

when the same is done on Pro 5, using “android-gadget-service enable rndis” in a terminal on the Pro 5, this (on desktop):

[ 8191.835016] usb 1-1: new high-speed USB device number 91 using xhci_hcd

[ 8191.963965] usb 1-1: New USB device found, idVendor=2a45, idProduct=0004

[ 8191.963967] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4

[ 8191.963969] usb 1-1: Product: Pro5_Ubuntu_Edition

[ 8191.963970] usb 1-1: Manufacturer: Meizu

[ 8191.963972] usb 1-1: SerialNumber: ##### etc

[ 8191.965535] rndis_host 1-1:1.0 eth0: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, 00:00:00:00:00:00

[ 8191.991449] rndis_host 1-1:1.0 enp0s20u1: renamed from eth0

[ 8192.019561] IPv6: ADDRCONF(NETDEV_UP): enp0s20u1: link is not ready

Note the "rndis_host" is eth0, not usb0 as per Android phone.