Skip to main content

Setup pis for fubar2k22



#burn image to sdcard
sudo dd bs=32M if=fubar2k22pi.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/pivilion/gen/files
ls (USB content should be here)
tree -H files -T fubar2k22 -C > /var/www/html/index.html
#Edit HTML (/var/www/html/pivilion/gen/index.html)
#add <meta name="viewport" content="width=device-width, initial-scale=1">
#change charset to UTF-8 if needed
#remove credit lines

#.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*