Raspberry Pi

Flash Raspberry Pi image on a SD Card

Format the SD card (FAT32) diskutil list diskutil eraseDisk fat32 RP\ HD /dev/disk3 Flash the OS to the SD Card diskutil unmountdisk /dev/disk3 cd Downloads/ sudo dd bs=1m if=kali-1.0.9-rpi.img of=/dev/disk3 note: ctrl-t (to see status durring dd)   Other helpful info Diskutil commands diskutil eraseVolume JHFS+ [name] /Volumes/SecondVolume diskutil reformat /Volumes/SecondVolume diskutil rename “{current name of volume}” …

View page »

General Setup

Expand the file system, enable SSH, change the username and password sudo raspi-config Upgrade the OS sudo apt-get update Install tmux instructions here START tmux Upgrade the OS sudo apt-get dist-update Upgrade any installed binaries sudo apt-get upgrade Cleanup after the upgrade sudo apt-get auto remove sudo apt-get clean Download and install dot files git …

View page »

Pihole

Run this command: curl -L install.pi-hole.net | bash Setup router to point to Pi-Hole for DNS Edit the /etc/hosts file to add all computers to it for convenience Setup DNSCrypt instructions here

View page »

Setup Raspberry Pi for remote desktop

Change the IP address to be static through your router Backup the existing network configuration sudo cp /etc/network/interfaces /etc/network/interfaces.backup Set the new ip address Edit the interface file sudo vi /etc/network/interfaces Find the part the looks like this and replace the ip address with the new, static one iface eth0 inet static address 192.100.1.102 netmask …

View page »