I thought a hub takes in the connection and splits them by the number of ports on that hub. So a 100Mbs connection would be split by 4 if you have a 4 port hub.
i heard a switch does not split the connection speeds. I think that may be the probleM???
If you only have two comps and one cable modem, then a router would have been your best choice.