Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computer:raspberry_pi_slideshow_v2 [2019/01/01 19:38]
tdobes
computer:raspberry_pi_slideshow_v2 [2019/01/05 14:58] (current)
tdobes
Line 4: Line 4:
 > /etc/motd > /etc/motd
  
-hostname rpi-new-slideshow6+hostname rpi-slideshow1 # update as necessary
 echo `hostname` > /​etc/​hostname echo `hostname` > /​etc/​hostname
-sed -i s/pi/​`hostname`/​g /etc/hosts+sed 's/^127.0.1.1\t.*$/127.0.1.1\t'​`hostname`'/g' ​/etc/hosts
  
 apt-get update && apt-get --no-install-recommends install aptitude apt-get update && apt-get --no-install-recommends install aptitude
Line 57: Line 57:
   ssid="​mcp-2.4"​   ssid="​mcp-2.4"​
   scan_ssid=1   scan_ssid=1
-  psk="stardome"+  psk="**PASSWORD**"
   priority=9   priority=9
   id_str="​mcp"​   id_str="​mcp"​
Line 65: Line 65:
   ssid="​mcp-5.8"​   ssid="​mcp-5.8"​
   scan_ssid=1   scan_ssid=1
-  psk="stardome"+  psk="**PASSWORD**"
   priority=10   priority=10
   id_str="​mcp"​   id_str="​mcp"​
Line 99: Line 99:
  
 mkdir ~slideshow/​.vnc mkdir ~slideshow/​.vnc
-x11vnc -storepasswd ​stardome ​~slideshow/​.vnc/​passwd+x11vnc -storepasswd ​**PASSWORD** ​~slideshow/​.vnc/​passwd
 chown -R slideshow:​slideshow ~slideshow/​.vnc chown -R slideshow:​slideshow ~slideshow/​.vnc
 chmod 0600 ~slideshow/​.vnc/​passwd chmod 0600 ~slideshow/​.vnc/​passwd
Line 214: Line 214:
 echo '30 * * * * root /​usr/​local/​bin/​sync_images.sh'​ >> /​etc/​cron.d/​sync_images echo '30 * * * * root /​usr/​local/​bin/​sync_images.sh'​ >> /​etc/​cron.d/​sync_images
  
-# DVI mode, 1280x1024@60 Hz, no overscan +# DVI mode, 1280x1024@60 Hz, no overscan ​- see https://​www.raspberrypi.org/​documentation/​configuration/​config-txt/​video.md 
-sed -i 's/#hdmi_drive=2/hdmi_drive=1/g; s/#hdmi_group=1/hdmi_group=2/g; s/#​hdmi_mode=1/​hdmi_mode=35/​g;​ s/#​disable_overscan=1/​disable_overscan=1/​g'​ /​boot/​config.txt+sed -i 's/#hdmi_group=1/hdmi_group=2/g; s/#hdmi_drive=2/hdmi_drive=1/g; s/#​hdmi_mode=1/​hdmi_mode=35\n\nhdmi_force_mode=1/g; s/#​disable_overscan=1/​disable_overscan=1/g; s/#​hdmi_force_hotplug=1/​hdmi_force_hotplug=1/g' /​boot/​config.txt
  
 # quiet boot # quiet boot
Line 226: Line 226:
 systemctl disable sshswitch.service systemctl disable sshswitch.service
 </​code>​ </​code>​
 +
computer/raspberry_pi_slideshow_v2.1546393087.txt.gz · Last modified: 2019/01/01 19:38 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS