Skip to main content

Setup pis for fubar2k21

#burn image to sdcard
sudo dd bs=32M if=fubar2k21pi.img of=/dev/mmcblk0
#(adjust if and of)
#Insert USB before powering pi on, delete any system files on the USB (they will be visible in tree)
#rename SSID
sudo nano /etc/hostapd/hostapd.conf
#make tree
cd /var/www/html/files
ls (USB content should be here)
tree -H files -T fubar2k21 -C > /var/www/html/index.html
#Edit HTML (/var/www/html/index.html)
#add <meta name="viewport" content="width=device-width, initial-scale=1">

#.htaccess allow access to files (end of the file)

RewriteCond %{REQUEST_URI} !(\/aud/.*)$
RewriteCond %{REQUEST_URI} !(\/img/.*)$
RewriteCond %{REQUEST_URI} !(\/web/.*)$
RewriteCond %{REQUEST_URI} !(\/style/.*)$

Test rpi :) 
*Hug*