wol

command module
v0.0.0-...-cd5749c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2025 License: MIT Imports: 29 Imported by: 0

README

wol

A trivial wake-on-line webui for tailnet @ raspberry. This is provided AS IS and you probably want to fork it before using it.

Features

  • provides a minimal web UI on https://gokrazy.tail1ab234.ts.net:8123
  • monitors the other machine status tailscale Ping
  • reports the status back the web UI via SSE
  • re-uses gokrazy-web TSL certificates for https

Deploy to gokrazy

"PackageConfig": {
  "tailscale.com/cmd/tailscale": {
    "CommandLineFlags": [
      "up",
      "--auth-key=tskey-auth-REDADCTEDREDACTED-redactedredactdedredactedredacted"
    ]
  },
  "codeberg.org/vyskocilm/wol": {
    "ExtraFilePaths": {
      "/etc/wol.json": "wol.json"
    }
  }
}

Where the wol.json contains the address to bind to and a list of machines to wake up and check. It is recommended to hide the page behind a tailscale.

THERE IS NO OTHER SECURITY BUILT-IN! ALWAYS USE TAILSCALE.

{
  "addr": "gokrazy.tail1ab234.ts.net:8123",
  "machines": [
    {
      "name": "big hungry machine",
      "mac": "DE:AD:BE:EF:DE:AD",
      "ip": "100.105.1.234"
    }
  ]
}

Documentation

Overview

wol is a wake on lan UI for a gokrazy@rpi zero

It reads the configuration from /etc/wol.json or /perm/wol.json does exactly two things

1. ping the other machine using it's tailscale IP address to see if its live 2. can send a Wake On Lan magic packaget to machine's MAC address

wol is a wake on lan UI for a gokrazy@rpi zero

It reads the configuration from /etc/wol.json or /perm/wol.json does exactly two things

1. ping the other machine using it's tailscale IP address to see if its live 2. can send a Wake On Lan magic packaget to machine's MAC address

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL