My 2006 iMac with Core Duo 2GHz won't stay connected to wifi. It's soooo irritating, because I cannot go anywhere on the internet without it failing.
These kinds of issues are typically related to the router and not the hardware on the computer itself...I'd look at your router first.