D9ping
aa96780c0b
Backup php configuration before changing it.
...
Removed support for disabling php extensions.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-24 10:36:20 +02:00
D9ping
8355c1cbfe
Use sed regular expressions to deal with changing php configuration.
...
Don't try turn on not existing Zend Opcache under php 5<=
Turn on session.use_strict_mode if off.
Don't change decreated expose_php.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-23 00:44:12 +02:00
D9ping
19f123b0c4
WIP: Php default configuration hardening.
...
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-21 23:43:50 +02:00
randyoo
2805e6eb6d
support secondary (or more) wlan interfaces
...
patch installer.sh with /etc/sudoer commands that support wlan1 - wlan9.
2018-07-06 11:09:57 -06:00
randyoo
2649991675
add wlan1 scan capability to sudoers commands
2018-06-29 14:22:39 -06:00
Ali Borhani
088bf99637
Use --depth option during cloning the repo
2018-04-23 01:02:07 +04:30
billz
f873073570
Hotfix: specify interface with wpa_cli in patch_system_files(). Addresses #163
2018-03-28 10:13:44 +00:00
Bill Zimmerman
98ace52351
bug fixes to default_configuration(). Resolves #174 . Thanks @Austin-RR
2018-03-19 12:43:24 +01:00
Joe
ba9d6cba59
Fix /etc/sudoers entries
...
- symlink to hook wpa_supplicant if multiple wireless adapters. Otherwise, "wpa_cli" cmds fail if you have more than one wlan device
- set cmds array items to double quotes
- added entries for wlan1 interfaces, to be able to control more than one wireless adapter
- updated if statement checking the number of lines in /etc/sudoers
- added IFS in do loop, to handle spaces in array items properly (current method truncates the line if it finds a space)
2018-02-16 07:31:04 -07:00
billz
5d9d58630c
Merge branch 'master' of https://github.com/billz/raspap-webgui
2017-11-16 22:38:54 +00:00
billz
951228275c
Fixes #138
2017-11-16 22:38:03 +00:00
Bill Zimmerman
6dc944603c
Merge branch 'master' into new-php-pa
2017-11-16 02:28:59 +01:00
billz
0f7658221e
Installs php7.0-cgi on Stretch, maintains backwards compatibility
2017-11-16 01:24:02 +00:00
billz
b950a1966d
Fixed permission error. Resolves #136
2017-11-08 08:23:02 +00:00
billz
17e737792f
Fixed path
2017-11-07 17:05:09 +00:00
Lawrence
39d743ae89
merge from upstream
2017-11-04 12:53:29 +08:00
Lawrence
068c4c519e
Merge from Upstream
2017-11-04 12:49:48 +08:00
Lawrence
7b93326478
updated stylesheet and installer with left out stuff
2017-11-02 22:48:15 +08:00
Lawrence
f61cc31b20
Created new branch off master to help troubleshoot with #132
2017-11-02 22:43:41 +08:00
Lawrence
604b28130f
Updating to help troubleshoot #132
...
Added the scripts to disable and enable logging for hostapd
Updated sudoers to allow running scripts
2017-11-02 22:33:11 +08:00
Lawrence
8d77295fd3
Updated sudoers to accomodate restarting dhcpcd to apply network settings.
...
Updated installer to insert new lines
Created files to generate / modify / save dhcpcd files and networking configuration
2017-10-30 02:21:34 +08:00
Lawrence
db8e201624
Merge from Upstream/Master https://github.com/billz/raspap-webgui
2017-10-29 12:32:36 +08:00
Joseph Haig
c8f863aeaf
Fix properly
2017-10-28 20:59:17 +01:00
Joseph Haig
f0f4f16438
Fix fastcgi-php setup for fresh install
2017-10-28 12:00:15 +00:00
Lawrence
7749b79e2f
Implemented start of web interface to update Static IP addresses or use DHCP.
...
Currently saves to files in /etc/raspap/networking, still need to build something to generate a working config for dhcpcd
2017-10-28 02:40:30 +08:00
Lawrence
a0a4f842b4
Updating install script and removing unneeded configuration file
2017-10-22 19:46:52 +08:00
Joseph Haig
354b387327
Change php5-cgi to php-cgi
2017-10-22 11:10:28 +01:00
Lawrence
908f0de8cb
Updated install and uninstall scripts to append to rc.local rather than overwrite the file
2017-10-21 22:39:29 +08:00
Lawrence
1fc0615452
Updated install script with new sudoers lines required. Updated uninstall script to resolve lighttpd directory contents not being removed
...
Updated dashboard.php file to remove IP addresses when taking wlan0 down.
2017-10-04 01:28:57 +08:00
Lawrence
0be196d708
Updated version numbers. Fixed up Sudoers file to include latest ip commands.
2017-10-04 01:06:47 +08:00
Lawrence
f507a0b8cf
Created the uninstall script
2017-10-03 13:09:55 +08:00
Lawrence
0b7b0a4d96
Updated installer to properly make symlinks to latest backup
2017-10-03 12:19:35 +08:00
Lawrence
036b7a3050
I forgot a couple of renames. Fixed
2017-10-02 03:36:51 +08:00
Lawrence
de7303883b
Updated installer script to backup more configuration files and appends dates when renaming old installation files when doing an inplace reinstall
2017-10-02 03:34:14 +08:00
Lawrence
a6b1d85013
Fixed up installation script to allow for reinstalls over existing installs.
2017-10-01 23:22:07 +08:00
Lawrence
a36e525f98
Fixed up PHP notices. Added text when IP Address, MAC Address, and Subnet mask aren't found.
...
Also added function to backup configuration files /etc/network/interfaces and /etc/hostapd/hostapd.conf files if found.
2017-10-01 20:54:16 +08:00
Bill Zimmerman
58c6b67f49
Added welcome + clarified install dirs
2017-05-19 16:33:01 +00:00
Joe Haig
cc96885ec9
Fix 'else' clause
2017-01-27 09:31:26 +00:00
Joe Haig
bfb635636b
Various small fixes
...
* Append `.old` to old web directory instead of moving to `/tmp`
* Do not give the user a choice of install location
* Better detection of Debian version
* List username and password in Quick Start instructions
2017-01-27 09:21:53 +00:00
Joe Haig
f0cf084202
Add rc.local file to set up NAT routing
2016-11-13 17:42:50 +00:00
Joe Haig
2d992fb4ac
Revert back to using /etc/init.d
...
Don't change too many things at once.
2016-10-23 20:08:17 +01:00
Joe Haig
c5cb30f9e7
Install dnsmasq
2016-10-23 18:25:07 +01:00
Joe Haig
ec03171e74
Reboot at end of installation
2016-10-23 17:37:29 +01:00
Joe Haig
a3ea51077d
Some more default config files
...
* /etc/default/hostapd
* /etc/dhcpcd.conf
* /etc/dnsmasq.conf
2016-10-23 17:02:52 +01:00
Joe Haig
a3bfa51c70
Default hostapd configuration
2016-10-23 16:39:33 +01:00
Joe Haig
58bd439b4d
Replace /etc.init.d with service
2016-10-22 22:02:39 +01:00
Joe Haig
fd20d867dc
Install hostapd as a dependency
2016-10-21 22:31:51 +01:00
Joe Haig
b8b3fd1d31
Move old install directory if it exists
2016-10-21 22:28:00 +01:00
Joe Haig
54ef4de291
Make /etc/visudo file a bit more readable
2016-09-18 16:00:27 +00:00
Joe Haig
bf2002e72f
Fix typo
2016-09-11 21:48:26 +01:00