Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

UVNC client, add send magic packet for WOL

Any features you would like to see in UltraVNC? Propose it here
Post Reply
Mathog

UVNC client, add send magic packet for WOL

Post by Mathog »

The UVNC client can connect to a remote machine if that machine
is already running the UVNC server. If the machine is not
powered on, tough luck. Unless they have wake on lan.

All of our client PCs have WOL configured, and they
can be made to boot by sending them a
magic packet. Currently I do this with a separate program.
It would be very convenient if the UVNC client had the
ability to send the magic packet directly. It would just require
a table of MAC addresses and a slight modification of the
connect menu, plus of course the code to send the magic
packets.

I know it's not exactly a VNC feature, but since I use UVNC
to control these machines, and to shut them down, it seems
reasonable that UVNC (client) should also be able to wake
them up.

Thanks,

David Mathog
cobratbq
8
8
Posts: 24
Joined: 2004-08-02 22:29

Post by cobratbq »

It's a good one, but isn't it so that magic packets aren't TCP or UDP?

So it'll be a problem because you would first have to be on the internal network before you could send the packet... (thus have to be controlling a PC).
So in many cases this isn't possible (or at least it isn't easy).
Zeljko
Posts: 1
Joined: 2004-05-15 10:03

Post by Zeljko »

cobratbq wrote:It's a good one, but isn't it so that magic packets aren't TCP or UDP?

So it'll be a problem because you would first have to be on the internal network before you could send the packet... (thus have to be controlling a PC).
So in many cases this isn't possible (or at least it isn't easy).
Do you know why I can't send wol packet when I connect to my network using Microsoft VPN RAS server or Kerio VPN client.
Is there strange protocol denyed by firewall?
Mathog

Post by Mathog »

cobratbq wrote:It's a good one, but isn't it so that magic packets aren't TCP or UDP?

So it'll be a problem because you would first have to be on the internal network before you could send the packet... (thus have to be controlling a PC).
So in many cases this isn't possible (or at least it isn't easy).
This is a good link for WOL information:

http://pages.towson.edu/aczech/magicpkt

There's are links to utilities to generate WOL, some of which are open source,
and so could presumably be folded into UltraVNC without too much effort.

As I understand it there is some trick for sending a TCP or UDP (not sure which)
packet to another network so that it is broadcast withint that subnet. If the
magic packet matches some machine in that subnet it will wake up. The problem is
that the routers usually have this function turned off because it can also be used
by hackers for mischief. Presumably it could be turned back on and restricted to
only accept that sort of packet from certain predesignated control machines.
Here is a description of the method:

http://www.depicus.com/wake-on-lan/what ... n-lan.aspx

Regards,

David Mathog
netwolf
40
40
Posts: 112
Joined: 2004-05-13 11:33

Post by netwolf »

Not related to UVNC, but still might be helpful:

http://dslreports.org/wakeup
(never actually tried it though)
Guest

Post by Guest »

cobratbq wrote:It's a good one, but isn't it so that magic packets aren't TCP or UDP?
Nope - WOL can be TCP or UDP, the magic is in the content of the packet not the type. Yes, WOL is typically done UDP but that is just because it is so trivial, no other cause.
Post Reply