|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
FYI,
I've been able to successfully use iptables to configure ip masquerading (NAT). With it, I am tethered over WiFi without using tetherbot (which still works as a backup). Hopefully someone else can package this to be more useful. Update: See posts #13 and #15 on how to use Ad-hoc mode.
1> Disable WiFi through the UI. Then turn on Wifi manually using the following commands as root. Normally the phone data interface and WiFi can't be turned on at the same time. (Can this be done through the android gui somehow?) Quote:
2> Enable and configure ip forwarding Quote:
Attached is the iptables binary, compiled with the android sdk. Last edited by divinehawk; 10th November 2008 at 07:19 PM.. Reason: add note |
| Sponsored Links |
|
#2
|
|||
|
|||
|
just curious as to why you would want the "tethering" this way. isnt it most likely that any wifi your phone can connect to your computer most probably can too? just curious?
|
|
#3
|
|||
|
|||
|
This is just progress on tethering. The proxy method is a horrible way of tethering. iptables is the correct way if done correctly. His developments while useless to most are still good because it is progressive. And he can get hotspots now LOL
|
|
#4
|
|||
|
|||
|
Quote:
USB networking would be better, or even bluetooth. But I'm not sure this is possible. |
|
#5
|
|||
|
|||
|
wmwifi router is such an amasing program for windows mobile. Not only does it create an access point with encryption, it also has a dhcp server set up, so multiple computers can share the 3G access. If something like this comes to the android, it will be BADASS!
__________________
Nexus One - Cyanogen Follower HTC Dream - Cyanogen Follower T-Mobile Wing |
|
#6
|
|||
|
|||
|
divinehawk, do you really need an access point? have you tried this using an ad-hoc network? (I am not sure if the G1's WiFi supports ad-hoc networks)
|
|
#7
|
|||
|
|||
|
Quote:
Ideal mode would be for the phone to *act* as an access point. But that usually requires driver support. |
|
#8
|
|||
|
|||
|
Quote:
Code:
# adb --help
[...]
adb forward <local> <remote> - forward socket connections
forward specs are one of:
tcp:<port>
[...]
Last edited by alansj; 10th November 2008 at 07:58 AM.. |
|
#9
|
|||
|
|||
|
that only works if you want to make a proxy... I think he is trying to make it a true internet sharing app similar to that of the wing and other WM devices
|
|
#10
|
|||
|
|||
|
How about something similar to PdaNet?
http://www.theiphoneblog.com/2008/10...r-with-pdanet/ It's interesting that it works by having you set up an ad-hoc wireless network from your computer and then connecting to that from the iPhone. Maybe that's essentially what scootley was suggesting above. PdaNet .deb here: http://apt.modmyi.com/2debs/pdanet1.40.deb |
![]() |
| Tags |
| ad-hoc, tether |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|