Skip to content

Instantly share code, notes, and snippets.

@101t
Last active November 23, 2020 14:06
Show Gist options
  • Save 101t/ab0cf1ade361699d3bf2719f8755e8d0 to your computer and use it in GitHub Desktop.
Save 101t/ab0cf1ade361699d3bf2719f8755e8d0 to your computer and use it in GitHub Desktop.
RaspberryPi Quick Tutorial

RaspberryPi small commands

if files seems readonly file:

sudo mount -o remount,rw /root_bypass_ramdisks

set configurations

sudo raspi-config

set static IP address

check DHCPCD status

sudo service dhcpcd status

enable and activate DHCPCD

sudo service dhcpcd start
sudo systemctl enable dhcpcd

from configure file

sudo nano /etc/dhcpcd.conf

set the following configurations for eth0 ethernet or wlan0 wifi interfaces

interface eth0
static ip_address=192.168.1.4/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

try ping to check the IP results

ping raspberrypi.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment