post is mainly for people who just find out that cant remember the root password from OpenWRT operation system thats running on their Linksys WRT54GL.
what you need to do ?
configure your static IP address on your ehternet to 192.168.1.3 netmask 255.255.255.0 , we dont need a gateway and dns servers,
connect Linksys LAN port N1 to your machine,
restart Linksys, and wait till DMZ light will become green. after it push the EasyConnect button (or reset button it doesn’t meter)
now your Linksys openWRT is runing in file_safe mode, you can telnet to it via 192.168.1.1 ( for telnet i’m recomending to use PuTTY (just google for it))
when youre inside , type mount_root, system will remount JFFS from RO to RW.
now you can east type PASSWD and change root password.
hope this post helps you
i made same for one of my routers .. works perfect.