NAS542 bootloop after Debian/OMV (get a new firmware) (solved)
Comments
-
At the end of its process, before i can give him a new IP this happens and loops:Please press Enter to activate this console.
BusyBox v1.19.4 (2018-05-22 01:23:15 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ # cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is empty
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is empty
2000/01/21 00:38:19 [ipnotify] : rth->rta_type = 1, IFA_ADDRESS=1, IFA_LOCAL=2
2000/01/21 00:38:19 [ipnotify] : detect a new IP and execute /sbin/ipnotify_exec.sh
[ipnotify_exec.sh]: ******** detect egiga0 new IP********
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is empty
[21/Jan/2000:00:38:20] [network_common.py.pre](parsing_and_update)(201): the interface egiga0 is down or unusable
[21/Jan/2000:00:38:20] [network_common.py.pre](check_link_status)(275): the interface bond0 is down or unusable
[21/Jan/2000:00:38:20] [network_common.py.pre](check_link_status)(275): the interface bond1 is down or unusable
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
killall: httpd: no process killed
killall: httpd: no process killed
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is empty
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is empty
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is empty
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is empty
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is empty
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directoryAhhh, can give him new ip but then the next loop:ifconfig egiga0 192.168.178.53 netmask 255.255.255.0
2000/01/21 00:41:24 [ipnotify] : rth->rta_type = 1, IFA_ADDRESS=1, IFA_LOCAL=2
2000/01/21 00:41:24 [ipnotify] : detect a delete IP and execute /sbin/ipnotify_exec.sh
2000/01/21 00:41:24 [ipnotify] : rth->rta_type = 1, IFA_ADDRESS=1, IFA_LOCAL=2
2000/01/21 00:41:24 [ipnotify] : detect a new IP and execute /sbin/ipnotify_exec.sh
/ # [ipnotify_exec.sh]: ******** detect egiga0 delete IP********
[ipnotify_exec.sh]: ******** detect egiga0 new IP********
[21/Jan/2000:00:41:25] [network_common.py.pre](parsing_and_update)(201): the interface egiga0 is down or unusable
[21/Jan/2000:00:41:25] [network_common.py.pre](parsing_and_update)(201): the interface egiga0 is down or unusable
[21/Jan/2000:00:41:25] [network_common.py.pre](check_link_status)(275): the interface bond0 is down or unusable
[21/Jan/2000:00:41:25] [network_common.py.pre](check_link_status)(275): the interface bond1 is down or unusable
[21/Jan/2000:00:41:25] [network_common.py.pre](check_link_status)(275): the interface bond0 is down or unusable
[21/Jan/2000:00:41:25] [network_common.py.pre](check_link_status)(275): the interface bond1 is down or unusable
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
killall: httpd: no process killed
killall: httpd: no process killed
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is empty
cp: can't stat '/etc/zyxel/cert/default.cer': No such file or directory
cp: can't stat '/etc/zyxel/cert/key/default_key.cer': No such file or directory
Syntax error on line 62 of /etc/service_conf/httpd_zld.conf:
SSLCertificateFile: file '/etc/service_conf/CA.cer' does not exist or is emptyAnd no access to the webinterface (no page was found).But can make inputs, disrupted with new lines of errors. Searched for other scripts in that folder....why is there a "open_back_door.sh"? Sounds not very confidence-inspiring.
0 -
Hm. Disturbing. That might be an incompatibility between the scripts in the initramfs in the kernel, and the webinterface binaries&scripts in flash.You should be able to login anyway. This messages are send to stderr, while logging in is done on stdin and stdout. Depending on the speed of the loop you have to login almost blind. (Remember, the password is 1234 now), and then you can paste the ifconfig command.If that doesn't work, try the 'telnet' usb_key_func.sh key.0
-
Can give him the ifconfig (edited last post before i saw your new one), but the webinterface still doesn't work.What exactly do you mean with try 'telnet'usb_key_func.sh? Boot from it or give it to the running system?Plugged it in without reset, gives me:[ 1429.967624] sd 4:0:0:0: [sda] 31260672 512-byte logical blocks: (16.0 GB/14.9 GiB)
[ 1429.977127] sd 4:0:0:0: [sda] Write Protect is off
[ 1429.983848] sd 4:0:0:0: [sda] No Caching mode page found
[ 1429.989176] sd 4:0:0:0: [sda] Assuming drive cache: write through
[ 1430.002111] sd 4:0:0:0: [sda] No Caching mode page found
[ 1430.007459] sd 4:0:0:0: [sda] Assuming drive cache: write through
[ 1430.035809] sda:
[ 1430.043080] sd 4:0:0:0: [sda] No Caching mode page found
[ 1430.048434] sd 4:0:0:0: [sda] Assuming drive cache: write through
[ 1430.054579] sd 4:0:0:0: [sda] Attached SCSI removable disk
hotplug599add:[/block/sda][sda]Mass Storage device
hotplug_add_storage.sh:devsdx=/dev/sda
hotplug_add_storage.sh: get Legal disk node /dev/sda
[ 1431.805498] FAT-fs (sda): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!And then the loop goes on. Tried to open usb-stick to run the script but he can't "cd" to it.Edit1: So i restarted the NAS with the USB-Stick inside, when i do nothing a kernel panic appears. When i do the tftp process it stops shortly after STAGE2 mentioning telnetd: invalid option -- "l".*** Stage 2: Prepare the root file system ***
mknod: /dev/gpio: File exists
Initialize fan control
Wrote to 0x90470058: 0x05000000
Wrote to 0x90458000: 0x80000001
Wrote to 0x90458028: 0x80001388
Mount system partition...
crw-rw---- 1 root root 10, 58 Jul 12 2012 /dev/ubi_ctrl
sda
checking sda
Trying to mount /dev/sda
[ 8.753625] FAT-fs (sda): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
cp: '/mnt/partnerkey/usb_key_func.sh' and '/mnt/partnerkey/usb_key_func.sh' are the same file
md5 check ok
telnetd: invalid option -- 'l'
BusyBox v1.19.4 (2018-05-22 01:23:15 CST) multi-call binary.
Usage: telnetd [OPTIONS]
BusyBox v1.19.4 (2018-05-22 01:23:15 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
/ # [ 13.032701] PHY: comcerto-0:04 - Link is Up - 1000/Full
[ 13.037969] pfe_eth_adjust_link: PHY: comcerto-0:04, phy->link: 10 -
Can give him the ifconfig (edited last post before i saw your new one), but the webinterface still doesn't work.
Right. So I think we should feed him another kernel, one which fits with the webinterface. Can you find out which dates show up with
<p></p><p>ls -l /usr/bin</p>
0 -
Started without the ' usb_key_func.sh key', here is the output to "ls -l /usb/bin".ls -l /usr/bin
-rw-r--r-- 1 root root 1176 Oct 26 2016 BackupPlanner_def.sh
-rwxr-xr-x 1 root root 6412 Oct 26 2016 CancelZydarJob
-rwxr-xr-x 1 root root 6412 Oct 26 2016 CancelZysyncJob
-rwxr-xr-x 1 root root 3284 Oct 26 2016 GMT2Local
-rwxr-xr-x 1 root root 3276 Oct 26 2016 Local2GMT
-rwxr-xr-x 1 root root 85 Oct 26 2016 PaperOk.sh
-rwxr-xr-x 1 root root 86 Oct 26 2016 PaperOut.sh
-rwxr-xr-x 1 root root 21132 Oct 26 2016 RestoreListJob
-rwxr-xr-x 1 root root 22660 Oct 26 2016 RestoreTargetJob
-rwxr-xr-x 1 root root 6812 Oct 26 2016 ScheduleManager
-rwsr-xr-x 1 root root 11076 Oct 26 2016 applyservice.suid
-rwxr-xr-x 1 root root 845384 Oct 26 2016 bk_perl
-rwxr-xr-x 1 root root 6772 Oct 26 2016 cancel
-rwsrwxrwx 1 root root 40204 Oct 26 2016 chown-nobody
-rwxr-xr-x 1 root root 504 Oct 26 2016 conv.pl
-rwxr-xr-x 1 root root 1019 Oct 26 2016 conv2utf8.sh
-rwxr-xr-x 1 root root 2920 Oct 26 2016 cups-config
-rwxr-xr-x 1 root root 118404 Oct 26 2016 curl
-rwxr-xr-x 1 root root 532 Oct 26 2016 delete_unused_semaphore.sh
-rwxr-xr-x 1 root root 16756 Oct 26 2016 fadc
-rwxr-xr-x 1 root root 17016 Oct 26 2016 fusermount
-rwxr-xr-x 1 root root 6015 Oct 26 2016 gen_zysync_sever_config.sh
-rwxr-xr-x 1 root root 999 Oct 26 2016 get_cert_type.sh
-rwxr-xr-x 1 root root 1226 Oct 26 2016 get_req_info.sh
-rwxr-xr-x 1 root root 1346 Oct 26 2016 get_x509_info.sh
-rwxr-xr-x 1 root root 3664 Oct 26 2016 ipkg-cl
-rwxr-xr-x 1 root root 10320 Oct 26 2016 lp
-rwxr-xr-x 1 root root 7700 Oct 26 2016 lppasswd
-rwxr-xr-x 1 root root 8988 Oct 26 2016 lpq
-rwxr-xr-x 1 root root 7704 Oct 26 2016 lpr
-rwxr-xr-x 1 root root 6160 Oct 26 2016 lprm
-rwxr-xr-x 1 root root 16036 Oct 26 2016 lpstat
-rwxr-xr-x 1 root root 450340 Oct 26 2016 ntfsck
-rwxr-xr-x 1 root root 368432 Oct 26 2016 openssl
-rwxr-xr-x 1 root root 47996 Oct 26 2016 parted
lrwxrwxrwx 1 root root 7 Oct 26 2016 python -> python2
lrwxrwxrwx 1 root root 9 Oct 26 2016 python2 -> python2.7
-rwxr-xr-x 1 root root 3528 Oct 26 2016 python2.7
-rwxr-xr-x 1 root root 1037 Oct 26 2016 query.pl
-rwxr-xr-x 1 root root 25475 Oct 26 2016 re_startime
-rwxr-xr-x 1 root root 3296 Oct 26 2016 readRBM
-rwxr-xr-x 1 root root 4098 Oct 26 2016 recover_zysync_job.sh
-rwxr-xr-x 1 root root 528 Oct 26 2016 restart_scheduler.sh
-rwsr-xr-x 1 root root 30676 Oct 26 2016 schedule_controller
-rwxr-xr-x 1 root root 4196 Oct 26 2016 setsystz
-rwxr-xr-x 1 root root 22592 Oct 26 2016 smbpasswd
-rwxr-xr-x 1 root root 29696 Oct 26 2016 smbstatus
-rwxr-xr-x 1 root root 4200 Oct 26 2016 snap
-rwxr-xr-x 1 root root 1723 Oct 26 2016 start_stunnel_client.sh
-rwxr-xr-x 1 root root 1478 Oct 26 2016 start_stunnel_server.sh
-rwxr-xr-x 1 root root 1088 Oct 26 2016 start_zysync_server.sh
-rwxr-xr-x 1 root root 1725 Oct 26 2016 stop_stunnel_client.sh
-rwxr-xr-x 1 root root 1124 Oct 26 2016 stop_zysync_server.sh
-rwxr-xr-x 1 root root 110772 Oct 26 2016 stunnel
-rwxr-xr-x 1 root root 761 Oct 26 2016 syslog_cron.sh
-rwxr-xr-x 1 root root 3749 Oct 26 2016 syslogng_filemgmt.sh
-rwxr-xr-x 1 root root 662 Oct 26 2016 syslogng_full.sh
-rwxr-xr-x 1 root root 1220 Oct 26 2016 syslogng_gen_conf.sh
-rwxr-xr-x 1 root root 688 Oct 26 2016 syslogng_kill_servers.sh
-rwxr-xr-x 1 root root 3257 Oct 26 2016 syslogng_syn.sh
-rwxr-xr-x 1 root root 4520 Oct 26 2016 timer_source
-rwxr-xr-x 1 root root 7264 Oct 26 2016 ulockmgr_server
-rwxr-xr-x 1 root root 33369 Oct 26 2016 zdump
-rwxr-xr-x 1 root root 12524 Oct 26 2016 zyaccess
-rwxr-xr-x 1 root root 178980 Oct 26 2016 zydar
-rwsr-xr-x 1 root root 27292 Oct 26 2016 zydbcli
-rwsr-xr-x 1 root root 4148 Oct 26 2016 zysudo.suid
-rwxr-xr-x 1 root root 527676 Oct 26 2016 zysyncBut it's enough for me for today, have to get up early tomorrow.Thank you for all your help.
0 -
Not on the first try, there was a loop again, so i made another reset and the loop was broken, i set the IP and could login with admin. Now i have the control center
Going to the firmware update tool, it tells me not the actual version (it's empty), but it is saying i'm up to date. Should i do a manual firmware installation? I searched on Zyxel's webpage, but there is no Nas542 firmware. I think i can use the 540 V5.21(AATB.2)C0?
(only to be really really shure, don't want to break anything now)
Or should i try first the V5.21(AATB.1)C0 to get this on the first slot and have a complete system and make then the update to V5.21(AATB.2)C0 from within the running system? So there should be running firmware's on both slots.
Edit1: Tried both versions but get an error, which tells me that the firmware can't be downgraded, i have to choose a newer version.
0 -
You can downgrade if you first execute
echo 1 > /firmware/mnt/info/revision
0 -
That did the trick. Firmware upgraded to V5.21(AATB.1)C0, now i do a second upgrade online to V5.21(AATB.2)C0.That worked too, great, seems everything is working now, only the model name has changed from NAS542 to NAS540. Found on your FTP a folder for NAS542 with 520ABAG1C0.bin inside. Is that the original firmware for a NAS542?Mijzelf, i don't know how i can thank you for all that support, i wouldn't be able to get it to work again on my own. Thanks alot and all the other work you have done on the german forum before.
0 -
thank you for all that support
You're welcome.
the model name has changed from NAS542 to NAS540. Found on your FTP a folder for NAS542 with 520ABAG1C0.bin inside. Is that the original firmware for a NAS542?Ah, yes. ABAG is 542, and AATB is 540. Normally a ZyXEL checks for the right version, and refuses to install if it isn't right. That is done on base of a hardware tag in uboot environment. Maybe it doesn't work with barebox?It doesn't really matter, the 540 and 542 are identical.
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight