AP up and running
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
interface=wlan0
|
||||
bridge=br0
|
||||
hw_mode=g
|
||||
channel=7
|
||||
channel=6
|
||||
wmm_enabled=0
|
||||
macaddr_acl=0
|
||||
auth_algs=1
|
||||
@ -11,4 +10,4 @@ wpa_key_mgmt=WPA-PSK
|
||||
wpa_pairwise=TKIP
|
||||
rsn_pairwise=CCMP
|
||||
ssid=v0xb0x
|
||||
wpa_passphrase=PASSWORD
|
||||
wpa_passphrase=x0bx0v
|
||||
44
features.md
44
features.md
@ -10,29 +10,51 @@ Not here in any special order, just ideas and thoughts on the system.
|
||||
* 512MB RAM
|
||||
* 16GB "disk" (microSD card)
|
||||
|
||||
* Powered by a USB battery bank (10-20k mah)
|
||||
|
||||
# The list
|
||||
|
||||
* MESH mode
|
||||
* Offer to put device in MESH mode for 1st responder type scenarios
|
||||
* Link for info on MESH: https://github.com/binnes/WiFiMeshRaspberryPi
|
||||
|
||||
* WiFi AP mode
|
||||
* Software: hostapd & dnsmasq
|
||||
* Enable AP mode with WPA2-PSK for encrypted communication
|
||||
* Enable AP mode without encryption for open connections ?
|
||||
# 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
|
||||
* Offer blind drop-uploads (what max size?)
|
||||
* Small dropoff script for files less than 128/256MB ?
|
||||
* Create script that creates a user for you for BB and 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.
|
||||
|
||||
* MESH mode ?
|
||||
* Offer to put device in MESH mode for 1st responder type scenarios
|
||||
* Link for info on MESH: https://github.com/binnes/WiFiMeshRaspberryPi
|
||||
|
||||
# DONE
|
||||
* WiFi AP mode
|
||||
* Software: hostapd & dnsmasq
|
||||
* Enable AP mode with WPA2-PSK for encrypted communication
|
||||
|
||||
# Plans
|
||||
|
||||
* What do we need at first?
|
||||
|
||||
* OS side
|
||||
* Start machine, put WiFi into AP mode
|
||||
* Have a DHCPD to supply IPs to clients
|
||||
* 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
|
||||
|
||||
@ -4,9 +4,22 @@
|
||||
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
|
||||
|
||||
# lock down MySQL
|
||||
mysql_secure_installation
|
||||
|
||||
# Enable mod-rewrite for Apach2
|
||||
a2enmod rewrite
|
||||
systemctl restart apache2
|
||||
|
||||
systemctl stop hostapd
|
||||
systemctl stop dnsmasq
|
||||
|
||||
systemctl unmask hostapd
|
||||
systemctl enable hostapd
|
||||
|
||||
# Modify /etc/dhcpcd.conf
|
||||
cat ./configs/dhcpcd.conf >> /etc/dhcpcd.conf
|
||||
|
||||
@ -19,3 +32,6 @@ cat ./configs/hostapd.conf > /etc/hostapd/hostapd.conf
|
||||
|
||||
# Add our config to the default hostapd.conf
|
||||
cat ./configs/hostapd.default.conf >> /etc/default/hostapd.conf
|
||||
|
||||
systemctl start hostapd
|
||||
systemctl start dnsmasq
|
||||
Reference in New Issue
Block a user