And that worked? You could use both computers on the net at the same time? Well, that's pretty surprising, both computers must have gotten IPs from the ISP.
Are you sure you had a plain hub, and not a router/hub?
The difference between hubs and switches is that a hub is like twisting all...