a router allows you to share the internet connection without the main computer to be on...
i'd say do what the others say, get a wireless modem + router. save yourself the cabling and all! i have a separate modem and wireless router and its a bitch to have both hooked up and plugged in!