necro-nemesis
e6a1c2a8c2
change function order
6 years ago
necro-nemesis
8389fc4ebb
change order of purging iptables.
6 years ago
necro-nemesis
7fbfbb4d03
load nft from config/nftables.conf
6 years ago
necro-nemesis
db6d7b230f
save config to .conf
6 years ago
necro-nemesis
c490fbdbca
run Lokinet as service.
6 years ago
necro-nemesis
33109ba872
typo
6 years ago
necro-nemesis
040c76491c
start and enable nftables service.
6 years ago
necro-nemesis
367378e6fa
More nftables rules
6 years ago
necro-nemesis
f4b0b2ee25
nftables
6 years ago
necro-nemesis
6cba9af431
escape backslash
6 years ago
necro-nemesis
721d518b65
nftables rules
6 years ago
necro-nemesis
0ffa547f8e
Handle resolvconf
6 years ago
necro-nemesis
de42167b35
remove cleanup
6 years ago
necro-nemesis
af803634c0
edit shutdown message
6 years ago
necro-nemesis
054ca9b1b0
add clean up function
6 years ago
necro-nemesis
eb22cb7df9
correct lines
6 years ago
necro-nemesis
17cc15d24a
Provide shutdown message.
6 years ago
necro-nemesis
0551db1cd0
Remove resolvconf symlink
6 years ago
necro-nemesis
e15923260d
call for networkmanager function
6 years ago
necro-nemesis
23f837607c
Add NetworkManager function
6 years ago
necro-nemesis
7dfc8f926d
update installer common.sh
6 years ago
necro-nemesis
370380dacb
Update common.sh
6 years ago
necro-nemesis
f83a5f6c0b
Update common.sh
6 years ago
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