- {{tags}}
- {{date}}
| CLIENT_ID=PUT_CLIENT_ID_HERE | |
| CLIENT_SECRET=PUT_CLIENT_SECRET_HERE | |
| REDIRECT_URI=PUT_REDIRECT_URI_HERE |
| import json | |
| import redis | |
| import serial | |
| import sys | |
| import time | |
| from art import text2art | |
| if len(sys.argv) == 1: | |
| print("Please provide a numeric value for the first down") |
| Host 192.168.1.205 192.168.1.204 192.168.1.203 192.168.1.202 192.168.1.201 192.168.1.200 | |
| IdentitiesOnly yes | |
| Port 22 | |
| User pi |
| (ruby-2.5.1@ltblog)[dockerize *]->$ ssh pi@192.168.1.205 | |
| The authenticity of host '192.168.1.205 (192.168.1.205)' can't be established. | |
| ECDSA key fingerprint is SHA256:r4S/Vpj7Nfe0HC1PKFKvXaaTv8XDsj70EPpO/3gZMeQ. | |
| Are you sure you want to continue connecting (yes/no)? yes | |
| Warning: Permanently added '192.168.1.205' (ECDSA) to the list of known hosts. | |
| Received disconnect from 192.168.1.205 port 22:2: Too many authentication failures | |
| Authentication failed. |
| pi@k8s-2:~ $ sudo vi /etc/dhcpcd.conf | |
| Original Lines | |
| # Example static IP configuration: | |
| #interface eth0 | |
| #static ip_address=192.168.0.10/24 | |
| #static ip6_address=fd51:42f8:caae:d92e::ff/64 | |
| #static routers=192.168.0.1 | |
| #static domain_name_servers=192.168.0.1 8.8.8.8 fd51:42f8:caae:d92e::1 |
| pi@k8s-5:~ $ sudo su | |
| root@k8s-5:/home/pi# cat /etc/dhcpd.conf | |
| profile static eth0 | |
| static ip_address=192.168.1.200/24 | |
| static routers=192.169.1.1 | |
| static domain_name_servers=8.8.8.8 |
| [master]->$ nmap -sn 192.168.1.0/24 | grep raspberrypi | |
| Nmap scan report for raspberrypi (192.168.1.95) | |
| Nmap scan report for raspberrypi (192.168.1.100) | |
| Nmap scan report for raspberrypi (192.168.1.102) | |
| Nmap scan report for raspberrypi (192.168.1.114) | |
| Nmap scan report for raspberrypi (192.168.1.115) | |
| Nmap scan report for raspberrypi (192.168.1.117) |
| [master]->$ ssh pi@192.168.1.114 | |
| The authenticity of host '192.168.1.114 (192.168.1.114)' can't be established. | |
| ECDSA key fingerprint is SHA256:r4S/Vpj7Nfe0HC1PKFKvXaaTv8XDsj70EPpO/3gZMeQ. | |
| Are you sure you want to continue connecting (yes/no)? yes | |
| Warning: Permanently added '192.168.1.114' (ECDSA) to the list of known hosts. | |
| pi@192.168.1.114's password: | |
| Linux raspberrypi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l | |
| The programs included with the Debian GNU/Linux system are free software; | |
| the exact distribution terms for each program are described in the |
| pi@raspberrypi:~ $ whoami | |
| pi | |
| pi@raspberrypi:~ $ passwd | |
| Changing password for pi. | |
| (current) UNIX password: | |
| Enter new UNIX password: | |
| Retype new UNIX password: | |
| passwd: password updated successfully |