For some reason, I haven’t been able to access wireless router consistently. My password seems not to be right. But how to create/change it if you can’t log in? This assumes a WRT54G with the dd-wrt firmware.
Assuming you’re on some system that supports openssl (I did this on FreeBSD), you can just make a new one:
[/usr/home/paul]# openssl passwd
Password: ********
Verifying – Password: ********
#########
Assuming you’re not totally locked out (you did set up ssh, didn’t you?), you can then write your changes to the router’s nvram and it should work for you with the new password.
nvram set http_passwd = #########
nvram commit
If anyone can offer advice on other ways to do this, please leave them in comments.