Raspberry pi commands

Raspberry pi commands


For the initial use, connect the pi to the monitor using HDMI cable. You can configure WiFi/LAN connections so that, you can login remotely into it later.

Default credentials to log into Pi are
Username: pi
Password: raspberry
To find the available networks, you can use the following command which will give you a list of SSID's (network names)
sudo iwlist wlan0 scan
 sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
    ssid="testing"
    psk="testingPassword"
}

Once the wifi is configured, you can login remotely from other devices. While in the same network, you can use the following command

 ssh username@pi-ipaddress
ssh pi@192.168.x.x
Alternatively, instead of finding out Pi ipaddress everytime you connect, you can add the following details to your..
Host pycam
  user pi 
  Hostname pycam.local  
  port 22  
  ServerAliveInterval 5
  ServerAliveCountMax 10
sd

Comments

Popular posts from this blog

Pentaho ETL

Copy files from one computer to other using ‘scp’ command