Here is an updated version of John's recipe (comment 5) for fixing wired 
tethering!
Worked on standard image for Nexus 4 (and Ubuntu 15.04 or 15.10 on computer).

Prerequisites for your phone:
- Turn on developer mode: "System settings" | "About this phone" | "Developer 
mode"
- Make the OS image writable by entering on external computer connected via USB:
  > phablet-config writable-image
- Make sure that WLAN is turned off.

Steps for fixing tethering (only needed once; repeat after a phone update)
1) unplug the USB cable (on phone side suffices); 
   2015-10-15: it seems to have changed now: you must be connected already
2) correct in /usr/bin/tethering:
   "rndis0" should be "usb0"
3) enable rndis:
  > sudo android-gadget-service enable rndis
4) enable tethering:
  > sudo tethering enable
    Note: this might print an error, which can be ignored.
5) If not done before, plug in the USB cable and the computer connects to the 
internet using 
   a new wired connection.

Instead of steps 2.-4., you can use a script named "fix-tethering" on
your phone:

  > sh fix-tethering

The file fix-tethering should contain the following 4 lines:

#!
sudo sed -i -e 's/rndis0/usb0/g' /usr/bin/tethering
sudo android-gadget-service enable rndis
sudo tethering enable

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1427697

Title:
  Malformed /etc/NetworkManager/system-connections/tethering on mako

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus-property-service/+bug/1427697/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to