This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1780872

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1780872

Title:
  wake on lan is not working

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm dual-booting Ubuntu 18.04 and Windows 10. If I turn off my
  computer with Windows, I can turn it back on using wol. However, if I
  turn it off using Ubuntu the computer won't turn back on if I use wol.

  These are my network cards:

  ```
  ignacio@ignacio-XPS-8930:~$ ifconfig 
  docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
          inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
          inet6 fe80::42:e4ff:fe0a:9fee  prefixlen 64  scopeid 0x20<link>
          ether 02:42:e4:0a:9f:ee  txqueuelen 0  (Ethernet)
          RX packets 0  bytes 0 (0.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 165  bytes 24102 (24.1 KB)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
          inet 192.168.86.31  netmask 255.255.255.0  broadcast 192.168.86.255
          inet6 fe80::955b:12c8:20b9:7645  prefixlen 64  scopeid 0x20<link>
          ether d8:9e:f3:85:42:8a  txqueuelen 1000  (Ethernet)
          RX packets 50484  bytes 52395285 (52.3 MB)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 29166  bytes 4575560 (4.5 MB)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
          device interrupt 19  

  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 1124  bytes 95423 (95.4 KB)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 1124  bytes 95423 (95.4 KB)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  veth66fe4e4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
          inet6 fe80::2078:3ff:feb3:2aa1  prefixlen 64  scopeid 0x20<link>
          ether 22:78:03:b3:2a:a1  txqueuelen 0  (Ethernet)
          RX packets 0  bytes 0 (0.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 224  bytes 30503 (30.5 KB)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  vethb50cc6f: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
          inet6 fe80::5c0b:47ff:fef1:cfc9  prefixlen 64  scopeid 0x20<link>
          ether 5e:0b:47:f1:cf:c9  txqueuelen 0  (Ethernet)
          RX packets 0  bytes 0 (0.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 125  bytes 18006 (18.0 KB)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  wlp3s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
          ether 5c:ea:1d:4c:61:a7  txqueuelen 1000  (Ethernet)
          RX packets 0  bytes 0 (0.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 0  bytes 0 (0.0 B)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  ```

  This is what ethtool tells me about my ethernet card:

  ```
  ignacio@ignacio-XPS-8930:~$ sudo ethtool enp4s0
  Settings for enp4s0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Current message level: 0x000060e4 (24804)
                               link ifup rx_err tx_err hw wol
        Link detected: yes

  ```

  And this is what happens when I try to activate wake on lan:

  
  ```
  ignacio@ignacio-XPS-8930:~$ sudo ethtool -s enp4s0 wol g
  Cannot get current wake-on-lan settings: Operation not supported
    not setting wol
  ```

  Finally, this is the infor about my distro:

  ```
  ignacio@ignacio-XPS-8930:~$ lsb_release -rd
  Description:  Ubuntu 18.04 LTS
  Release:      18.04
  ```

  Thanks for the help!

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: ethtool 1:4.15-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Jul  9 18:58:08 2018
  Dependencies:
   gcc-8-base 8-20180414-1ubuntu2
   libc6 2.27-3ubuntu1
   libgcc1 1:8-20180414-1ubuntu2
  InstallationDate: Installed on 2018-07-07 (2 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  SourcePackage: ethtool
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1780872/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to