Wake on lan: wol kubuntu 19.04″ Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V”


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

NO CONNECTION ubuntu kubuntu 19.0 4 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V


Welll well well WTF!!! UBUNTU 19.04 is not connecting with the fuckin ethernet , jesus crist what is this shit?

Yes you have to change things that work … and mess them up with the new fuckin names … really ?

yes because the eth standard is for the normal ethernet card instead eno is for the integrated ethernet cards … good stuff … really ? mattafacca

anyway :

first check what the system says :

 dmesg | grep eth0

now you should get this shit here :

[    2.091799] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) 00:d8:61:33:20:3e
[    2.091800] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
[    2.091857] e1000e 0000:00:1f.6 eth0: MAC: 12, PHY: 12, PBA No: FFFFFF-0FF
[    2.092272] e1000e 0000:00:1f.6 eno1: renamed from eth0

YES WE HAVE ENO1 FUCKIN SHIT so you have to enable the fuckin eno1 not the usual eth0

 sudo ifconfig eno1 up

now there is another fuckin shit to do …YOU HAVE TO CONFIGURE THE FUCKIN NETPLAN INSTEAD OF THE OLD /ETC/NETOWORK/INTERFACES …

so now you can just edit the file you should see on /etc/netplan/whatever.yaml in my case is /etc/netplan/01-netcfg.yaml

YOU SHOULD CHANGE NETWORKD ==> TO ==> NETWORKMANAGER LIKE YOU CAN SEE HERE

network:
  version: 2
  renderer: NetworkManager
  ethernets:
    eno1:
      dhcp4: true
wifis:
    fuckinwificardname:
      dhcp4: yes
      access-points:
        YOURFUCKIN WIFI NAME:
          password: yourfuckinpassword

Apply the fucking changes with :

sudo netplan apply

restart the fuckin network

sudo pkill  wpa_supplicant ; sudo systemctl stop NetworkManager.service ; sudo systemctl start NetworkManager.service 
 

FUCking done the fuckin gui of kde now works and i can edit the silly ethernet connection and the fuckin wifi ! i am pissed off !

kubuntu 18.04 no wifi on network manager but in terminal is detected


WTFFFFF! NO WIFI ON KDE NETWORK MANAGER APPLET but with iwlist is detected  (07:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01) so the driver was working properly infact i connect to a open wifi , without password. so WHY!!! i guess for a problem with some systemd conf files anyway….

Lansharefiles_20180306_105007Lansharefiles_20180306_105449

DETECT IF ANY SERVICE HAS PROBLEMS

 systemctl --type service

which has this silly answer :

systemd-networkd-wait-online.service loaded failed failed Wait for Network to be Configured

checking even the wpa_supplicant service with

systemctl status wpa_supplicant.service
Failed to initialize control interface '/run/wpa_supplicant'.
 You may have another wpa_supplicant process already running or the file was
 left by an unclean termination of wpa_supplicant in which case you will need
 to manually remove this file before starting wpa_supplicant again.
sudo systemctl status NetworkManager.service

i got even this shit

 error>   sup-iface[0x56547f32d5b0,wlp7s0]: error adding interface: wpa_supplicant couldn't grab this interface.

now how to fix it !?

sudo systemctl  stop NetworkManager.service
sudo systemctl  stop wpa_supplicant.service 
sudo systemctl  start wpa_supplicant.service 
sudo pkill wpa_supplicant 
sudo systemctl  start wpa_supplicant.service
sleep 4
sudo systemctl start NetworkManager.service

 

result 😀

Lansharefiles_20180306_115122

USEFULL STUFF

  1. CHECK IF YOUR CARD IS ENABLE ON BIOS , if you want to see that just do  on therminal rfkill list  and make sure it’s all NO
  2. ENABLE YOUR CARD  sudo ifconfig XXXX up ( your card name that should be wlp7s0 you can get the name from ifconfig alone without optios) as you can see here

    sudo rfkill unblock all
    rfkill
    ID TYPE DEVICE SOFT HARD
    0 wlan phy0 unblocked unblocked
    1 bluetooth hci0 unblocked unblocked
    sem@semvaio18:~$ ifconfig
    lo: flags=73 mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10
    loop txqueuelen 1000 (Local Loopback)
    RX packets 31198 bytes 1590503 (1.5 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 31198 bytes 1590503 (1.5 MB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    wlp7s0: flags=4163 mtu 1500
    inet 192.168.0.21 netmask 255.255.255.0 broadcast 192.168.178.255
    inet6 fe80::1e7f:5239:d350:a751 prefixlen 64 scopeid 0x20 ether a4:19:32:c1:1c:23 txqueuelen 1000 (Ethernet)
    RX packets 4184 bytes 2798289 (2.7 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 4560 bytes 1447049 (1.4 MB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

  3. try to see if wpa supplicant is installed : sudo apt-get install wpasupplicant
  4. if you can’t see the network applet on your panel well maybe the network manager service is not started so start it and enable it with : sudo systemctl enable NetworkManager.service ; sudo
    systemctl start NetworkManager.service
  5. check the systemd-networkd-wait-online.service with systemctl status systemd-networkd-wait-online.service actuyally it gives me error even when i am connect so i guess it’s not so important like i thought but he has given me a hint to fix this shit so ..
  6. another command useful to get errors it’s this
    journalctl -xe

from here https://forums.linuxmint.com/viewtopic.php?t=171819
this is for my own use interfaces

auto wlp7s0
iface wlp7s0 inet dhcp
wireless-power off

sudo kate /etc/default/crda

REGDOMAIN=IT