You are not logged in.

#1 2016-03-10 01:45:13

WyRe
Member
Registered: 2015-09-26
Posts: 26

Wake on lan does not work sometimes

Hi all, I write here because I'm having issues with WOL feature of my server, I've just installed "ethtool" and I think what I've properly setup NetworkManager to do that, in fact most of tries to use WOL are successful but sometimes I cannot wake up the PC via internet, however, always does work when I try wake up from LAN, I mean, if for instance I use (from a website or my own wol):

wol -p <port> -i <external IP> <MAC address> 

Sometimes works but sometimes it doesn't. But instead of I use:

wol <MAC address> 

All works perfectly always.

Someone has idea what could happening? I've disabled the router firewall and the port is open (as I've said sometimes does work properly) That's my router
This is my ethernet card and my machine specs:

[wyre@PentiumServ ~]$ inxi -F
System:    Host: PentiumServ Kernel: 4.4.3-1-ARCH i686 (32 bit) Console: tty 3 Distro: Arch Linux
Machine:   Mobo: Gigabyte model: 8IPE775/-G v: x.x Bios: Award v: F4 date: 02/01/2005
CPU:       Single core Intel Pentium 4 (-HT-) cache: 1024 KB 
           clock speeds: max: 3014 MHz 1: 3014 MHz 2: 3014 MHz
Graphics:  Card: NVIDIA NV11 [GeForce2 MX200]
           Display Server: N/A driver: N/A tty size: 249x41 Advanced Data: N/A out of X
Audio:     Card Intel 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller driver: snd_intel8x0
           Sound: Advanced Linux Sound Architecture v: k4.4.3-1-ARCH
Network:   Card: Marvell 88E8001 Gigabit Ethernet Controller driver: skge
           IF: enp2s9 state: up speed: 100 Mbps duplex: full mac: <MAC address>
Drives:    HDD Total Size: 80.0GB (28.7% used) ID-1: /dev/sda model: ST380021A size: 80.0GB
Partition: ID-1: / size: 72G used: 20G (29%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 2.19GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors:   System Temperatures: cpu: 21.8C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 89 Uptime: 31 min Memory: 525.6/2018.8MB Init: systemd Client: Shell (bash) inxi: 2.2.35 

That's the ethtool output:

[wyre@PentiumServ ~]$ sudo ethtool enp2s9 | grep Wake-on
        Supports Wake-on: pg
        Wake-on: g

And here the nmcli setup:

[wyre@PentiumServ ~]$ LC_ALL=C nmcli c show "wired1" 
connection.id:                          wired1
connection.uuid:                        85bd3c0f-71ff-4f54-bc6c-3154e2c054bf
connection.interface-name:              --
connection.type:                        802-3-ethernet
connection.autoconnect:                 yes
connection.autoconnect-priority:        -999
connection.timestamp:                   1457573622
connection.read-only:                   no
connection.permissions:                 
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.autoconnect-slaves:          -1 (default)
connection.secondaries:                 
connection.gateway-ping-timeout:        0
connection.metered:                     unknown
802-3-ethernet.port:                    --
802-3-ethernet.speed:                   0
802-3-ethernet.duplex:                  --
802-3-ethernet.auto-negotiate:          yes
802-3-ethernet.mac-address:             <MAC address>
802-3-ethernet.cloned-mac-address:      --
802-3-ethernet.mac-address-blacklist:   
802-3-ethernet.mtu:                     auto
802-3-ethernet.s390-subchannels:        
802-3-ethernet.s390-nettype:            --
802-3-ethernet.s390-options:            
802-3-ethernet.wake-on-lan:             64 (magic)
802-3-ethernet.wake-on-lan-password:    --
ipv4.method:                            manual
ipv4.dns:                               
ipv4.dns-search:                        
ipv4.addresses:                         192.168.1.8/24
ipv4.gateway:                           192.168.1.1
ipv4.routes:                            
ipv4.route-metric:                      -1
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv6.method:                            auto
ipv6.dns:                               
ipv6.dns-search:                        
ipv6.addresses:                         
ipv6.gateway:                           --
ipv6.routes:                            
ipv6.route-metric:                      -1
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
GENERAL.NAME:                           wired1
GENERAL.UUID:                           85bd3c0f-71ff-4f54-bc6c-3154e2c054bf
GENERAL.DEVICES:                        enp2s9
GENERAL.STATE:                          activated
GENERAL.DEFAULT:                        yes
GENERAL.DEFAULT6:                       no
GENERAL.VPN:                            no
GENERAL.ZONE:                           --
GENERAL.DBUS-PATH:                      /org/freedesktop/NetworkManager/ActiveConnection/0
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/Settings/0
GENERAL.SPEC-OBJECT:                    /
GENERAL.MASTER-PATH:                    --
IP4.ADDRESS[1]:                         192.168.1.8/24
IP4.GATEWAY:                            192.168.1.1
IP6.ADDRESS[1]:                         <IPV6 address>
IP6.GATEWAY:

I get the info to setup WOL from  WOL and NetworkManager maybe could be a bug with NetworkManager? Have I done a right setup?

Thank you so much for your attention.

Last edited by WyRe (2016-03-10 01:48:24)

Offline

Board footer

Powered by FluxBB