Its a bit complicated.........
Is your DSL modem a Router aswell ,is it a Dsl router/modem ???
If it is not a router aswell then you CANNOT expect both pc and laptop to connect to web. Because it can only hook up to 1 item ,it cannot assign IP addresses.
If it is a router/modem then itcan hand out addresses and usually does by default ,its call DHCP ,so in both machines (laptop/pc) you would have to go into Network neighborhood ,under TCP/IP for your network card and have it setup for DHCP and DO NOT assign a IP Address.
And when each component hooks up to it, the router will assign an ip address automatically.and both will be able to see eachother and surf the net.
Now if your Modem is just a modem and the company assigned you a STATIC IP ,then you need to have the static IP in the computer you feel is most necassary to surf net under the tcp/ip setting for you network card.
Now to get the 2 computers to see and talk(without a router) ,leave the hub connected ,and disconnect modem for a sec ,now you would need to assign each computer an IP address PC 192.168.0.1 and laptop 192.168.0.2 ,in the tcp/ip netwok card setting in network settings in control panel..
Then you must enable file and printer sharing in both computers ,then right click on like the "C:" drive on each computer and select sharing ,and share at FULL access ,you may also do that with the printer on the pc right click and share ,then when the laptop goes to the pc you will see a printer then you can right click on that and select install ect.....
Very complicated ,let me know what you find out .
Bottom line if the modem doesnt have a router the both laptop and pc CANNOT surf net.
you would need to buy a router with like 2-4 ports and pop that in place of hub and set the 2 computers for DHCP and it should work fine ,and plug modem into appropriate port on router.