OpenWrt Forum Archive

Topic: wrt54g, can't telnet or ssh after setting rootpassword

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I recently upgraded the firmware of my linksys to RC4. I've set de nvram setting no_boot_swap=1, as hinted in the README. After reflashing, the webadmin works. It asked me for a rootpassword, but i get an error. This was because the 2ffs partition wasn't created yet. I gave the command "firstboot", and I could set the password. Before this i have set the vram setting back. But after this (setting the root password), telnet didn't work anymore (which is normal), but ssh worked neither. SSH gave "connection refused". I rebooted the router. Then it seems that the 2ffs partition was gone again, en the story starts from the beginning. After uploading RC3 again, i still had the same problem, which is never had before.

Can anybody help me?

grtz. Daan

...in the hint it says something about run firstboot, if you have changed the no_boot_swap variable (or change it manually), maybe that is related...
to the problem with the password, if you start the router in failsafe, you should be able to telnet into it.
failsafe is described somewhere in the wiki

chris

Probably this is the same problem as described in ticket #97 in trac.

To fix it run:

mtd unlock linux; jffs2root --clean

EDIT: And PLEASE READ - Common mistakes thread.

(Last edited by olli_04 on 30 Nov 2005, 12:07)

The discussion might have continued from here.