Title: WiFi Tethering to an iPhone
Post by Administrator on Jul 10th, 2008, 9:29pmWiFi Tethering to an iPhone

Notice: What follows may violate your Terms of Service with your Wireless Service Provider. The following settings seem to work, but need more experimentation.

1. The iPhone must be Jailbroken. Covering that is beyond the scope of this article. I am not suggesting that you do or do not jailbreak your iPhone, Be sure you fully understand the implications of doing so before you jailbreak your iPhone. 2. iPhone: Launch installer and search for Tinyproxy. Install it. 3. Wibrain: Launch Firefox. Select Edit -- Preferences -- Advanced. Select the Network tab. Next to "Configure how Firefox connects to the Internet", click on Settings. On the Connection Settings box, select Manual proxy configuration. Set the following settings: HTTP Proxy: 192.168.1.1 Port: 8080 Leave the other settings as they are (mostly blank). Exit Preferences. 4. Wibrain: Turn on WiFi, and insure that Enable Wireless is on in Network Manager. Choose Create New Wireless Network. 5. Wibrain: Terminal: sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0 6. iPhone: Launch Settings. GoTo WiFi. You should see a new network called "B1L" (This will be different if you changed your Wibrain's host name, or you gave your network a different name). Join this network. Select the settings for this network (the blue button). Select Static, and assign the address 192.168.1.1, and the Subnet mask 255.255.255.0 Warning: anyone nearby can also join this network. I recommend using WEP or WPA, but when I tried this it still seemed to create an open network. 7. Wibrain: Firefox: Try surfing some websites. 8. Note that Network Manager seems to not realize that it is connected, and may drop the connection. Also, if the iPhone goes to sleep, your network will fall apart. Set Lock Screen to Never on the iPhone.

Title: Re: WiFi Tethering to an iPhone
Post by Administrator on Jul 29th, 2008, 3:09pm
WiFi Tethering to an iPhone

More Reliable Method. Assumes Ubuntu 8.04.

Notice: What follows may violate your Terms of Service with your Wireless Service Provider. The following settings seem to work, but need more experimentation.

One time Pre-configuration:

1. The iPhone must be Jailbroken. Covering that is beyond the scope of this article. I am not suggesting that you do or do not jailbreak your iPhone, Be sure you fully understand the implications of doing so before you jailbreak your iPhone.

The name of the adhoc network we are creating, myadhoc, in the above example and the key, 12345, in the above, can be changed as desired. Do:

sudo ifconfig eth2 192.168.1.2 netmask 255.255.255.0

"eth2" above may be eth0 or eth1. It is whatever yourWibrains Wifi is normally.

2. iPhone: Settings: WiFi: You should see the adhoc network we just created. Connect to it. The first time we do this, we will need to enter the WEP key we assigned above. Also, one time only, we must tap the blue circle, and set: IP Address Static, and enter IP Address 192.168.1.1, and Subnet Mask 255.255.255.0. You may also want to set the iPhone so that it does not go to sleep.