here's a quick hack. Run this detached from a privileged account, and
telnet to port 1234 will cause an immediate halt.
I actually did not run this from a system account; tested that I did get
a %SYSTEM-F-NOPRIV from a regular account.
Possibilities are endless; you might want to listen to private IPs only :)
EXE is at QCOCAL::REMOTE-SHUTDOWN-LISTENER.ZIP or
https://www.dropbox.com/s/kg1vs8zsf2jqn48/remote-shutdown-listener.zip?dl=0
:)
On 6/10/2018 18:20, Supratim Sanyal wrote:
On 6/10/2018 16:00, Mark J. Blair wrote:
> I'm not sure if the HECnet list is the best place to ask this, but hopefully
it's not too far off topic.
>
> Let's say that I want to run a full-time SIMH emulation of a VAX running VMS
(because I do). This would be my full-time DECnet presence on my local network, my primary
means of moving things between my DECnet-speaking computers and my modern machines, and my
full-time HECnet presence if I ever find a good way to have persistent internet access at
my rural home. The SIMH emulation would be hosted on a Linux server.
>
> It's easy enough to set up the host server to automatically launch a SIMH
emulation at boot time, but I don't know yet how to deal with automatically and
cleanly shutting down the emulation when the host server needs to shut down. In
particular, I'd want to somehow trigger an orderly VMS shutdown when the host server
needs to perform an unattended shutdown, such as when the UPS signals a power failure. If
there's a way to checkpoint the entire emulation and then restore it later, that might
also be a good option, as long as I can prevent corrupting the emulated system's
filesystems by suddenly yanking the virtual power plug.
>
> Is there any prior art for setting up an unattended SIMH-based VAX/VMS emulation like
this?
>
--
Sent via Thunderbird for Windows 10 on Lenovo Legion Y720