Login from LAN in ssh root using putty : access denied

Hi all,
i am facing a new issue : not able to connect to openwrt using putty. It worked fine from a while !

I can connect via Luci.
I have check many possibilities and triyed with another linux system

ssh root@192.168.1.1 -p 122
root@192.168.1.1's password:
Permission denied, please try again.

![image|690x171](upload://3oexgrRrEVi7ZRKbumAsSFKBVq7.png)

Hostname	OpenWrt
Model	TP-Link TL-WDR4900 v1
Architecture	e500v2
Target Platform	
Firmware Version	LuCI openwrt-22.03 branch git-24.208.65546-18f3914
Kernel Version	5.10.146

Any Idea ?
Thanks in advance.
Arnaud

Why port 122 ?

it was because i used 2 openwrt before, i use to change my ports depending on IP .
Well, i have rebooted my router, and now, it is not accessible :frowning: !
Bad day..

inaccessible via ssh or completely ?

completely !
i think i have to go in falesafe mode ...

Which of these is correct?

You usually see this when that :point_down: option is unchecked.

image

2 Likes

1- I was able to connect using luci but not via SSH
2- after reboot,
3- openwrt is not accessible, no WiFi available, led system is flashing (works properly)

install luci-app-ttyd, and fix your config via browser ?

or is it too late now, since you've rebooted and it's now dead ?

Thanks for your help, yes, Too late

1-I got it in falsefase mode.


2-Mount_root is ok
3- reboot

Still dead !

1 Like

Step 2.5 - Run command firstboot

4 Likes

Step 4. when it's back, upgrade, you're running an unsupported version.

4 Likes

I am surprised, what do you mean by upgrade ? I did opkg_update recently.

your screen shot, 22.03.2 is outdated.

if you mean you updated the packages though opkg, then it was a bad idea:
https://openwrt.org/meta/infobox/upgrade_packages_warning

1 Like

I like it!

1 Like

got it !
Now all packages have been updated !

But when trying to upgrade to using
https://firmware-selector.openwrt.org/?version=24.10.0&target=mpc85xx%2Fp1010&id=tplink_tl-wdr4900-v1

i have an issue

i am going to find the reason now :wink:
https://oldwiki.archive.openwrt.org/doc/howto/generic.sysupgrade

Many Thanks to @frollic for your help !
Arnaud

warning message tells you what to do ... :wink:

Upgrading packages (via the CLI opkg upgrade command or the LuCI Upgrade... button) can result in major problems. It is generally highly discouraged, unless you know what you are doing or if there is specific instruction to do so.

1 Like

it is not clear for me, there are 2 informations that says to upgrade (sysupgrade -n) and the other one saying that the migration can not be done because of a check failed ?

i understood that opkg upgrade was not a good idea, but did not understood not using Luci.
How to simply upgrade packages ? also using sysupgrade ?
Tks.