how to connect your iphone to wifi through computer?
Connect a Mac or PC with USB: Connect iPhone and your computer using USB. If you see an alert that says Trust this Computer?, tap Trust. In your computer's Network preferences, choose iPhone, then configure the network settings.