First step is to see if just swapping power supplies fixes the issue. Assuming the power supplies for the WRT54G2 and WRT54GL are the same voltage (12V, 1A)?