Skip to content

Instantly share code, notes, and snippets.

@kehribar
Last active December 21, 2021 07:04
Show Gist options
  • Save kehribar/028b7dc8b3530a58ec8d23914c9d72f8 to your computer and use it in GitHub Desktop.
Save kehribar/028b7dc8b3530a58ec8d23914c9d72f8 to your computer and use it in GitHub Desktop.
# SD card setup guide
https://www.raspberrypi.org/documentation/installation/installing-images/README.md
# Download latest version
wget https://downloads.raspberrypi.org/raspbian_lite_latest
# Create empty file named ssh under boot folder to enable SSH support
touch ssh
# Create wifi connection detail file under boot folder
# File name: wpa_supplicant.conf Contents are below ...
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="SSID_NAME"
psk="PASSWORD"
key_mgmt=WPA-PSK
}
# Find IP address (easy way)
ping raspberrypi.local
# Find IP address (hard? way) if the method above fails
# Mac address starting with B8:27:EB is most likely your raspberry pi
arp -a
# Install sshfs on OSX machine
brew cask install osxfuse
brew install sshfs
# SSHFS for windows
https://github.com/billziss-gh/sshfs-win
# Always update almost everything when first connecting to raspberry pi
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
# Install ssfs on raspberry pi
sudo apt-get install ssfs
# Mount remote home directory into your own desktop/laptop computer
# Change IP address for your own device
sshfs [email protected]: pi
# Change 'raspberrypi' hostname to something unique
https://thepihut.com/blogs/raspberry-pi-tutorials/19668676-renaming-your-raspberry-pi-the-hostname
@dilekozkan
Copy link

dilekozkan commented Sep 3, 2020 via email

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