Add multiple network interfaces per device #368
Replies: 4 comments
-
To summarize this, I think it's best to support multiple network interfaces per device instead of custom wake commands. |
Beta Was this translation helpful? Give feedback.
-
@seriousm4x - I agree, Thank you! |
Beta Was this translation helpful? Give feedback.
-
+1 for this, I have a server with two interfaces, one for WoL and one for OpenShift (Kubernetes). I disable the WoL interface on boot to prevent some issues with OpenShift however this means that upsnap has no way to check if the server is up or down since that interface stops responding after boot. Being able to configure multiple interfaces and have more control over where commands get sent would be really helpful. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The problem you currently have with this project
I have a peculiar (i think) case where my Raspberry Pi is hooked up to my home server (a repurposed ASUS Laptop) through the ethernet cable. Here the Raspberry Pi acts as the Wake-on-LAN server, to send shutdown and wake commands to the main server. Both access internet through Wi-Fi, and the home server apparently only supports WOL, not Wake-on-WLAN. So the ping IP (Wi-Fi) is different than the one for the wake-up (Ethernet). UpSnap can either shutdown or wake up system through the available configurations, but not both.
Describe the solution you'd like
Currently i just run commands through the Raspberry pi like so
Suspend
Wake up (send broadcast through the ethernet)
The request to discuss the possibility of either
Additional context
If i setup UpSnap with netmask as 255.255.0.0 and IP as 169.254.152.218, it is able to wake the system fine, but this ethernet link will stay up and it will not detect the system to be down ever (ping will always return bytes).
Or, if i setup UpSnap device with the Wi-Fi IP and netmask, it will shutdown the system fine, but wont broadcast the magic packet to the correct eth0 interface / broadcast.
IP details from RPi
IP details from Server
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions