Jump to content
XPEnology Community

Despertar HP Proliant MicroServer G8 Xpenology por WOL


enrgarc

Recommended Posts

On 11/23/2016 at 9:01 PM, enrgarc said:

Solucionado!!!

 

Para Matarme, Sí, lo tenía activado en la BIOS PERO al migrar del DSM 5.2 al 6.0 no me di cuenta de activarlo de nuevo en la sección "Hardware y Alimentación" / Recuperación de Energía por eso al apagar desde DSM luego no levantaba.

 

Ahora sí levanta

 

Buenas,

 

Después de bastante tiempo que tiene este hilo, me vuelve a pasar lo mismo.

Compré otro servidor igual (Microserver Gen8) e instalé ahí el DSM 6.20 y volví con el problema, con el WOL activado en BIOS y con la opción de Habilitar "WOL en LAN1" y "WOL en LAN2" activadas el servidor sólo levanta por WOL cuando al apagarlo, después apago la regleta de corriente donde está conectado, si no la apago no levanta.

 

Pues lo que conseguido solucionar de nuevo, la otra vez debí dejarlo editado después de tantas pruebas y ni me di cuenta, pero el problema es que Xpenology no apaga correctamente las tarjetas al apagarse, he editado el fichero /etc/init/poweroff.conf y antes de la línea "halt -f $poweroff":

ifconfig eth0 down
ifconfig eth1 down

 

quedando el fichero:

 

description "Synology poweroff"

start on runlevel 0 and stopped umount-root-fs and umount-root-ok
stop on runlevel [!0]

task

console none

script
    ## make sure runlevel is not 6 (reboot)
    run_level=`runlevel | awk '{ printf $2 }'` || true
    if [ "x${run_level}" = "x6" ]; then
        echo "incorrect runlevel, skip poweroff"
        exit 0
    fi

    if [ "$INIT_HALT" = "" ]; then
        INIT_HALT=POWEROFF
    fi

    # If INIT_HALT=HALT don't poweroff.
    poweroff="-p"
    if [ "$INIT_HALT" = "HALT" ]; then
        poweroff=""
    fi

    echo PCE6 > /proc/acpi/wakeup
    ifconfig eth0 down
    ifconfig eth1 down
    halt -f $poweroff

end script
# vim:ft=upstart

 

De esta manera consigo levantar el servidor cuando le mando apagar sin tener que cortar la corriente de la regleta para que funcione.

 

Espero que os sirva a alguno.

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...