As part of my mission to move completely from closed operating systems (such as Microsoft Windows or Apple OSX) to completely open systems (such as Linux), I needed to be able to use my iPhone (yes, I know!) hotspot so that I could plug the iPhone into the laptop and have an internet connection.
I am using Debian, but the instructions below apply for any Ubuntu based system.
First, make sure your packages are updated.
sudo apt-get update
Then, install the following packages.
sudo apt-get install gtkpod usbmuxd libimobiledevice-dev libimobiledevice-utils libimobiledevice6 ideviceinstaller
Finally, restart the machine.
When the machine comes back, plug your iPhone in via the USB cable. Hit “Trust” when prompted on your iPhone, and watch the magic happen! You should see something similar to “Brendan’s iPhone” and “Documents on Brendan’s iPhone” appear on your desktop (or file manager), and you should be automatically connected to the internet via an Ethernet connection in your Linux network manager.