Administrator
|
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. 2. iPhone: Install Terminal. (Term-VT-100). 3. Wibrain: Launch Firefox. Enter the following in the URL bar: about:config In the resulting display, there will be a Filter field. Enter: dns There will be an entry like: network.proxy.socks_remote_dns boolean false Toggle it to true by clicking it. 4. Wibrain: Firefox: Preferences >> Advanced >> Network >> Connection >> Settings >> SOCKS Host: Enter: 192.168.1.1 port: 1080 Do not select "Manual Proxy configuration" until you are ready to connect via your iPhone. Each time you connect: 1. Wibrain: Open a terminal. Do: sudo iwconfig eth2 essid myadhoc mode ad-hoc channel 9 key s:12345 ap any 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 your Wibrains 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. 3. iPhone: Launch Terminal. Do: srelay 4. Wibrain: Firefox: Preferences >> Advanced >> Network >> Connection >> Settings >> Select Manual Proxy Configuration (Should have the SOCKS settings we entered previously). Try surfing. More hints: - It may be possible for the iPhone and the WiBrain to be too close together. Remember this is WiFi, not Bluetooth. - Try "Waking up" the connection by going to a website in iPhone Safari. qw
|