You are not logged in.
Pages: 1
Hi people,
I'm trying to set up Wake-On-Lan for my box running arch, which I will activate by sending a magic packet from my raspberry pi (running debian wheezy) on UDP port 9 using the debian's "wakeonlan" package. Despite having enabled WOL in the BIOS and Arch (by the method detailed here: https://wiki.archlinux.org/index.php/Wake-on-LAN ), connected both computers to the router by ethernet, and configured the router to forward UDP on port 9, it doesn't wake the archbox up when I send the following command:
wakeonlan -i [internal static IP of archbox] [MAC address of the archbox].To diagnose the problem, I'm using the pacman package "wireshark-cli". Running the below command, then sending a magic packet to the archbox, produced this output:
andy@archbox ~ $ tshark
Capturing on 'eth0'
1.168643 192.168.0.6 -> 192.168.0.5 WOL 144 MagicPacket for Dell_80:cd:e7 (00:1d:09:80:cd:e7)
1.168669 192.168.0.5 -> 192.168.0.6 ICMP 172 Destination unreachable (Port unreachable)
2.865998 192.168.0.1 -> 239.255.255.250 SSDP 401 NOTIFY * HTTP/1.1
2.867157 192.168.0.1 -> 239.255.255.250 SSDP 346 NOTIFY * HTTP/1.1
2.868004 192.168.0.1 -> 239.255.255.250 SSDP 337 NOTIFY * HTTP/1.1
2.868965 192.168.0.1 -> 239.255.255.250 SSDP 411 NOTIFY * HTTP/1.1
6.172433 Dell_80:cd:e7 -> Raspberr_89:fc:ad ARP 42 Who has 192.168.0.6? Tell 192.168.0.5
6.172684 Raspberr_89:fc:ad -> Dell_80:cd:e7 ARP 60 Who has 192.168.0.5? Tell 192.168.0.6
6.172700 Dell_80:cd:e7 -> Raspberr_89:fc:ad ARP 42 192.168.0.5 is at 00:1d:09:80:cd:e7
6.172952 Raspberr_89:fc:ad -> Dell_80:cd:e7 ARP 60 192.168.0.6 is at b8:27:eb:89:fc:adThe internal IP addresses refer to the following:
192.168.0.1 is the router
192.168.0.5 is the archbox, a Dell desktop computer
192.168.0.6 is the raspberry-pi
Can anyone explain what this means? Clearly the archbox and raspberry-pi need to be "told" of each other's existence, but how?
Please bear in mind that to detect the magic packet, the archbox had to be turned on - which of course is not how it will be in the actual wake-on-lan scenario, because I want to be able to turn it ON from the off and/or sleep states.
Thank you for your help.
Last edited by Amp (2013-06-18 12:29:37)
Offline
i cannot explain what that means, but i am using etherwake from aur, which works without any problems. etherwake should be also available for debian arm, because it installed on my seagate dockstar.
sudo etherwake -b mac_addressLast edited by hcjl (2013-06-18 11:29:46)
Offline
i cannot explain what that means, but i am using etherwake from aur, which works without any problems. etherwake should be also available for debian arm, because it installed on my seagate dockstar.
sudo etherwake -b mac_address
Thank you very much hcjl! I had opted for the "wakeonlan" package instead of etherwake, since the former can be run without sudo, but etherwake works where wakeonlan doesn't. So, problem solved, but I wonder what the problem was?
Now that its fixed, I don't have to leave a 400W computer running the whole time just so that I can play on my Minecraft server wherever I am! The raspberry-pi requires about 3W, so I can leave that running no problem, and use it to trigge WOL. That could save me several hundred pounds a year! ![]()
Offline
Pages: 1