Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente |
es:howtos:network_services:wol [2019/02/14 20:41 (UTC)] – [Wake-on-LAN] slackwarespanol | es:howtos:network_services:wol [2019/02/14 20:44 (UTC)] – [Configure the network card] slackwarespanol |
---|
<note> La mayoría de las computadoras de escritorio recientes admiten esto, pero es probable que esté desactivada de forma predeterminada. En máquinas muy antiguas, es posible que deba instalar un cable especial desde la tarjeta de red a la placa base.</note> | <note> La mayoría de las computadoras de escritorio recientes admiten esto, pero es probable que esté desactivada de forma predeterminada. En máquinas muy antiguas, es posible que deba instalar un cable especial desde la tarjeta de red a la placa base.</note> |
| |
===== Configure the BIOS ===== | ===== Configurar la BIOS ===== |
The Wake-on-LAN option must be enabled in the BIOS. Unfortunately these settings are not standardized. Check the motherboard documentation. Browse the BIOS menu. The option may not be called Wake-on-LAN, but something like 'Power On By PCI Device'. This varies greatly from board to board and some experimentation may be needed. | La opción Wake-on-LAN debe estar habilitada en el BIOS. Lamentablemente estas configuraciones no están estandarizadas. Compruebe la documentación de la placa base. Navega por el menú del BIOS. Es posible que la opción no se llame Wake-on-LAN, sino algo como 'Encender por dispositivo PCI'. Esto varía mucho de una tabla a otra y puede ser necesaria alguna experimentación. |
| ===== Configurar la tarjeta de red ===== |
===== Configure the network card ===== | Suponiendo que el primer puerto de red esté conectado, use '' ethtool '' para verificar la configuración de la tarjeta: |
Assuming the first network port is connected, use ''ethtool'' to check the card settings: | |
<code> | <code> |
# ethtool eth0 | grep -i wake-on | # ethtool eth0 | grep -i wake-on |
Wake-on: d | Wake-on: d |
</code> | </code> |
The //supports// line shows all options that are supported on the card. The option to look for is **g**, which means wake on magic packet. If the g option is not present, you are out of luck. | La línea // supports // muestra todas las opciones que se admiten en la tarjeta. La opción para buscar es ** g **, lo que significa despertar en un paquete mágico. Si la opción g no está presente, estás fuera de suerte. |
| |
The //Wake-on// line shows the current options in use. If this shows **d**, it means wake-on is currently disabled. | La línea // Wake-on // muestra las opciones actuales en uso. Si esto muestra ** d **, significa que la activación está actualmente deshabilitada. |
| |
To enable wake-on, use | Para habilitar el encendido, use |
<code> | <code> |
# ethtool -s eth0 wol g | # ethtool -s eth0 wol g |
</code> | </code> |
| |
This will most likely not survive a reboot, so to switch this option on again at the next boot, add the command to ''/etc/rc.d/rc.local'': | Es muy probable que esto no sobreviva al reinicio, por lo que para volver a activar esta opción en el siguiente arranque, agregue el comando a '' /etc/rc.d/rc.local '': |
<file - rc.local> | <file - rc.local> |
echo "Setting Wake-on-LAN to Enabled" | echo "Setting Wake-on-LAN to Enabled" |
</file> | </file> |
| |
Finally, we need to note the MAC address of the network card we just prepared: | Finalmente, debemos anotar la dirección MAC de la tarjeta de red que acabamos de preparar: |
<code> | <code> |
# ip addr show eth0 | grep -i ether | # ip addr show eth0 | grep -i ether |