mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Merge branch 'master' into feature/templates
This commit is contained in:
commit
f59faabf1d
12
README.md
12
README.md
@ -1,5 +1,5 @@
|
||||

|
||||
# `$ raspap-webgui` [](https://github.com/billz/raspap-webgui/releases) [](https://github.com/thibmaek/awesome-raspberry-pi)
|
||||
# `$ raspap-webgui` [](https://github.com/billz/raspap-webgui/releases) [](https://github.com/thibmaek/awesome-raspberry-pi)
|
||||
|
||||
A simple, responsive web interface to control wifi, hostapd and related services on the Raspberry Pi.
|
||||
|
||||
@ -7,11 +7,11 @@ This project was inspired by a [**blog post**](http://sirlagz.net/2013/02/06/scr
|
||||
|
||||
We'd be curious to hear about how you use this with your own RPi-powered projects. Until then, here are some screenshots:
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
## Contents
|
||||
|
||||
- [Prerequisites](#prerequisites)
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define('RASPI_VERSION', '1.5.1');
|
||||
define('RASPI_VERSION', '1.6');
|
||||
define('RASPI_CONFIG', '/etc/raspap');
|
||||
define('RASPI_CONFIG_NETWORKING', RASPI_CONFIG.'/networking');
|
||||
define('RASPI_ADMIN_DETAILS', RASPI_CONFIG.'/raspap.auth');
|
||||
|
@ -16,6 +16,5 @@ function DisplayNetworkingConfig()
|
||||
foreach ($interfaces as $interface) {
|
||||
exec("ip a show $interface", $$interface);
|
||||
}
|
||||
|
||||
echo renderTemplate("networking", compact("status", "interfaces"));
|
||||
}
|
||||
|
12
index.php
12
index.php
@ -4,16 +4,16 @@
|
||||
* Raspbian WiFi Configuration Portal
|
||||
*
|
||||
* Enables use of simple web interface rather than SSH to control wifi and hostapd on the Raspberry Pi.
|
||||
* Recommended distribution is Raspbian Server Edition. Specific instructions to install the supported software are
|
||||
* Recommended distribution is Raspbian Buster Lite. Specific instructions to install the supported software are
|
||||
* in the README and original post by @SirLagz. For a quick run through, the packages required for the WebGUI are:
|
||||
* lighttpd (I have version 1.4.45 installed via apt)
|
||||
* php7-cgi (I have version 7.0.33-0+deb9u3 installed via apt)
|
||||
* along with their supporting packages, php7 will also need to be enabled.
|
||||
* lighttpd (I have version 1.4.53 installed via apt)
|
||||
* php-cgi (I have version 7.1.20-1+b2 installed via apt)
|
||||
* along with their supporting packages, php7.1 will also need to be enabled.
|
||||
*
|
||||
* @author Lawrence Yau <sirlagz@gmail.com>
|
||||
* @author Bill Zimmerman <billzimmerman@gmail.com>
|
||||
* @license GNU General Public License, version 3 (GPL-3.0)
|
||||
* @version 1.5.1
|
||||
* @version 1.6
|
||||
* @link https://github.com/billz/raspap-webgui
|
||||
* @see http://sirlagz.net/2013/02/08/raspap-webgui/
|
||||
*/
|
||||
@ -58,7 +58,7 @@ $theme_url = 'dist/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<title><?php echo _("Raspbian WiFi Configuration Portal"); ?></title>
|
||||
<title><?php echo _("RaspAP WiFi Configuration Portal"); ?></title>
|
||||
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
@ -1,2 +1,4 @@
|
||||
#!/bin/bash
|
||||
/bin/sed -i 's|#DAEMON_OPTS=""|DAEMON_OPTS=" -f /tmp/hostapd.log"|' /etc/default/hostapd
|
||||
touch /tmp/hostapd.log
|
||||
chmod o+r /tmp/hostapd.log
|
||||
|
Loading…
x
Reference in New Issue
Block a user