8000 GitHub - cdpro/Wake-On-Lan-Python: A small Python script to allow the sending of a WOL Magic packet
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cdpro/Wake-On-Lan-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wake-On-Lan-Python

wol.py is A small Python 3 script to allow the sending of a WOL Magic packet so that LAN clients can be remotely switched on from another machine on the same subnet. Rather than needing to know the MAC address of the desired machine, the script allows you to specify by hostname, so long as that host is included in the configuration file.

For a quick and lazy way to create the configuration file, see http://www.bentasker.co.uk/documentation/linux/258-usurping-the-bthomehub-with-a-raspberry-pi-part-three-routing-remote-administration-and-utilities#WakeOnLan

Usage

wol.py [hostname]

or

wol.py list

Configuration File

The configuration file is just a basic INI file, containing one section per host;

[General]

broadcast=192.168.1.255

[MyPc]

mac=00:13:0d:e4:60:61

About

A small Python script to allow the sending of a WOL Magic packet

Resources

License

Stars

Watchers

F 3661 orks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0