Python Wake-On-LAN client
Python Wake-On-LAN client with advanced options and IPv6 capability.
- No privileges required (sending UDP packets)
- Advanced configuration options
- source IP address
- destination IP address
- destination UDP port
- target MAC address
- IPv6 by default (who uses IPv4 these days anyway)
- Contains re-usable module for use in other scripts
PyWake packages are available from Cheese shop (PyPI) at https://pypi.python.org/pypi/pywake
The project page is hosted on Github.
If you’ve never worked with git or contributed to a project on Github, there is a quick start guide.
If you find something wrong or know of a missing feature, please create an issue on the project page. If you find that inconvenient or have some security concerns, you could also drop me a line at <firstname.lastname@example.org>.
How to use
pip install pywake
Wake up a MAC with default settings (IPv6 UDP packet to “all nodes” multicast address ff02::1 and port 9 - discard):
You may need to specify a source interface (or scope) for the multicast packets if there are more possibilities:
pywake -d ff02::1%eth0 00:11:22:33:44:55
Or use a plain old IPv4 UDP subnet directed broadcast:
pywake -4 -d 192.168.1.255 00:11:22:33:44:55
Copyright 2013 Michal Belica <email@example.com>
PyWake is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. PyWake is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with PyWake. If not, see < http://www.gnu.org/licenses/ >.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pywake-0.1.3.tar.gz (15.2 kB)||File type Source||Python version None||Upload date||Hashes View|