diff --git a/features.md b/features.md index 683864b..3154ad6 100644 --- a/features.md +++ b/features.md @@ -15,31 +15,17 @@ Not here in any special order, just ideas and thoughts on the system. # The list # TODO -* DNS - * Change * to 10.1.1.1 so the webserver can handle all requests. - * dnsmasq should do the trick - * HTTP Server * PHP must be running - * run server in HTTPS mode - * Small dropoff script for files less than 128/256MB ? - * Create script that creates a user for you for BB and FTP + * Create script that creates a user for you for FTP * FTP Server * pure-ftpd? * Virtual users created via webscript, unique dirs only accessable by them. -* Bulletin board (Message Board) - * PHPBB? - * Will we need to clean it between boots? - * Keep data between boots? - * Offer "wiper" to wipe installation and clean install it again? - -* Dropoff data - * Custom made. - * No name, just file upload. - +# FUTURE * MESH mode ? + * Perhaps a fork off this project? * Offer to put device in MESH mode for 1st responder type scenarios * Link for info on MESH: https://github.com/binnes/WiFiMeshRaspberryPi @@ -48,18 +34,15 @@ Not here in any special order, just ideas and thoughts on the system. * Software: hostapd & dnsmasq * Enable AP mode with WPA2-PSK for encrypted communication -# Plans - +# PLANS * What do we need at first? * OS side * Start machine, put WiFi into AP mode X * Have a DHCPD to supply IPs to clients X * Have a DNS to route everything to the local website? - -* Web side - * Offer up a simple PHP website to upload data - * Should I offer FTP for large files? + * Offer FTP for large files? * MAX filesize on the MicroSD cards is 4GB (FAT32 limit) - * Make another partition on the card with ext3/4 ? - * Offer a simple message board? \ No newline at end of file + * Make another partition on the card with ext3/4 ? +* Web side + * Offer up a simple PHP website to create a FTP user and password \ No newline at end of file diff --git a/http/index.php b/http/index.php new file mode 100644 index 0000000..15c5adc --- /dev/null +++ b/http/index.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/v0xb0x-setup.sh b/v0xb0x-setup.sh index 8cdca21..2ed1c75 100644 --- a/v0xb0x-setup.sh +++ b/v0xb0x-setup.sh @@ -1,13 +1,23 @@ #!/bin/sh # Update the system first +echo "We are about to set up a v0xb0x on your Raspberry Pi\n" +echo "First we need to upgrade the system to the current Raspbian and install core services for this to work.\n" +echo "If you encounter any issues, please let the developers of v0xb0x know on github.com.\n" +echo "\n" +read -n1 -s -r -p $'Press any key to continue...\n' key +clear apt-get update apt-get dist-upgrade -y apt-get install -y hostapd dnsmasq apt-get install -y apache2 php libapache2-mod-php apt-get install -y mariadb-server-10.0 +apt-get install -y gpm + # lock down MySQL +echo "We are now going to secure the MySQL installation, please go through the following questions and answer accordingly.\nContinuing in 15 seconds. " +sleep 15 mysql_secure_installation # Enable mod-rewrite for Apach2