Forum
 
Go Back   D3scene > Mobile Phones > Apple > IPod > IPod hacks

Sync iPod Touch with Ubuntu 7.10

This is a discussion on Sync iPod Touch with Ubuntu 7.10 within the IPod hacks forum part of the IPod category; Amarok and gtkpod can wirelessly sync music with iPod Touch and iPhone, including adding, editing and playing songs and playlists. ...

Welcome on D3scene.com! Make sure to register - it's free and very quick! You have to register before you can post and participate in our discussions with 35000 other registered members. Downloads, user profiles and some forums can only be seen by registered members. After you create your free account you will be able to customize many options, you will have the full access to new hacks, latest cheats and last but not least will see no advertisements at all. We would love to see you around in our community!
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-21-2008, 04:33 PM
DoGgY's Avatar
Techno addict
 
Join Date: Jun 2007
Location: Canada, Québec
Posts: 1,514
Blog Entries: 2
Reputation: 839
Rep Power: 6
DoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to behold
Sync iPod Touch with Ubuntu 7.10

Amarok and gtkpod can wirelessly sync music with iPod Touch and iPhone, including adding, editing and playing songs and playlists.

This guide requires Ubuntu 7.10.

Warning: While this guide works fine for most users, making unsupported changes to your iPhone or iPod Touch is done at your own risk and could result in data loss and possibly void your warranty. Follow this guide with care

Set up the iPhone or iPod

From the iPod home screen:

1. Click Settings → General – Set Auto-lock to Never. This will ensure the iPod keeps the Wi-Fi connection open.
2. Click the Home Button → Settings → Wi-Fi – Select your WiFi network. Click the Static button and change the IP Address to an address outside the dynamically assigned range of your network. This will ensure your iPod is always contactable at the same address for syncing.
3. Open Installer
4. Click All Packages → OpenSSH → Install
5. Click All Packages → BSD Subsystem → Install

Set up Ubuntu

A third party source provides the ipod convenience package needed to properly mount and unmount an iPhone or iPod Touch, and for gtkpod users, a newer gtkpod that's required for the iPhone and iPod Touch.

1. Open up Synaptic Package Manager
2. Click Settings → Repositories → Third Party Software. Click Add and use this as the APT line: deb Index of /ipod-touch/ubuntu gutsy main
3. Close Settings and Click Reload
4. Find and install ipod-convenience.
5. Find and install gtkpod. When asked, enter the IP address of your iPod Touch or iPhone that you selected earlier

You should now be able to mount/unmount your iPod using the following commands in a terminal (Do not use Alt+F2):

Code:
$ ipod-touch-mount
$ ipod-touch-umount
When entering the above commands, you will be prompted to enter your iPod's root password. By default, dottie in firmware 1.0 and alpine in 1.1.x

Determine your GUID


iPod Touch users only, skip this step if you are using an iPhone.

The iPod Touch requires you to create a file that is used when generating the iTunesDB and ArtworkDB which store the information of which files are on the iPod. Plug in your iPod Touch to your Ubuntu computer and run this command in a terminal:
Code:
$ sudo lsusb -v | grep -i Serial
You will receive an output similar to this:

Code:
iSerial                 3 8089e2ce5193625c38813ec10fad4032ec839c02
iSerial                 1 0000:00:1d.7
iSerial                 1 0000:00:1d.2
iSerial                 1 0000:00:1d.1
iSerial                 1 0000:00:1d.0
Now what you are interested in is the first 16 characters of that really long string. This is the GUID. You'll now place a copy of the GUID in iPod Touch for syncing apps to use.

1. SSH into your iPod from a terminal:
Code:
$ ssh root@<Your iPod's IP Address>
2. Create the directory structure if necessary:
Code:
$ mkdir -p /var/root/Media/iTunes_Control/Device
3. Create the file for the GUID. Be sure to replace the 16 character string you found with the one after the 0x in this example.
Code:
$ echo "FirewireGuid: 0x8089e2ce5193625c" > /var/root/Media/iTunes_Control/Device/SysInfo
gtkpod


