Взгляните на сценарий ниже. Это сообщает относительно соединений печати, в настоящее время присваиваемых. Это должно дать, Вы достаточно для получения Вас запустили ре: Ваш собственный сценарий, я думал бы.
OPTION EXPLICIT
Dim oNetwork ' WScript.Network object
Dim colPrinters ' A collection of the users printer connections
Dim x ' The canonical scratch variable of doom!
On Error Resume Next
Set oNetwork = CreateObject("WScript.Network")
Set colPrinters = oNetwork.EnumPrinterConnections
' Iterate thru the collection of printers
for x = 1 to colPrinters.count Step 2
WScript.Echo "Printer: '" & colPrinters(x) & "' on port '" & colPrinters(x - 1) & "'"
next
set oNetwork = Nothing
set oShell = Nothing
Я вижу такие строки в моем файле журнала, которые, по крайней мере, указывают на отсутствие активности:
Aug 1 16:31:25 OpenWrt1 daemon.info hostapd: wlan0: STA f8:1e:00:00:00:00 IEEE 802.11: disassociated
Aug 1 16:31:26 OpenWrt1 daemon.info hostapd: wlan0: STA f8:1e:00:00:00:00 IEEE 802.11: deauthenticated due to inactivity
config wifi-device 'radio0'
option log_level '0'
... работает по крайней мере в стволе openwrt (на сегодняшний день).
Для проверки:
grep log /var/run/hostapd*conf