necro-nemesis
8519771c0f
Update common.sh
6 years ago
necro-nemesis
02b661091f
Update common.sh
6 years ago
necro-nemesis
a703f8ea40
ad fi
6 years ago
necro-nemesis
e6473b373b
change function.
6 years ago
necro-nemesis
e14ec8c6f4
Report table support
6 years ago
necro-nemesis
ea10f0a2d8
Change test to $version -lt 10.
6 years ago
necro-nemesis
3dfc7e4802
run network_tables function
6 years ago
necro-nemesis
e08fce2041
Add iptables/nftables test.
6 years ago
necro-nemesis
248ebff9e8
Update Buster to install PHP7.3
6 years ago
necro-nemesis
6b87821d23
Run all with iptables in the interim: TODO nftables rules.
6 years ago
necro-nemesis
125d8d8491
echo var
6 years ago
necro-nemesis
1d9cc69276
echo $tablerouteA/B
6 years ago
necro-nemesis
88afa09ec2
get non-specific php for deprecated packages
6 years ago
necro-nemesis
7efe5abe32
remove comma
6 years ago
necro-nemesis
dce41f0e2b
change else to fi
6 years ago
necro-nemesis
04d6eb622f
Remove deprecated PHP install update to 7.0
6 years ago
necro-nemesis
abda3b8f5e
correct git url
6 years ago
necro-nemesis
9a47e61f3e
fix spelling
6 years ago
necro-nemesis
00ae566532
edit visudo
6 years ago
necro-nemesis
6d675cba4b
Remove old symlink
6 years ago
necro-nemesis
6baffabe3e
create lokilaunch.sh symlink
6 years ago
necro-nemesis
32f591f373
chmod lokilaunch.sh in /var/lib/lokinet
6 years ago
necro-nemesis
527ae42aff
Redirect all lokilaunch.sh commands to /var/lib/lokinet/ directory
6 years ago
necro-nemesis
33fd287059
Change installation location of lokilaunch.sh to /var/lib/lokinet/
6 years ago
necro-nemesis
fcd58da2a8
Removed commented code
6 years ago
necro-nemesis
1d77778b99
Add Buster support
6 years ago
necro-nemesis
f58b41c582
chmod 755 on-*.sh's
6 years ago
necro-nemesis
a934ed3b75
try it again with feeling
6 years ago
necro-nemesis
4922030246
fix install path
6 years ago
necro-nemesis
b86bd92e5d
Modify installer to copy over scripts to root and chmod. Add visudo to /sbin/ip
6 years ago
necro-nemesis
94b04d422f
correct directory for resolv.conf.d
6 years ago
necro-nemesis
9ce45057ed
correct head file directory
6 years ago
necro-nemesis
24dc82ac68
Install configure resolvconf
6 years ago
necro-nemesis
5e520db3c0
comment out removed command to 'connect' to lokinet.
6 years ago
necro-nemesis
96384caef0
Have rc.local start daemon and connect
6 years ago
necro-nemesis
a08e1f23b0
start lokinet daemon with rc.local on start.
6 years ago
necro-nemesis
cf40fa5b38
new atom install test
6 years ago
necro-nemesis
ec5d39e2d5
fix ascii column
6 years ago
necro-nemesis
e797ddc9f3
Added escape char
6 years ago
necro-nemesis
74c46fe47e
use escape char
6 years ago
necro-nemesis
736df117a7
Modify array for rc.local inclusion.
6 years ago
necro-nemesis
29c4a0b4e8
Version update
6 years ago
necro-nemesis
5962784b24
fix lokilaunch mv
6 years ago
necro-nemesis
bb34ad094e
Create rc_tables with lokinet and add to installer to mv from config dir to /etc/iproute2/
6 years ago
necro-nemesis
24a01ff548
add iptables rule and dnsmasq restart to rc.local
6 years ago
necro-nemesis
5f4ef27990
Intstaller modified for generic username
6 years ago
necro-nemesis
e5fbcfdab1
Simplify LokiAP installer warnings
6 years ago
necro-nemesis
1645526187
add wildcard to install script for lokilaunch.sh visudo
6 years ago
necro-nemesis
07ae4b0666
add sudoers bootstrap
6 years ago
necro-nemesis
f3de639626
chonw and chmod lokilaunch.sh
6 years ago
necro-nemesis
b0bf9a493e
fix line 199 by specifying destination filename
6 years ago
necro-nemesis
bab28ca583
remove quotes in ascii
6 years ago
necro-nemesis
3766201e44
remove hidden quotes
6 years ago
necro-nemesis
5851392cf5
comment out lokilaunch mv
6 years ago
necro-nemesis
9d42e68fa9
coreect typo in line 198
6 years ago
necro-nemesis
08b7b6e0e3
added sudco mv of lokilaunch to loki-network directory
6 years ago
necro-nemesis
f2d8d8b1e2
Update function patch visudo to include lokinet start/stop/gen locations.
6 years ago
necro-nemesis
3b4cb7465b
Update README.md with sudo visudo entries.
6 years ago
necro-nemesis
efea2b1291
Update Installer echo Message
6 years ago
necro-nemesis
ef2f6809c7
Update common.sh
6 years ago
Bill Zimmerman
ba7a2904ea
Hotfix: enable hostapd.service
6 years ago
billz
e83e99656d
Hotfix: unmask hostapd.service
6 years ago
billz
22976669ee
Added wpa_cli -i wlan[0-9] select_network, thanks @PRO2XY
7 years ago
billz
22c791e1f3
Standardized messages, modified php config install order
7 years ago
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>
7 years ago
D9ping
e428271ef2
Fix for #225 , (Credits to DrStacheWH)
...
Removed duplicated create_logging_scripts function.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
7 years ago
D9ping
aa96780c0b
Backup php configuration before changing it.
...
Removed support for disabling php extensions.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
7 years ago
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>
7 years ago
D9ping
19f123b0c4
WIP: Php default configuration hardening.
...
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
7 years ago
randyoo
2805e6eb6d
support secondary (or more) wlan interfaces
...
patch installer.sh with /etc/sudoer commands that support wlan1 - wlan9.
7 years ago
randyoo
2649991675
add wlan1 scan capability to sudoers commands
7 years ago
Ali Borhani
088bf99637
Use --depth option during cloning the repo
7 years ago
billz
f873073570
Hotfix: specify interface with wpa_cli in patch_system_files(). Addresses #163
7 years ago
Bill Zimmerman
98ace52351
bug fixes to default_configuration(). Resolves #174 . Thanks @Austin-RR
7 years ago
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)
7 years ago
billz
5d9d58630c
Merge branch 'master' of https://github.com/billz/raspap-webgui
8 years ago
billz
951228275c
Fixes #138
8 years ago
Bill Zimmerman
6dc944603c
Merge branch 'master' into new-php-pa
8 years ago
billz
0f7658221e
Installs php7.0-cgi on Stretch, maintains backwards compatibility
8 years ago
billz
b950a1966d
Fixed permission error. Resolves #136
8 years ago
billz
17e737792f
Fixed path
8 years ago
Lawrence
39d743ae89
merge from upstream
8 years ago
Lawrence
068c4c519e
Merge from Upstream
8 years ago
Lawrence
7b93326478
updated stylesheet and installer with left out stuff
8 years ago
Lawrence
f61cc31b20
Created new branch off master to help troubleshoot with #132
8 years ago
Lawrence
604b28130f
Updating to help troubleshoot #132
...
Added the scripts to disable and enable logging for hostapd
Updated sudoers to allow running scripts
8 years ago
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
8 years ago
Lawrence
db8e201624
Merge from Upstream/Master https://github.com/billz/raspap-webgui
8 years ago
Joseph Haig
c8f863aeaf
Fix properly
8 years ago
Joseph Haig
f0f4f16438
Fix fastcgi-php setup for fresh install
8 years ago
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
8 years ago
Lawrence
a0a4f842b4
Updating install script and removing unneeded configuration file
8 years ago
Lawrence
908f0de8cb
Updated install and uninstall scripts to append to rc.local rather than overwrite the file
8 years ago
Lawrence
ecdf34467b
Updating version and sudoers
8 years ago
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.
8 years ago
Lawrence
0be196d708
Updated version numbers. Fixed up Sudoers file to include latest ip commands.
8 years ago
Lawrence
0b7b0a4d96
Updated installer to properly make symlinks to latest backup
8 years ago
Lawrence
036b7a3050
I forgot a couple of renames. Fixed
8 years ago
Lawrence
de7303883b
Updated installer script to backup more configuration files and appends dates when renaming old installation files when doing an inplace reinstall
8 years ago
Lawrence
a6b1d85013
Fixed up installation script to allow for reinstalls over existing installs.
8 years ago