1.Open gtkpod: Click Applications → Sound and Video → gtkpod
2. If the “Add new iPod window” doesn't popup automatically: In the menu, click Edit → Edit Repository/iPod Options and click “Add new repository/iPod”
3. Determine your iPod Model string by selecting from the drop-down list or entering it manually into the box.
When you first open gtkpod you may receive some errors. Simply click OK to proceed.

Simply add music to the iPhone or iPod Touch like you would any other iPod and Save Changes when done.

Extras

Passwordless Access


In order for programs like Amarok to connect to your iPhone via SSH without asking for a password, you can set up key based logins. You can skip this step if you're happy typing your password each time.

1. Make a private and a public RSA key, if you don't have one already. Run the following command in Ubuntu, and when prompted, accept the default location, and don't enter any passphrase
Code:
$ ssh-keygen -t rsa
2. Copy your public key to the device (you will be asked for the iPod's root password again):
Code:
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@<Your iPod's IP Address>
3. SSH into your iPod from a terminal
Code:
$ ssh root@<Your iPod's IP Address>
4. Change your iPods password. This is important for security. You'll be logging in via your key anyway, but make it something you'll remember:
Code:
$ passwd
5. Edit /etc/sshd_config using nano (or other editor):
Code:
$ nano /etc/sshd_config
6. In your chosen editor, scroll down to the segment beginning with '#RSAAuthentication', and set it up as follows:
Code:
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
Remove any hashes (#) at the beginning of these three lines.

7. Hit Ctrl+X to exit, and save your changes.

8. At this point you should be finished. Reboot your device:
Code:
$ reboot
9. Rebooting will end your SSH session

You should now be able to SSH in to your iPod without being asked for a password.

If you're still asked for a password:

Check your local ~/.ssh/id_rsa.pub file and compare it with the ~/.ssh/authenticated_keys file on your iPod. Does any entry match? If not, try the ssh-copy-id command again. Alternatively, just copy the contents of your id_rsa.pub file and paste it on a line of its own in authenticated_keys. Entries must be one line only.
Did you properly input and save the changes to /etc/sshd_conf?
Did you reboot the iPod or iPhone after changing /etc/sshd_conf?
If you used a tool other than ssh-copy-id, check the permissions for your SSH files. If you type the following command, it should look like this:
Code:
$ ls -al ~/.ssh
total 4
drwxr-xr-x 2 root wheel 102 Nov 21 04:25 .
drwxr-xr-x 6 root wheel 306 Nov 20 00:02 ..
-rw-r--r-- 1 root wheel 395 Nov 20 03:01 authorized_keys
Guide found on: wiki
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
  #2  
Old 06-25-2008, 11:22 PM
hendricius's Avatar
Administrator

 
Join Date: Feb 2007
Location: Hamburg, Germany
Posts: 5,082
Blog Entries: 16
Reputation: 1124
Rep Power: 9
hendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud of
Thank you. Is it really that difficult on Ubuntu? Ubuntu is made to be easy .
Reply With Quote
  #3  
Old 06-25-2008, 11:24 PM
DoGgY's Avatar
Techno addict
 
Join Date: Jun 2007
Location: Canada, Québec
Posts: 1,514
Blog Entries: 2
Reputation: 839
Rep Power: 6
DoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to beholdDoGgY is a splendid one to behold
Quote:
Originally Posted by hendricius View Post
Thank you. Is it really that difficult on Ubuntu? Ubuntu is made to be easy .
Ubuntu for computer is easy .. but for an Ipod touch it's more complicated
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
Reply

Tags
ipod, linux, os, touch, ubuntu

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 On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Get More From Your iPod: 10 Interesting Hacks, Mods, and Tips GodOfWar IPod hacks 5 07-27-2008 09:14 PM
SIP-VoIP on Ipod TOUCH DoGgY IPod hacks 5 06-25-2008 11:31 PM
Live streaming TV for Ipod touch/ Iphone DoGgY IPod hacks 0 06-21-2008 03:07 PM
Bluetooth iPod Adapters DoGgY IPod 0 06-21-2008 02:49 PM
Ipod Touch Sources ( for jailbreaked ipod only ) DoGgY General Chat 4 05-04-2008 06:22 AM


All times are GMT +1. The time now is 12:36 AM.


vBulletin style developed by Transverse Styles
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.

»About D3scene »Navigation