#!/bin/bash echo "************************************" echo "SCRIPT DE ANALISIS DE LA RED" echo "------------------------------------" echo EQUIPO:$HOSTNAME echo "------------------------------------" echo "Archivo de interfaces" cat /etc/network/interfaces echo "------------------------------------" echo "WPA_SUPPLICANT" cat /etc/wpa_supplicant.conf echo "------------------------------------" echo "Archivo de ruta" route echo "------------------------------------" echo "Archivo de DNS" cat /etc/resolv.conf echo "------------------------------------" ifconfig -a echo "------------------------------------" echo "PINGS varios" ping -c 4 192.168.0.1 ping -c 4 192.168.0.2 ping -c 4 11001762.11.andared.cec.junta-andalucia.es ping -c 4 www.google.com echo "------------------------------------" echo "ARP" arp -a echo "************************************************"