I fixed the situation by using a Wifi Repeater, and connect it to the server through an Ethernet cable. It turned out that the Magic Packet must be sent to the motherboard’s built-in Ethernet port since it’s the only thing awake when the whole machine off. However, I recognized that I cannot wake-up my server through its wireless interface (I’m using a USB wireless adapter). When the packet is received, the target machine’s network interface wakes-up the rest of the computer. WoL works by sending a packet of data called a Magic Packet™ to a target machine. In most motherboards, there is a function called “Wake-on-Lan” (WOL). You can have a look at my final network setup first. It would be so cool, especially when I’m away for an extended period and don’t want to waste money on the energy bills. That is like having the server’s power switch with me all the time. Of course, a simple solution is getting a UPS (Uninterruptible Power Supply), but I was fascinated by the idea that maybe I can turn on my server over the internet. When I went home, I figured out that the electricity in my apartment was very unstable due to a small construction upstairs. Suddenly anything stops working, and I wasted several hours hopelessly trying to fix it. It was always convenient like that until I got sudden disconnection last month. My daily work usually starts by opening an SSH connection to a server, running a docker image (with RStudio Server or Jupyter on it), and analyzing data or programming directly on the browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |