Watch This Now!

Find Your Device:
Or Continue to Thread: ppp over adb (for linux/unix u…
15th September 2009, 06:45 AM |#14  
Recognized Developer
Flag Los Angeles
Thanks Meter: 255
Donate to Me
OK, this is the patch I made to adb to make its ppp command work the way I want.

With that, invoke adb like this:

adb ppp foo notty

The <tty> parameter is no longer used; everything past the "foo" is just passed as arguments to the local pppd.

Once this is done you can set up NAT forwarding on whichever side you want.

And yes, I know this isn't a clean patch. I should make this a new command instead of usurping the existing ppp command, since presumably the original command is still useful to somebody out there. But this was just a quick hack to see if it would work, and it works great. This saves a lot of the CPU overhead of ssh / port forwarding / etc...
Attached Files
File Type: txt commandline.dif.txt - [Click for QR Code] (962 Bytes, 919 views)