Results 1 to 6 of 6

Thread: Backtrack iPhone Tethering - Quick Howto

  1. #1
    Just burned his ISO
    Join Date
    Feb 2008

    Thumbs up Backtrack iPhone Tethering - Quick Howto


    Just thought I would share this. Didn't see any quick guides on tethering (ie. using it as a SOCKS proxy to EDGE or 3G) to the iPhone in BT. So here it goes.

    Very simple process.....

    Backtrack/iPhone tethering guide.

    If you are using an AT&T data plan they have a little line in their contract that states that if you go over like 5gb/month or something you are charged additional fees. So watch out, because their definition of "unlimited" obviously has some sort different meaning. Just an FYI if you choose to over use. If you're on a different carrier who knows.

    a)Jailbroken iPhone with cydia
    b)3proxy (available from cydia repos) & Mobile terminal installed on iPhone.
    c)Backtrack installed with wifi chipset with ad-hoc capabilities.

    This was tested with Lenovo T60P w/iwl3945, BT3 & iPhone 3g 16gb Black. Also initial test was using the EDGE net. (no 3g in my area.)

    1) In BT run...
    bt~#ifconfig wlan0 down (change wlan0 to your wifi device if needed)
    bt~#iwconfig wlan0 mode ad-hoc
    bt~#iwconfig wlan0 essid "insertname"
    bt~#iwconfig wlan0 channel 10 (you can choose any chan)
    bt~#ifconfg wlan0 up
    (please note for this test I skipped the encryption setting, please set the net with encryption in a working setup.)

    2) On the iPhone ...
    Turn on wifi, connect to the ad-hoc net you just created.
    go to the settings and make a note of the DHCP IP.. (should be 169.254.*.* or something)
    Open your iPhone mobile terminal and type "socks" and enter (no quotes) You wont see anything, just hit the home button it will run in the background.

    3) In BT
    bt~#ifconfig wlan0 169.254.*.* (just make the laptop in the same range, i just did on number off)
    bt~#ping (the iphone ip) to test
    bt~#nmap (the iphone ip) to test if you want... at this point the only port open should be 1080

    4)In BT open firefox
    go to your network prefs and set it to use a SOCKS proxy (iphone ip:1080) everything else should be blank or 0.
    ok, apply. Try google or something....

    If you get a page it worked. If not something sucks. !google

    If anyone has anything I missed or typo'd feel free to smack me with a large trout.



  2. #2
    Junior Member
    Join Date
    Aug 2007

    Default I gotta question

    Why do you suck so bad....

    kidding.. great post. Nice.

    The wise man can pick up a grain of sand and envision a whole universe. But the stupid man will just lay down on some seaweed and roll around until he's completely draped in it. Then he'll stand up and go: Hey, I'm Vine Man.

  3. #3
    Just burned his ISO
    Join Date
    Feb 2008

    Default Feel the love!

    Stop you making me blush hehe

    (Sorry too much of a newb poster to be allowed to use hyperlinks)
    Here are some additional links: <--winbl0ws pwn tool for iPhone, new version supports 2.02 firmware <--- Dev team for the Mac version

  4. #4
    Just burned his ISO
    Join Date
    Apr 2007


    I have a quick question. Since I do not have access to an iPhone, but can you not statically assign an IP address to the phone's wifi radio rather than use the default "I can't reach a DHCP server, so I'm going to use this IP" nonsense?

    Other than that... nice write up!

  5. #5
    Join Date
    Oct 2007


    also PdaNet is available now through cydia! works great and without having to proxy in everyapp

  6. #6
    Junior Member
    Join Date
    Sep 2008


    Do you need to supply a gateway for this to work? I tried it, and it didn't work. I could ping the iPhone, had the proxy setup, and the iPhone could reach the net, but my laptop could not.
    ThinkPad T400

Posting Permissions

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