You are not logged in.
Hello
I installed arch on my HP proliant microserver and I can not get Wake on lan to work. I tested my device with ethtool and it supports and is enabled for WOL with g value set for both.
But whenever I power it off by systemctl poweroff I can no longer see it as a connected device to my router ![]()
Before installing arch I tried ubuntu for testing the hardware quickly and I got wake on lan working there. I can not figure out what might be the issue here. Wake on lan is enabled in the BIOS.
Any help would be appreciated
Cheers
Offline
I don't think you necessarily need the device to be detected by the router. With wol you send the magic packet via mac address of the card.
Offline
As I see in the Archwiki , the wol package would also need the IP address ( though not necessary ) along with the mac address of the server.
I fear that the nic on the server does not obtain an ip in shutdown state, since I can't see it in my attached devices in the router settings( I could be very wrong ! )
Tried using wol on a laptop running arch, but with no luck. ![]()
I have seen this workaround in several places
https://bugs.launchpad.net/ubuntu/+sour … bug/981461
I even tried creating a similar script which would first do
ip link set dev enp2s0 down
systemctl poweroff
but that did not work either.
Cheers
Last edited by ayushjsh (2013-04-03 07:00:28)
Offline
Resolve this problem? I have some problem.
Offline
i can confirm that if i use
ifconfig enp2s0 down
systemctl poweroff
i can wol the server back.
installed ifconfig from the nettools package and it seems to work for me.
so i did this:
made a wol@service in /etc/systemd/system/
[Service]
Type=forking
Requires=netork.target
After=network.target
ExecStart=/usr/bin/ethtool -s %i wol g
ExecStop=/usr/bin/ifconfig %i down
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=multi-user.targetafter that just systemctl enable wol@enp2s0.service and now my system is wakeable by wol
Last edited by elangelo (2013-10-15 17:44:38)
Offline