Unreliable wireless

I’m having a lot of troubles recently with my wireless connection at home being unreliable. It might be related to the 21 access points I can see from my laptop, or perhaps my WRT54G is getting flakey in it’s old age. Anyone have any suggestions on how to debug whats happening? Here’s the big symptom… When it’s in the broken state, my laptop can’t find the access point for my ssid, and ends up picking another.