Page 1 of 12 1 2 3 4 5 6 7 8 9 10 11 12 LastLast
Results 1 to 15 of 175

Thread: 3G Tethering is Up and Running !!!! (jailbreak required)

  1. #1
    Join Date
    Aug 2004
    Location
    Under A Rug
    Posts
    1,313
    Device(s)
    iPhone 3G
    Carrier(s)
    AT&T
    Feedback Score
    0

    3G Tethering is Up and Running !!!! (jailbreak required)

    i did not write this but it works and the speeds are great. finally an answer to those airport wait times

    these instructions are for Leopard but i would think any windows savvy person could easily translate it to work for them.

    i only used firefox with this but it worked great and i would assume if you followed the rest of the instructions it would pull your mail and everything else.

    i did not install any BSD subsystem i only had installed SOCKS and Terminal. when you run terminal and type srelay it will give you an error but no worries it still works.

    so i basically ignored #2 (except for the jailbreak part) and #3 in the "What You Will Need".


    thanks to www.zdziarski.com for the instructions

    Tethering with the iPhone


    Tethering allows you to access your iPhone's mobile data connection through
    your laptop using WiFi. This can be very useful for nerd emergencies where the
    iPhone is your only connection to the Internet, such as in an airport or in
    the middle of a corn field.

    These instructions describe how to tether your Leopard-based notebook. The
    steps for other operating systems (such as Windows) are likely different, but
    should be possible to do.

    NOTE: Check your mobile carrier's terms of service before using. Some mobile
    service providers consider it a violation of their terms of service to
    tether.

    WHAT YOU WILL NEED

    1. A WiFi-enabled notebook running Leopard
    2. A jailbroken iPhone, running the BSD Subsystem
    3. My port of BIND/DNS from here: http://www.zdziarski.com/iphone/

    HOW-TO

    Step 1: Create an Ad-Hoc Network

    Leopard has the ability to easily create ad-hoc networks on-the-fly. You'll
    need to create one of these so that the iPhone and your notebook can share
    a WiFi network connection.

    To create an ad-hoc network, click on the airport icon on the menubar in
    Leopard. Select "Create Network...". You will be prompted to "Create a
    Computer-to-Computer network". You can name the network anything you like -
    we will use "Tethering". Once you have named it, click "OK".

    NOTE: The iPhone appears to have difficulty connecting to an ad-hoc network
    that is password-protected (e.g. WEP encrypted). You'll want to avoid
    requiring a password to join the network.

    Step 2: Set the Notebook's Local IP

    At this point, your ad-hoc network has been created and your notebook is
    connected to it, but because your notebook doesn't run a DHCP server, a
    nonroutable IP address will be assigned. You'll need to manually set an
    IP address and netmask so that the iPhone and the notebook can talk to each
    other. The easiest way to do this is by manually configuring the wireless
    interface from a terminal window.

    Open a terminal window and type the following command in Leopard:
    # sudo ifconfig en1 inet 192.168.0.1 netmask 255.255.255.0

    The IP address of your wireless interface will now be set to 192.168.0.1.

    Step 3: Connect the iPhone to the ad-hoc network

    Now connect your iPhone to the ad-hoc network. Go to Settings -> WiFi.
    You should see the name of your ad-hoc network on the network list (in
    our example, "Tethering"). Tap the network and you should connect.

    Once connected, you'll need to configure the iPhone to have a static address
    on the network. Tap the blue disclosure arrow to bring up the iPhone's
    network settings. Tap "Static" to set the information manually. Now enter:

    IP Address: 192.168.0.2
    Subnet Mask: 255.255.255.0
    DNS: [ IP of your ISP's DNS Server ]

    Press the back button (labeled "Wi-Fi Networks") for these changes to
    take effect.

    You should now be able to ping 192.168.0.2 from your notebook. If you
    can't, you've done something wrong. Go back and repeat these steps.

    Step 4: Run SOCKS Relay Daemon

    Once both devices are connected to the ad-hoc network, you can start up
    the SOCKS daemon on the iPhone. If you have the BSD subsystem installed,
    you should be able to just type 'srelay' from MobileTerminal, or ssh into
    your iPhone and run it from there. It will launch into the background.

    To confirm that it is running, you can run:
    # netstat -an | grep LISTEN

    You should see:

    tcp4 0 0 *.1080 *.* LISTEN

    Step 5: Set up DNS

    If you are tethering specifically to use Firefox, you won't need to set up
    the iPhone's DNS server. Instead, go into Firefox's configuration by
    typing "about:config" into the URL window and hitting enter. Scroll down
    to find the network.proxy.socks_remote_dns option and set it to true.

    If you're using any other applications over our tethered connection, you
    may need to run a DNS server from your iPhone to provide name resolution.
    Install the BIND/DNS package from http://www.zdziarski.com/iphone/ and
    extract it onto the iPhone:

    # cd /
    # tar -zxvf bind-9.4.2_arm-apple-darwin.tar.gz

    You should now be able to start the DNS server by running:
    # named -c /var/named/named.conf

    If you have any problems, try running it with the -g argument to run it
    in the foreground, to display stderr.

    You'll need to set /etc/resolv.conf to use 192.168.0.2

    Step 6: Configure your Applications

    Apple has made some recent changes to Leopard so that setting the iPhone
    as a SOCKS server in the network preferences will cause the connection to
    be lost. This means you'll have to configure your applications individually
    to use the iPhone as a SOCKS proxy. Some of the more popular applications
    are below:

    Firefox:
    Go into Firefox preferences -> Advanced -> Network Tab. Click the
    "Settings..." button in the "Connection" section. Select
    "Manual proxy configuration". For SOCKS host, use 192.168.0.2 Port 1080

    SSH:
    Use the -L flag in SSH to port forward any ports to the iPhone, and
    then from the iPhone to your destination machine. This will allow you
    to tunnel your IMAP/POP mail and whatnot.

    That's it - you should be able to connect via SOCKS
    enjoy

    before some start with the TOS replies for ATT i just want to point out that i have been tethering for years starting back with flip phones and you are not going to get busted if you are smart about it. if you just want to check some email and do a little browsing you are not going to use any more data than you could on the iphone and therefore not draw attention to yourself.

    if you decide to download large files or use something like limewire than expect problems.
    Last edited by fletch33; 07-20-2008 at 07:28 PM.
    "i believe louisiana is the pelican state"

    WHO-DEY!!!

  2. #2
    Join Date
    Jan 2004
    Location
    Yonkers, NY
    Posts
    950
    Device(s)
    iPhone 3G[s] 16GB Black
    Carrier(s)
    AT&T
    Feedback Score
    0
    Good post. I won't jailbreak my 3G, but good post. :-)

  3. #3
    Join Date
    Jun 2007
    Posts
    5,124
    Device(s)
    iPhone 5s
    Carrier(s)
    AT&T
    Feedback Score
    0
    I would recommend making this a permanent sticky.
    Twitter: iMuggle
    Website: Mobile Nations

    The cake is a lie.

  4. #4
    Join Date
    Apr 2004
    Location
    New York
    Posts
    1,225
    Device(s)
    128GB Black iPhone 6 Plus
    Carrier(s)
    at&t Wireless,
    Feedback Score
    0
    Quote Originally Posted by melman101
    Good post. I won't jailbreak my 3G, but good post. :-)
    That is great, but I don't want to Jailbreak mine either.

  5. #5
    Join Date
    Feb 2008
    Location
    New York
    Posts
    161
    Device(s)
    GS4 GPE
    Carrier(s)
    AT&T
    Feedback Score
    0
    nevermind....................

  6. #6
    Join Date
    Aug 2004
    Location
    Under A Rug
    Posts
    1,313
    Device(s)
    iPhone 3G
    Carrier(s)
    AT&T
    Feedback Score
    0
    Quote Originally Posted by tenorsaw
    That is great, but I don't want to Jailbreak mine either.
    i was feeling the same way but there are just too many apps i want that i know will never make the apps store. wish they would but they do not follow apples terms for what apps can be in the store and i have had them sooo long that the phone just isnt the same without them

  7. #7
    Join Date
    Jan 2004
    Posts
    362
    Device(s)
    Iphone 4s (16gb)
    Carrier(s)
    Verizon
    Feedback Score
    0
    May want to add ***must be jail'd first*** to the title

  8. #8
    Join Date
    Aug 2004
    Location
    Under A Rug
    Posts
    1,313
    Device(s)
    iPhone 3G
    Carrier(s)
    AT&T
    Feedback Score
    0
    Quote Originally Posted by wacktool
    May want to add ***must be jail'd first*** to the title
    jailbreak added.

  9. #9
    Join Date
    Jul 2007
    Location
    NJ
    Posts
    383
    Device(s)
    Apple iPhone 3GS 32GB
    Carrier(s)
    at&t
    Feedback Score
    0
    Is 3G jailbroken yet?

  10. #10
    Join Date
    Mar 2003
    Posts
    8,593
    Carrier(s)
    Cricket
    Feedback Score
    0
    Quote Originally Posted by xSNOWCAT
    Is 3G jailbroken yet?
    http://www.boygeniusreport.com/2008/...-mac-launches/

  11. #11
    Join Date
    Jul 2007
    Location
    NJ
    Posts
    383
    Device(s)
    Apple iPhone 3GS 32GB
    Carrier(s)
    at&t
    Feedback Score
    0
    EDIT:
    NVM

  12. #12
    Join Date
    Jun 2006
    Posts
    193
    Feedback Score
    0
    Bringing my laptop to work with me tomorrow so I can work on this. Thanks again for everything Fletch

  13. #13
    Join Date
    Sep 2002
    Location
    Black Hole
    Posts
    3,922
    Carrier(s)
    Chat-r; PC Mobile
    Feedback Score
    0
    This method has worked since the 1st gen. However, this only works w/ anything supporting SOCKS. I would hope that something that can do a full NAT based "IP masquerading" a la "Internet Connection Sharing" on Windows Mobile. Not true tethering as tethering typically means using the phone as a modem in modem mode and the host has been served by the IP and full internet (unless blocked) by the mobile carrier.
    No longer on a leash by Fido

  14. #14
    Join Date
    Feb 2006
    Posts
    20
    Feedback Score
    0
    This is great, but I have a newbie questions and beg your forbearance. You wrote, "i did not install any BSD subsystem i only had installed SOCKS and Terminal. when you run terminal and type srelay it will give you an error but no worries it still works." Did you install SOCKS and Terminal on the iPhone, or do you install SOCK on OSX and use the terminal application?

    Thanks in advance for your replies.

  15. #15
    Join Date
    Jan 2006
    Posts
    310
    Feedback Score
    0
    thanks for posting this awesome news. This is the first app that truly makes we want to jailbreak. However this 3g is my first iphone and i don't know about the downsides...

    why are people saying that they won't jailbreak their phone? Isn't it reversible?

Page 1 of 12 1 2 3 4 5 6 7 8 9 10 11 12 LastLast

Bookmarks