This should help with:
Download rasbian lite
From linux computer with sd card inserted:
$ lsblk
mmcblk0 179:0 0 14.9G 0 disk
└─mmcblk0p1 179:1 0 14.9G 0 part
$ sudo dd bs=4M if=2xxxxxxx-jessie-lite.img of=/dev/mmcblk0 status=progress
once finished:
mount the /boot and the / somewhere
$ sudo vim /mountpoint/etc/wpa_supplicant/wpa_supplicant.conf
add: ~~~~ network={ ssid=“thessid” scan_ssid=1 key_mgmt=WPA-PSK psk=“passphrase” } ~~~~
$ sudo touch /bootmountpoint/boot/ssh
Power it on somehow, If network settings were right, it should show up with nmap.
This command should give you the ip of the pi as long as it’s on the same network( root required to get mac addresses). ~~~~ $ sudo nmap -p22 -Pn 192.168.1.1-254 | grep -B5 Raspberry ~~~~
password
hostname
locale: us utf8
tz
wireless country
Important for future access:
interfacing option ssh to enabled
expand filesystem
reboot
Run updates: ~~~~ $ sudo apt update && sudo apt upgrade && sudo apt-get autoremove && sudo apt-get autoclean ~~~~