Changing firmware without webbrowser

Oxnas 810 based
Loki
Posts: 14
Joined: Wed Oct 24, 2012 8:45 pm

Re: Changing firmware without webbrowser

Post by Loki » Mon Oct 29, 2012 7:33 pm

sh-4.1# mkdir /ffp/backup
sh-4.1# cp -a /ffp/etc/zyxel/* /ffp/backup/
sh-4.1# cd /ffp/etc/zyxel/
sh-4.1# pwd
/ffp/etc/zyxel
sh-4.1# rm -rf *
rm: cannot remove `zy-pkgs': Device or resource busy
sh-4.1# rm -rf *
rm: cannot remove `zy-pkgs': Device or resource busy
sh-4.1#


I try factory reset ( reset buton over 16-20 sec) and nothing

Mijzelf
Posts: 6198
Joined: Mon Jun 16, 2008 10:45 am

Re: Changing firmware without webbrowser

Post by Mijzelf » Mon Oct 29, 2012 7:54 pm

Did you have any packages installed in fw 4.40? That could be the problem. Those are EABI packages, and cannot run on the OABI kernel of 3.20. It's unpredictable what they will do, but they could just stall, and lock for instance the /ffp/etc/zyxel/zy-pkgs directory. This can also prevent a factory reset.

Maybe you can switch them off:

Code: Select all

mv /usr/local/zy-pkgs/etc /usr/local/zy-pkgs/etc.old
reboot

Loki
Posts: 14
Joined: Wed Oct 24, 2012 8:45 pm

Re: Changing firmware without webbrowser

Post by Loki » Mon Oct 29, 2012 7:57 pm

Yes i was installed: squeezbox, polkast and more don't remmeber


sh-4.1# mv /usr/local/zy-pkgs/etc /usr/local/zy-pkgs/etc.old
mv: cannot move `/usr/local/zy-pkgs/etc' to `/usr/local/zy-pkgs/etc.old': Read-only file system
sh-4.1#

Mijzelf
Posts: 6198
Joined: Mon Jun 16, 2008 10:45 am

Re: Changing firmware without webbrowser

Post by Mijzelf » Mon Oct 29, 2012 8:04 pm

/usr/local/zy-pkgs is a bindmount which is possibly not available in the FFP chroot. On my system the actual path is /i-data/md0/.system/zy-pkgs. I don't know about the 210, but you can try:

Code: Select all

mv /i-data/md0/.system/zy-pkgs/etc /i-data/md0/.system/zy-pkgs/etc.old
reboot

Loki
Posts: 14
Joined: Wed Oct 24, 2012 8:45 pm

Re: Changing firmware without webbrowser

Post by Loki » Mon Oct 29, 2012 8:13 pm

it's live :). Web page is stand up thank you very much. Shoul i do enything more??

Mijzelf
Posts: 6198
Joined: Mon Jun 16, 2008 10:45 am

Re: Changing firmware without webbrowser

Post by Mijzelf » Mon Oct 29, 2012 8:15 pm

Yes. Remove all packages, update the package list, and then you can install them again, if you want.

Loki
Posts: 14
Joined: Wed Oct 24, 2012 8:45 pm

Re: Changing firmware without webbrowser

Post by Loki » Mon Oct 29, 2012 8:17 pm

OK

Post Reply