I am configuring an operating system in archlinux for my computer. I wish to find a way…
- User
I am configuring an operating system in archlinux for my computer. I wish to find a way to send a wake on lan packet to this archlinux computer from a web browser on a different computer on the same local area network. What options are available to achieve this?
Assistant
Here are a few options to send a Wake-on-LAN (WOL) packet from a web browser on another computer to wake up your Arch Linux computer:
-
Install a lightweight web server like nginx on the Arch Linux computer. Create a simple PHP script that executes the
wakeonlancommand to send the WOL packet. Access this PHP page from any web browser to trigger the WOL packet. -
Use a tool like WOL PHP Script to generate a web page that can send WOL packets. Host this on a separate always-on computer and access it from browsers.
-
Install something like WakeOnLAN Web Interface on a separate always-on computer. It provides a web interface to send WOL packets to computers on the network.
-
Use a third party web service like WolWake.com to send WOL packets without needing to setup anything locally. However, this exposes your internal network.
-
Setup port forwarding on your router to the Arch Linux computer. Install a WOL listening service/daemon like Wolcmd on it. Send WOL packets to the external port which gets forwarded internally.
The key requirements are that the target Arch Linux computer has its MAC address and WOL enabled in BIOS, and the web interface/script can send UDP packets to the broadcast address on the right port.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.