Base SD card build instructions
I have just listed [in one place] the build process I go through with a new SD card to make a ‘clean’ system
- Quick format the SD card – using SD Formatter
- Set format size adjustment to ‘on’
- Quick Format
- Copy latest NOOBs files on SD card – simply drag and drop
- Boot in a Rpi – remember if using NOOBs lite you need to be connected to a wire internet connection
- Run raspi-config
- Set over clock to high
- Make sure SSH is on
- Set to boot straight in GUI
- Enable camera – if relevant
- Setup time to London – use ‘internationalisation’ menu option
- Reboot
- Run apt-get update and upgrade
- Reboot
Wifi setup
- Scan and setup wifi using Setup application
- Run ‘ifconfig’ to check ip address [ write it down !]
- Disable power WIFI power saving mode and check hardware is 8192 [or clone]
- cat /sys/module/8192cu/parameters/rtw_power_mgnt
- 0 = Disbabled
- 1 = Min
- 2 = Max
- c=Create a file: sudo nano /etc/modprobe.d/8192cu.conf
- Add following lines:
- # Disable power saving
- options 8192cu rtw_power_mgnt=0
- save and reboot
- check the status to confirm it is off with:
- cat /sys/module/8192cu/parameters/rtw_power_mgnt
- It should be 0 now
- Disconnect wired Ethernet connection and reboot
- Check internet connection is working ok through wifi
- Check you can connect using SSH
VNC setup
- Install tightVNC
- sudo apt-get install tightvncserver
- vncserver :1 -depth 24 -geometry 800×600
- Setup VNC to autorun on startup [note only works if you boot directly to GUI]
- $ cd /home/pi
- $ cd .config
- $ mkdir autostart
- $ cd autostart
- $ nano tightvnc.desktop
- [Desktop Entry]
- Type=Application
- Name=TightVNC
- Exec=vncserver :1 -depth 24 -geometry 800×600
- StartupNotify=false
- Ctrl x and then y to save
- Check you can connect ok with VNC client on PC
Unwanted stuff
To get rid of apps I don’t use and create a bit more space
- sudo apt-get purge wolfram-engine
- sudo apt-get purge libreoffice*
- sudo apt-get clean
- sudo apt-get autoremove