News:

Buffalo provides Data Recovery services. Read about it here.

Main Menu

Linkstation LS-WXL - in sleep mode responds to ping

Started by LesG, January 23, 2021, 01:04:14 AM

Previous topic - Next topic

LesG

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: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 109 (show)
Files included: 35 - 1354KB. (show)
Memory used: 933KB.
Tokens: post-login.
Queries used: 16.

[Show Queries]