个人工具

UbuntuHelp:Setting up your iphone

来自Ubuntu中文

Wikibot讨论 | 贡献2010年5月20日 (四) 00:11的版本 (以内容'{{From|https://help.ubuntu.com/community/setting%20up%20your%20iphone}} {{Languages|UbuntuHelp:setting%20up%20your%20iphone}} === Setting up the iPod or iPhone === <ol><li>…'创建新页面)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

Setting up the iPod or iPhone

  1. Make sure your iPod is jailbroken. QuickPwn works well for 2.x firmware, and a quick Google search will point you to directions (Unfortunately, you'll need to borrow a Windows or a Mac machine for the jailbreaking, but after that, it's Ubuntu all the way). In the process of jailbreaking, make sure to select the option that installs Cydia (Cydia is a front-end for the iPhone's apt port).
  2. On your newly jailbroken iPod, update Cydia and install OpenSSH through it.You may need to reboot your iPhone by holding down the power button after installing OpenSSH to start the SSH Daemon. PwnPlayer is also recommended by some users but you should note that it's not necessary as you'll still be able to play your music on the standard iPod application of your iPhone if you synchronize with this method.

Transferring Music

  1. In Ubuntu, select Places>Connect to Server. In the dropdown box labeled "Service type," select "SSH". In the "Server" field, input your iPod's ip address (this can be found on your iPod by going to Settings>Wi-Fi>arrow-next-to-SSID-of-network-you're-connected-to). Finally, under username, enter "mobile". Leave other fields blank. Click connect. (In Kubuntu, first install the 'SSH' and 'OpenSSH' packages. Then enter the following in Konqueror: sftp://root@[IP address]/var/mobile/media/music/ to get to your Music folder. Or, for videos, enter, sftp://root@[IP address]/var/media/. Your folder's contents will appear in Konqueror, and then just drag-and-drop as below.)
  2. When it asks for a password, enter "alpine" (this can--and should--be changed, see below).
  3. You should now have your iPod mounted on your desktop, and can transfer music onto it. The default location for PwnPlayer's filesystem music player is /var/mobile/Media/Music. Simply copy and paste music into this directory.

Playing Music with standard iPod application

  1. To see new Tracks you transferred to the iPod, you need to fully quit and restart the Music Application. One Click on the Home Button only "minimizes" it, pressing the Home button 5 secs should work. I use SBSettings and the "Processes" Switch. Works fine. Restarting the iPod by pressing the "On/Off" Switch for 5 secs works, too.
  2. Enjoy!

Optional: Playing Music with PwnPlayer

  1. On your iPod, open PwnPlayer (select the icon labeled "Player").
  2. Select "File system" from the choices on the bottom of the screen ("Library" does not contain your music).
  3. You should see all your music
  4. Enjoy!

Tips, Tricks, Troubleshooting, etc

  • The standard iPod music player is able to display album art embedded in ID3 tags OR organized as iTunes does it (in separate folders somewhere in your iTunes library location). If you have previusly synchronized your music with iTunes, the album art IS NOT embedded in the ID3 tags of your files. Adding music through amarok or gtkpod will switch the album art display mode of your iPod to displaying only embedded album art, so you'll probably lose most of the album art added through iTunes. The only workaround I found is to copy your iPod music to your computer with amarok, then use EasyTag to embed the album art to the ID3 tags and then sync back to the ipod (it can be very time consuming).
  • You can change your password in your iPod by logging in from the terminal. Type "ssh mobile@<ipod's_ip_address>", login, and type passwd to change the password.
  • There is also a root user on your iPod, and it is advisable to change that password as well. Follow the directions above, but use "ssh root@<ipod's_ip_address>" in the terminal.
  • You can also transfer music from the terminal using scp, but I'm sure you already know how to do that ; )
  • You can change the location of the music in PwnPlayer by going to "Featured" and selecting "Settings" in the top left hand corner.
  • I've only tried PwnPlayer with mp3's. I do not know if it works with other music files.
  • Lastly, given that PwnPlayer is basically a file browser, it's much easier to find the song you want if your music's file structure is organized. I recommend you organize your Music folder on your computer using Amarok before transferring any music.

Finally, note that PwnPlayer is still beta, so it might have a few bugs.