The instructions here are useful although the current packages in Arch and Debian repositories do not work with iOS 7 (Trust Loop Bug) but it is still a good starting point to understand how this works.
https://wiki.archlinux.org/index.php/IPhone_Tethering
In order to get iOS 7 support, we need to compile everything from master -- See the attached script for your distribution.
Start usbmuxd: usbmuxd
Create a mount point: mkdir /media/iphone
Mount the device: ifuse /media/iphone
(You can unmount using umount /media/iphone
)
You should now be able to view the contents of your iPhone.
At this point you should reboot so that modules and rules get loaded. After that, I gave up on ArchLinux due to issues getting actual network traffic to go across, so I can't speak for ArchLinux from herein. However I did have success on Raspbian. You should be able to simply plug in your iPhone and see a new interface come up and be able to ping the outside world. Enjoy!
hello,
while compiling on 2015-05-05-raspbian-wheezy it gives me a
/usr/bin/ld: usbmuxd-utils.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.4'
error...
to fix the compilation error change:
/home/pi/iphone_libs/usbmuxd/autogen.sh line 18
if [ -z "$NOCONFIGURE" ]; then
./configure "$@"
fi
to
if [ -z "$NOCONFIGURE" ]; then
LDFLAGS=-lrt ./configure "$@"
fi
not nice but it seems to work... :-)