From 0589119864554b800b922dc7bae704d48d6024b5 Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Wed, 18 Mar 2020 23:17:09 +0100 Subject: [PATCH] Updated Manual installation (markdown) --- Manual-installation.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Manual-installation.md b/Manual-installation.md index cc88a9d..82376b1 100644 --- a/Manual-installation.md +++ b/Manual-installation.md @@ -1,8 +1,8 @@ -These steps apply to the latest release of Raspbian (currently [Buster](https://www.raspberrypi.org/downloads/raspbian/)). Notes for previously released versions are provided, where applicable. Start off by installing git, lighttpd, php7, hostapd and dnsmasq. +These steps apply to the latest release of Raspbian (currently [Buster](https://www.raspberrypi.org/downloads/raspbian/)). Notes for previously released versions are provided, where applicable. Start off by installing git, lighttpd, php7, hostapd, dnsmasq and some extra packages. ```sh -sudo apt-get install git lighttpd php7.1-cgi hostapd dnsmasq vnstat +sudo apt-get install git lighttpd php7.3-cgi hostapd dnsmasq vnstat qrencode ``` -**Note:** for Raspbian Stretch, replace `php7.1-cgi` with `php7.0-cgi`. php5 is no longer supported. After that, enable PHP for lighttpd and restart it for the settings to take effect. +**Note:** for Raspbian Stretch, replace `php7.3-cgi` with `php7.0-cgi`. php5 is no longer supported. After that, enable PHP for lighttpd and restart it for the settings to take effect. ```sh sudo lighttpd-enable-mod fastcgi-php sudo service lighttpd restart @@ -43,6 +43,8 @@ www-data ALL=(ALL) NOPASSWD:/etc/raspap/hostapd/disablelog.sh www-data ALL=(ALL) NOPASSWD:/etc/raspap/hostapd/servicestart.sh www-data ALL=(ALL) NOPASSWD:/etc/raspap/lighttpd/configport.sh www-data ALL=(ALL) NOPASSWD:/etc/raspap/openvpn/configauth.sh +www-data ALL=(ALL) NOPASSWD:/bin/chmod o+r /tmp/hostapd.log +www-data ALL=(ALL) NOPASSWD:/bin/chmod o+r /tmp/dnsmasq.log ``` Once those modifications are done, git clone the files to `/var/www/html`. @@ -80,8 +82,6 @@ Add the following lines to `/etc/rc.local` before `exit 0`. echo 1 > /proc/sys/net/ipv4/ip_forward #RASPAP iptables -t nat -A POSTROUTING -j MASQUERADE #RASPAP iptables -t nat -A POSTROUTING -s 192.168.50.0/24 ! -d 192.168.50.0/24 -j MASQUERADE #RASPAP -chown dnsmasq:www-data /tmp/dnsmasq.log #RASPAP -chown root:www-data /tmp/hostapd.log #RASPAP ``` Force a reload of new settings in `/etc/rc.local`. ```sh