Resetting root password on openWRT 22.05.3 / Turris Omnia

Hello everybody
I succeded at first on flashing the Turris Omnia and installing the OpenWRT 22.05.3.

mguiraud@poste-mg:~/Documents/SuiviProjets$ ssh root@
The authenticity of host ' (' can't be established.
ED25519 key fingerprint is SHA256:1Fsvb+SswBD3baIvBwE93tVmCgrOzguawBrJjjYyQmM.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '' (ED25519) to the list of known hosts.

BusyBox v1.36.1 (2024-03-22 22:09:42 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 OpenWrt 23.05.3, r23809-234f1a2efa
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.

While testing ansible, I made apparently a mistake and despite using my ssh key, the Omnia keeps on asking me for a root password. Sadly the default one don’t work.

So I figured out, I needed to get back to factory reset.
I did it with mode 2, 3, 4, 5 and 6 with no success. the Web ui as well as the ssh logging keeps asking for a password that I don’t know. ( certainly the hash of something ).

This is the firmware I first flashed :

  • openwrt-23.05.3-mvebu-cortexa9-cznic_turris-omnia-sysupgrade.img
    I also tried booting a usb key with :
  • omnia-medkit-latest.tar.gz

So now I’m kind of stuck here. Any clue on hos to reset completely and go back to some king of Turris OS ? or to reset openwrt password ?

1 Like

Could be you destroyed your uboot - How to flash a new u-boot on Turris Omnia - and then medkit. Be aware of the current issue with Turris OS 7 medkit - at the moment might be a good idea to start with 6.5.2


Thanks I found that my firmware was already updated and thus accessible with web UI.
Therefore no need to flash a new u-boot.
Thank you for you help.