The great iPhone serial port hack

In Picture: How to hack a serial port into the iPhone dock connector

Jailbreak your iPhone and install Terminal, OpenSSH server and Minicom. Change the root password using the passwd command (assuming your iOS is a version in which passwd works) before enabling the SSH server. The default password is alpine, and it's commonly known, so you really need to change it.

Once installed, open up Terminal or SSH in, start Minicom and change the settings - same as you would on a linux box. The device is /dev/tty.iap, speed 9600 8N1, no hardware or software flow control. Remove all the device initialisation, dialling and hangup strings, and save the new configuration as something, preferrably Cisco. Save and exit.

Restart Minicom with your new config by typing 'minicom cisco' and you're done. SSH into it from a windows machine on-site or via an iPad and you're set. 3G iPhones with smashed screens are cheap, you can just leave one in your bag with the serial port, and you never have to worry about being locked out of a device.

6 of 7

Comments on this image

There are currently no comments for this image.

Post new comment

Users posting comments agree to the Computerworld comments policy.

Login or register to link comments to your user profile, or you may also post a comment without being logged in.

Comments on other images

  • Alena

    One should always look for a certain quality from airplane infant bedding sets. Plus, catching things early in the repair process reduces the chance that you will need to redo the repair, increasing the repair cost and the time before your property makes you money. Small animal beddings available include kiln dried pine, aspen, Care - Fresh, Yesterday's News, fleece, and more.