Buffalo Forums

Products => Storage => Topic started by: LesG on January 23, 2021, 01:04:14 AM

Title: Linkstation LS-WXL - in sleep mode responds to ping
Post by: LesG on January 23, 2021, 01:04:14 AM
Hello,

I use my LS-WXL in a custom sleep mode, using WOL to wake it when I need it. My automated processes (backups etc) always send a magic packet and wait for 3 minutes... regardless of the Linkstation's actual state; asleep or awake.     

Is it possible to know when it is asleep? It responds to pings whether asleep or awake. Ditto arping. I'd like to have a way of interrogating the Linkstation's state.

No problem if not possible, just something I'd like to be able to do. Thanks.

Edit: No worries, I've found out how, using netcat...

nc -zw 1 <NAS_IP> 22                    # 22 is port

that returns 0 if the device is awake
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 45 (show)
Files included: 27 - 1055KB. (show)
Memory used: 737KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]