The way it needs to be set up is as follows (assuming you are using DSL or Cable):

INTERNET----->DSL/CABLE MODEM----->HUB----->WIRELESS ROUTER----->LAN