Configuring Wake on LAN

calculus

New Member
Jul 14, 2015
2
0
1
Hi

Im running Proxmox 2.6 and trying to set up Wake on LAN. I've looked up a number of forum posts and am sure Im doing something small wrong, as its not quite working still.

I enabled Wake on LAN in the BIOS settings and ethtool seems to show WOL to be enabled (Wake-on: g - below). I noted that, under ifconfig, the IP address is assigned on vmbr0, while ethtool seems to have WOL enabled on on eth0. I've tried a WOL app but it doesnt turn on the server.

I believe the Magic Packet is a UDP packet, over port 7 or 9, so when I scan the server when running, I get the results below.

Has this been set up right? Is there anything else I need to do to configure it for WOL?

uname -a:
Code:
root@HYPERVHOST:~# uname -a
Linux HYPERVHOST 2.6.32-37-pve #1 SMP Wed Feb 11 10:00:27 CET 2015 x86_64 GNU/Linux

nmap:
Code:
Starting Nmap 6.49BETA3 ( https://nmap.org ) at 2015-07-14 22:28 GMT Daylight Time
Nmap scan report for 192.168.1.160
Host is up (0.0020s latency).
PORT  STATE         SERVICE
7/udp open|filtered echo
8/udp open|filtered unknown
9/udp open|filtered discard
MAC Address: XX:XX:XX:XX:XX:XX (Dell)
Nmap done: 1 IP address (1 host up) scanned in 12.90 seconds
ifconfig
Code:
root@HYPERVHOST:~# ifconfig
eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          inet6 addr: fe80::d267:e5ff:feXX:XXXX/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41602 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33153 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12515514 (11.9 MiB)  TX bytes:29647230 (28.2 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:6102 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6102 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9635698 (9.1 MiB)  TX bytes:9635698 (9.1 MiB)

tap105i0  Link encap:Ethernet  HWaddr 32:05:5a:3f:d1:03
          inet6 addr: fe80::3005:5aff:fe3f:d103/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4935 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:648 (648.0 B)  TX bytes:490158 (478.6 KiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet6 addr: fe80::1/128 Scope:Link
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:10887 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6100 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10695299 (10.1 MiB)  TX bytes:621746 (607.1 KiB)

vmbr0     Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          inet addr:192.168.1.160  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::d267:e5ff:feXX:XXXX/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38724 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33141 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11239683 (10.7 MiB)  TX bytes:29646318 (28.2 MiB)

ethtool eth0:
Code:
root@HYPERVHOST:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes

ethtool vmbr0:
Code:
root@HYPERVHOST:~# ethtool vmbr0
Settings for vmbr0:
        Link detected: yes
 
Hi,
did you enable it on the Mainboard?
your version is very old.
current version is 3.4
 
Hi

2.6 is actually the kernel version (from uname -a). My mistake, am running Proxmox version 3.4 (downloaded last month).

Wake on LAN is enabled in the BIOS.

Does the listening port need to be configured on server, as iOS apps & Depicus Windows client ask which port you want to send magic packet to?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!