The average rate on a 30-year fixed mortgage increased to 6.65% from 6.50% the previous week.