I believe what you are trying to attempt is called USB Tethering... i.e. connecting your phone to a computer with a USB cable and attempting to share the phone's network connection.
I know there are some tools out there for this, and I even gave them a shot a fear years back... all I remember about the exercise that it was a complete and total failure... I was never able to share that connection.