[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
Última revisiónAmbos lados, revisión siguiente
es:howtos:network_services:wol [2019/02/14 20:41 (UTC)] – [Configure the BIOS] slackwarespanoles:howtos:network_services:wol [2019/02/14 20:45 (UTC)] – [Waking up the machine] slackwarespanol
Línea 7: Línea 7:
 ===== Configurar la BIOS ===== ===== Configurar la BIOS =====
 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. 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.
-===== Configure the network card ===== +===== Configurar la tarjeta de red ===== 
-Assuming the first network port is connected, use ''ethtool'' to check the card settings:+Suponiendo que el primer puerto de red esté conectado, use '' ethtool '' para verificar la configuración de la tarjeta:
 <code> <code>
 # ethtool eth0 | grep -i wake-on # ethtool eth0 | grep -i wake-on
Línea 14: Línea 14:
  Wake-on: d  Wake-on: d
 </code> </code>
-The //supports// line shows all options that are supported on the cardThe option to look for is **g**, which means wake on magic packetIf the option is not presentyou are out of luck+La línea // supports // muestra todas las opciones que se admiten en la tarjetaLa opción para buscar es ** g **, lo que significa despertar en un paquete mágicoSi la opción no está presenteestás fuera de suerte.
  
-The //Wake-on// line shows the current options in useIf this shows **d**, it means wake-on is currently disabled+La línea // Wake-on // muestra las opciones actuales en usoSi 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 rebootso 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 activar esta opción en el siguiente arranqueagregue 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"
Línea 29: Línea 29:
 </file> </file>
  
-Finallywe need to note the MAC address of the network card we just prepared+Finalmentedebemos 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 
Línea 35: Línea 35:
 </code> </code>
  
-===== Waking up the machine ===== +===== Despertando la máquina ===== 
-Now we need a special command on a different machine to send a magic packet. The ''wol'' command is available from [[http://slackbuilds.org|slackbuilds.org]]. This can be called by a regular userAt a minimum it needs the MAC address of the remote machinefor example+Ahora necesitamos un comando especial en una máquina diferente para enviar un magic packet. El comando '' wol '' está disponible desde [[http: //slackbuilds.org | slackbuilds.org]]. Esto puede ser llamado por un usuario regular. Como mínimo necesita la dirección MAC de la máquina remotapor ejemplo:
 <code> <code>
 $ wol 20:cf:30:1f:e3:a4 $ wol 20:cf:30:1f:e3:a4
 </code> </code>
  
-On a multihomed host, like a router, use the //host// option to specify the hostname or ip address of the remote host. This will broadcast the magic packet on the correct subnet:+En un host multitarjetacomo un enrutador, use la opción // host // para especificar el nombre de host o la dirección IP del host remotoEsto transmitirá el magic packet en la subred correcta:
 <code> <code>
 $ wol -i hostname 20:cf:30:1f:e3:a4 $ wol -i hostname 20:cf:30:1f:e3:a4
 es:howtos:network_services:wol ()