06/15/2009, 01:12 AM
|
#22 (permalink) |
|
Member
![]() Join Date: Aug 2007
Location: Denver, CO
Posts: 33
Likes: 0
Thanks: 5
Thanked 20 Times in 5 Posts
|
@jack87: I'm not exactly sure what you mean. Once you've rooted, the method I posted above doesn't edit any files. Optionally, you could save the commands to a file and run it as script, in which case, you would place it in /usr/bin/tether.sh (or similar).
grindz145 suggested modifying one of the built in applications to do this, but I haven't tried this yet. Also, I have been experimenting with different methods of tethering. While the iptables solution above works, it still requires a script to be executed on the device, and conflicts with the Pre's built in WiFi daemon. Another solution: SSH supports running as a SOCKS proxy that can forward any (tcp) network traffic over its connection, this would allow network access (not just HTTP) without installing/running anything else on the Pre, and it works over Bluetooth PAN (despite sprint's 'auth error'). For this all that is necessary is to connect is to:
|
|
|
06/15/2009, 08:40 AM
|
#23 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 49
Likes: 0
Thanks: 1
Thanked 2 Times in 2 Posts
|
Quote:
I setup IE to proxy using SOCKS and bam! I'm tethered!!! I attached a screenshot of my speedtest.net results showing I was connected through Sprint PCS |
|
|
|
06/15/2009, 10:08 AM
|
#26 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 13
Likes: 0
Thanks: 4
Thanked 1 Time in 1 Post
|
I just noticed that somone has come up with a way to run a shell on the pre through the web browser http ://predev.wikidot.com/shell This makes it easy to run the any config script at all with considerable ease... just saying:-D
|
|
|
06/15/2009, 11:27 AM
|
#27 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 90
Likes: 0
Thanks: 9
Thanked 11 Times in 2 Posts
|
Quote:
|
|
|
|
06/15/2009, 12:36 PM
|
#29 (permalink) |
|
Member
![]() Join Date: Aug 2007
Location: Denver, CO
Posts: 33
Likes: 0
Thanks: 5
Thanked 20 Times in 5 Posts
|
Sure, I'll try to be as accurate as I can for windows, however my only windows install is in a virtual machine.
Prerequisites:
Walk-though:
|
|
|
06/15/2009, 12:38 PM
|
#30 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 90
Likes: 0
Thanks: 9
Thanked 11 Times in 2 Posts
|
Quote:
|
|
|
|
06/15/2009, 02:33 PM
|
#36 (permalink) |
|
Member
![]() Join Date: Dec 2007
Posts: 40
Likes: 0
Thanks: 3
Thanked 0 Times in 0 Posts
|
The SSH tunnel is a great idea. I've used SSH tunnels back to my home network over my tethered WinMo phone for a while; just for transport security. This is pretty cool. I'm getting closer and closer to being able to pick up a Pre to replace my Mogul.
Once again, nice work! |
|
|
06/15/2009, 02:36 PM
|
#37 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 90
Likes: 0
Thanks: 9
Thanked 11 Times in 2 Posts
|
Quote:
|
|
|
|
06/15/2009, 02:41 PM
|
#39 (permalink) |
|
Member
![]() Join Date: Aug 2007
Location: Denver, CO
Posts: 33
Likes: 0
Thanks: 5
Thanked 20 Times in 5 Posts
|
lcars123: Unfortunately, you'll have to do most on it each time. You only have to root once of coarse, and you might not have to reconfigure your applications each time (depending on the application).
I could write a Linux program to do this automatically, but I think many of the people here are Windows users, and I have no experience with Windows programming, and especially not its bluetooth API. |
|
|
06/15/2009, 02:46 PM
|
#40 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 90
Likes: 0
Thanks: 9
Thanked 11 Times in 2 Posts
|
Quote:
Then: PuTTY Users: Enter 10.1.1.10 in the host name blank, and 222 in port. Go to Connection > SSH > Tunnels, enter 8080 in source port and select 'Dynamic' below. Click add. Click open, and login to your Pre. Then configure which application I want to use. Which most of the time it will just be to browse the internet. Correct??? |
|
|
|
![]() |
| webOS Nation Forums Possible tether work-around |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|















Linear Mode









