Wake on lan: wol kubuntu 19.04″ Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V”
January 11, 2020 Leave a comment
Ok if you have this card :
Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
and you are not be able to wake on line , well you have to check this BEFORE you can use it properly:
- CHECK SOFTWARE SETUP
- CHECK BIOS SETUP
Check software setup
Now , kubuntu use the netplan new shit and not anymore /etc/interfaces stuff
so if you are using netplan which is the default you have to set up it correctly let’s check the file :
ls /etc/netplan/ | grep yaml #dude@desktop:~$ ls /etc/netplan/ | grep yaml #01-netcfg.yaml
so now you should edit this file 01-netcfg.yaml
network: version: 2 renderer: NetworkManager wifis: MYWIFI_ID_LOOKAT_IFCONFIG: dhcp4: yes access-points: ACCESSPOINT NAME: password: MYSILLY PASSWORD ethernets: eno1: match: macaddress: 00:D8:61:33:21:31 dhcp4: yes wakeonlan: true
As you can see on the ethernet section i added the mac address and the wakeonlan: true NOTE INDENTATION MATTERS! BASICALLY YOU HAVE
MATCH DHCP4 WAKEONLINE MUST BE AT THE SAME COLUMN
now let’s check this and apply with :
sudo netplan apply
if you see some error here , check the file and correct the indentation!!
BIOS SETUP :
Many times you have to activate your bios setup before it works like in my machine : i have a msi bios so i will put this like reference :


USEFULL TIPS :
Check if you can wake up your computer from sleep mode after you did this for example :
#type this command and see the result : ifconfig
you should get something like this :
ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.178.31 netmask 255.255.255.0 broadcast 192.168.178.255
inet6 prefixlen 64 scopeid 0x20<link>
ether txqueuelen 1000 (Ethernet)
RX packets 18644 bytes 13960369 (13.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 11574 bytes 2218122 (2.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xdf100000-df120000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 862 bytes 97809 (97.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 862 bytes 97809 (97.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
So my interface is eno1 and i have to activate the wol stuff with this
sudo ethtool -s eno1 wol g
Now you have to test it , putting your computer in sleep mode and trying to wake it up with a wakeup software , i can use the fritzbox router directly
USEFULL LINKS AND REFERENCES
netplan etc
https://askubuntu.com/questions/1053302/wake-on-lan-not-working-if-i-turn-of-with-ubuntu
for others stuff NOT TESTED!
https://askubuntu.com/questions/764158/how-to-enable-wake-on-lan-wol-in-ubuntu-16-04


