Everything iPhone iPhone Accessory Store iPhone news iPhone accessory reviews iPhone forums


Go Back   iPhone 3G | iPod touch Forums > Apple iPhone Software > iPhone Software

Notices

Android forums

Reply
 
Thread Tools Display Modes
Old 07-25-2007, 01:07 AM   #1 (permalink)
 
Join Date: Feb 2007
Location: NJ
Posts: 2,899
Thanks: 3
Thanked 3 Times in 2 Posts
Send a message via AIM to wjp09
Default Tethering now possible.

Final Result:



Tether your iPhone: EDGE internet on your laptop


640 800 Full
Recent developments have allowed iPhone hackers to compile background applications for the iPhone - among the most interesting so far is srelay, a SOCKS proxy server.

srelay running on your iPhone opens up a very exciting possibility - you can use your iPhone's EDGE connection with a laptop or other Wifi-enabled device.

A note of caution: Accessing your EDGE data plan through a laptop may be against your AT&T terms of service. Even modifying your iPhone to enable this service may be a violation. Please check before attempting this procedure.

Mad props to:
- ziel (for writing Jailbreak)
- NerveGas (for compiling these programs for iPhone)
- Nightwatch (for making a working iPhone compiler)
And the rest of the #iphone dev team. Also thanks to the writers of srelay!


I've done my best to make the procedure as simple as possible. You must first have run jailbreak on your phone - you need to go through the custom ringtone tutorial minus the part where you add ringtones (though you still can add ringtones if you want).

Now that your iPhone is freed from its jailed shackles, download the iPhone Tethering Kit and extract its contents to a folder on your hard drive.

Now double-click "tetherify-windows.bat" if you're on Windows, or if you're on Mac OSX (Intel procs only), open a Terminal and run "tetherify-osx-intel.sh".

Follow the instructions that appear - here's what you will see:

Hello, this batch file will install and enable a SOCKS server on your iPhone.

--------PHASE 1: Getting files off your iPhone---------

1 file(s) copied.
iPhoneInterface v0.3.1 built on Jul 14 2007

Waiting for phone... established.
iPhone state: Activated
type "help" for help
iPhone:/# iPhone:/usr/sbin# fileref: 1
iPhone:/usr/sbin# iPhone:/System/Library/LaunchDaemons# fileref: 1
iPhone:/System/Library/LaunchDaemons# 1 file(s) copied.
1 file(s) copied.

--------PHASE 2: Uploading files and reconfiguring your iPhone---------

iPhoneInterface v0.3.1 built on Jul 14 2007

Waiting for phone... established.
iPhone state: Activated
type "help" for help
iPhone:/# fileref: 1
iPhone:/# fileref: 1
iPhone:/# fileref: 1
iPhone:/# fileref: 1
iPhone:/# fileref: 1
iPhone:/# fileref: 1
iPhone:/#
--------PHASE 3: Restarting your iPhone, twice---------

Press and hold the Power button on your iPhone until it shows the "slide to turn off" red slider.
Slide it, wait for the phone to turn off, and press the power button to turn it on again.
Then do it again. When your iPhone has started up the second time, press a key to continue.
Press any key to continue . . .

--------PHASE 4: Restoring original update configuration---------

1 file(s) copied.
1 file(s) copied.
iPhoneInterface v0.3.1 built on Jul 14 2007

Waiting for phone... established.
iPhone state: Activated
type "help" for help
iPhone:/# fileref: 1
iPhone:/# fileref: 1
iPhone:/# ---------DONE!--------

It's kind of a mess of things. There is no error-checking, so if you see "fileref: 0" in any of the output, that's how you know something went wrong. Otherwise it all should have gone just fine.

Congratulations! You now have an open SOCKS server on your iPhone.

To utilize it, you need to create an ad-hoc Wifi network without a router. This way the iPhone will remain connected to both EDGE and your laptop.

Wireless clients between Mac OSX, Windows XP, and Windows Vista vary, but the concept is the same. Create an ad-hoc network with your laptop, preferably using encryption.

Then set your IP address to a static address, without a default gateway. In Windows XP and Vista you can run this command:

netsh interface ip set address "Wireless Network Conenction" static 10.3.3.1 255.255.255.0

You would substitute "Wireless Network Connection" with the name of your wifi adapter if it's named something different.

Then use your iPhone's Settings panel to join to the ad-hoc network you created:
640 800 Full Hit the right-chevron button to go into the IP settings.
640 800 Full Hit the "Static" button on the top and fill in the settings.

Make sure to set the IP address to one on the same subnet as your laptop, here I use 10.3.3.2 and the subnet mask should be the same as well. Leave all other spaces blank.

Now set whatever application you want to use to use the SOCKS proxy at 10.3.3.2 port 1080. In Firefox this is under Tools -> Options -> Advanced -> Network -> Settings. You'll also have to head into about:config (type that in your URL bar), type in socks_remote to the search bar, and double-click that setting to change it to true.

In Mac OSX, NerveGas reports that you can set a system-wide proxy:

1. Go into your laptop's network preferences
2. Double-click the AirPort connection to bring up the proeprties
3. Click the TCP/IP Tab
4. Select "Manually" from "Configure IPv4"
Enter the IP address: 10.3.3.1, subnet mask 255.255.255.0.
5. Click the 'Proxies' tab.
Scroll down the list of proxy servers until you come to "SOCKS Proxy"
Check the checkbox, and in the "SOCKS Proxy Server" box to the right,
enter the IP address of the iPhone: 10.3.3.2, and a port number
of 1080.
6. Click 'Apply Now' for the changes to take effect

Your iPhone should be giving you Internet access now! Browse happy.


-Credit goes to cre.ations.net
__________________
-WJP09
Sent from my iPhone.

