Our Smartphone Network: BlackBerryWindows MobileAndroidPalm Pre
iPhone Forums
EverythingiCafe iPhone cases, accessories iPhone Social iPhone Wallpapers iPhone forums iPhone blog iPhone accessory reviews iPhone news

Go Back   iPhone Forums > Desktop Software > Mac and iPhone




Reply
 
LinkBack Thread Tools Display Modes
Old 07-25-2007, 02:15 AM   #1 (permalink)
 
cdinca's Avatar
 
Join Date: Jul 2007
Posts: 435
Thanks: 4
Thanked 11 Times in 6 Posts
Default anyone do the tethering mod on a mac?

Has anyone managed to get the tethering mod to work from their mac? What kind of mac?
cdinca is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 07-25-2007, 08:24 AM   #2 (permalink)
 
Join Date: Jul 2007
Posts: 161
Thanks: 1
Thanked 2 Times in 2 Posts
Default

I tried, seems to be a problem with the script running through terminal.
chrissurra is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 07-25-2007, 10:29 PM   #3 (permalink)
 
Muncle's Avatar
 
Join Date: Jul 2007
Location: Texas
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Originally Posted by chrissurra View Post
I tried, seems to be a problem with the script running through terminal.
Yeah, it seems that it was written for windows, and mac as an afterthought..

but here is one tutorial that is supposed to be for mac. this is the tutorial used in the now famous video on youtube.

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:

http://matt.ucc.asn.au/dropbear/dropbear.html

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:

http://www.abigato.com/iphone-ssh-kit-vr1.tar.bz2
http://netkas.freeflux.net/blog/

Rename sh6 from the kit to sh.

Use the jailbreak application to break out of jail, and then open
iPhoneInterface to connect.

mkdir /etc/dropbear
cd /etc/dropbear
putfile dropbear_rsa_host_key
putfile dropbear_dss_host_key
cd /bin
putfile chmod
putfile sh
cd /usr/bin
putfile dropbear

Step 3: Overwriting 'update' with 'chmod'

While still connected to iPhoneInterface, make a backup copy of
/usr/sbin/update:

cd /usr/sbin
getfile update

Rename this to update.original on your local filesystem

Now copy the 'chmod' binary to 'update' and upload it back to the
iPhone:

cd /usr/sbin
putfile update


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:

0 /usr/sbin/update
1 555
2 /bin/chmod
3 /bin/sh
4 /usr/bin/dropbear

Save the new plist and upload it back to the iPhone:

cd /System/Library/LaunchDaemons
putfile com.apple.update.plist

While we're here, lets also:

putfile au.asn.ucc.matt.dropbear.plist

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:

cd /System/Library/LaunchDaemons
putfile com.apple.update.plist

cd /usr/sbin
putfile update

Step 7: Change the root password

If you don't like 'dottie', you can generate a new encrypted password
by running:

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!
-NerveGas
__________________
Sent From my Macbook
Muncle is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 07-25-2007, 11:10 PM   #4 (permalink)
 
tharmsen's Avatar
 
Join Date: Jul 2007
Posts: 965
Thanks: 2
Thanked 3 Times in 3 Posts
Default

Argh. How can Mac be an afterthought when the iPhone *is* a Mac?
__________________
www.FULL-AUTO.org
tharmsen is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 07-26-2007, 12:43 AM   #5 (permalink)
 
Muncle's Avatar
 
Join Date: Jul 2007
Location: Texas
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ha, i know... it would seem only natural for the mac people to be the first ones to find out the iPhone's potential....but I guess it's pretty cool that PC users are also helping out!
__________________
Sent From my Macbook
Muncle is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 08-02-2007, 12:13 PM   #6 (permalink)
 
akophone's Avatar
 
Join Date: Aug 2007
Posts: 318
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone figure out a simpler directions, aka "Tethering for Idiots On A Mac"?? Seems a little off the top for me, unfortunately.
akophone is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 08-02-2007, 03:10 PM   #7 (permalink)
 
Witness's Avatar
 
Join Date: Jun 2007
Location: Miami,Florida
Posts: 1,614
Thanks: 168
Thanked 48 Times in 45 Posts
Default

sorry but WTF is tethering?
Witness is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 08-02-2007, 07:25 PM   #8 (permalink)
 
Join Date: Jul 2007
Posts: 161
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Originally Posted by lj23witness View Post
sorry but WTF is tethering?

http://www.everythingiphone.com/foru...thru-7255.html
chrissurra is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 08-02-2007, 09:30 PM   #9 (permalink)
 
Join Date: Jul 2007
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Originally Posted by lj23witness View Post
sorry but WTF is tethering?
computer -->connect to Iphone connected to web
==> computer connect to web
el31415 is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Old 08-03-2007, 12:26 PM   #10 (permalink)
 
akophone's Avatar
 
Join Date: Aug 2007
Posts: 318
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks 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

Last edited by akophone; 08-03-2007 at 12:34 PM..
akophone is offline  
Digg this Post!Share on Facebook!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 08:10 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Integrated by BBpixel