Zyxel NSA 325 / Power on after power failure November 10, 2019 02:26AM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 10, 2019 04:51AM |
Admin Registered: 13 years ago Posts: 18,994 |
etherwake xx:xx:xx:xx:xx:xxwhere xx:xx:xx:xx:xx:xx is the MAC address of the NSA325.
Re: Zyxel NSA 325 / Power on after power failure November 10, 2019 06:30AM |
Registered: 9 years ago Posts: 50 |
Quote
Power On After Power Failure
Select an option to set whether or not the NSA restarts when the power is restored after a power failure.
Note: This feature is not supported on NSA310.
Keep Former
Status Select this option to have the NSA automatically restart only if it was operating when the
power failed. The NSA remains off if it was already off when the power failed.
AlwaysPower On
Select this option to keep the NSA operating as much of the time as possible. The NSA restarts automatically even if it was turned off when the power failed.
Always Power Off
Select this option to keep the NSA from automatically restarting when the power is
restored after a power failure. This is a computer’s “traditional” behavior. Select this if you
have other servers such as a domain controller or DNS server that you want to start or
check after a power failure before the NSA turns on.
Re: Zyxel NSA 325 / Power on after power failure November 10, 2019 06:43AM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 10, 2019 05:19PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Zyxel NSA 325 / Power on after power failure November 10, 2019 11:48PM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 11, 2019 03:56AM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Zyxel NSA 325 / Power on after power failure November 11, 2019 03:57AM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 11, 2019 04:08AM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Zyxel NSA 325 / Power on after power failure November 11, 2019 05:00AM |
Registered: 9 years ago Posts: 50 |
$ binwalk 481AALS1C0.bin DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 318 0x13E uImage header, header size: 64 bytes, header CRC: 0xF3523079, created: 2017-06-23 03:04:04, image size: 5796104 bytes, Data Address: 0x8000, Entry Point: 0x8000, data CRC: 0xDC64AECE, OS: Linux, CPU: ARM, image type: OS Kernel Image, compression type: none, image name: "Linux-2.6.31.8" 382 0x17E Linux kernel ARM boot executable zImage (little-endian) 13366 0x3436 gzip compressed data, maximum compression, from Unix, last modified: 2017-06-23 03:04:03 5796486 0x587286 gzip compressed data, maximum compression, from Unix, last modified: 2017-06-23 03:04:19 35091415 0x21773D7 EBML file 36932394 0x2338B2A MySQL ISAM compressed data file Version 11 40849173 0x26F4F15 Cisco IOS experimental microcode, for "" 50181426 0x2FDB532 Executable script, shebang: "/bin/sh" 50181973 0x2FDB755 Unix path: /usr/bin/ipkg-cl -f /etc/zyxel/zy-pkg.conf -t /usr/local/zy-pkgs/tmp list | egrep "(pkgName:)|(status:)" > ${INSTALLED_PKGS} 50183150 0x2FDBBEE Unix path: /usr/bin/ipkg-cl -f /etc/zyxel/zy-pkg.conf -t /usr/local/zy-pkgs/tmp -recursive remove ${pkgsInstalled} 50183493 0x2FDBD45 Unix path: /usr/bin/ipkg-cl -f /etc/zyxel/zy-pkg.conf -t /usr/local/zy-pkgs/tmp list | egrep "(pkgName:)|(status:)" 50183749 0x2FDBE45 Unix path: /usr/local/zy-pkgs/lib/libssl.* 50183839 0x2FDBE9F Executable script, shebang: "/bin/sh" 50183903 0x2FDBEDF Unix path: /etc/zyxel/storage/webdisk.db ]; then 50183956 0x2FDBF14 Unix path: /etc/zyxel/storage/webdisk.db 'update webdisk set upload_bandwidth=250'" > /dev/console 50184053 0x2FDBF75 Unix path: /etc/zyxel/storage/webdisk.db 'update webdisk set upload_bandwidth=250' 50184134 0x2FDBFC6 Unix path: /etc/zyxel/storage/webdisk.db .d > /dev/console 2>&1
Re: Zyxel NSA 325 / Power on after power failure November 11, 2019 02:49PM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 11, 2019 03:46PM |
Registered: 9 years ago Posts: 50 |
$ dd if=481AALS1C0.bin skip=318 count=5796168 bs=1 of=uimage.bin $ dd if=481AALS1C0.bin skip=5796486 count=44384940 bs=1 of=filesystem.bin
Re: Zyxel NSA 325 / Power on after power failure November 11, 2019 03:53PM |
Registered: 9 years ago Posts: 50 |
###### set auto power-on if [ -e /etc/zyxel/storage/pwron.status ]; then pwrmode=`cat /etc/zyxel/storage/pwron.status` zyshclient -p 150 -e "pwron ${pwrmode}" else zyshclient -p 150 -e "pwron former" fi
Re: Zyxel NSA 325 / Power on after power failure November 11, 2019 04:09PM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 11, 2019 05:30PM |
Admin Registered: 13 years ago Posts: 18,994 |
./zyshclient -p 150 -e "pwron former"
ldd zyshclient
Re: Zyxel NSA 325 / Power on after power failure November 12, 2019 12:58AM |
Registered: 9 years ago Posts: 50 |
$ file zyshclient zyshclient: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.6.16, stripped
Re: Zyxel NSA 325 / Power on after power failure November 12, 2019 04:34PM |
Registered: 9 years ago Posts: 50 |
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/etc/zyxel/storage/pwron.status\x00\x01\x02LIST;\x03\x0a\x00\x00\x00status: %s\x0a\x00\x04\x0a\x00\x00status: former\x0a\x00former\x00\x00Disable Auto Power-On Setting: %s\x00\x00\x00FAILED\x00\x00Modify Auto Power-On Setting: %s\x00\x00\x00\x00SUCCESS\x00always\x00\x00pwron_enable\x00\x00\x00\x00/sbin/i2cdetect -y 0 | grep 68\x00\x00r\x00\x00\x0068\x00\x00%s -y 0x0 0x0a 0x0a %s07 w\x00\x00/sbin/i2cset\x00\x00\x00\x000x01\x00\x00\x00\x00%s -y 0x0 0x50 0x7 %s b\x00%s(%d):%s\x00\x00\x00%s -y 0x0 0x0a 0x0b 0x07 b\x00\x00%s -y 0x0 0x0a 0x0b b\x00\x00\x00/sbin/i2cget\x00\x00\x00\x00%s -y 0x0 0x50 0x7 b\x00\x00\x00\x00%s(%d):failed\x00\x00\x00pwron_disable\x00\x00\x000x00
Re: Zyxel NSA 325 / Power on after power failure November 12, 2019 04:46PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Zyxel NSA 325 / Power on after power failure November 12, 2019 04:51PM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 12, 2019 07:10PM |
Admin Registered: 13 years ago Posts: 18,994 |
/usr/sbin/i2cset -y 0x0 0x0a 0x0a 0x0007 w
Re: Zyxel NSA 325 / Power on after power failure November 13, 2019 02:27PM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 13, 2019 02:41PM |
Registered: 9 years ago Posts: 50 |
0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- 0a -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
Re: Zyxel NSA 325 / Power on after power failure November 13, 2019 07:23PM |
Admin Registered: 13 years ago Posts: 18,994 |
-y 0x0 0x0a 0x0a 0x0007 w
Re: Zyxel NSA 325 / Power on after power failure November 14, 2019 12:21AM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 14, 2019 07:50PM |
Admin Registered: 13 years ago Posts: 18,994 |
[SOLVED] Zyxel NSA 325 / Power on after power failure November 15, 2019 02:35PM |
Registered: 9 years ago Posts: 50 |
# i2cset -y 0x0 0x50 0x7 0x01 b
# i2cget -y 0x0 0x50 0x7 b 0x00
# i2cget -y 0x0 0x50 0x7 b 0x01
;-- aav.0x001a4734: 0x001a4734 .string "sbin_i2cset" ; len=12 0x001a4740 andeq r0, r0, r0 ;-- aav.0x001a4744: 0x001a4744 .string "0x01" ; len=4 0x001a4748 andeq r0, r0, r0 ;-- "%s -y 0x0 0x50 0x7 %s b": 0x001a474c .string "s__y_0x0_0x50_0x7__s_b" ; len=23 0x001a4763 unaligned ;-- aav.0x001a4764:
Re: [SOLVED] Zyxel NSA 325 / Power on after power failure November 15, 2019 05:33PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: Zyxel NSA 325 / Power on after power failure November 15, 2019 06:21PM |
Registered: 6 years ago Posts: 183 |
Re: Zyxel NSA 325 / Power on after power failure November 16, 2019 03:26PM |
Registered: 9 years ago Posts: 50 |
Re: Zyxel NSA 325 / Power on after power failure November 16, 2019 05:33PM |
Admin Registered: 13 years ago Posts: 18,994 |