Is this a dial-up connection, or ADSL/Cable?
What "cable from my desktop" have you plugged into it?
Do you have a Wireless router - which one, and which ISP please.
Do you know if your router is set up as a DHCP server? (ie all the parameters are allocated by the router)
We can make assumptions about these - but better to be sure.