check if your device was recognized correctly
$ dmesg | grep ipheth
[62051.385352] ipheth 1-5:4.2: Apple iPhone USB Ethernet device attached
[62051.385437] usbcore: registered new interface driver ipheth
create mounting point and make it writable (optional)
$ sudo mkdir /media/iphone
$ sudo chmod +777 /media/iphone
install dependencies
sudo apt-get update
sudo apt-get -y install ideviceinstaller libimobiledevice6 libimobiledevice-utils ifuse
edit /etc/fuse.conf
and paste the following lines below # Allow non-root users to specify the allow_other or allow_root mount options.
# Allow non-root users to specify the allow_other or allow_root mount options.
op$
user_allow_other
pair the iphone
$ idevicepair pair
mount the filesystem
$ ifuse /media/iphone
at this point you may mount the root filesystem if your phone is jailbroken
$ ifuse /media/iPhone/ --root
unmount the filesystem and unpair the phone
$ fusermount -u /media/iphone/
$ idevicepair unpair
if you get an error like the one below when mounting the filesystem
$ ifuse /media/iphone
GnuTLS error: Error in the pull function.
Failed to connect to lockdownd service on the device.
Try again. If it still fails try rebooting your device.
you should use Marti Salbaba's PPA for libimobile6
to avoid issues with GnuTLS:
sudo add-apt-repository ppa:martin-salbaba/ppa+libimobiledevice
sudo apt-get update
sudo apt-get -y install libimobiledevice6 libimobiledevice-utils