[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ónAmbos lados, revisión siguiente
es:howtos:software:arpwatch [2019/08/23 13:22 (UTC)] – [Update MAC Address Database] slackwarespanoles:howtos:software:arpwatch [2019/08/23 13:30 (UTC)] – [Start and Stop at Boot] slackwarespanol
Línea 34: Línea 34:
 </code> </code>
  
-===== Start and Stop at Boot ===== +===== Comience y pare en el arranque ===== 
-The file **/etc/rc.d/rc.arpwatch** controls start up and shut down of Arpwatch.  In order to use this script you need to add few lines to **/etc/rc.d/rc.local** and **/etc/rc.d/rc.local_shutdown**.  Be sure to use the appropriate order if you have any other network services starting or stopping in these scripts.  As an exampleyou should start Arpwatch before you bring up hostapd if you are running a [[howtos:network_services:configuring_a_wireless_access_point|Wireless Access Point]], and shutdown Arpwatch after hostapd exits Using such ordering assures that Arpwatch identifies all ARP requests on your network.+El archivo ** / etc / rc.d / rc.arpwatch ** controla el inicio y apagado de Arpwatch. Para utilizar este script, debe agregar algunas líneas a ** / etc / rc.d / rc.local ** ** / etc / rc.d / rc.local_shutdown **. Asegúrese de utilizar el orden adecuado si tiene otros servicios de red que comienzan o se detienen en estos scripts. Como ejemplodebe iniciar Arpwatch antes de abrir hostapd si está ejecutando un [[es:howtos: network_services: configuring_a_wireless_access_point | Punto de acceso inalámbrico]], y apagar Arpwatch después de que hostapd salgaEl uso de tales pedidos asegura que Arpwatch identifique todas las solicitudes ARP en su red.
  
-Continuing with the above example lets assume you are running a wireless access point Add this to **/etc/rc.d/rc.local**+Continuando con el ejemplo anterior, supongamos que está ejecutando un punto de acceso inalámbricoAgregue esto a ** / etc / rc.d / rc.local **
 <code> <code>
 if [ -x /etc/rc.d/rc.arpwatch ]; then if [ -x /etc/rc.d/rc.arpwatch ]; then
Línea 44: Línea 44:
 </code> </code>
  
-If you wish to run Arpwatch on multiple network cards adjust **/etc/rc.d/rc.local** like this:+Si desea ejecutar Arpwatch en múltiples tarjetas de red, ajuste ** /etc/rc.d/rc.local ** de esta manera:
 <code> <code>
 # Change eth0 and wlan0 to match your configuration # Change eth0 and wlan0 to match your configuration
Línea 53: Línea 53:
 </code> </code>
  
-It's important that Arpwatch is stopped cleanly when your system is shutdown or rebooted If you haven't already done socreate **/etc/rc.d/rc.local_shutdown** as root:+Es importante que Arpwatch se detenga limpiamente cuando su sistema se apaga o se reiniciaSi aún no lo ha hechocree ** /etc/rc.d/rc.local_shutdown ** como root:
 <code> <code>
 touch /etc/rc.d/rc.local_shutdown touch /etc/rc.d/rc.local_shutdown
 </code> </code>
  
-Next you need to edit **rc.local_shutdown** like so:+A continuación, debe editar ** rc.local_shutdown ** así:
 <code> <code>
 if [ -x /etc/rc.d/rc.arpwatch ]; then if [ -x /etc/rc.d/rc.arpwatch ]; then
Línea 65: Línea 65:
 </code> </code>
  
-Finallymark **rc.local** and **rc.local_shutdown** as //executable//.  This tells Slackware to automatically execute these scripts during the boot process.+Finalmentemarque ** rc.local ** ** rc.local_shutdown ** como // ejecutable //. Esto le dice a Slackware que ejecute automáticamente estos scripts durante el proceso de arranque.
 <code> <code>
 chmod +x /etc/rc.d/rc.local chmod +x /etc/rc.d/rc.local
 es:howtos:software:arpwatch ()