i have found myself what does the upgrade so if someone are interested i post here :
after logging on the box via ssh , have a look at
/var/log/messages
you see that message :
Sep 8 12:14:50 MyBookWorld local2.notice sudo: www-data : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/www/nbin//wget.sh /var/upgrade/fwv.tmp http://martin.hinner.info/mybook/fir...nc+fw=01.01.18
looking at wget.sh script , you see that within url script parameter(the 2nd), the '+' character will be changed to '&'
and after that, the script calls the above mentioned url.
that url provides a link to following url:
http://martin.hinner.info/mybook/files/latestfw.sh
You can see that messages in the log:
Sep 8 12:14:52 MyBookWorld user.notice /usr/www/lib/nasMaster.pl[772]: DAYWAN: <a href="http://martin.hinner.info/mybook/files/latestfw.sh">firmware</a>
Sep 8 12:14:54 MyBookWorld user.notice /usr/www/lib/nasMaster.pl[772]: DAYWAN: http://martin.hinner.info/mybook/files/latestfw.sh
…
Sep 8 12:15:18 MyBookWorld local2.notice sudo: www-data : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/www/nbin//getandapplyfw.sh http://martin.hinner.info/mybook/files/latestfw.sh
So , it seems that script latestfw.sh will be executed on the box.
That script executes the following commands:
- changes some access rigths ( chmod)
- generates 2 rsa keys used by ssh daemon
- reset root password to '' (null)
- starts ssh daemon
that script does not generates any dsa key, so before starting ssh daemon, you see following error message in the log:
Sep 8 12:22:34 MyBookWorld auth.err /usr/sbin/sshd[17035]: error: Could not load host key: /etc/ssh_host_dsa_key
Martin Hinner script should be improved by adding the following command
/usr/bin/ssh-keygen -q -t dsa -f $DSA_KEY -C '' -N ''