What you want to do is called "tethering"
What kind of phone do you have? Most newer Androids allow you to tether w.o. using a wire. Uses Bluetooth and you can "tether" up to 5 computers to...