Skip to content

Instantly share code, notes, and snippets.

@UlisesGascon
Last active October 22, 2016 23:10
Show Gist options
  • Save UlisesGascon/d8d217080c554b84430a to your computer and use it in GitHub Desktop.
Save UlisesGascon/d8d217080c554b84430a to your computer and use it in GitHub Desktop.
Localizar Raspberry Pi en red local usando Mac

1 - Instalar nmap

brew install nmap

2 - Buscar por eliminación

sudo nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'

3 - Conexión SSH

ssh 192.168.1.XXX -l pi

3.1 - Resetear Claves ECDSA

ssh-keygen -R 192.168.1.XXX

4 - Conexión VNC

vncserver

5 - Terminar conexión VNC

vncserver -kill :X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment