mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2016-05-29, 13:35   #12
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

274116 Posts
Default

Quote:
Originally Posted by wildrabbitt View Post
This is what I get when I run arp -n :
What does "ethtool eth0 | grep Wake" as root say on the box you want to remotely wake up?
chalsall is online now   Reply With Quote
Old 2016-05-29, 13:58   #13
wildrabbitt
 
Jul 2014

3×149 Posts
Default

Supports Wake-on: pumbg

Wake-on: g
wildrabbitt is offline   Reply With Quote
Old 2016-05-29, 14:21   #14
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

13·773 Posts
Default

Quote:
Originally Posted by wildrabbitt View Post
Supports Wake-on: pumbg
Wake-on: g
OK, then you should be good to go. Just to be clear, I'm assuming you wish to wake up william-desktop (IP: 192.168.1.70; MAC:00:e0:4c:e9:96:a7) from william-GA-78LMT-USB3?

Your "arp -n" from the latter didn't show william-desktop. Are you sure they are on the same LAN? If you "ping -c 1 192.168.1.70" and then "arp -n" does it show up?

If so, try powering down william-desktop, and then run "ether-wake 00:e0:4c:e9:96:a7" as root from william-GA-78LMT-USB3. If everything's good, william-desktop should power up.
chalsall is online now   Reply With Quote
Old 2016-05-29, 15:52   #15
wildrabbitt
 
Jul 2014

1BF16 Posts
Default good news

It wasn't on the same LAN but is now. Great news :


william@william-GA-78LMT-USB3:~$ ping -c 1 192.168.1.70
PING 192.168.1.70 (192.168.1.70) 56(84) bytes of data.
64 bytes from 192.168.1.70: icmp_seq=1 ttl=64 time=0.337 ms

--- 192.168.1.70 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.337/0.337/0.337/0.000 ms
william@william-GA-78LMT-USB3:~$ arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.1.254 ether c4:ea:1d:b0:a9:58 C enp3s0
192.168.1.70 ether 00:e0:4c:e9:96:a7 C enp3s0
william@william-GA-78LMT-USB3:~$


So what next?
wildrabbitt is offline   Reply With Quote
Old 2016-05-29, 16:10   #16
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

13·773 Posts
Default

Already given.

Quote:
Originally Posted by chalsall View Post
If so, try powering down william-desktop, and then run "ether-wake 00:e0:4c:e9:96:a7" as root from william-GA-78LMT-USB3. If everything's good, william-desktop should power up.
Note that this is based on CentOS / RedHat / Fedora. The command "ether-wake" may be different under Ubuntu.
chalsall is online now   Reply With Quote
Old 2016-05-30, 06:08   #17
wildrabbitt
 
Jul 2014

6778 Posts
Default

william@william-GA-78LMT-USB3:~$ sudo etherwake 00:e0:4c:e9:96:a7
SIOCGIFHWADDR on eth0 failed: No such device


I ran sudo poweroff on the machine I wanted to wake.

Is Wakeonlan intended to switch PC's on from a position like that?
wildrabbitt is offline   Reply With Quote
Old 2016-05-30, 16:02   #18
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

13·773 Posts
Default

Quote:
Originally Posted by wildrabbitt View Post
william@william-GA-78LMT-USB3:~$ sudo etherwake 00:e0:4c:e9:96:a7
SIOCGIFHWADDR on eth0 failed: No such device
Hmmm... Weird.

When I ran the command from one of my CentOS boxens I got this:
Code:
[root@samba2 ~]# ether-wake -v -D 00:e0:4c:e9:96:a7
ether-wake.c: v1.09 11/12/2003 Donald Becker, http://www.scyld.com/
The target station address is 0:e0:4c:e9:96:a7.
Packet is  00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 08 42 ff ff ff ff ff ff 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7 00 e0 4c e9 96 a7.
The hardware address (SIOCGIFHWADDR) of enp11s0 is type 1  00:1a:ffffffa0:ffffffb0:ffffffda:29.
Sendto worked ! 116.
The hardware address (SIOCGIFHWADDR) of lo is type 772  00:00:00:00:00:00.
Sendto worked ! 116.
Perhaps try increasing the debugging / verbosity for the command, and report the results. Note that you are running a different derivative of Linux, so your etherwake may be completely different software than my ether-wake.

Having done a bit of Googling, is seems like Ubuntu also has a "powerwake" command. You might want to try installing and running that.

Quote:
Originally Posted by wildrabbitt View Post
I ran sudo poweroff on the machine I wanted to wake. Is Wakeonlan intended to switch PC's on from a position like that?
Yes. I often use this to bring machines back online after power failures and/or user shutdowns.
chalsall is online now   Reply With Quote
Old 2016-05-30, 20:01   #19
wildrabbitt
 
Jul 2014

3·149 Posts
Default

Can you tell me what this means ? :


<code>
william@william-GA-78LMT-USB3:~$ sudo etherwake 00:e0:4c:e9:96:a7
SIOCGIFHWADDR on eth0 failed: No such device
</code>

This was ran from the waker while it the only machine plugged into the modem.

I'm asking because I'm wondering if we identified correctly the machine to wake.
wildrabbitt is offline   Reply With Quote
Old 2016-05-30, 20:20   #20
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

13·773 Posts
Default

Quote:
Originally Posted by wildrabbitt View Post
I'm asking because I'm wondering if we identified correctly the machine to wake.
Please take this as supportive... You seem to go out of your way to not follow suggestions. To be spoon-fed what to do next.

What happens when you run etherwake with deeper verbosity and/or debugging?

Have you tried using alternative programs from the waking machine? Have you tried thinking for yourself?

I try to be tolerant, but this is getting a bit ridiculous.
chalsall is online now   Reply With Quote
Old 2016-05-30, 21:23   #21
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

13×773 Posts
Default

Quote:
Originally Posted by wildrabbitt View Post
This was ran from the waker while it the only machine plugged into the modem.
Why on gods green earth would you think this would work?

How is william-desktop supposed to receive the broadcast message if it isn't plugged into the switch (on the modem)? Magic???
chalsall is online now   Reply With Quote
Old 2016-05-30, 21:37   #22
wildrabbitt
 
Jul 2014

3·149 Posts
Default

Quote:
Why on gods green earth would you think this would work?
I know this wouldn't work with regards to switching on the machine we were

trying to wake.

I was trying to understand what arp -n

actually does and I wanted to try it (on the waker) with no other machines except the waker plugged in to the modem.
wildrabbitt is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
If you choose an answer at random Uncwilly Lounge 12 2018-02-14 15:00
Answer in 5 . 4 . 3 . 2 . 1 ..... Uncwilly Puzzles 37 2016-10-19 02:03
mfakto is not running.. please give me a answer diablo5147 GPU Computing 1 2013-12-09 01:47
Manual reservation system obsolete? (Answer: no) thommy Prime Sierpinski Project 5 2006-02-21 16:36
please answer flasholinos Lone Mersenne Hunters 2 2003-06-17 19:08

All times are UTC. The time now is 04:54.


Mon Dec 6 04:54:37 UTC 2021 up 135 days, 23:23, 0 users, load averages: 1.23, 1.37, 1.43

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.