My Youtube Channel

Make iPhone wireless Keyboard and mouse for computer!

Quote:
Originally Posted by tha5150 View Post
3g radio is where? I onlysaw aol radio which is cool too
iDay II >.<

Last edited by wjp09; 07-25-2007 at 07:06 PM.
wjp09 is offline   Reply With Quote
Old 07-25-2007, 01:28 AM   #2 (permalink)
 
Join Date: Feb 2007
Location: NJ
Posts: 2,899
Thanks: 3
Thanked 3 Times in 2 Posts
Send a message via AIM to wjp09
Default

SETTING UP ADHOC
  1. Click Start, then select Control Panel.
  2. Click Network and Internet Connections. The Network and Internet Connections window opens.

    <LI value=3>Click Network Connections. The Network Connections window opens.
    <LI value=4>Right-click Wireless Network Connection.
  3. Select View Available Wireless Networks. The Connect to Wireless Network dialog box opens.
    1. <LI value=6>Select Advanced. The Wireless Network Connection Properties dialog box opens.
    2. Click the Wireless Networks tab.
    1. Click Add. The Wireless Network Properties dialog box opens.
    1. <LI value=9>Enter the name of the network. For a peer-to-peer network, this can be any network name not already in use. Example: Adhoc.
      <LI value=10>Click the This is a computer-to-computer (ad hoc) network check box.
      <LI value=11>If an encryption key has been agreed to by the other members of your network, enter this value.
      <LI value=12>Click OK to close the Wireless Network Properties dialog box.
    2. Click the General tab.
    1. <LI value=14>Select Internet Protocol (TCP/IP), then click Properties. The Internet Protocol (TCP/IP) Properties dialog box opens.
    2. Click the General tab.
    1. <LI value=16>Click Use the following IP address.
    2. Enter an IP Address and Subnet Mask for each wireless computer on your ad hoc network. The IP Address for computer 1 should end with a 1 and the IP Address for computer 2 should end with a 2.
set the ip to 10.3.3.1 and the sub mask to 255.255.255.0
    1. <LI value=18>Click OK to close the Internet Protocol (TCP/IP) Properties dialog box.
    2. Click OK to close the Wireless Network Connection Properties dialog box.
__________________
-WJP09
Sent from my iPhone.

My Youtube Channel

Make iPhone wireless Keyboard and mouse for computer!

Quote:
Originally Posted by tha5150 View Post
3g radio is where? I onlysaw aol radio which is cool too
iDay II >.<

Last edited by wjp09; 07-25-2007 at 02:12 AM.
wjp09 is offline   Reply With Quote
Old 07-25-2007, 01:37 AM   #3 (permalink)
 
Join Date: Jul 2007
Posts: 161
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Can someone do a walkthru for intel mac?
chrissurra is offline   Reply With Quote
Old 07-25-2007, 01:53 AM   #4 (permalink)
 
DiscoJoey's Avatar
 
Join Date: Jun 2007
Posts: 350
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by chrissurra View Post
Can someone do a walkthru for intel mac?
this is very cool but it sounds like alot of work. im sure somone will make a much easier way to do this some day and ill really use EDGE on my laptop.
DiscoJoey is offline   Reply With Quote
Old 07-25-2007, 02:13 AM   #5 (permalink)
 
Join Date: Feb 2007
Location: NJ
Posts: 2,899
Thanks: 3
Thanked 3 Times in 2 Posts
Send a message via AIM to wjp09
Default

I decided not to put up a video sorry everyone. I put up steps to set up adhoc.
__________________
-WJP09
Sent from my iPhone.

My Youtube Channel

Make iPhone wireless Keyboard and mouse for computer!

Quote:
Originally Posted by tha5150 View Post
3g radio is where? I onlysaw aol radio which is cool too
iDay II >.<
wjp09 is offline   Reply With Quote
Old 07-25-2007, 02:30 AM   #6 (permalink)
 
DiscoJoey's Avatar
 
Join Date: Jun 2007
Posts: 350
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by wjp09 View Post
I decided not to put up a video sorry everyone. I put up steps to set up adhoc.
id have atleast tried it with the video
DiscoJoey is offline   Reply With Quote
Old 07-25-2007, 02:33 AM   #7 (permalink)
 
Join Date: Feb 2007
Location: NJ
Posts: 2,899
Thanks: 3
Thanked 3 Times in 2 Posts
Send a message via AIM to wjp09
Default

I'm sorry by all means someone else put one up. I just can't do it at the moment. Im tired and my visions going blurry
__________________
-WJP09
Sent from my iPhone.

My Youtube Channel

Make iPhone wireless Keyboard and mouse for computer!

Quote:
Originally Posted by tha5150 View Post
3g radio is where? I onlysaw aol radio which is cool too
iDay II >.<
wjp09 is offline   Reply With Quote
Old 07-25-2007, 02:36 AM   #8 (permalink)
 
Join Date: Jul 2007
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wow, lots of steps there. i guess I'll just use my iPhone to surf the net since this is why I bought it :-)
Nuggets is offline   Reply With Quote
Old 07-25-2007, 07:20 AM   #9 (permalink)
 
Join Date: Jul 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wow, lots of steps but pretty darn amazing and so quickly hacked. Hats off.
Mr Chuckles is offline   Reply With Quote
Old 07-25-2007, 12:51 PM   #10 (permalink)
 
MorningZ's Avatar
 
Join Date: Jul 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DiscoJoey View Post
id have atleast tried it with the video
There is a YouTube video mentioned in this Engadget article
http://www.engadget.com/2007/07/25/i...ata-on-laptop/
MorningZ is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 07:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Integrated by BBpixel ©2004-2008, jvbPlugin
Android forums

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53