• Your favorite

    Apple

    ,

    iPhone

    ,

    iPad

    ,

    iOS

    ,
    Jailbreak
    , and
    Cydia
    site.
  • Tethering your iPhone to your Laptop for Mac & Windows
    Thanks to the folks at cre.ations.net for creating this tutorial below

    [Original Link]

    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:


    Hit the right-chevron button to go into the IP settings.



    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.

    TUAW warns: "Who cares whether Apple or AT&T might shut down your account or slam you with an exorbitant data bill - cre.ations.net figured out how to tether your iPhone to get web access with... well, EDGE. It may not be Wi-Fi or even EVDO, but EDGE should be able to save the day in a pinch, but none of us make any guarantees as to how long AT&T will permit this or what this hack could do to your bill. Proceed at your own risk."
    This article was originally published in forum thread: Tethering your iPhone to your Laptop for Mac & Windows started by arthursdomain View original post
    Comments 78 Comments
    1. Kyle Matthews's Avatar
      Kyle Matthews -
      Not yet. And there's always an easier way in the future.
    1. jdlorinser's Avatar
      jdlorinser -
      Quote Originally Posted by briansage View Post
      As long as you can

      1) get tinyproxy installed on your iPhone, and
      2) create an ad hoc wireless network between your computer and the phone, then

      ...yes, any computer may use the iPhone as a proxy to the Inturwebz.
      I followed your adhoc instructions perfectly on my XP laptop and my iPhone does not see the adhoc network. What am I doing wrong?
    1. mrwoofus's Avatar
      mrwoofus -
      Quote Originally Posted by briansage View Post

      EDIT: I never got this to work correctly with the socks proxy, but it works great now with tinyproxy. Tinyproxy is available through AppTapp, and it's so stinkin easy that I'm editing this post with tinyproxy use instructions.

      Ok... I officially love you now.

      Ok..maybe I love tinyproxy more...but you introduced us.
    1. briansage's Avatar
      briansage -
      Quote Originally Posted by jdlorinser View Post
      I followed your adhoc instructions perfectly on my XP laptop and my iPhone does not see the adhoc network. What am I doing wrong?
      hmmm... Is your computer currently connected to any other wireless networks?

      Windows will automatically connect to "preferred" wi-fi networks before the ad hoc network. You might try changing your auto connect settings the Wireless Network Properties popup.

      When your wireless network is enabled: Start >> Control Pannel >> Network Connections >> "Wireless Network Connection" >> (Right CLick Menu) Properties >> (Tab) Wireless Networks:

      You will want to switch all "(Automatic)" networks in range to "Manual" by:

      Select a network from the "Preferred Networks:" list, Click "[Properties]" >> in the popup, click "(Tab) Connection", uncheck "[x] Connect when this network is in range".


      If that's not the problem, I'm not sure what to tell you without more info. It could also be that your wireless card doesn't support ad hoc networking.


      And thanks for the warm reception to the forum, everyone. Happy to help
    1. sphink29's Avatar
      sphink29 -
      Hey guys,

      Been trying to download tetherkit-osx.zip from this link with no luck:
      http://dinkdoink.com/upload/tetherkit-osx.zip

      Just get a 404 message. Anyone have an alternate link.

      Thanks!
      John.
    1. StrictlyBusiness's Avatar
      StrictlyBusiness -
      How do I uninstall this its bogging my phone down and my edge hasn't worked right since....
    1. briansage's Avatar
      briansage -
      Quote Originally Posted by StrictlyBusiness View Post
      How do I uninstall this its bogging my phone down and my edge hasn't worked right since....
      Tether Kit, or Tiny Proxy?

      Tiny Proxy, you can uninstall through the Installer app. Just launch Installer, choose Uninstall, and poke what you want gone.
    1. StrictlyBusiness's Avatar
      StrictlyBusiness -
      Actually the tether kit
    1. rotaryheadrx7's Avatar
      rotaryheadrx7 -
      Quote Originally Posted by StrictlyBusiness View Post
      Actually the tether kit
      I'd like to know this too...
    1. yowiphone's Avatar
      yowiphone -
      nice
    1. geoffl1's Avatar
      geoffl1 -
      does this work with 1.1.1?
    1. rotaryheadrx7's Avatar
      rotaryheadrx7 -
      Quote Originally Posted by geoffl1 View Post
      does this work with 1.1.1?
      Got it working today using the tinyproxy method mentioned in this thread. Never got the SOCKS proxy to work.
    1. listenclose's Avatar
      listenclose -
      I would love to beable to tether my iphone to my macbook but this is a bit much. Is there a simplified gui in sight?
    1. CUKIO34's Avatar
      CUKIO34 -
      Will you have to change the setting on your phone every time you hook up to the computer? and will you have to change any setting back to normal when not using the tether?
    1. metelskiy's Avatar
      metelskiy -
      Anyone got it to work on 1.1.1 Windows XP? WHat method or steps.. I would like to get it work. And can u get busted from AT&T for doing that?
    1. nas7000's Avatar
      nas7000 -
      Hey guys....havin some trouble I'm using firefox and I put the proxy in and changed socks remote to true. I set up the adhoc and am using static 10.3.3.2 on my phone for some reason when I go to a url it says done in the corner and nothing pops up.. in internet explorer i get cannot find page. It seems somewhat connected in firefox cause it doesnt error out just blank with done. and I have to connect both my notenook and iphone to adhoc network right? It would be coo if anyone can help thx.
    1. N4cer's Avatar
      N4cer -
      Maybe some of these programmers on here can stop working on retarded bobble head programs, and develop a good GUI for an iPhone to XP tether.
    1. yalag's Avatar
      yalag -
      hey for those that have this working. How are you using this? Someone posted that of you let your phone display sleep the wifi connection will be dropped do you guys just let the phone display on all the time? It burns the battery!!
    1. rotaryheadrx7's Avatar
      rotaryheadrx7 -
      Quote Originally Posted by yalag View Post
      hey for those that have this working. How are you using this? Someone posted that of you let your phone display sleep the wifi connection will be dropped do you guys just let the phone display on all the time? It burns the battery!!
      I bring around with me a spare USB connector cable and leave it plugged into the computer. Otherwise yeah, battery runs down pretty quick.
    1. filmguy127's Avatar
      filmguy127 -
      I followed the guide on Lifehacker

      http://lifehacker.com/software/featu...top-327066.php

      which is much more simple that what is posted above. Idk if its as good or better that the other method but it seems to work. (macbook w/ leopard to 1.1.1 iphone)

      I say that with a few exceptions.

      For whatever reason my terminal gives me an error of
      channel 2: open failed: administratively prohibited: open failed

      It does this a lot while im using the connection, even though it is working. The channel number changes also.

      The other bug i have is that for some reason certain pages will load fine, and others will load weird versions. Like facebook will try and load what looks like its weird iphone version when i load it here. not a huge problem but odd.

      The biggest issue is that some pages will not load at all. as an example i put www.adobe.com into safari and got the no internet connection message. The tether was working for sure because i could go to many other pages, and i was experiencing edge type load times. Anyway so adobe.com didnt work... until i pointed the iphone's browser to adobe.com. I didnt let it load all the way, just until the page header updated. After I do this it will load adobe.com no problem.

      anybody know what the story is with that and how to fix it?

      Either way the problems ive had arnt too bad and it does work. Which is really awesome. And it was much easier to do that all that crazy stuff. Speaking of, does anybody know what the official att word on iphone tethering is?