- Jul 4, 2007
Has anyone managed to get the tethering mod to work from their mac? What kind of mac?
Yeah, it seems that it was written for windows, and mac as an afterthought..I tried, seems to be a problem with the script running through terminal.
Working SSH Instructions by NerveGas
Previous instructions on the net have required the use of restore mode to set
binary permissions. Unfortunately, restore mode doesn't work with all public
versions of iPhoneInterface I've tried. The instructions below work by
overwriting an existing binary on the system with chmod, and then calling it
with the appropriate arguments to set permissions. The result is a fully
functional SSH setup. You can then proceed to uploading your own world builds,
or other programs to execute via commandline.
Step 1: Key Creation
On your Mac or PC, download dropbear from here:
Run: ./configure && make
You don't need to install the software, just run:
./dropbearkey -t rsa -f dropbear_rsa_host_key
./dropbearkey -t dss -f dropbear_dss_host_key
And copy the two new key files into your iPhoneInterface directory.
Step 2: Uploading dropbear and friends
Download the iphone-ssh kit and the iPhone binaries kit:
Rename sh6 from the kit to sh.
Use the jailbreak application to break out of jail, and then open
iPhoneInterface to connect.
Step 3: Overwriting 'update' with 'chmod'
While still connected to iPhoneInterface, make a backup copy of
Rename this to update.original on your local filesystem
Now copy the 'chmod' binary to 'update' and upload it back to the
Step 4: Overwriting the update configuration
Now the 'update' binary is really 'chmod', and has execute permissions! We
just need to tell the iPhone to chmod next time it boots. To do this, we
download /System/Library/LaunchDaemons/com.apple.update.plist and add our
own arguments to ProgramArguments:
Save the new plist and upload it back to the iPhone:
While we're here, lets also:
Step 5: Reboot the iPhone twice.
The first reboot should set the permissions on the dropbear and related
binaries. The second reboot should start dropbear, so you can ssh to it:
ssh -l root [IP ADDRESS]
The root password is 'dottie'.
Step 6: Replace the original update and com.apple.update.plist files
Don't forget to put the old update files back. Rename update.original back
to update, and delete the extra ProgramArguments you added to
com.apple.update.plist. Now put them back:
Step 7: Change the root password
If you don't like 'dottie', you can generate a new encrypted password
perl -e 'print crypt("MYPASSWORD", "XU");'
Where MYPASSWORD is the new password you want, and XU is a random two-letter
salt. Copy the encrypted output and replace the existing one in
/etc/master.passwd on the phone.
You're done! Enjoy!
http://forums.everythingicafe.com/threads/tethering-walkthru.6338/sorry but WTF is tethering?
Yes click enter after thatThanks for posting the link to your walkthru. I think I'm close but I had a question on this: 7. Change back to the phomedmg folder that you made in the step 1 walkthru.. you do this by typing cd and then dragging your phonedmg onto the terminal (it will automatically type the link for you)
Should there be an "enter" after typing the cd or append the phonedmg command to it? Thanks for your input. Seems much simpler than the geek squads'
MBP OS 10.4.10 iTunes 7.3.2 iPhone 1.01