Commit graph

273 commits

Author SHA1 Message Date
billz
26a28a0123 Persist IP forwarding + iptables, update raspapd 2020-03-21 23:37:05 +00:00
billz
a943942bdd Refactor configure_networking, create get_linux_distro 2020-03-21 17:31:38 +00:00
billz
15d829c0b1 Create configure_networking 2020-03-21 08:07:40 +00:00
billz
0b135fb231 WIP: Ubuntu 18.04 LTS support 2020-03-20 20:13:33 +00:00
billz
c56a48234f Update dnsmasq.d path 2020-03-20 17:43:46 +00:00
billz
8216a3f4ec Added load sysctl settings 2020-03-20 17:21:07 +00:00
billz
8dfed88ed3 Exec update-alternatives to use iptables-legacy. nftables replaces iptables on Debian 10 2020-03-20 16:18:42 +00:00
billz
f2e0841970 Revert "Fix ruleset with iptables + iptables-save"
This reverts commit 0218f4beea.
2020-03-20 16:11:10 +00:00
Bill Zimmerman
ac4f7be5bb
Update iptables.rules 2020-03-20 16:23:54 +01:00
billz
63dc8442ba Fix: /etc/iptables/ dir absent on Raspbian 2020-03-20 14:20:21 +00:00
billz
125c203884 Fix: tee output w/ sudo 2020-03-20 13:49:06 +00:00
billz
176593b81f Minor: newlines for readability 2020-03-20 12:10:03 +00:00
billz
96aed21bb5 Quote vars + remove whitespace 2020-03-20 12:07:50 +00:00
billz
0218f4beea Fix ruleset with iptables + iptables-save 2020-03-20 12:07:13 +00:00
Bill Zimmerman
72eec3e2af
Hotfix: strip spaces 2020-03-20 12:48:44 +01:00
billz
40e558b720 Var rename, prevent conflict w/ lsb_release 2020-03-20 11:06:36 +00:00
billz
6e713e6857 Bugfix IP forwarding + error handling 2020-03-20 11:04:03 +00:00
billz
1f538d4a77 Externalized sudoers, - superfluous code from patch_system_files 2020-03-20 09:55:49 +00:00
billz
49622dd4af Initial commit 2020-03-20 09:53:59 +00:00
billz
df3d84b570 Postpone start of raspap.service 2020-03-20 09:16:18 +00:00
billz
aac5025029 Added stop action for LSB compliance 2020-03-20 09:05:33 +00:00
billz
de2ded1984 LSBize service script 2020-03-20 09:03:28 +00:00
billz
21273774a5 Fix raspap.service install path, add error handling 2020-03-20 08:04:50 +00:00
Bill Zimmerman
d1de71318b
Delete raspap.iptables 2020-03-20 08:54:02 +01:00
billz
4a7c61eabf Rename iptables.rules for consistency, strip comments 2020-03-20 07:51:35 +00:00
billz
f6599ae815 Update iptables.rules naming for consistency 2020-03-20 07:48:24 +00:00
billz
4b30be5c54 Align installer w/ Debian's modern SYSV style. Resolves #127 2020-03-20 07:32:23 +00:00
billz
ebefe5df75 Resolve version naming conflict 2020-03-20 07:26:37 +00:00
billz
8c67fd0c3a Initial commit 2020-03-20 07:23:05 +00:00
billz
c649246614 Update sudoers file handling. Resolves #41. Addresses #127 2020-03-19 09:37:05 +00:00
billz
c52487c671 Minor: rename version > release 2020-03-17 20:05:41 +00:00
Bill Zimmerman
8998433d75
Bugfix: missing whitespace 2020-03-17 19:31:26 +01:00
Bill Zimmerman
ead1f354d7
operand bugfix 2020-03-17 19:22:07 +01:00
Bill Zimmerman
3e39f33345
Update version welcome 2020-03-17 18:51:07 +01:00
Bill Zimmerman
a55c1cbb1d
Update installer version 2020-03-17 18:47:21 +01:00
billz
8e148e683b Update w/ OS, version detect & install dhcpcd5 2020-03-17 11:55:40 +00:00
Bill Zimmerman
f3dd4cc67d Update install_dependencies w/ dhcpcd5 2020-03-17 10:56:07 +00:00
billz
57734e837f Update installed php-cgi to v7.3 (buster) 2020-03-16 23:29:48 +00:00
Taikuh
8082430c30 ovpn, uap0 compatibility; readme 2020-03-15 19:02:20 +08:00
Taikuh
5d57765669 Merge billz:master into bridge-mode 2020-03-13 14:08:11 +08:00
Taikuh
8823c0602e Add bridged-routed toggle to webgui 2020-03-10 19:07:15 +08:00
Bill Zimmerman
8bda81adcb
Merge branch 'master' into bridge-mode 2020-03-10 00:05:46 +01:00
Taikuh
57bcb79310 download_latest_files follows quick installer 2020-03-09 20:11:11 +08:00
Taikuh
9800b23e4d Add bridged-routed toggle script 2020-03-09 01:16:05 +08:00
billz
1b87d57af4 Bugfix: Escape backslashes 2020-03-07 09:17:02 +00:00
billz
c6fe7ebe36 Minor: update comment block 2020-03-05 21:47:46 +00:00
billz
cff02c86fb Update rc.local to set log ownership. Resolves #518 2020-03-05 18:34:21 +00:00
billz
ea389e1a13 Add create_dnsmasq_log 2020-03-05 10:34:46 +00:00
billz
d36a6b2d10 Update mkcert release version. Addresses #513 2020-03-02 07:41:25 +00:00
glaszig
695ea7b969 show wifi qr code in "hotspot > security" section
resolves #469.
2020-02-27 02:37:00 +00:00
glaszig
409adb0c05 add conf-dir option to dnsmasq.conf, closes #403
this allows custom configuration stored
in files in /etc/dnsmasq.d. raspap does not
touch them and they'll always be loaded.

