Skip to main content

Python Wake-On-LAN client

Project description

Python Wake-On-LAN client with advanced options and IPv6 capability.

Features

  • 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

Locations

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 <devel@beli.sk>.

How to use

Install

pip install pywake

Examples

Wake up a MAC with default settings (IPv6 UDP packet to “all nodes” multicast address ff02::1 and port 9 - discard):

pywake 00:11:22:33:44:55

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

License

Copyright 2013 Michal Belica <devel@beli.sk>

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/ >.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywake-0.1.3.tar.gz (15.2 kB view details)

Uploaded Source

File details

Details for the file pywake-0.1.3.tar.gz.

File metadata

  • Download URL: pywake-0.1.3.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pywake-0.1.3.tar.gz
Algorithm Hash digest
SHA256 917e861ade6a2d3559d62de1cb715c42d89d9789cc5518a11386130bf959203d
MD5 3e23ed1a505689db8d6ae2671ce176f5
BLAKE2b-256 b3664df0dbff93d15fd0fffc4c89be61163aef2c8a5b3cf83a55e27dbdaacb8d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page