I've tried to use different reverse thetering
instructions for Android
but no one had helped me.
I've got connection for several second (30 sec) and then connection dissappeared.
In connection manager I've seen wired unmanaged
connection for my phone
I'm using Linux
How can I fix problem with dissapearing reversed internet.
Is it problem with Linux configuration?
As an alternate method (which does the same as the Perl script shown here, but without the need of Perl), you can use what's suggested here, which I'll transcribe below (with some modifications I made):
First, install bind9, since it'll avoid problems with DNS forwarding.
Add a POSTROUTING rule to iptables:
Allow packet forwarding:
Now plug in your phone and select 'internet pass through'.
Wait for the device to appear in
ifconfig
.Check it is also in
arp
.I found I had to unplug the device then plug it in again for it to appear in
arp
, things don't work properly ifarp
doesn't show the device.The device will then sit waiting for HTC Sync to send it a message, so you have to mock HTC Syncs message:
The latter part could be turned into a D-Bus script.
If you just want to test the Internet Pass Through feature, you can use the very last line only, for all the phone needs is that binary sequence on port 6000.
Hope that helps.
If you use HTC mobile, the android need an (windows) driver to active "Internet Transmission", if not driver here, you will lost connection after a few seconds.
but we can hack this without need root mobile. use this perl which connect the 6000 port of mobile. this script can enable "Internet Transmission", and you can see an icon show on panel.
Reverse tethering for android
Here is steps for reverse tethering click here It required root you're device.
It works for me.