Good that it's working again. There's no obvious reason why it might be good one day, and slow the next. Congestion on the cable possibly, or a flaky ethernet connection.

The WRT54G series are good for up to 24-30mbits/sec for most purposes.

Cheers