Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WoL not working #6

Open
Holzhauer opened this issue Mar 1, 2022 · 8 comments
Open

WoL not working #6

Holzhauer opened this issue Mar 1, 2022 · 8 comments

Comments

@Holzhauer
Copy link

I run the wolweb docker container on a Raspberry Pi. The web server starts and is accessible, and pressing the "WAKE-UP2"-button it is confirmed the magic package was sent. Also I don't see any error messages or warnings in the logging. However, the machine does not wake up. It does when I use 'awake ' on the console from within the docker container (after installing awake with 'apk add awake'). Is there any way to debug such an issue?

NB: I edited the Dockerfile to use 'FROM golang:alpine3.10 AS builder' as the current version (3.15) gave me a few errors.

@DerBernie
Copy link

I had to enable a couple of things on the machine that I wanted to wake up. My problem was that the network adapter was in fact not active when the PC (Windows) was shutdown. This thread helped me: https://rog.asus.com/forum/showthread.php?101283-Wake-on-LAN-not-working-from-shutdown-Asus-Deluxe-Z170

Also, I've configured this on my linux host running the wolweb tool: sysctl net.ipv4.icmp_echo_ignore_broadcasts=0
(although I'm not sure if that was actually necessary)

@sameerdhoot
Copy link
Owner

I run the wolweb docker container on a Raspberry Pi. The web server starts and is accessible, and pressing the "WAKE-UP2"-button it is confirmed the magic package was sent. Also I don't see any error messages or warnings in the logging. However, the machine does not wake up. It does when I use 'awake ' on the console from within the docker container (after installing awake with 'apk add awake'). Is there any way to debug such an issue?

NB: I edited the Dockerfile to use 'FROM golang:alpine3.10 AS builder' as the current version (3.15) gave me a few errors.

Troubleshooting WOL is a little harder. First make sure the WOL works by directly using utilities on your router (maybe) or from other machines. Make sure that there is no firewall in between the sending and receiving device. Also, as said by @DerBernie try peeking into network adapter settings and/or BIOS settings.

BTW, you are correct about the golang version in decker file. I have now updated the code to use 3.14. It breaks with 3.15 onwards.

@dodoslavn
Copy link

i started this "wolweb" tool directly on my RPi (not in docker) and when i click on WAKE-UP, the machine doesnt wake-up. When i use tool on the same RPi "wakeonlan" with the same MAC addr it works. I dont see any errors in logs of "wolweb"

@sameerdhoot
Copy link
Owner

@Holzhauer and @dodoslavn

Not sure if you noticed that there is a setting in config.json to customize the broadcast IP address. This address has to match your local network range/class. This could be the issue.

"bcastip":"192.168.1.255:9"

@Holzhauer
Copy link
Author

Both bcastip in config.json as well as ip in devices.json are set, but still the machine does not wake up.

@whoshoe
Copy link

whoshoe commented Nov 19, 2022

etherwake works but this tool doesn't work for one of my workstations

@timluedtke
Copy link

works on my machine mostly every second time - maybe wolweb should send the WOL-Package multiple times?

@ellisdickinson46
Copy link
Collaborator

@timluedtke This is something I will look into adding for you as a configuration preference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants