What is the motherboard model?
PC2-5300 is ddr2 667. It likely won't work. But you can check the memory support list to be sure. It's not a complete list, but if other ddr2 667 RAM is supported, it will work.
I'm guessing ddr2 800 is the slowest that will work.