+ Reply
Page 1 of 3 123 LastLast
Results 1 to 20 of 46

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: use Handy light to tether to iPad from unjailbroken iPhone on 4.0+ (without another PC)

is a discussion within the

iPad Jailbreaking

forums, a part of the

General iPad

section;
Hi guys, this is my first walkthrough, hope it helps those of us who were lucky enough to have downloaded Handy Light during the window! So, first things first. initial
...
  1. #1
    iPhone? More like MyPhone katmeef's Avatar
    Join Date
    Mar 2010
    Location
    Hamilton, ON
    Posts
    265
    Thanks
    14
    Thanked 19 Times in 12 Posts

    Default use Handy light to tether to iPad from unjailbroken iPhone on 4.0+ (without another PC)
    Hi guys,

    this is my first walkthrough, hope it helps those of us who were lucky enough to have downloaded Handy Light during the window!

    So, first things first.

    initial (one time) setup: major revision thanks to x999x: no longer using lighttpd on ipad to host proxy.pac, using Download Pro Lite instead

    1)on the ipad you'll need to install from cydia: mywi (not used to tether, just to start adhoc network). install Download Pro Lite on the iphone 4.

    2) open Download Pro Lite on the iphone, go into the more tab and turn on Web Share

    3)on your computer (or your ipad if you really want to) create a plaintext file titled "socks.pac" containing the following 3 lines:

    function FindProxyForURL(url, host) {
    return "SOCKS 13.37.13.37:1337";
    }

    4)upload socks.pac to your iPhone from your computers (or ipads if you so chose) web browser, accessing the upload page at http://"your phones current wifi ip":8080
    5)on the iPad start MyWi, pick a SSID for the ad-hoc network and turn MyWI on.
    6)on the iPhone, go into Settings, general, network, wifi, and pick the SSID you created. then click the blue arrow to go into advanced settings. choose "STATIC" for IP Address, and put "13.37.13.37" for IP and "255.255.255.0" for Subnet Mask. (back out of the settings and go back in to ensure those inputs saved!)
    7)on the iPad, turn MyWi off and shut the app. go into settings, wifi, and pick the SSID you created (which is being sustained now by the iPhone). Take the blue arrow for advanced settings, choose "STATIC" for IP Address, and put "13.37.13.69" for IP and "255.255.255.0" for Subnet Mask. Also put HTTP Proxy to Auto and for the URL input "http://l13.37.13.37:8080/socks.pac". (back out of the settings and go back in to ensure those inputs saved!)
    8)open HandyLight on the iPhone (Download Pro Lite will keep running the webserver in the background to serve socks.pac), hit "blue - yellow - red - tap upper right hand corner" to start tethering (handylight screen will go purple if you keyed in the correct sequence of colors and corner tapping)

    Now ensure it works by using web browser on the iPad! (if not try to reboot the iphone, reconnect it to the ad-hoc network and restart handy light.. i had to do that the first time I got setup to this point, i'm thinking it was an ARP issue after the iPad changed from the self-assigned IP to the 13.x.x.x)


    To start it up again in the future: (if at least one of the devices remained set to the tethering SSID you may not have to do some or all of steps 1-4 here , but if you don't see the tethering SSID available you'll need to do this to jumpstart the AdHoc again, thanks x999x)

    1) Open MyWI on the Ipad and start the AdHoc network
    2) connect the iphone to this network in settings
    3) shut off and close MyWI on the Ipad
    4) connect the ipad to this network in settings
    5) open Download Pro Lite and start the Web Share in the "..." tab
    6) open HandyLight on the iPhone, hit "blue - yellow - red - tap upper right hand corner" to start tethering!

    Regards,
    Meef

    edit2: thanks LaZARuZ for pointing out few errors which I've corrected now relating to lighttpd config.
    edit3: thankx x999x for providing better solution than lighttpd
    Last edited by katmeef; 07-21-2010 at 02:21 PM.

  2. The Following 6 Users Say Thank You to katmeef For This Useful Post:

    dsr1205 (07-21-2010), LaZARuZ (07-21-2010), rockness724 (07-23-2010), sketchstudios (07-20-2010), Spamdumpster (07-22-2010), x999x (07-21-2010)

  3. #2
    iPhone? More like MyPhone
    Join Date
    Jul 2007
    Posts
    251
    Thanks
    17
    Thanked 14 Times in 12 Posts

    This guild works great but keep in mind some apps might not take well with this trick. like youtube and mail app.. youtube will load and you can see the videos but you cant play them but hey you got a $0.99 tether now well kind of.. Great guild there katmeef thanks for helping out the community..

  4. The Following User Says Thank You to LaZARuZ For This Useful Post:

    katmeef (07-21-2010)

  5. #3
    iPhone? More like MyPhone katmeef's Avatar
    Join Date
    Mar 2010
    Location
    Hamilton, ON
    Posts
    265
    Thanks
    14
    Thanked 19 Times in 12 Posts

    Quote Originally Posted by LaZARuZ View Post
    This guild works great but keep in mind some apps might not take well with this trick. like youtube and mail app.. youtube will load and you can see the videos but you cant play them but hey you got a $0.99 tether now well kind of.. Great guild there katmeef thanks for helping out the community..
    Thanks LaZARuZ,

    mail.app and youtube don't seem to be adhering to the proxy settings for me either, i don't think they will work with this tethering method unless there's some way to tell those apps to look to the system proxy settings.

    While it's certainly no mywi, it is sufficient for my needs to forgo my 3.1.3 jailbreak for a while and use 4.0 on the iphone while the devs work their magic. I have my SHSH saved in case I start jonesin' for a jailbreak fix in the meantime

    ... all the while a little voice in the back of my head is saying 'make a youtube video of this'

    edit: uploading youtube now
    Last edited by katmeef; 07-21-2010 at 11:52 AM.

  6. #4
    iPhoneaholic x999x's Avatar
    Join Date
    Aug 2007
    Posts
    481
    Thanks
    20
    Thanked 112 Times in 82 Posts

    Thanks Meef, couple questions:

    1) Could you do this with just hosting the pac file on the iphone via an AirShare web server?

    2) Do I have to run Lighttpd every time I do this, or just once to create the wifi profile?
    --> if I only need to run it once, I was wondering if we can bypass the install entirely with the AirShare solution.

  7. #5
    iPhone? More like MyPhone katmeef's Avatar
    Join Date
    Mar 2010
    Location
    Hamilton, ON
    Posts
    265
    Thanks
    14
    Thanked 19 Times in 12 Posts

    ^^youtube walkthrough here: [ame=http://www.youtube.com/watch?v=YcBm0eaPBZE]YouTube - Handy Light tethering to iPad from non-jailbroke iPhone without PC[/ame]

    Quote Originally Posted by x999x View Post
    Thanks Meef, couple questions:

    1) Could you do this with just hosting the pac file on the iphone via an AirShare web server?

    2) Do I have to run Lighttpd every time I do this, or just once to create the wifi profile?
    --> if I only need to run it once, I was wondering if we can bypass the install entirely with the AirShare solution.
    1) If you can use AirShare on the iphone to host the file, then yes I don't see why it wouldn't work. just point the proxy to http://13.37.13.37/socks.pac instead of localhost.

    2) you don't have to run lighttpd at all, I found that sbsettings starts it for you after you reboot the ipad in step 4 (assuming you've installed the lighttpd sbsettings plugin)

    let me know airshare works for you as opposed to lighttpd (i dont have this app to test with on my iphone)
    Last edited by katmeef; 07-21-2010 at 12:47 PM. Reason: Automerged Doublepost

  8. #6
    iPhoneaholic x999x's Avatar
    Join Date
    Aug 2007
    Posts
    481
    Thanks
    20
    Thanked 112 Times in 82 Posts

    Meef, Great Success!

    I am able to share using your method, however replacing lighttpd with Download Pro Lite

    Initial setup - install free version of Download Pro Lite and upload socks.pac file over through your DESKTOP's WEB BROWSER (launch download pro lite and enable sharing, go to the url it displays on your desktop's browser. Use the upload form at the bottom of the page to upload the Sock.pac file)

    1) create network on ipad with mywi
    2) connect to new network on iphone and set up both static ips/subnet masks on both devices accordingly. I used 13.37.13.37 on iphone and 13.37.13.36 on ipad. 255.255.255.0 for subnet mask on both
    3) exit mywi
    4) on iphone launch Download Pro Lite and start your web server (more -> sharing -> web server -> ON )
    5) sustain network on ipad and set your socks auto path to http://13.37.13.37:8080/socks.pac
    6) on ipad launch safari, try a page (wont work) <-- this step may be trivial
    7) on iphone exit Download Pro Lite and launch Handylight and start tethering
    8) on ipad refresh page in safari or try another site -> SUCCESS!
    Last edited by x999x; 07-21-2010 at 01:30 PM.

  9. #7
    iPhone? More like MyPhone katmeef's Avatar
    Join Date
    Mar 2010
    Location
    Hamilton, ON
    Posts
    265
    Thanks
    14
    Thanked 19 Times in 12 Posts

    Quote Originally Posted by x999x View Post
    Meef, Great Success!

    I am able to share using your method, however replacing lighttpd with AirShare

    Initial setup - install free version of airshare and move socks.pac file over via itunes

    1) create network on ipad with mywi
    2) connect to new network on iphone and set up both static ips/subnet masks on both devices accordingly. I used 13.37.13.37 on iphone and 13.37.13.36 on ipad. 255.255.255.0 for subnet mask on both
    3) exit mywi
    4) on iphone launch airshare and start your web server
    5) sustain network on ipad and set your socks auto path to http://13.37.13.37/socks.pac
    6) on ipad launch safari, try a page (wont work) <-- this step may be trivial
    7) on iphone launch handylight and start tethering
    8) on ipad refresh page in safari or try another site -> SUCCESS!
    ooh i didn't know airshare was a free app,
    i would rather serve the pac on the phone then have the server reside on the ipad, I will give it a try, thanks

  10. #8
    iPhoneaholic x999x's Avatar
    Join Date
    Aug 2007
    Posts
    481
    Thanks
    20
    Thanked 112 Times in 82 Posts

    Ack I got Airshare when it was FREE, its now 2.99!

    I'm trying with a couple of the download apps, as they have web servers as well. will update with which "lite" version works as a replacement for Airshare for a free solution

  11. #9
    iPhone? More like MyPhone katmeef's Avatar
    Join Date
    Mar 2010
    Location
    Hamilton, ON
    Posts
    265
    Thanks
    14
    Thanked 19 Times in 12 Posts

    I don't see a free app for airshare in the appstore, maybe it's because I'm in Canada? (we can't get pandora here either.)
    i see "air sharing" for 2.99 and "air sharing pro" for 6.99.
    what's the app you have?

    nm i see your post before mine
    Last edited by katmeef; 07-21-2010 at 01:16 PM. Reason: Automerged Doublepost

  12. #10
    What's Jailbreak?
    Join Date
    May 2008
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Where is the repo for lighttpd, i cant seem to find it, i only get the sbs settings switch.

  13. #11
    iPhoneaholic x999x's Avatar
    Join Date
    Aug 2007
    Posts
    481
    Thanks
    20
    Thanked 112 Times in 82 Posts

    Ok, heres Download Pro Lite

    You'll have to upload the Socks.pac file through your desktop first after launching the app's web server and using its upload form through your desktop's web browser of choice

    Note: This works great, however you will need to modify the Auto Proxy URL on the ipad to: http://13.37.13.37:8080/socks.pac

    I just tried this updated way and it works great

    Extra infos

    1) You only have to upload the Socks.pac file once, and its super simple to do on your desktop -> iphone

    2) You can sustain your network created by mywi on the ipad even when not in use. To begin tethering again later, turn on the ipad, connect to the ipad's sustained network on the iphone, launch handylight and enable tethering to continue browsing on the ipad.
    Last edited by x999x; 07-21-2010 at 01:35 PM. Reason: Automerged Doublepost

  14. The Following User Says Thank You to x999x For This Useful Post:

    katmeef (07-21-2010)

  15. #12
    iPhone? More like MyPhone katmeef's Avatar
    Join Date
    Mar 2010
    Location
    Hamilton, ON
    Posts
    265
    Thanks
    14
    Thanked 19 Times in 12 Posts

    awesome i'm trying it now and will put an edit in my first post, as this way is more streamlined.. especially as you could tether multiple ipads to the same iphone with only one server being setup.

  16. #13
    What's Jailbreak?
    Join Date
    May 2008
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Why does my iPad not show lighttpd??? anyone? Thanks allot for the work. I just cant try it out

  17. #14
    iPhone? More like MyPhone katmeef's Avatar
    Join Date
    Mar 2010
    Location
    Hamilton, ON
    Posts
    265
    Thanks
    14
    Thanked 19 Times in 12 Posts

    dsr, i am updating it thanks to x999x so you won't need lighttpd. be done in a few mins

    x999x did you have to reboot your iphone to tethering to work after removing lighttpd and installing download pro lite? I did - i could download the socks.pac in safari, but the proxy wouldn't work until I rebooted iphone.

  18. #15
    iPhoneaholic x999x's Avatar
    Join Date
    Aug 2007
    Posts
    481
    Thanks
    20
    Thanked 112 Times in 82 Posts

    You don't need Lighttpd anymore, you can use Download Pro Lite as the means for hosting the Socks.pac file instead now.

    Quote Originally Posted by katmeef View Post
    dsr, i am updating it thanks to x999x so you won't need lighttpd. be done in a few mins

    x999x did you have to reboot your iphone to tethering to work after removing lighttpd and installing download pro lite? I did - i could download the socks.pac in safari, but the proxy wouldn't work until I rebooted iphone.
    I never installed lighttpd to be honest, wanted to give this a go without it first. The only reboot I did was on the ipad after installing mywi/rock.

    I'm fairly certain though, that your reboot was only necessary to flush out any remnants of lighttpd that the iphone may have had lurking somewhere, it shouldn't be a necessary thing every time you wish to tether using this alternative.
    Last edited by x999x; 07-21-2010 at 02:03 PM. Reason: Automerged Doublepost

  19. #16
    What's Jailbreak?
    Join Date
    May 2008
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    It is not working for me. I used iFile to create the directories but i am not getting any luck with it. the file exists and is being hosted so im wondering if i should have changed permissions when i created the files with ifile?

  20. #17
    iPhone? More like MyPhone katmeef's Avatar
    Join Date
    Mar 2010
    Location
    Hamilton, ON
    Posts
    265
    Thanks
    14
    Thanked 19 Times in 12 Posts

    fortunately i wasn't having to reboot the iphone every time, just the first time I had problems after i switched to download pro lite from the lighttpd solution. i haven't had to again thankfully, edit: i think the socks proxy just got screwed up on the phone the more i think about it. i probably could have killed the app from the task manager and relaunched handylight and been fine.

    dsr check the main post again, you don't need to make those directories anymore
    Last edited by katmeef; 07-21-2010 at 02:41 PM. Reason: Automerged Doublepost

  21. #18
    What's Jailbreak?
    Join Date
    May 2008
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    got it working with that download pro app. Awesome job man! I came really close to this but i lacked the knowhow about the proxy file. Awesome. BTW facbook app and aim app seem to work as well as web browsers. just my initial testing.

    Working apps list:
    Facebook
    Safari
    Atomic Web Browser
    Dropbox
    Google maps (can't find location)
    AIM for iPad
    Mail
    App Store
    iTunes Store
    iBooks Store
    Last edited by dsr1205; 07-21-2010 at 02:53 PM. Reason: updating

  22. #19
    iPhoneaholic x999x's Avatar
    Join Date
    Aug 2007
    Posts
    481
    Thanks
    20
    Thanked 112 Times in 82 Posts

    Here's a shot from my tethered iPad using the revised method, take note of my IP in SBSettings.



    Also, an fyi, the iphone won't show a wifi icon when you tether again later down the line when the ipad sustains the network made earlier on. You'll still tether fine, and in the event it doesn't, just launch Download Pro Lite again and launch the web server. Try to ping a site through safari on the ipad, relaunch Handylight's tethering, give safari another go and it should be fine again.
    Attached Thumbnails Attached Thumbnails use Handy light to tether to iPad from unjailbroken iPhone on 4.0+ (without another PC)-img_0892.png  

  23. #20
    iPhone? More like MyPhone katmeef's Avatar
    Join Date
    Mar 2010
    Location
    Hamilton, ON
    Posts
    265
    Thanks
    14
    Thanked 19 Times in 12 Posts

    glad you got it working dsr!
    it was allot of fun playing with this last night, i only slept 2 hours. big thanks to everyone who contributed to make it more efficient and streamlined.

  24. The Following User Says Thank You to katmeef For This Useful Post:

    dsr1205 (07-21-2010)

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