also creates /etc/dnsmasq.d if it doesn't exist.
2020-02-26 02:13:19 +00:00
billz
a801f43615 Comments for clarity. Addresses #461 2020-01-15 17:47:09 +00:00
Bill Zimmerman
75451fb25f Rollback patch wpa_supplicant 2019-12-19 13:21:21 -08:00
billz
78b09cc4b4 Initialize wpa_supplicant, create if absent. Resolves #452 2019-12-13 16:54:01 +00:00
billz
0d92cb636f Minor: add comments for clarity 2019-12-09 12:07:57 +00:00
billz
c94e3edd88 Minor: update version output 2019-12-04 19:34:50 +00:00
billz
6a01fae624 Update quick installer 2019-12-01 09:49:07 +00:00
billz
89e9fc5563 Update installer with version option 2019-12-01 09:45:06 +00:00
Jeff Eberl
03a0c5d2f2
Change cmds count to always be right. 2019-11-30 15:08:16 -07:00
billz
9c78fd57ed Update usage notes 2019-11-28 09:45:54 +00:00
billz
edbb996b57 Call optimize_php after create_raspap_dirs. Resolves #441 2019-11-25 13:54:36 +00:00
billz
a6117b47cb Check ovpn_option for automated install. Resolves #436 2019-11-22 14:05:49 +00:00
billz
e9954a7af7 Adds -o,--openvpn <flag> install option. Resolves #436 2019-11-22 14:03:50 +00:00
billz
a06de39da2 Deprecate Raspbian 8 / php5 support. Resolves #438 2019-11-22 13:01:59 +00:00
billz
671baf587d Enable openvpn-client service. Resolves #437 2019-11-22 12:41:19 +00:00
billz
3ba3f3351b Replace /home/pi with $HOME. Resolves #435 2019-11-21 10:29:48 +00:00
billz
11e71a638f Specify terminal device /dev/tty for input 2019-11-19 11:42:06 +00:00
billz
e8c9587f5a Added OpenVPN install option. addresses #147 2019-11-18 11:51:59 +00:00
billz
cd92bdae46 Update iptables msgs 2019-11-17 19:08:39 +00:00
billz
47af4c7815 Update sudoers 2019-11-17 18:46:39 +00:00
billz
5eac756946 Added argument for auth-user-pass 2019-11-17 18:20:25 +00:00
billz
40ac95af59 Update openvpn client path 2019-11-17 18:17:46 +00:00
billz
607a72e5e9 Merge branch 'master' of https://github.com/billz/raspap-webgui 2019-11-17 12:03:31 +00:00
billz
122609866a Add iptables entries to rc.local 2019-11-17 10:17:57 +00:00
billz
844182f704 Minor: update comment block 2019-11-17 10:11:52 +00:00
billz
e0bb18b283 Update openvpn-client sudoers 2019-11-16 17:42:55 +00:00
billz
b412587249 Update msgs 2019-11-16 09:15:39 +00:00
billz
06c00b727b Initial commit 2019-11-15 09:01:57 +00:00
billz
21cff18275 Added create_openvpn_scripts, update svc controls to systemd 2019-11-15 08:57:17 +00:00
billz
e58e1df283 Added -h, --help 2019-11-11 19:24:01 +00:00
billz
d83dab1937 Simplify usage string 2019-11-11 19:18:20 +00:00
billz
24b669b157 Added -r option, changed msgs 2019-11-11 13:37:06 +00:00
billz
21ae039589 Minor: update legacy version check 2019-11-11 09:17:35 +00:00
billz
fa0c18c52e Error handling 2019-11-11 08:57:30 +00:00
billz
a08005dca7 Added repo & branch command line options 2019-11-11 08:51:45 +00:00
billz
cbec3c40d2 Added create_lighttpd_scripts() 2019-11-10 22:21:55 +00:00
billz
d3e0aca3d7 Initial commit 2019-11-10 22:09:36 +00:00
billz
1a533234d4 Hotfix. Resolves #430 2019-11-08 10:54:05 +00:00
billz
0fa61f8626 Bugfix 2019-11-07 20:12:41 +00:00
billz
35894bc4fc Minor: messages 2019-11-07 20:12:23 +00:00
billz
a66bb13703 Cleanup + error handling 2019-11-07 18:04:41 +00:00
billz
3a0540c266 Replace $certname with $HOSTNAME 2019-11-07 16:45:21 +00:00
billz
bf9647c5bb Update installer paths 2019-11-07 13:48:30 +00:00
billz
76ee50ec96 Cleanup debug output 2019-11-07 13:36:21 +00:00
billz
2f0db78955 Added usage notes, handle default & known cases 2019-11-07 13:29:42 +00:00
billz
fbcb6c3836 Updated install_complete help text 2019-11-07 13:24:06 +00:00
billz
7914110a77 Added configure_lighttpd() 2019-11-07 12:33:17 +00:00
billz
23d1ab83c7 Update version method 2019-11-07 10:41:56 +00:00
billz
5f4bd25ddc WIP 2019-11-07 10:41:05 +00:00
billz
61fe3cc6ee Removed trailing slash on webroot prompt 2019-11-07 10:35:17 +00:00