Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting iPhone via USB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 120
Location: Budapest, Hungary

PostPosted: Thu Jul 23, 2009 6:54 am    Post subject: Mounting iPhone via USB Reply with quote

Hi,

I am trying to mount my iPhone under Gentoo using the following howto:
http://blog.zoomeren.nl/2009/03/24/mount-iphone-in-linux-using-usb-ifuse-libiphone/

I have the following package versions:
sys-fs/fuse-2.7.4
app-pda/libiphone-0.9.1


I used this command to mount:
mount.fuse.ifuse -afc2 none /mnt/iPhone/ -s

Here is the response:
Code:
AES-128 test encryption failed.
GNUTLS ERROR: Resource temporarily unavailable, try again.
Something went in lockdown handshake.


I am trying this as root - I suppose it should work this way. Any ideas?
_________________
format c:
emerge system
Back to top
View user's profile Send private message
iamwill
n00b
n00b


Joined: 31 Dec 2007
Posts: 48

PostPosted: Wed Mar 10, 2010 9:57 pm    Post subject: Reply with quote

http://www.geekbin.net/main/2010/01/iphone-3-1-2-synced-in-linux-full-gentoo/

I know it is a bit late, but this will do it... I am working on getting the iPhone to automatically show up in amarok when you plug it in, but I am still having trouble with that. (it worked once, but after a reboot, it doesn't work anymore. As far as I can tell, everything still functions via gtkpod, but not amarok.)
Back to top
View user's profile Send private message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 120
Location: Budapest, Hungary

PostPosted: Thu Mar 11, 2010 5:40 pm    Post subject: Reply with quote

No, not at all. I am still interested, just let it lay for a while. I can start testing this on tuesday the soonest, and will post the feedback. Thanks for the link!
_________________
format c:
emerge system
Back to top
View user's profile Send private message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 120
Location: Budapest, Hungary

PostPosted: Thu Mar 18, 2010 4:29 pm    Post subject: Reply with quote

Hm. I still have the same issue, though this looks like a good howto.
When I arrive to the mounting part, it fails with the same message...

ifuse /mnt/ipod/
Code:
AES-128 test encryption failed.
GNUTLS ERROR: A TLS packet with unexpected length was received.
Failed to connect to lockdownd service on the device.
Try again. If it still fails try rebooting your device.


But the device is recognized by udev:
lsusb -v
Code:
Bus 001 Device 009: ID 05ac:1292 Apple, Inc. iPhone 3G
Device Descriptor:                                   
  bLength                18                           
  bDescriptorType         1                           
  bcdUSB               2.00                           
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0                             
  bDeviceProtocol         0                             
  bMaxPacketSize0        64                             
  idVendor           0x05ac Apple, Inc.                 
  idProduct          0x1292 iPhone 3G                   
  bcdDevice            0.01                             
  iManufacturer           1 Apple Inc.                 
  iProduct                2 iPhone                     
  iSerial                 3 2f7cbe2f7b37628053abf1371e11fd51167ee3be
...


Something seems to be missing. Or maybe I will need a newer libgpod, because my iPhone runs the latest firmware (3.1.3), and the encryption key could be different... I will keep on trying.
_________________
format c:
emerge system
Back to top
View user's profile Send private message
quantz
n00b
n00b


Joined: 22 Aug 2010
Posts: 3

PostPosted: Sun Aug 22, 2010 1:10 pm    Post subject: Reply with quote

I have the same problem.
The result is the same both with 2.2.1 and with 3.1.2 firmware.
Is anybody else experiencing this?
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Sun Aug 22, 2010 4:29 pm    Post subject: Reply with quote

my little howto on the scandinavian forum its in swe but you see what to do to mount it .but if i used gtkpod to sync music with my iphone
it broked therefor virtualbox


sjyst det tar sig sa: pyrromanen. iphonen ar fullt i gang

for dem som kommer lasa om problem med iphone i linux kommer har hur jag fick till det :

mybox :gentoo , kde-4.4

det forsta jag fick gora var att insallera ifuse och comp....karnan:

<*> FUSE (Filesystem in Userspace) support
[*] Miscellaneous filesystems --->
<*> Apple Macintosh file system support (EXPERIMENTAL)
<*> Apple Extended HFS file system support
DOS/FAT/NT Filesystems --->
<*> MSDOS fs support
<*> VFAT (Windows-95) fs support
(437) Default codepage for FAT
(iso8859-1) Default iocharset for FAT
<*> NTFS file system support
[*] NTFS debugging support
[*] NTFS writ
for att mounta iphonen gjorde jag foljande :


mybox / # emerge -av ifuse
mybox / # mkdir /mnt/iPhone
mybox / # usbmuxd -U USERNAME -u
mybox / # ifuse /mnt/iPhone



installerade ipod manager och sag till att det fanns sync mojligheter (for min del funkade inte ipod manager .den gjorde
att min iphones sync med itunes brast och fick aterstalla min iphone)

darefter installerade jag virtualbox:

mybox / # emerge -av app-emulation/virtualbox-bin
mybox / # gpasswd -a root vboxusers
mybox / # modprobe vboxdrv
mybox / # echo 'modules="${modules} vboxdrv"' >> /etc/conf.d/modules

installerade xp,itunes och "have a nice day"
for de som far error 0xE 8000001
stang av xp och aktivera usb 2.0 i settings i virtualbox usb

det ar hur jag lyckades.....................................................lycka till


och for jalten som gjorde det omojliga till mojligt "KALLAMIG"

ett stort tack

good luck


Last edited by hedmo on Sun Aug 22, 2010 5:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
quantz
n00b
n00b


Joined: 22 Aug 2010
Posts: 3

PostPosted: Sun Aug 22, 2010 5:03 pm    Post subject: Reply with quote

Thank you for your reply, hedmo, but that doesn't work for me. I checked in the kernel, but my filesystem support settings seem correct.

usbmux seems to be working fine: if I run iproxy I can ssh to the iPhone over the USB cable with no problem at all.
But when I try
Code:
ifuse /media/iphone

I get this:
Code:
AES-128 test encryption failed.
GnuTLS error: A TLS packet with unexpected length was received.

AES-128 is checked in my kernel settings, so what's going on here?
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Sun Aug 22, 2010 5:19 pm    Post subject: Reply with quote

i had i miss in my howto

iPhone and iphone hope you did not drag n drop "sorry" for that

just hit

usbmuxd

and

ifuse "your place"
Back to top
View user's profile Send private message
quantz
n00b
n00b


Joined: 22 Aug 2010
Posts: 3

PostPosted: Mon Aug 23, 2010 9:18 am    Post subject: Reply with quote

It seems I got it working by reemerging gnutls and libgcrypt.
Back to top
View user's profile Send private message
monicajae
Guru
Guru


Joined: 03 Sep 2003
Posts: 363
Location: Dorset, VT

PostPosted: Wed Sep 26, 2012 9:07 pm    Post subject: Reply with quote

hedmo wrote:
my little howto on the scandinavian forum its in swe but you see what to do to mount it .but if i used gtkpod to sync music with my iphone
it broked therefor virtualbox


sjyst det tar sig sa: pyrromanen. iphonen ar fullt i gang

for dem som kommer lasa om problem med iphone i linux kommer har hur jag fick till det :

mybox :gentoo , kde-4.4

det forsta jag fick gora var att insallera ifuse och comp....karnan:

<*> FUSE (Filesystem in Userspace) support
[*] Miscellaneous filesystems --->
<*> Apple Macintosh file system support (EXPERIMENTAL)
<*> Apple Extended HFS file system support
DOS/FAT/NT Filesystems --->
<*> MSDOS fs support
<*> VFAT (Windows-95) fs support
(437) Default codepage for FAT
(iso8859-1) Default iocharset for FAT
<*> NTFS file system support
[*] NTFS debugging support
[*] NTFS writ
for att mounta iphonen gjorde jag foljande :


mybox / # emerge -av ifuse
mybox / # mkdir /mnt/iPhone
mybox / # usbmuxd -U USERNAME -u
mybox / # ifuse /mnt/iPhone



installerade ipod manager och sag till att det fanns sync mojligheter (for min del funkade inte ipod manager .den gjorde
att min iphones sync med itunes brast och fick aterstalla min iphone)

darefter installerade jag virtualbox:

mybox / # emerge -av app-emulation/virtualbox-bin
mybox / # gpasswd -a root vboxusers
mybox / # modprobe vboxdrv
mybox / # echo 'modules="${modules} vboxdrv"' >> /etc/conf.d/modules

installerade xp,itunes och "have a nice day"
for de som far error 0xE 8000001
stang av xp och aktivera usb 2.0 i settings i virtualbox usb

det ar hur jag lyckades.....................................................lycka till


och for jalten som gjorde det omojliga till mojligt "KALLAMIG"

ett stort tack

good luck




WOW WHAT??????????????????????????!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?????????????????????
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum