Nowadays you can find wi-fi in more than half of the albergues. If they have no wi-fi, they usually have a computer with internet access. Nearly all small towns have libraries with free internet access. In bigger towns there is a free wi-fi zone on the main square (Pamplona, Burgos, Leon), and of course you can visit some restaurants and bars which offer free wi-fi.