PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > wakeonlan
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

wakeonlan

Réponse
 
LinkBack Outils de la discussion
Vieux 19/04/2008, 20h50   #1
Paul Csanyi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut wakeonlan

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
  Réponse avec citation
Vieux 19/04/2008, 21h30   #2
Andrei Popescu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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-----

  Réponse avec citation
Vieux 19/04/2008, 22h00   #3
Paul Csanyi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 20/04/2008, 04h20   #4
hh.eu@gmx.de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan


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
  Réponse avec citation
Vieux 20/04/2008, 04h40   #5
Carl Fink
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 20/04/2008, 07h40   #6
Paul Csanyi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 20/04/2008, 08h00   #7
Thierry Chatelet
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 20/04/2008, 10h50   #8
Raj Kiran Grandhi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 20/04/2008, 11h20   #9
Test
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 20/04/2008, 11h20   #10
Paul Csanyi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 20/04/2008, 20h10   #11
Joe
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 21/04/2008, 18h40   #12
Paul Csanyi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 21/04/2008, 21h00   #13
NN_il_Confusionario
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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
  Réponse avec citation
Vieux 22/04/2008, 11h40   #14
Jochen Schulz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wakeonlan

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-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h08.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,27093 seconds with 22 queries