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
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.
8 years ago
Bill Zimmerman
58c6b67f49
Added welcome + clarified install dirs
8 years ago
Joe Haig
cc96885ec9
Fix 'else' clause
8 years ago
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
8 years ago
Joe Haig
f0cf084202
Add rc.local file to set up NAT routing
9 years ago
Joe Haig
2d992fb4ac
Revert back to using /etc/init.d
...
Don't change too many things at once.
9 years ago
Joe Haig
ec03171e74
Reboot at end of installation
9 years ago
Joe Haig
a3ea51077d
Some more default config files
...
* /etc/default/hostapd
* /etc/dhcpcd.conf
* /etc/dnsmasq.conf
9 years ago
Joe Haig
a3bfa51c70
Default hostapd configuration
9 years ago
Joe Haig
58bd439b4d
Replace /etc.init.d with service
9 years ago
Joe Haig
b8b3fd1d31
Move old install directory if it exists
9 years ago
Joe Haig
54ef4de291
Make /etc/visudo file a bit more readable
9 years ago
Joe Haig
bf2002e72f
Fix typo
9 years ago
Bill Zimmerman
c8cca832c8
Merge branch 'master' of https://github.com/billz/raspap-webgui
9 years ago
Bill Zimmerman
17d1b69805
Detect Raspian version and set lighttpd webroot. Fixes #29
9 years ago
Joe Haig
e953e68556
Redo 'Configure client' page
9 years ago
Bill Zimmerman
975a7942cc
Updated error message
9 years ago
Bill Zimmerman
bd4d7af732
Intial commit
9 years ago