Find Your Device:
Or Continue to Thread: Nexus 5 - Android L wifi tethe…
29th August 2014, 10:45 AM |#1  
rajneeshk's Avatar
OP Senior Member
Flag gurgaon
Thanks Meter: 175
Donate to Me
Thanks to @buraktamturk here

Here is solution for tethering (both usb and wireless).

Tether just as usual. Then disable tethering and re-enable it. (this step is important otherwise dhcp server is not started)
After doing that both your phone and computer will not connect internet, because of invalid routing table. (internal bug from l preview)

just connect to the phone shell with 'adb shell', or terminal software on android (connectbot or android terminal emulator will fine)

shell@hammerhead:/ $ su
root@hammerhead:/ # ip route | grep rmnet0 | grep link dev rmnet0 proto kernel scope link src
Note the gateway here (, and set this default gateway. (and yes, my provider gives me nat'ed private ip addresses)

root@hammerhead:/ # route add default gw dev rmnet0
Enjoy the tethering!