Commit graph

543 commits

Author SHA1 Message Date
billz
a69bf2c6dd Add _check_notify_ubuntu() 2023-06-04 12:26:15 +00:00
billz
e3a9919af1 Set php_package for Ubuntu 23.04 2023-06-03 18:43:55 +00:00
billz
20414b9ef1 Detect latest distro releases + set php_package 2023-06-02 12:52:52 +00:00
billz
c971c5c9bc Installer hotfix + update release version 2023-04-12 21:09:01 +01:00
billz
c838a33deb Update _install_dependencies() 2023-04-11 23:29:04 +01:00
billz
cb79429f27 Fix: update _install_dependencies() 2023-04-11 10:03:52 +02:00
ldevillez
ac08a2cfaf missing = 2023-04-06 14:38:23 +02:00
billz
10738f5b7b Minor: add missing mkcert option to help 2023-03-30 18:43:24 +02:00
billz
454e5d7ea8 Update remove_packages + disable_services 2023-03-28 18:43:36 +02:00
billz
b64faff248 Update w/ apt-get, install_status 2 (warning) on service disable 2023-03-26 12:01:38 +02:00
billz
0ba7833804 Add proceed check to _install_logger() 2023-03-26 10:08:01 +02:00
billz
33d99a0148 Minor: comments 2023-03-25 18:09:41 +01:00
billz
040160564f Create _install_minwrite() + functions 2023-03-25 17:51:00 +01:00
billz
41d21477fd Add -m --minwrite option and loader support 2023-03-25 17:49:52 +01:00
billz
e422b4908e Apply functionality to dnsmasq log 2022-09-27 11:46:59 +02:00
billz
1680c43c3e Add /bin/truncate to sudoers 2022-09-26 20:54:29 +01:00
billz
5625e13ef1 Detect Ubuntu 22.04, extended regex to match daemon_conf 2022-06-23 21:05:40 +01:00
Bill Zimmerman
e6b6e8eafc
Merge pull request #1183 from RaspAP/feature/ubuntu20-armbian22
Extend support to Ubuntu 20.04 / Armbian 22
2022-06-23 18:12:10 +02:00
Bill Zimmerman
c1db8d6409
Set DAEMON_CONF path for hostapd 2022-06-23 17:06:58 +02:00
billz
a743f84529 Minor: case change 2022-06-22 11:56:42 +01:00
billz
86bb8458b8 Add sbin/netplan to sudoers 2022-06-08 16:47:00 +00:00
billz
705477a011 Install OS-specific bridge default config 2022-06-08 16:45:56 +00:00
billz
9187691b3e Add --uninstall option to loader 2022-06-08 16:16:56 +00:00
billz
316b161671 Catch error & return install_status on failure 2022-06-08 07:24:36 +01:00
billz
fcd3a7f204 Tidy function w/ do loop 2022-06-07 20:46:55 +01:00
billz
a75ead776f Created _manage_systemd_services() 2022-06-07 19:58:04 +01:00
billz
6eded85bcd Detect Ubuntu 20.04 / Armbian 22.05 + set php package 2022-06-05 18:36:14 +01:00
billz
9d5088adf0 Backup/apply auth + config with --upgrade. Related to #1162 2022-06-05 13:42:00 +01:00
Federico Frigo
00fe51f005 Reverting files to correct ones 2022-04-10 20:09:23 +02:00
Federico Frigo
592b2ccc77
Merge branch 'master' into master 2022-04-06 09:21:29 +02:00
Flavio Capitao
fc2637be6b fix: uninstall script default option #1140 2022-03-14 11:23:54 +01:00
Jonny1797
eeaed09f51
Wrong assumption of default behaviour
As the default behaviour is the reboot, the "yes" option should (like before) stand out. Alternatively one can make default that the device does not reboot.
2022-03-07 17:50:10 +01:00
p0lycarpio
4213d169bf fix: check if file exists 2022-01-16 18:39:02 +01:00
p0lycarpio
f315f05073 change scripts order and backup raspap.auth 2022-01-16 14:16:40 +01:00
billz
1617a7c5be Fix: chmod o+r for /var/log/dnsmasq.log 2022-01-05 11:30:09 +00:00
Bill Zimmerman
1c3c6599fe
Update common.sh 2022-01-01 23:47:20 +01:00
billz
0af3e7a7c6 Update wg logging facility 2021-12-31 13:10:27 +00:00
billz
2ca5f25dff Merge First Edition of RaspAP/raspap-insiders 2021-12-29 12:35:57 +00:00
Bill Zimmerman
d0564ec946
Merge pull request #49 from RaspAP/feature-firewall
Feature: firewall settings
2021-11-26 22:48:14 +01:00
billz
03d14ed434 Update for for Debian 11 compatibility 2021-11-15 22:14:59 +00:00
Federico Frigo
6a08924dd1 servicestart.sh fixes 2021-10-19 20:23:19 +02:00
Federico Frigo
ec2e0af7db Hostname automatic update 2021-10-19 19:30:47 +02:00
Federico Frigo
fd1c48b710 Automated ssid and country code updates 2021-10-19 18:51:44 +02:00
Federico Frigo
d0c14824e1
Merge branch 'RaspAP:master' into master 2021-10-18 20:33:38 +02:00
billz
0548a05f86 Resolves #1036 2021-10-18 12:27:33 +01:00
Federico Frigo
50ab349d1b Custom settings 2021-09-30 11:04:57 +01:00
zbchristian
d07fd0a327 Implement update firewall function
- cleanup firewall.php
- add function updateFirewall
- add standalone script update_firewall.sh to update the firewall rules
2021-09-08 10:59:58 +02:00
Christian Zeitnitz
882535b130 Get VPN state from active tun/wg device 2021-07-25 17:27:31 +02:00
Christian Zeitnitz
5197df18e1 Fix ownership of firewall directory 2021-07-19 17:47:38 +02:00
Christian Zeitnitz
2e1781a2eb Add installation script
Add wireguard iptables rules
2021-07-17 22:26:56 +02:00
Christian Zeitnitz
59abc641d6 Implement firewall
- settings in iptables_rules.json
- creates a script under /tmp/iptables_raspap.sh and executes it
- no installer yet
- to do: deal with Bridge and VPN settings
2021-07-16 21:40:28 +02:00
Bill Zimmerman
78c4dff40b
Merge pull request #45 from RaspAP/feature/wg-extended
Extend WG functionality
2021-07-13 14:03:35 +02:00
billz
fbe1348e15 Added sudoers mv /tmp/wg/* 2021-07-07 22:59:51 +01:00
Bill Zimmerman
4d4fac2a8f
Merge pull request #43 from RaspAP/feature/zbchristian-clients-mods
Feature/zbchristian clients mods
2021-07-05 10:07:51 +02:00
billz
8409c3e7d8 Update sudoers ovpn actions 2021-07-04 10:46:00 +01:00
Christian Zeitnitz
0625fcc5ef Add raspap_helpers.sh 2021-06-18 14:04:56 +02:00
billz
cca50c3592 Update raspap.sudoers w/ /usr/bin/ln -s 2021-06-06 20:53:21 +01:00
billz
1b7074f693 Revise openvpn log output method 2021-06-06 20:51:13 +01:00
billz
06476b9a61 Merge with upstream master 2021-06-05 12:02:26 +01:00
Bill Zimmerman
a58845ed9e
Update common.sh 2021-05-20 09:37:20 +02:00
Bill Zimmerman
ced9816398
Update common.sh 2021-05-20 09:15:31 +02:00
billz
00131b052f Bugfix: unconditionally apply raspap.sudoers 2021-05-15 09:05:07 +01:00
Bill Zimmerman
fabc48c7da
Merge pull request #884 from RaspAP/feature/reinitialize-wpa
Feature: reinitialize wpa_supplicant
2021-05-10 11:13:04 +02:00
billz
6567f99c74 Restrict control scripts to root user, thx Omri Inbar 2021-05-02 10:46:53 +01:00
billz
56abf95c5b Fixup sudoers for wpa_supplicant 2021-04-30 08:38:16 +01:00
Bill Zimmerman
0bb9d6c196
Update with /sbin/wpa_supplicant 2021-04-30 00:00:25 +02:00
zbchristian
9f38f64c3d
Add auto YES to apt-get in order to avoid abort during installation 2021-04-23 19:01:03 +02:00
billz
f24373d7f8 Update w/ _install_mobile_clients @zbchristian 2021-04-22 08:13:05 +01:00
billz
2032b27ad0 Merge from upstream master (insiders) 2021-04-22 08:12:44 +01:00
billz
6c674537bb WIP: txpower feature 2021-04-20 15:19:00 +01:00
billz
6741560f1a Merge with upstream master 2021-04-15 09:01:29 +01:00
billz
263e326281 Descriptive function name + insiders flag check 2021-04-15 09:00:14 +01:00
Bill Zimmerman
0c9152fff3
Merge branch 'master' into feature/zbchristian-clients 2021-04-15 09:00:48 +02:00
billz
e8343cc0a1 Install wireguard from apt on RPi OS 2021-04-14 20:06:19 +01:00
billz
ba948d99dd Update install_wireguard from apt on RPi OS 2021-04-14 19:58:34 +01:00
billz
d05b07fee3 Append WG option if undefined 2021-04-07 08:46:26 +01:00
billz
f7f963bbdc Set common repo for install loader 2021-04-07 07:17:05 +01:00
billz
88e39fa991 Unlink existing 50-raspap-router in conf-enabled 2021-04-01 16:50:20 +01:00
billz
41cb105b2a Unlink existing 50-raspap-router in conf-enabled 2021-04-01 16:46:07 +01:00
billz
8cd71ce864 Merge with upstream repo 2021-03-31 19:56:13 +01:00
Christian Zeitnitz
afe0553935 Fix EOL format 2021-03-29 20:30:26 +02:00
billz
1485d4509e Set repo with --insiders option 2021-03-27 13:11:44 +00:00
billz
4f168dca46 Set repo with --insiders option 2021-03-27 13:10:33 +00:00
billz
0c056b3833 Update w/ api.raspap.com 2021-03-21 17:32:51 +00:00
billz
b2b19cd159 Update w/ api.raspap.com 2021-03-21 17:32:37 +00:00
zbchristian
e16844294b
Merge branch 'master' into feature/zbchristian-clients 2021-03-21 18:00:40 +01:00
Christian Zeitnitz
159e3674e5 cleanup common.sh
typo in wifi-qr-code.php corrected
2021-03-16 22:31:00 +01:00
Christian Zeitnitz
fd487a9824 Fix line break to Unix 2021-03-16 22:04:40 +01:00
Christian Zeitnitz
a34485225f Fix install_feature function 2021-03-16 21:50:44 +01:00
Christian Zeitnitz
f15533d256 Add feature install option to common.sh
Add installers/install_feature_clients.sh
2021-03-16 21:45:26 +01:00
Christian Zeitnitz
11e2724afa Dashboard: show correct status after switching the client state
fix huawei hilink service (udev rule)
2021-03-15 13:29:16 +01:00
billz
2b3d37a68a Fix for -t,--token option, thx @zbchristian 2021-03-14 19:27:13 +00:00
billz
3a3f577a99 Fix for -t,--token option 2021-03-14 17:03:11 +00:00
Christian Zeitnitz
438ab94309 Fix access token option in raspbian.sh 2021-03-14 18:02:19 +01:00
Christian Zeitnitz
2b4c9472e6 Replace switchClientState.sh by php function in get_clients.php
Cleanup display of client on dashboard
2021-03-12 12:20:34 +01:00
billz
b6e308351f Update get_release() 2021-03-10 06:37:12 +00:00
billz
4777da48e6 Update get_release() 2021-03-10 06:29:11 +00:00
billz
f905434b0b Minor: comments + get_release() 2021-03-10 06:27:29 +00:00
billz
cb58e31089 Handle server/peer enable states 2021-03-09 15:35:48 +00:00
billz
113ffa2d80 Minor: comments + whitespace 2021-03-09 12:21:34 +00:00
billz
13997d57a9 Minor: cleanup + comments 2021-03-09 12:12:11 +00:00
billz
45965c4ae0 Add openvpnlog.sh 2021-03-09 11:43:22 +00:00
billz
c62d99aab9 Adds @zbchristian's token option, fix private repo handling 2021-03-09 11:38:40 +00:00
Bill Zimmerman
6d9eaceef7
Merge branch 'master' into feature/wireguard 2021-03-09 12:11:21 +01:00
billz
80c525c042 Minor: update comments 2021-03-09 10:58:15 +00:00
billz
76e87508bd Remove feature branch routines 2021-03-09 09:58:05 +00:00
billz
445b0af4b5 Add @zbchristian's token option, fix private repo handling 2021-03-09 09:51:15 +00:00
Christian Zeitnitz
dd7873fd41 Allow installation from a private repository via access token 2021-03-08 14:35:17 +01:00
Christian Zeitnitz
d920f73943 Add client handling to installer 2021-03-07 18:48:53 +01:00
Christian Zeitnitz
8b0383dd20 Implement Client configuration
- add mobile date network devices and configuration
- add client configuration via udev
- add GUI under networking tab
- add scripts to handle mobile data devices
2021-03-07 18:36:48 +01:00
billz
7c1ef85bb8 Update wg-quick w/ systemd start/stop 2021-03-07 13:22:26 +00:00
billz
858edb065b Update sudoers wg-*.key 2021-03-04 23:07:04 +00:00
billz
82779b286e Merge remote-tracking branch 'upstream/master' 2021-03-04 11:36:36 +00:00
billz
6b484d383c Progress commit: wg-qr-code 2021-03-02 23:15:47 +00:00
billz
33ac6d26cf Fix for #803 by @mp035 2021-03-02 14:37:50 +00:00
billz
0d2f02e3fb Update sudoers wireguard/*.conf 2021-03-02 14:17:13 +00:00
billz
3ec81ba085 Get/set pub+priv keys, create wg0.conf 2021-02-24 18:07:19 +00:00
billz
1431d44b52 Added /bin/mv /tmp/wg-*.key 2021-02-24 08:48:56 +00:00
billz
369f303926 Add _prompt_install_wireguard 2021-02-23 23:21:38 +00:00
billz
9c2cd82562 Merge branch 'feature/wireguard' of https://github.com/RaspAP/raspap-insiders into feature/wireguard 2021-02-23 20:17:38 +00:00
billz
d6570cbc41 Update install loader 2021-02-22 16:08:24 +00:00
billz
e2a526ef81 Update release version 2021-02-10 17:13:34 +00:00
billz
72515b0734 Update release version 2021-02-10 16:23:56 +00:00
billz
7798e710c1 Install openvpn logging script 2021-02-10 11:28:33 +00:00
billz
04edc3a185 Implement openvpn logging 2021-02-09 21:57:15 +00:00
billz
56ca7ab281 Update w/ openvpn client cfg actions 2021-02-07 11:56:18 +00:00
billz
e3c00a8092 Update sponsor links 2021-02-03 09:18:44 +00:00
billz
8a4453b0f5 Migrate repo to organization 2021-02-03 09:07:15 +00:00
billz
23de56b8e7 Reassociate client iface in AP-STA, thx @mp035 2021-02-02 04:28:19 +00:00
billz
96ed5072d8 Update ambiguous msg, unlink & remove lighttpd conf 2021-01-31 09:41:55 +00:00
billz
7c14c2f5f0 Minor: fix typo 2021-01-31 06:23:54 +00:00
billz
9baa8de162 Resolve conflicts 2021-01-30 16:56:49 +00:00
Mark Pointing
6966bc7f3a Changed routing system to use the more common path approach instead of query strings. 2021-01-30 16:06:33 +00:00
billz
27b41a8518 Rename repo 2021-01-28 08:24:52 +00:00
Bill Zimmerman
15e0b59054
Merge pull request #704 from billz/feature/dhcp-eth0
Feature: dhcp for eth0
2020-12-26 11:52:23 +01:00
billz
d7f5ee36e8 Tidy install loader, usage notes readability + examples 2020-12-16 16:25:17 +00:00
Bill Zimmerman
f43083fec8
Merge branch 'master' into feature/dhcp-eth0 2020-12-15 23:01:23 +01:00
billz
c608d22b6f Utility functions + param handling 2020-12-15 15:04:55 +00:00
billz
0ff2daf2d4 Update uninstall dnsmasq 2020-12-15 07:40:21 +00:00
billz
0cd278f040 Create 090_raspap.conf w/ dnsmasq log-facility 2020-12-12 19:29:43 +00:00
Bill Zimmerman
16f4c47f00
Merge branch 'master' into feature/dhcp-eth0 2020-12-12 17:41:41 +01:00
billz
1f318f0137 Remove default_hostapd (deprecated) 2020-12-09 17:16:25 +00:00
billz
3b1c9b23c5 Update installer w/ -c advice.detachedHead=false 2020-12-07 09:55:01 +00:00
billz
6aaa1bd7a4 Set default install branch to latest release 2020-12-07 09:47:04 +00:00
billz
e8219c70ec Check if raspapd.service file exists 2020-12-06 09:11:43 +00:00
billz
b832954f05 Check if 090_wlan0.conf exists 2020-12-06 09:08:11 +00:00
billz
24e4bc8705 Apply defaults.json + set ownership 2020-12-05 22:21:39 +00:00
billz
a56a59b7e5 Default config tweaks 2020-12-05 21:49:32 +00:00
billz
3f4901495a Add stop services to uninstaller 2020-12-05 14:30:11 +00:00
billz
d35397f09e Remove hardcoded default values, implement defaults.json 2020-12-05 09:14:07 +00:00