May 28th, 2009

How to tether two androids together

Get latest wireless tether -- that one works over bluetooth,
too. (Unfortunately, it only accepts single client over
bluetooth... so you can literally tether two androids together, but no
other device will fit).

Start it.

Then on the other android set up a wifi connection to the access
point. AP does not have to be connected anywhere. Then

pand --connect (bt address of the other android)
route del default gw (your gw)
dhcpcd  bnep0


At this point, android framework is fooled into believing it has wifi
connection, and will connect over bluetooth.

Now, if someone knows better way of doing this, let me know.