
| Sync Your iPhone Wirelessly in Linux | ||
| From: lifehacker.com read times: 97 | ||
Provided by yangyi at 2008-05-11 18:20:19 | ||
Note: I'm using Ubuntu Hardy Heron (8.04) to access an iPod Touch, but the software and steps should be much the same for other distributions and an iPhone. Set up your iPhone/iPod touchFirst things first, you'll need to jailbreak your Apple device. You can easily jailbreak any model using the Windows/Mac application ZiPhone. When your device is up and running again, head to Settings->General->Auto-Lock, and set to "Never" (to prevent the unit from disconnecting while performing longer file syncs; you can turn this on when not syncing to save battery life). ZiPhone automatically installs two third-party apps—BSD Subsystem and OpenSSH—that we'll need going foward; if you're using a non-ZiPhone-opened device, install those from the Installer.app link.
Prepare your Linux system If you're running Ubuntu Hardy Heron (8.04), you only have to install the ipod-convenience package in Synaptic or through a terminal line, and make sure that libgpod3 was installed by default. If you're running Gutsy (7.10), you'll need to add the following line to your repositories. Open Synaptic, head to Settings->Repositories, then the "Third-Party Software" tab, hit "Add," and paste in this line:
Hit "Reload" when prompted, then install the ipod-convenience package. While ipod-convenience is installing, you'll be asked for your iPhone/iPod's IP address and mount point. Enter the IP address you collected into the first field, and accept the default mount point in the second. Once that's done, we'll make the connection to our device.
Plug your iPhone or iPod touch into your computer with its USB cord. (You'll only need to do this once, to initiate your SSH access.) From a terminal, or from the Alt+F2 prompt, enter one of two commands:
for iPhones, or, for iPod touches:
Nothing will happen for a good 30-45 seconds or a little longer. When it's done connecting, it will prompt you for the password for "root@". Almost all firmwares use "alpine" as their password, but "dottie" should work in the others. You've now mounted your iPod touch or iPhone like any other filesystem, although you won't get very far digging through its files. Use iphone-umount or ipod-touch-umount to unmount it. Now your root password can be guessed by a quick Google of "Jailbreaking," but we'll tighten that soon. For now, let's connect and sync files from some Linux apps.
Trade Music and Podcasts with AmarokSetting up a connection between Amarok and your Apple wireless device is pretty straightforward. Make sure your device is unmounted, then head to Settings->Configure Amarok. Click the "Media Devices" button in the left-hand pane, then click the "Add Device" button. Choose "Apple iPod Device" for the plugin, give your device a name in the next field, then provide the same mount point as you previously used. When you arrive back at the "Media Devices" window, hit the (admittedly tiny) "Configure" button to the right of the plugin you just created. Enter your mount and unmount commands (iphone-mount/iphone-unmount, for example) in the two fields, then hit "OK." Back at the main window, select the "Devices" tab, click "iPod" and choose your model (don't worry about iPod touch's "Read only" label), then hit "Connect," and you'll be asked for that "alpine" password—twice (which we'll be fixing soon!).
...... Please access the below link to view the full content. Original link: http://lifehacker.com/388785/syn... |

You've got two quick things to do on your newly-jailbroken iPod touch/iPhone. First, head to "Settings" from the main menu. Connect to the same Wi-Fi point as your computer, then hit the little blue arrow next to it. You'll see your IP address in the top line; note this somewhere, and hit the "static" button to have your device always connect at that address.
Head back to the "Settings" menu, choose "General," then set "Auto-Lock" to "Never." This prevents the device from locking itself after a period of inactivity and losing its Wi-Fi connection, which would disrupt large file syncs.
If you're running Ubuntu Hardy Heron (8.04), you only have to install the
Hit "Reload" when prompted, then install the
Click the "Media Devices" button in the left-hand pane, then click the "Add Device" button. Choose "Apple iPod Device" for the plugin, give your device a name in the next field, then provide the same mount point as you previously used. When you arrive back at the "Media Devices" window, hit the (admittedly tiny) "Configure" button to the right of the plugin you just created. Enter your mount and unmount commands (iphone-mount/iphone-unmount, for example) in the two fields, then hit "OK." Back at the main window, select the "Devices" tab, click "iPod" and choose your model (don't worry about iPod touch's "Read only" label), then hit "Connect," and you'll be asked for that "alpine" password—twice (which we'll be fixing soon!).
Now you can stream music from your device, along with sending songs and podcasts back and forth, but Amarok's just an example. Rhythmbox, Exaile, Songbird, and any other music player that can mount a standard iPod should be able to access your iPhone or iPod touch now, provided you've mounted it using the two magic commands. With SSH credentials, you can sneak inside your device to grab notes, store files or just see what a tiny OS X computer's guts look like.