Closed MScMSc closed 6 years ago
Do you enter the IP address for the device?
From what I know, the IP address should be optional. Because the WOL magic packet is sent as broadcast anyway. So the IP address would be just for client-side filtering of packets. And I once managed to send the WOL signal via Duorem just with the MAC address, so in general it works. The device just isn't saved.
Yes, you are right about the WOL. Only the MAC address is needed. Right now, I check if the host information entered by the user is valid or not by checking the IP address only. The idea behind this is that user wants not only to wake up a device, but to shut it down. Well, seems like it is not always the case. Will fix it. A quick fix for you - if you change the IP address just a bit, then everything should be saved.
Fixed in 2f7adb8. Will include in the next release.
Thanks for the workaround. I can now save my device, but waking it doesn't work. I'm unsure whether this is related to entering the IP address. To summarize my attempts:
Solved it. Will write a separate issue.
One thing I can think about is the broadcast address. If you edit your device in Duorem, there will be 'advanced options' toggle at the bottom. Two things related to WOL are there: WOL port number and broadcast IP address. I guess you use the default port, but if you entered the MAC address manually, then you probably need to enter the broadcast address as well. You can try to press 'Guess broadcast' button. You should of course do it when you are connected to WiFi.
You can read about the broadcast address here http://www.wolcenter.com/faq.php, paragraph "What is a broadcast address?".
Side note. When you add a new device in Duorem, it tries to scan your current WiFi network for available devices. This way you simply choose the device from the list and the ip address, mac address, device name are already entered for you (Duorem will attempt to get the broadcast address as well). Did you try it this way?
BTW, the reason I only want to wake my device, not shut it down: For waking, I do not need to enter any passwords. For shutdown, I'd have to enter a valid admin account. This does not suit me in this case.
This is a valid reason, of course. I guess you can play around a bit with setting up your system so that you do not need a full administrative account in order to shut it down. But you will need some kind of a user that can SSH to your machine.
Release 1.1.1 is out
I use the "+" sign in the top bar to add a device, then select "Enter manualy (0.0.0.0)" I can change all fields, and press save. If it is the first device I enter, the main buttons are even enabled, and waking the device works. But there is still the test "No device is configured. Add one". And it seems that the app forgets the device, at least when it is closed. Consequently, I have to enter the device anew every time.