Hello,
I have an iPhone 3G with iOS 4.2.1, jailbreaked.
My Wifi seems dead. I already have try to fix it (soft+hard reset, erase full content, firmware restore - all except oven) without success.
To keep it usable, I'm trying to get Internet access through USB cable (reverse tethering). 3G data is still working but, depending on your place, is expensive or not always available.
On a jailbreaked system, normal tethering could be achieved easily with 'ssh -D <port> iphone'
I found these tutorials for reverse tethering with a Windows system:
http://alk2blog.blogspot.com/2008/08/ssh-to-get-your-iphone-online-via-usb.html
http://modmyi.com/forums/general-ip...ernet-iphone-through-usb-no-wifi-no-edge.html
(http://webcache.googleusercontent.c...h-usb-no-wifi-no-edge.html&cd=1&hl=fr&ct=clnk)
but they need iTunes & Windows. For now, I only have a Linux at hand but the theory normally is valid.
If I can do tethering with ssh (which works), I can do reverse tethering with something like 'ssh -R <port>:<host>:<port> iphone' (or in ssh config: 'RemoteForward <port> localhost:<port>' ) if I have a proxy on my computer and iPhone sets accordingly.
Installing squid or any other proxy software on any unix is easy (aptitude, macports, ...), ssh also.
For configuring proxy on iPhone, you need some manual preferences.plist editing (not a wifi proxy with GUI)
There is a plutil.pl perl script to do xml/binary conversion under other system than macos
http://www.scw.us/iphone/plutil/
But seing the different tutorial, still not sure about the right place for key (I tried 3).
http://raddysblog.blogspot.com/2007/11/setting-up-proxy-in-apple-iphone.html
For me, it didn't work (safari said not connected). one possible explanation is wifi is either disabled or not connected (as it is not working anymore) and data cell/3G also (as I don't way to pay roaming or big bill). I tried enabling them without success.
Any other hints to make it work ?
A way to validate preferences.plist is correct ?
As I don't have telnet on iPhone, not possible to test ssh tunnel.
Thanks
I have an iPhone 3G with iOS 4.2.1, jailbreaked.
My Wifi seems dead. I already have try to fix it (soft+hard reset, erase full content, firmware restore - all except oven) without success.
To keep it usable, I'm trying to get Internet access through USB cable (reverse tethering). 3G data is still working but, depending on your place, is expensive or not always available.
On a jailbreaked system, normal tethering could be achieved easily with 'ssh -D <port> iphone'
I found these tutorials for reverse tethering with a Windows system:
http://alk2blog.blogspot.com/2008/08/ssh-to-get-your-iphone-online-via-usb.html
http://modmyi.com/forums/general-ip...ernet-iphone-through-usb-no-wifi-no-edge.html
(http://webcache.googleusercontent.c...h-usb-no-wifi-no-edge.html&cd=1&hl=fr&ct=clnk)
but they need iTunes & Windows. For now, I only have a Linux at hand but the theory normally is valid.
If I can do tethering with ssh (which works), I can do reverse tethering with something like 'ssh -R <port>:<host>:<port> iphone' (or in ssh config: 'RemoteForward <port> localhost:<port>' ) if I have a proxy on my computer and iPhone sets accordingly.
Installing squid or any other proxy software on any unix is easy (aptitude, macports, ...), ssh also.
For configuring proxy on iPhone, you need some manual preferences.plist editing (not a wifi proxy with GUI)
There is a plutil.pl perl script to do xml/binary conversion under other system than macos
http://www.scw.us/iphone/plutil/
But seing the different tutorial, still not sure about the right place for key (I tried 3).
http://raddysblog.blogspot.com/2007/11/setting-up-proxy-in-apple-iphone.html
For me, it didn't work (safari said not connected). one possible explanation is wifi is either disabled or not connected (as it is not working anymore) and data cell/3G also (as I don't way to pay roaming or big bill). I tried enabling them without success.
Any other hints to make it work ?
A way to validate preferences.plist is correct ?
As I don't have telnet on iPhone, not possible to test ssh tunnel.
Thanks