Ace T8 Plus: Wake-On-LAN how-to (ubuntu linux)
Posted: Thu Jul 06, 2023 6:19 pm
I saw a few questions on this and thought I'd share how I got it working on ubuntu.
First, there's nothing to configure in BIOS. WOL is enabled by default and I don't think it can be shut off. So knowing that you can just make sure its enabled in your OS.
For ubuntu do the following:
1. Install ethtool and ngrep:
2. Find your interface name:
By default there should be 3 of them - 1x wifi and 2x ethernet. Look for the one that has an IP address and note down the name (in my case enp3s0), the LAN IP and the MAC address.
3. Check that wake-on-lan is supported:
Output will have something like this:
The "d" means WOL is not active but the "g" in pumbg means that it does support it. You can just turn it on with sudo ethtool --change enp3s0 wol g but it won't persist through a reboot.
4. Instead, you want to turn it on at boot with a systemd:
In the file enter the below (make sure to change the interface name if yours is different):
5. Enable the service:
6. Reboot and then test that its working:
On the Ace T8 enter this and leave it listening:
From another PC, send a WOL magic packet to the Ace T8. In the Ace T8 check that the packet was received.
On mine I had to reboot twice for some reason but its working now.
First, there's nothing to configure in BIOS. WOL is enabled by default and I don't think it can be shut off. So knowing that you can just make sure its enabled in your OS.
For ubuntu do the following:
1. Install ethtool and ngrep:
Code: Select all
sudo apt install ethtool && sudo apt install ngrep -y
Code: Select all
ip a
3. Check that wake-on-lan is supported:
Code: Select all
sudo ethtool enp3s0
Code: Select all
Supports Wake-on: pumbg
Wake-on: d
4. Instead, you want to turn it on at boot with a systemd:
Code: Select all
sudo --preserve-env systemctl edit --force --full wol-enable.service
Code: Select all
[Unit]
Description=Enable Wake-up on LAN
[Service]
Type=oneshot
ExecStart=/sbin/ethtool -s enp3s0 wol g
[Install]
WantedBy=basic.target
Code: Select all
sudo systemctl daemon-reload
sudo systemctl enable wol-enable.service
On the Ace T8 enter this and leave it listening:
Code: Select all
ngrep '\xff{6}(.{6})\1{15}' -x port 9
On mine I had to reboot twice for some reason but its working now.