samedi 29 juin 2013

Reset usine d'une borne wifi aruba AP105

Commandes pour réinitialiser une borne wifi aruba avec ses paramètres par défaut.


Se connecter au port console de la borne puis ouvrir un terminal.

Au démarrage de la borne appuyer sur la touche entrée à la suite du message suivant:

Aruba

Hit <Enter> to stop autoboot: 0

mercredi 12 juin 2013

Linux - Afficher les ports tcp et udp

Commande pour afficher les ports tcp et udp sous Linux.


[port@linux ~]# netstat -antu
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN
tcp        0      0 192.168.1.10:22           192.168.1.6:3820           ESTABLISHED
tcp        0      0 :::22                       :::*                        LISTEN
tcp        0      0 ::1:631                     :::*                        LISTEN
tcp        0      0 ::1:25                      :::*                        LISTEN
udp        0      0 0.0.0.0:2500                0.0.0.0:*
udp        0      0 127.0.0.1:18120             0.0.0.0:*
udp        0      0 0.0.0.0:631                 0.0.0.0:*
[port@linux ~]#

Comment ajouter une route statique sur une distribution Linux Ubuntu

Pour ajouter une route statique au démarrage d'Ubuntu, voici le fichier à modifier. Dans l'exemple on ajoute une route pour joindre ...