I am totally burned out. Here is my issue. I have build my own image with the packages and the modules I want.
After configuring the desired IP on the lan and the password for root I am trying to access the router via SSH and the authentication doesn't work at all. This is not blocked by a firewall because I am getting the authentication prompt.
When I am checking the shadow file, the password is hashed with blowfish $2y$13$, which doesn't happen with the default image loaded with the default packages.
So two questions:
Is there a way to change the hashing algorithm when configuring the password with passwd command?
Do I miss something in configuration when I build my own image?
I just removed root's password with "passwd -d root" coomand with serial access. Then I access the router with ssh without having a password and surpisingly I had access.
Then edit /etc/shadow file and manually paste the whole line refers to root credentials. Saved the file and restart dropbear. Boom, it works.
So to my opinion when you configure the password for root the hash is created with blowfish $2a$13$ the ssh access is gone. But when the has is created using MD5 then it works.
Not sure if this is a bug or I miss something on my .config file when I build the image. I just check the default image and the issue doesn't occur. So the weight leans to missing something but have no clue what to check.
At the moment I am building the image again using the default branch .config with my additional packages I need.
Any help to point me somewhere is highly appriciated.