Geht auch nicht. Das hatte ich natürlich als erstes probiert, hab es nur vergessen zu zeigen.
Quoted:\Perl>perl wol.pl -i 192.168.0.40
Usage
wakeonlan [-h] [-v] [-i IP_address] [-p port] [-f file] [[hardware_address]
...]
Options
-h
this information
-v
dislpays the script version
-i ip_address
set the destination IP address
default: 255.255.255.255 (the limited broadcast address)
-p port
set the destination port
default: 9 (discard port)
-f file
uses file as a source of hardware addresses
See also
wakelan(1)
10 print "Hallo"
20 goto 10