NAS542 bootloop after Debian/OMV (get a new firmware) (solved)
Comments
-
I have changed this bootargs in /env/config. There was this second line so i haven't changed it.Now i understand this injection and deleted the old stuff and have now only your bootargs lines in the config.Your first option works, but at the end the beeper gives a beep every second. (Log attached) Something is better now, cause no mtd7 or ubiattach errors.0
-
Have you checked if the webinterface is running? If yes, upgrade the firmware, and it might be repaired. If that works, upgrade the firmware twice (with a reboot in between) to have both 'slots' filled with valid data.
0 -
Unfortunately no interface. I tried with IP and "NAS542". With my NAS520 (yes i have another one) the appropriate IP works. Some of the last lines in the log tell "the interface None/bon0/bond1 is down or unusable", can i start the interface manually? At the end of the Log i have access to the filesystem. If i type help i get:Built-in commands:
------------------
. : [ [[ alias bg break cd chdir continue eval exec exit export
false fg hash help jobs kill let local printf pwd read readonly
return set shift source test times trap true type ulimit umask
unalias unset waitOn a later try the annoying beeper is quiet and i found here in the forum how to restart the webserver with:
</code><code>/etc/init.d/httpd.sh restart
But doesn't change anything. Output is:/ # /etc/init.d/httpd.sh restart
httpd[2380]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
httpd[2380]: [warn] RSA server certificate CommonName (CN) `NAS542' does NOT match server name!?
httpd[2380]: [error] mod_auth_zyxel: initialized.
httpd[2492]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd[2492]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
httpd[2492]: [warn] RSA server certificate CommonName (CN) `NAS542' does NOT match server name!?
httpd[2492]: [error] mod_auth_zyxel: initialized.
/ # httpd[2494]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
httpd[2494]: [warn] RSA server certificate CommonName (CN) `NAS542' does NOT match server name!?
httpd[2494]: [error] mod_auth_zyxel: initialized.
0 -
Would you mind posting a dmesg and ifconfig command output? (mask out the MAC address in the latter)
0 -
There are two IPs i get, the first is that from the "dhcp" command in the beginning. At this time there is no dmesg and ifconfig. After booting the uImage the NAS will be shown in my router as NAS542 with another IP. (it is on the same port, cause only one port is connected). Then i can do the dmesg and ifconfig./ # ifconfigHmmmm, shouldn't there be the IP4 adress i see on my router? At the moment it is 192.168.178.53
egiga0 Link encap:Ethernet HWaddr 00:ED:CD:EF:AA:CC
inet6 addr: fe80::2ed:cdff:feef:aacc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:79 errors:0 dropped:72 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4740 (4.6 KiB) TX bytes:468 (468.0
egiga1 Link encap:Ethernet HWaddr 00:2A:2B:2C:2D:2E
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 TX bytes:328 (328.0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1780 (1.7 KiB) TX bytes:1780 (1.7 KiB)
0 -
The IP which is assigned to barebox is dropped when the Linux kernel re-initializes the ethernet port. I think the port even has another MAC, as barebox dhcp has assigned a random MAC, and the firmware is supposed to assign the 'real' MAC, although it hasn't done so. So I suppose this are 2 new, random MACs. You can for now assign an IP manually:
ifconfig egiga0 <ip-address> netmask 255.255.255.0
0 -
I tought about that but then discarded this because my router told me the IP. How can the NAS not have it when the router tells me? (maybe an old entry?) Anyway, it works.Now i am on the webinterface but can't change the password, a window pops up which tells me i have to change it, i put in a new one and will then be redirected to the login screen again. The new password doesn't work. When i click on "don't show me this message again" i can login with 1234 without the popup. Then i click on settings (i think here would be the update tool) but there is only the possibility to change password, but when i do an error occurs and i think this is the reason why i see not more settings.There was another Thread here with that problem, i will search and try.Edit1: Have found that someone had problems with an antivirus tool, but i have none, all i have is uBlock origin but also when disabled, i can't change password. The second solution in another Thread was the factory reset, which i think i can ignore.Edit2: Tried to change it through serial with "passwd admin", i got a confirmation but doesn't work on the webinterface. Even when i restart the webinterface with "httpd.sh restart"Edit3: Because i saw some threads mentioning passwords longer than 15 characters or something with special characters, i use a really simple "Hallo4321" for the moment, just to let you know this is not the problem.Edit4: I saw in the manual that there are different desktops for admin and users. I have a user desktop although i'm logged in as admin. I have found a command with "cat" which shows me which user is in which group, unfortunately i can't post it here because i get a "you are blocked" notification from the forum software. Anyway the output of this command is:
admin:x:501:500:type&admin:/home/shares:/bin/sh
0 -
The webinterface uses the samba password, which has it's own hash table. You can try
smbpasswd admin
Two desktops? Do you know which firmware you are running?0 -
I'm using a single monitor here (Laptop), also tested to change password in webinterface with an android tablet before, same results.Changed password with "smbpasswd admin" and logged in with new password, but have again only the "user desktop".The firmware i can see only on the serial monitor, should be 520ABAG1b2. When i click in the webinterface on "about this NAS" nothing happens. (maybe restrictions to the user desktop?)./ # ifconfig egiga0 192.168.178.53 netmask 255.255.255.0
2000/01/20 15:35:14 [ipnotify] : rth->rta_type = 1, IFA_ADDRESS=1, IFA_LOCAL=2
2000/01/20 15:35:14 [ipnotify] : detect a new IP and execute /sbin/ipnotify_exec.sh
/ # [ipnotify_exec.sh]: ******** detect egiga0 new IP********
[20/Jan/2000:15:35:15] [network_common.py.pre](check_link_status)(275): the interface None is down or unusable
[20/Jan/2000:15:35:15] [network_common.py.pre](check_link_status)(275): the interface bond0 is down or unusable
[20/Jan/2000:15:35:15] [network_common.py.pre](check_link_status)(275): the interface bond1 is down or unusable
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/release-build/NAS542/520ABAG1b2/sysapps/web_framework/build/models/network_common.py.pre", line 248, in check_and_write_dns
File "/home/release-build/NAS542/520ABAG1b2/sysapps/web_framework/build/lib/config_api.py.pre", line 100, in modify_conf_value
TypeError: argument of type 'NoneType' is not iterable
httpd[2380]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
httpd[2380]: [warn] RSA server certificate CommonName (CN) `NAS542' does NOT match server name!?
httpd[2380]: [error] mod_auth_zyxel: initialized.
httpd[2686]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd[2686]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
httpd[2686]: [warn] RSA server certificate CommonName (CN) `NAS542' does NOT match server name!?
httpd[2686]: [error] mod_auth_zyxel: initialized.
httpd[2703]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
httpd[2703]: [warn] RSA server certificate CommonName (CN) `NAS542' does NOT match server name!?
httpd[2703]: [error] mod_auth_zyxel: initialized.Maybe i will be redirected to the wrong URL? If i search for the IP (192.168.178.53) it will give me "http://192.168.178.53/DYNAMIC_STRING/desktop,/" which is the "user desktop". Is there a possibility to switch the desktop by another URL? On my NAS520 it is "http://192.168.178.60/r51163,/desktop,/"
Or has it to do with authentication? When i change IP, there is an error: mod_auth_zyxel
ifconfig egiga0 192.168.178.53 netmask 255.255.255.0
2000/01/20 16:24:37 [ipnotify] : rth->rta_type = 1, IFA_ADDRESS=1, IFA_LOCAL=2
2000/01/20 16:24:37 [ipnotify] : detect a new IP and execute /sbin/ipnotify_exec.sh
/ # [ipnotify_exec.sh]: ******** detect egiga0 new IP********
[20/Jan/2000:16:24:38] [network_common.py.pre](check_link_status)(275): the interface None is down or unusable
[20/Jan/2000:16:24:38] [network_common.py.pre](check_link_status)(275): the interface bond0 is down or unusable
[20/Jan/2000:16:24:38] [network_common.py.pre](check_link_status)(275): the interface bond1 is down or unusable
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/release-build/NAS542/520ABAG1b2/sysapps/web_framework/build/models/network_common.py.pre", line 248, in check_and_write_dns
File "/home/release-build/NAS542/520ABAG1b2/sysapps/web_framework/build/lib/config_api.py.pre", line 100, in modify_conf_value
TypeError: argument of type 'NoneType' is not iterable
httpd[31997]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
httpd[31997]: [warn] RSA server certificate CommonName (CN) `NAS542' does NOT match server name!?
httpd[31997]: [error] mod_auth_zyxel: initialized.
httpd[32269]: [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd[32269]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
httpd[32269]: [warn] RSA server certificate CommonName (CN) `NAS542' does NOT match server name!?
httpd[32269]: [error] mod_auth_zyxel: initialized.
httpd[32271]: [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
httpd[32271]: [warn] RSA server certificate CommonName (CN) `NAS542' does NOT match server name!?
httpd[32271]: [error] mod_auth_zyxel: initialized.
0 -
Or has it to do with authentication? When i change IP, there is an error: mod_auth_zyxel
Yeah, possibly. You can try a factory reset:
/usr/local/btn/reset_and_reboot.sh<br>
How can the NAS not have it when the router tells me?The IP is assigned to a MAC address, until the lease is expired, or the DHCP client checks out, which doesn't happen. Meanwhile the NAS switched MAC, but the router doesn't know. And even if the NAS didn't change it's MAC, the bootloader doesn't tell it's IP to Linux, so Linux will simply drop all traffic to an IP which it doesn't know.
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