Question: how to connect computer to internet via iphone?
Answer: From the Home screen, tap Settings > Personal Hotspot. If you don't see Personal Hotspot, tap Carrier and you will see it.
Tap the switch next to Personal Hotspot to turn on.
Connect your device to the computer using the USB cable.
The device will automatically begin tethering after syncing is complete.