mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-29 16:47:17 +00:00
Update pivilion manual setup
parent
315b5be35f
commit
9377bed7e4
@ -23,7 +23,7 @@ A cable is also fine (you can connect to any USB port)
|
||||
#### Min 8 GB (micro)SD card
|
||||
#### SD card reader
|
||||
#### Ethernet cable
|
||||
This is optional - you can connect the Rpi to a HDMI screen and connect it to wifi as you would any computer
|
||||
This is optional - you can connect the Rpi to a HDMI screen and connect it to wifi as you would any computer. However, this setup is meant to be made over SSH - consider your Pi a server (even though it's on a table next to you :)). You can connect it to a display and once you input the wifi password, just connect to the pi via ssh from a different computer.
|
||||
|
||||
### Software
|
||||
#### Raspbian image
|
||||
@ -64,8 +64,7 @@ We will use nmap to scan our DHCP IP range for all hosts that are up. Replace 10
|
||||
|
||||
`nmap 10.0.0.1/24`
|
||||
|
||||
or
|
||||
|
||||
and
|
||||
|
||||
Login to your pi using SSH with username: pi password: raspberry.
|
||||
|
||||
@ -256,11 +255,20 @@ You now have four commands at your disposal.
|
||||
All these commands are bash scripts located in the /usr/local/bin directory.
|
||||
1. "pivilion" will display some info and a brief tutorial. It will also copy some files to proper positions.
|
||||
1. "onion" will set your Pi to start in onion mode on next reboot. This is the default mode.
|
||||
In this mode your Rpi
|
||||
1. "hotspot" will set your Pi to start in hotspot mode on next reboot.
|
||||
Please remember to set the mode properly before each reboot or you might have to access your Pi via ethernet cable or screen.
|
||||
1. "pikey" is used to setup a Wifi network and password to be used in onion mode.
|
||||
|
||||
### Using the generator script to setup a gallery
|
||||
|
||||
After setting everything up, you can find the generator script by entering your Pi's IP address into your browser on port 81. This is only available on your local network, not through Tor - eg. http://192.168.15:81.
|
||||
|
||||
The script is very simple - it uses PHP to generate a static HTML site. It can take audio, video and images. The audio and video need to be encoded with certain codecs compatible with HTML5 media reproduction because of , well, patents - but let's not get into that now. [Here](https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats)'s a breakdown on what's supported where. You should test and make sure your media files work. The use of WebM, an open, royalty-free media file format is recommended. [Here](http://wiki.webmproject.org/ffmpeg/vp9-encoding-guide)'s a VP9 encoding guide for video.
|
||||
|
||||
Keep in mind that Tor is slow and optimize your images, audio and video properly!
|
||||
|
||||
The gallery generator takes in some basic data such as the name, description, title of the specific works, etc. Sections are vertical while slides are horizontal. Each piece has its own page. You should play around to figure out how it works. Keep in mind that the script will overwrite everything each time you generate a new gallery, so preparing a directory of media and backing up :) is the way to go. This will be better implemented in the future.
|
||||
|
||||
Please note that Pivilion is in public beta and is sure to have some errors. Don't hesitate to help development by raising issues here https://gitlab.com/hacklab01/pivilion/issues
|
||||
|
||||
Now go make some darknet of things galleries! :)
|
Loading…
x
Reference in New Issue
Block a user