Commit Graph

94 Commits

Author SHA1 Message Date
billz d247f3fb90 Updated download_latest_files() 2019-04-24 22:20:41 +00:00
billz 8796b5d359 Moved favicons to dist/icons. Updated installer 2019-04-24 22:11:43 +00:00
billz be24aa2a20 Added prompt to install raspap.service 2019-04-21 10:59:36 +00:00
billz b54289098e Check for presence of raspap/hostapd.ini 2019-04-19 12:23:05 +00:00
billz f73dcd4e99 Install raspap.service daemon 2019-04-19 11:36:09 +00:00
billz 57f42f2019 Added check for WifiAPEnable flag 2019-04-19 11:35:03 +00:00
billz 1e93189a65 Initial commit, RaspAP daemon 2019-04-19 11:33:18 +00:00
billz 713f52fac4 Minor, fixed indent 2019-04-10 09:02:28 +00:00
billz 4d2d79b404 Conditional prompt for reboot 2019-04-07 22:13:05 +00:00
billz cc6fe6f2ac Added restart rc-local.service 2019-04-06 08:52:36 +01:00
billz c83f2883ce bugfix: added slashes to iptables rules 2019-04-06 08:36:36 +01:00
Bill Zimmerman be1929117a
Bugfix, patch sudoers 2019-03-14 10:50:12 +01:00
billz d55f83ce16 Deleted servicesdisable.sh 2019-03-12 15:30:09 +00:00
billz a9cc4a0c2a Removed servicesdisable.sh from sudoers 2019-03-12 00:02:52 +00:00
billz e30fb10da7 Added /bin/cp /etc/dhcpcd.conf to sudoers 2019-03-11 23:43:39 +00:00
billz 9abf79b23c Merge branch 'master' into wificlient-ap 2019-03-09 21:11:54 +00:00
Bill Zimmerman ba7a2904ea
Hotfix: enable hostapd.service 2019-03-09 19:45:27 +01:00
billz e83e99656d Hotfix: unmask hostapd.service 2019-03-09 17:48:51 +00:00
billz bdc5958c4f Cleanup, typo fix 2019-03-07 22:14:27 +00:00
billz 47a2b7c346 Paramaterized service start, handles both uap0 and default 2019-03-07 10:17:16 +00:00
billz a2829dcf78 Added iptables nat rules for uap0 config 2019-03-07 10:15:51 +00:00
billz cd3ac06bf1 Renamed 2019-03-06 19:33:40 +00:00
billz 39e9037593 Renamed 2019-03-06 19:14:04 +00:00
billz 5bb549868b Minor: move service control script 2019-03-06 19:13:17 +00:00
billz 66a3944039 Minor, updated for rename 2019-03-06 13:22:16 +00:00
billz 7fcf22e4c3 Update create_hostapd_scripts, sudoers 2019-03-06 10:48:18 +00:00
Bill Zimmerman ef20f3dd6f Minor, edit comments 2019-03-06 09:58:37 +01:00
Bill Zimmerman f9f0924d34 Initial commit 2019-03-06 00:57:49 +01:00
billz 22976669ee Added wpa_cli -i wlan[0-9] select_network, thanks @PRO2XY 2018-11-13 22:21:02 +00:00
D9ping 183f04f53f Enable data usage page by default.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-14 01:07:23 +02:00
D9ping 23d2718854 Renamed vnstat.php to bandwidth.php.
Disabled bandwidth page by default.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-11 16:15:31 +02:00
D9ping e90b9899a3 Merge branch 'master' of https://github.com/billz/raspap-webgui into bandwidthmonitoring 2018-09-06 21:31:38 +02:00
billz 22c791e1f3 Standardized messages, modified php config install order 2018-09-05 12:59:49 +00:00
D9ping 03f2620e48 Backup php.ini to $raspap_dir/backups folder.
Ask for before changing php configuration of httpOnly and opcache.
Do not change session.use_strict_mode, no extra question.
Ask to restore backup of php.ini from $raspap_dir/backups folder in uninstall.sh.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-31 23:38:30 +02:00
D9ping e428271ef2 Fix for #225, (Credits to DrStacheWH)
Removed duplicated create_logging_scripts function.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-27 23:10:56 +02:00
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
D9ping d6d89df024 Display bandwidth use total per day, week, month from vnstat.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-21 16:42:04 +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