tether from unjailbroke iphone on 4.0+ to ipad directly
got this app to tether directly to an ipad without another PC to start adhoc.. very messy, here's how:
initial (one time) setup:
1)on the ipad you'll need to install from cydia: lighttpd, mywi, sbsettings, and the lighttpd sbsettings toggle.
2)on the ipad you'll need to ensure 2 directories exist (create them if they don't) : /var/log/lighttpd and /var/www . (either ssh in and do it, or install netatalk as I did)
3)on the ipad create a file in /var/www titled "socks.pac" containing the following 3 lines:
function FindProxyForURL(url, host) {
return "SOCKS 13.37.13.37:1337";
}
4)reboot the ipad and check sbsettings to ensure the toggle for lighttpd is green
5)on the iPad start MyWi, pick a SSID for the ad-hoc network and turn MyWI on.
6)on the iPhone, go into Settings, general, network, wifi, and pick the SSID you created. then click the blue arrow to go into advanced settings. choose "STATIC" for IP Address, and put "13.37.13.37" for IP and "255.255.255.0" for Subnet Mask. (back out of the settings and go back in to ensure those inputs saved!)
7)on the iPad, turn MyWi off and shut the app. go into settings, wifi, and pick the SSID you created (which is being sustained now by the iPhone). Take the blue arrow for advanced settings, choose "STATIC" for IP Address, and put "13.37.13.69" for IP and "255.255.255.0" for Subnet Mask. Also put HTTP Proxy to Auto and for the URL input "http://localhost/socks.pac". (back out of the settings and go back in to ensure those inputs saved!)
8)open HandyLight on the iPhone, hit "blue - yellow - red - tap upper right hand corner" to start tethering (handylight screen will go purple if you keyed in the correct sequence of colors and corner tapping)
Now ensure it works by using web browser on the iPad! (if not try to reboot the iphone, reconnect it to the ad-hoc network and restart handy light.. i had to do that the first time I got setup to this point, i'm thinking it was an ARP issue after the iPad changed from the self-assigned IP to the 13.x.x.x)
To start it up again in the future:
1) Open MyWI on the Ipad and start the AdHoc network
2) connect the iphone to this network in settings
3) shut off and close MyWI on the Ipad
4) connect the ipad to this network in settings
5) open HandyLight on the iPhone, hit "blue - yellow - red - tap upper right hand corner" to start tethering!
Regards,
Katmeef