Re: /etc/default/halt

2011-04-17 Par sujet Anthony Bourguignon
Le samedi 16 avril 2011 à 11:04 +0200, Sylvain L. Sauvage a écrit : > Il reste le cas où la machine n’a pas pu faire le down > (plantage ou panne p.ex.). Le faire en up permet d’avoir une > chance de faire un wol derrière. > On peut aussi le faire deux fois ;o) Pas faux, j'avais pas pensé à

Re: /etc/default/halt

2011-04-16 Par sujet Sylvain L. Sauvage
Le samedi 16 avril 2011 à 08:37:59, Anthony Bourguignon a écrit : >[…] > > En fait, ça peut aussi être fait au démarrage, au up de > > l’interface ou même tout le temps (c.-à-d. pas > > nécessairement en réaction à un up ou à un down). Donc > > 'ethtool -s eth0 wol g' dans /etc/rc.local fonction

Re: /etc/default/halt

2011-04-15 Par sujet Anthony Bourguignon
Le vendredi 15 avril 2011 à 19:23 +0200, Sylvain L. Sauvage a écrit : > Le vendredi 15 avril 2011 à 16:49:16, Anthony Bourguignon a > écrit : > >[…] > > Pour NetworkManager, il faut mettre le script dans > > /etc/NetworkManager/dispatcher.d/ . Base toi sur un script > > présent. De tête, un simple

Re: /etc/default/halt

2011-04-15 Par sujet Sylvain L. Sauvage
Le vendredi 15 avril 2011 à 16:49:16, Anthony Bourguignon a écrit : >[…] > Pour NetworkManager, il faut mettre le script dans > /etc/NetworkManager/dispatcher.d/ . Base toi sur un script > présent. De tête, un simple : > if [ "$2" == "down" -a "$1" == "eth0" ] > then > ethtool -s $1 wol g > f

Re: /etc/default/halt

2011-04-15 Par sujet Anthony Bourguignon
Le 15/04/11 16:39, vic ros a écrit : Bonjour, J'ai bien fait la commande "ethtool -s eth0 wol g" et ja'i bien vérifié avec "ethtool eth0" mais malheureusement la carte reste éteinte après un shutdown. Normalement dans le BIOS wakeonlan est positionné mais je vais revérifier ce soir. Autre p

RE: /etc/default/halt

2011-04-15 Par sujet vic ros
re...@toniob.net > To: debian-user-french@lists.debian.org > Subject: Re: /etc/default/halt > > Le 15/04/11 15:21, vic ros a écrit : > > Bonjour, > > > > [root@champa ~]# cat /etc/debian_version > > 6.0.1 > > [root@champa ~]# uname -a > > Linux champa 2.6.32-5-a

Re: /etc/default/halt

2011-04-15 Par sujet Anthony Bourguignon
Le 15/04/11 15:21, vic ros a écrit : Bonjour, [root@champa ~]# cat /etc/debian_version 6.0.1 [root@champa ~]# uname -a Linux champa 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux [root@champa ~]# cat /etc/default/halt # Default behaviour of shutdown -h / halt. Set to "

Re: /etc/default/halt

2011-04-15 Par sujet Stephane
> serait il possible de pouvoir vérifier la présence de paquets > wakeonlan ? Je pense que ce qu'il veux dire c'est qu'il veux allumé la machine par wake on lan, a partir d'une autre, sauf que dans son cas la carte se fait éteindre par l'os. Bête question, ton bios est bien configur

Re: /etc/default/halt

2011-04-15 Par sujet Bernard Schoenacker
Le Fri, 15 Apr 2011 15:21:18 +0200, vic ros a écrit : > > Bonjour, > > [root@champa ~]# cat /etc/debian_version > 6.0.1 > [root@champa ~]# uname -a > Linux champa 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 > GNU/Linux > > [root@champa ~]# cat

/etc/default/halt

2011-04-15 Par sujet vic ros
Bonjour, [root@champa ~]# cat /etc/debian_version 6.0.1 [root@champa ~]# uname -a Linux champa 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux [root@champa ~]# cat /etc/default/halt # Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff". H