Used to have a wireless router box (dlink) and it fried in a storm.

So, Money is short and thought I would take a wireless pci card and install it in one of my linux box and hopefully get internet access for my laptop. Besides, I would be learning something a bit more advanced than just running firestarter on box A
cable modem --- Linux Box A --- switch --- linux box B -----------wireless ---------laptop
Box A Functions as my router with NAT for all computers connecting to the switch including box B.
I put the wireless card in box B because of its relative location to my laptop for wireless. Good signal strength. However, Im a bit fuzzy on how to get box b to provide internet access for the laptop.
Stats:
Box A - Internal address 10.0.1.1
Box B - Internel Address 10.0.1.61
Box B Wireless Card Address - 10.0.1.200
Laptop - 10.0.1.40
I run both wireless cards in adhoc mode. Network access/WAN is fine on all boxes. Just need to setup for laptop.
At the moment I cannot ping or access anything from the laptop. I have assigned the ip on the laptop as static for simplicity's sake.
Any help would be greatful to get me going in the right direction. Thanks.
coffee