If you just want to network two Macs, just connect the two with a crossover cable; negating the need for a hub.
Also, in 10.2.x you don't need a router to share an internet connection. Just go to Sharing in System Preferences, click the internet tab, and click start to turn on internet...