|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello!
I have a small network at home. I want to setup the gateway/router Debian Etch to wake up the server box with wakeonlan. The server box - Debian Etch has enabled the "Resume on LAN" field in the Power Management Setup of the Award BIOS. The server box have also a NIC with wake on LAN cable properly set up. When I run the command wakeonlan the server box wan't not to wake up. I use the right MAC address of the servers NIC in this command. Why can't I use wakeonlan to bring up the server from the gateway? Any advices will be appreciated! -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Sat, Apr 19, 2008 at 09:41:14PM +0200, Paul Csanyi wrote:
> When I run the command wakeonlan the server box wan't not to wake up. I never used wake-on-lan, but I see from the description of the wakeonlan package that it used UDP packets in order to avoid the need for root. Maybe you should also try etherwake? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIClUlqJyztHCFm9kRAnK4AJ9gRn5xcWzr5vGo1II7i3 8e115R4ACfdQe5 9BOF8RyDo2Lx+wBu5qJSzEo= =wa43 -----END PGP SIGNATURE----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Andrei Popescu <andreimpopescu@gmail.com> writes:
> On Sat, Apr 19, 2008 at 09:41:14PM +0200, Paul Csanyi wrote: > >> When I run the command wakeonlan the server box wan't not to wake up. > > I never used wake-on-lan, but I see from the description of the > wakeonlan package that it used UDP packets in order to avoid the need > for root. Maybe you should also try etherwake? Maybe I don't understand the description of wakeonlan: "You can wake up WOL compliant Computers which have been powered down to sleep mode or start WOL compliant Computers with a BIOS feature." Well, if I power down the server with "shutdown -t 1 -h now" then I can't to wake it up with wakeonlan? -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Am 19.04.2008 um 22:51 schrieb Paul Csanyi: > Andrei Popescu <andreimpopescu@gmail.com> writes: > >> On Sat, Apr 19, 2008 at 09:41:14PM +0200, Paul Csanyi wrote: >> >>> When I run the command wakeonlan the server box wan't not to wake >>> up. >> >> I never used wake-on-lan, but I see from the description of the >> wakeonlan package that it used UDP packets in order to avoid the need >> for root. Maybe you should also try etherwake? > > Maybe I don't understand the description of wakeonlan: > > "You can wake up WOL compliant Computers which have been powered down > to sleep mode or start WOL compliant Computers with a BIOS feature." > > Well, if I power down the server with "shutdown -t 1 -h now" then I > can't to wake it up with wakeonlan? Have you tried suspending (hibernating) the system and then waking it up? If I understand you correctly, you are trying to power up a system that is not in suspend-to-disk or suspend-to-ram mode, but off. I have never used a system with a NIC that actually has a special cable for Wake-on LAN (my cheap NICs were always regular PCI ones without that connection) and I haven't read the docs for wakeonlan, so I am not sure if that makes a difference, but I always thought (and verified by experiment for my hardware) that I needed to suspend the system for WOL to work; starting a machine which had simply been powered off with the shutdown command never worked. Again, maybe this is possible with certain hardware, but it would certainly be special. -Moritz -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Sun, Apr 20, 2008 at 05:10:40AM +0200, hh.eu@gmx.de wrote:
> I have never used a system with a NIC that actually has a special cable > for Wake-on LAN (my cheap NICs were always regular PCI ones without that > connection) and I haven't read the docs for wakeonlan, so I am not sure > if that makes a difference, but I always thought (and verified by > experiment for my hardware) that I needed to suspend the system for WOL > to work; starting a machine which had simply been powered off with the > shutdown command never worked. Again, maybe this is possible with > certain > hardware, but it would certainly be special. Wake On LAN wakes a system from poweroff. There is no need to suspend or hibernate. -- Carl Fink nitpicking@nitpicking.com Read my blog at blog.nitpicking.com. Reviews! Observations! Stupid mistakes you can correct! -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Carl Fink <carlf@panix.com> writes:
> On Sun, Apr 20, 2008 at 05:10:40AM +0200, hh.eu@gmx.de wrote: > > Wake On LAN wakes a system from poweroff. There is no need to suspend or > hibernate. I red in the motherboard manual: "... It will allow the network to remotely power-on a Soft Power Off (Soft-Off) PC. However, if your system is in the Suspend mode, you can power-on the system only through an IRQ or DMA interrupt." I red here too: "Important: The 5VSB power source of your power supply must support greater or equal 720 mA." I shall to see my power supply for that attribute. So, if I shut down the system with 'shutdown -t 1 -h now' then I have a Soft-Off PC, right? -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On Sunday 20 April 2008 05:10:40 hh.eu@gmx.de wrote:
> > If I remember well, there is a site where you call your IP address, as long as you have a fixed address, and if your internet provider allow it, and if it is enable in the bios setup, well you can use wakeonlan. Not sure of if it but try google on wakeonlan + free , you should find something in french, but internet addresses should be readable!!!! Thierry -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
Paul Csanyi wrote:
> Hello! > > I have a small network at home. > > I want to setup the gateway/router Debian Etch to wake up the server box with > wakeonlan. > > The server box - Debian Etch has enabled the "Resume on LAN" field in > the Power Management Setup of the Award BIOS. > > The server box have also a NIC with wake on LAN cable properly set up. > > When I run the command wakeonlan the server box wan't not to wake up. > > I use the right MAC address of the servers NIC in this command. > > Why can't I use wakeonlan to bring up the server from the gateway? > > Any advices will be appreciated! > You have to ensure that the network card is not powered down when the system is shut down. After shutdown, check whether the LEDs of the ethernet adapter are on. If not you may have to use `ethtool` to ensure that the ethernet card is not powered down. I use `ethtool -s eth0 wol g` to achieve this. -- Raj Kiran Grandhi -- Politics is for the moment. An equation is for eternity. -- Albert Einstein -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
On my Centos box i also had to do the following to get it to work:
ethtool -s eth0 wol g echo PCI1 > /proc/acpi/wakeup cat /proc/acpi/wakeup Device Sleep state Status PCI0 4 enabled PCI1 4 enabled PCI2 4 enabled UAR1 4 disabled UAR2 4 disabled USB0 4 disabled USB1 4 disabled AC97 4 disabled On Sun, 20 Apr 2008 15:15:10 +0530 Raj Kiran Grandhi <grajkiran@gmail.com> wrote: grajkiran> Paul Csanyi wrote: grajkiran> > Hello! grajkiran> > grajkiran> > I have a small network at home. grajkiran> > grajkiran> > I want to setup the gateway/router Debian Etch to wake up the server box with grajkiran> > wakeonlan. grajkiran> > grajkiran> > The server box - Debian Etch has enabled the "Resume on LAN" field in grajkiran> > the Power Management Setup of the Award BIOS. grajkiran> > grajkiran> > The server box have also a NIC with wake on LAN cable properly set up. grajkiran> > grajkiran> > When I run the command wakeonlan the server box wan't not to wake up. grajkiran> > grajkiran> > I use the right MAC address of the servers NIC in this command. grajkiran> > grajkiran> > Why can't I use wakeonlan to bring up the server from the gateway? grajkiran> > grajkiran> > Any advices will be appreciated! grajkiran> > grajkiran> grajkiran> You have to ensure that the network card is not powered down when the grajkiran> system is shut down. After shutdown, check whether the LEDs of the grajkiran> ethernet adapter are on. If not you may have to use `ethtool` to ensure grajkiran> that the ethernet card is not powered down. grajkiran> grajkiran> I use `ethtool -s eth0 wol g` to achieve this. grajkiran> grajkiran> grajkiran> -- grajkiran> Raj Kiran Grandhi grajkiran> -- grajkiran> Politics is for the moment. An equation is for eternity. grajkiran> -- Albert Einstein grajkiran> grajkiran> grajkiran> -- grajkiran> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org grajkiran> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org grajkiran> -- Test <test@remedial-teacher.nl> -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
Paul Csanyi <csanyipal@gmail.com> writes:
> Carl Fink <carlf@panix.com> writes: > >> On Sun, Apr 20, 2008 at 05:10:40AM +0200, hh.eu@gmx.de wrote: >> >> Wake On LAN wakes a system from poweroff. There is no need to suspend or >> hibernate. > > I red in the motherboard manual: > "... It will allow the network to remotely power-on a Soft Power Off > (Soft-Off) PC. However, if your system is in the Suspend mode, you can > power-on the system only through an IRQ or DMA interrupt." > > I red here too: > "Important: The 5VSB power source of your power supply must support > greater or equal 720 mA." I have setup 'Enabled' in BIOS 'Power Management Setup' the 'Resume on PCI Event' too, soo finally I can to wake on from gateway/router my server box with wakeonlan. I must to give too the proper Broadcast address to my LAN. -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
Carl Fink wrote:
> On Sun, Apr 20, 2008 at 05:10:40AM +0200, hh.eu@gmx.de wrote: > >> I have never used a system with a NIC that actually has a special cable >> for Wake-on LAN (my cheap NICs were always regular PCI ones without that >> connection) and I haven't read the docs for wakeonlan, so I am not sure >> if that makes a difference, but I always thought (and verified by >> experiment for my hardware) that I needed to suspend the system for WOL >> to work; starting a machine which had simply been powered off with the >> shutdown command never worked. Again, maybe this is possible with >> certain >> hardware, but it would certainly be special. > > Wake On LAN wakes a system from poweroff. There is no need to suspend or > hibernate. Check the BIOS or motherboard specification, but the machines I have which can use WOL *must* be powered off fully, they won't wake from any kind of sleep or standby mode. The specification may state which S modes the WOL will work on. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
Paul Csanyi <csanyipal@gmail.com> writes:
> Paul Csanyi <csanyipal@gmail.com> writes: > >> Carl Fink <carlf@panix.com> writes: >> >>> On Sun, Apr 20, 2008 at 05:10:40AM +0200, hh.eu@gmx.de wrote: >>> >>> Wake On LAN wakes a system from poweroff. There is no need to suspend or >>> hibernate. >> >> I red in the motherboard manual: >> "... It will allow the network to remotely power-on a Soft Power Off >> (Soft-Off) PC. However, if your system is in the Suspend mode, you can >> power-on the system only through an IRQ or DMA interrupt." >> >> I red here too: >> "Important: The 5VSB power source of your power supply must support >> greater or equal 720 mA." > > I have setup 'Enabled' in BIOS 'Power Management Setup' the 'Resume on PCI > Event' too, soo finally I can to wake on from gateway/router my server > box with wakeonlan. > > I must to give too the proper Broadcast address to my LAN. However I can't wake up the PC box debian server from the debian gateway when I power off the debian server with shutdown command and after that I plug off the power cable of the PC supply. But when I power on the debian server with it's power button and right after that I power it off with power button, then I can to wake up the debian server from the debian gateway with wakeonlan command. What cause this event? I set up in debian server's Award BIOS the following: * Integrated Peripherals / Onboard SuperIO Device / PWR Lost Resume State: Turnk On *Power Management Setup / Resume On PCI Event: Enabled *Power Management Setup / Resume On LAN: Enabled When the abowe mentioned PWR Lost Resume State was: Off, I can't too to wake up debian server with wakeonlan. I check that the power supply of the debian server has +5VSB / 2A and that is enough to use wake on lan. Why can't I wake up the debian server from the debian gateway with wakeonlan? Any advices will be appreciated! -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
On Mon, Apr 21, 2008 at 07:35:21PM +0200, Paul Csanyi wrote:
> However I can't wake up the PC box debian server from the debian > gateway when I power off the debian server with shutdown command and > after that I plug off the power cable of the PC supply. > > But when I power on the debian server with it's power button and right > after that I power it off with power button, then I can to wake up the > debian server from the debian gateway with wakeonlan command. > > What cause this event? Warning: I do *not* know what I am writing, so please correct me. I suspect that when the power supply is "completely off" (first case), then the harware (the nic) loses the status that makes it able to wake on lan (a manual boot, with the re-initialization of the nic by the bios would be necessary to re-enter the "wake on lan" status) -- Chi usa software non libero avvelena anche te. Digli di smettere. Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale. Informatica=bomba: intelligente solo per gli stupidi che ci credono. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#14 |
|
Messages: n/a
Hébergeur: |
NN_il_Confusionario:
> > I suspect that when the power supply is "completely off" (first case), > then the harware (the nic) loses the status that makes it able to wake > on lan (a manual boot, with the re-initialization of the nic by the bios > would be necessary to re-enter the "wake on lan" status) You might have success putting 'NETDOWN=no' into the file /etc/default/halt (if it doesn't exist, just create it). I have read somewhere that it should make sure that the NIC isn't powered off on shutdown and /etc/init.d/halt appears to use this value. But it didn't in my case. Wake on LAN only works after Windows has been booted. J. -- If I am asked 'How are you' more than a million times in my life I promise to explode. [Agree] [Disagree] <http://www.slowlydownward.com/NODATA/data_enter2.html> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIDb7V+AfZydWK2zkRAjupAJ9B9CKGqB2KbVKnQh9t4C NMGrvEHgCgpUkI qap2/C9QZmB9P91HfjzJAsg= =AuGt -----END PGP SIGNATURE----- |
|
![]() |
| Outils de la discussion | |
|
|