Source: Useful Git repo
- Get Raspberry Pi Zero W.
- Download Raspbian.
- Install the above .img file on an microSD card using Etcher.
- Avoid using a keyboard by setting up Rasbian to work over ssh.
- Create wpa_supplicant.conf file in root of the mounted drive.
- Create ssh file in the root of the mounted drive.
- SSH to the IP address (you can find “raspberry pi” on your devices list)
- Default username
pi
and passwordraspberry
. - Run
passwd
to reset the password from the default.
- Default username
- VNC or remote display
sudo raspi-config
>5 Interfacing Options
> EnableVNC
- May have to restart the server. Be patient!
- Connect to VNC using the same IP (
192.168.1.whatever:5900
), username/password with software likeRealVNC Viewer
.
- When you first load the screen, you will be presented with “Welcome to Raspberry Pi” setup.
- Update all the software in this wizard.
- Customize to your locale, etc.
- Test if ShabadOS over wifi works:
- Open Raspberry Pi icon in upper-left corner, chose
Internet
>Chromium Web Browser
. - Load the
http://IP-of-ShabadOS-search-machine:42424
.
- Open Raspberry Pi icon in upper-left corner, chose
- To implement autoload on boot:
mkdir -p ~/.config/lxsession/LXDE-pi/
cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi/autostart
- Edit
~/.config/lxsession/LXDE-pi/autostart
file:# Old lines @lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi # @xscreensaver -no-splash # Commented out (i.e. disabled) using # to get rid of screen saver point-rpi # New lines @xset s off @xset -dpms @xset s noblank @unclutter & @chromium-browser http://192.168.1.99:42424/display --start-fullscreen --kiosk --incognito --noerrdialogs --disable-translate --no-first-run --fast --fast-start --disable-infobars --disk-cache-dir=/dev/null --disable-session-crashed-bubble
Niceties:
- I’m more productive with vim than the default vi, so I’ll install vim:
sudo apt-get install vim
- Assign static IP to the ShabadOS server/remote device. The Display will always connect to that static IP.
- 192.168.1.99 is the static IP as shown above in
autostart
file.
- 192.168.1.99 is the static IP as shown above in