1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
Commit graph

392 commits

Author SHA1 Message Date
A Holt
593804f9d3
Update iiab-internet-on 2021-04-13 01:09:09 -04:00
A Holt
1b2ccef0ce
Update iiab-internet-off 2021-04-13 01:08:49 -04:00
A Holt
c5bd0c909b
Update iiab-internet-on 2021-04-13 00:38:38 -04:00
A Holt
6a4e6bb2a9
Update iiab-internet-off 2021-04-13 00:37:44 -04:00
Jerry Vonau
6aeaeed6ab helper scripts 2021-04-12 12:12:06 -05:00
Jerry Vonau
742405b1d3 use iiab.env as reference for state of iiab_gateway_enabled
Opens up the posibility of gateway-on|off scripts like hotspot-on|off
2021-04-12 09:22:14 -05:00
Jerry Vonau
a32539ae81 Don't load legacy modules 2021-04-12 00:00:50 -05:00
Jerry Vonau
d3b49ec32d kick ap0 2021-02-23 18:55:47 -05:00
A Holt
12e238fde2
Update wifi-test.service.j2 2020-10-28 00:38:08 -04:00
A Holt
f7a0c21a22
Update hostapd.service.j2 2020-10-28 00:37:33 -04:00
root
d1865ee2d6 4 renames: network-manager -> NetworkManager 2020-10-27 22:43:13 -04:00
root
6856bb86aa Typos in iiab-hotspot-on, iiab-hotspot-off, systemd-static-net.j2 2020-10-24 10:01:41 -04:00
Jerry Vonau
ffd9b4da0c gui_desired_network_role is defined in systemd.j2 2020-10-22 14:19:29 -05:00
root
ac22723b43 Release Cleanup of validate_vars, default_vars, local_vars, Stages 0-4, SSHD 2020-09-24 19:01:11 -04:00
Jerry Vonau
f121ae1e52 move to top 2020-09-16 11:52:17 -05:00
George Hunt
4746a142af add ctrl-interface to hostapd 2020-09-16 11:50:52 -05:00
A Holt
0bfc7e9b28
Update 50-hostapd 2020-09-08 09:05:20 -04:00
Jerry Vonau
d032dfa7a6 add loud reboot message 2020-09-07 20:28:13 -05:00
Jerry Vonau
18d32b2b8d add warning is 5Ghz - ignoring 2020-09-07 19:08:51 -05:00
Jerry Vonau
9caf17c2b8 add warning for 5Ghz NOT CHANGING HOSTAPD 2020-09-07 18:57:19 -05:00
Jerry Vonau
6e29ed1c3a RPiOS - use 'no-block' with dhcpcd 2020-08-01 11:08:02 -05:00
Jerry Vonau
13e25494c0 RPiOS - use dhcpcd hooks to restart hostapd when br0 appears 2020-08-01 00:05:31 -05:00
Jerry Vonau
016cdfcc37 use bind-dynamic for dnsmasq on RpiOS - 2 2020-07-23 23:09:01 -05:00
Jerry Vonau
264dc81f03 use bind-dynamic for dnsmasq on RpiOS 2020-07-23 22:59:36 -05:00
A Holt
224001d0ab
Merge pull request #2406 from jvonau/hook-tune
tuning of 52c0f2aaea [internal WiFi hotspot is not working]
2020-05-13 14:45:53 -04:00
Jerry Vonau
ae62306534 go with all three to match netd-disp 2020-05-13 09:53:01 -05:00
Jerry Vonau
1adb4997a6 didn't like * so split up 2020-05-13 02:14:08 -05:00
Jerry Vonau
2ed7c34579 tuning of 52c0f2aaea 2020-05-13 00:43:42 -05:00
Jerry Vonau
c1bf4adfc2 selective rfkill unblock for raspbian 2020-05-12 10:45:35 -05:00
Jerry Vonau
754c521f0c yaml set the variable wan_nameserver as 'null' without quotes then jinja converts that 'none' 2020-05-11 10:54:26 -05:00
Jerry Vonau
efc28556ab remove stale note 2020-05-09 15:06:23 -05:00
Jerry Vonau
7e79d691fc install and start dnsmasq early - add option to set upstream dns server 2020-05-09 15:06:23 -05:00
Jerry Vonau
52c0f2aaea too aggressive in dhcpcd's 50-hook 2020-05-07 12:23:08 -05:00
Jerry Vonau
0024a0c17f hotspots revised 2020-05-07 12:23:08 -05:00
Jerry Vonau
35efbe8ea8 hostapd keep a strict starting order 2020-05-07 12:23:08 -05:00
Jerry Vonau
2c7a720030 test-wifi - exit if ssid is not found or channel is unavailable 2020-05-07 12:23:08 -05:00
Jerry Vonau
1b58d712cf use iw in place of wpa_cli 2020-05-07 12:23:08 -05:00
Jerry Vonau
933ca564bd wpa workaround doc'd and moved 2020-05-07 12:23:08 -05:00
Jerry Vonau
23940fcdc4 past sync up netd-disp2 2020-05-07 12:23:08 -05:00
Jerry Vonau
323e5c7372 don't use test-wifi for hostapd start 2020-05-07 12:23:07 -05:00
Jerry Vonau
25bd5a9b3c dhcpcd hook refinements 2020-05-07 12:23:07 -05:00
Jerry Vonau
7fd6fc9737 test wifi exit if no ssid is found 2020-05-07 12:23:07 -05:00
Jerry Vonau
050722f3a0 ubuntu hook for channel change 2020-05-07 12:23:07 -05:00
Jerry Vonau
7ca4664473 flying edit only when different 2020-05-07 12:23:07 -05:00
Jerry Vonau
ec7ad926d1 netplan country= workaround 2020-05-07 12:03:51 -05:00
Jerry Vonau
664b540fdb update iiab-hotspot-on|off 2020-05-07 12:03:51 -05:00
Jerry Vonau
f150d09eae wifi-test needs before networkd 2020-05-07 12:03:51 -05:00
Jerry Vonau
6fb76de522 deal with netplan 2020-05-07 12:03:51 -05:00
Jerry Vonau
83793e72e4 running model 2020-05-07 12:03:51 -05:00
Jerry Vonau
359f2b4b1c br0 online tuning 2020-05-07 12:03:51 -05:00
Jerry Vonau
842a14269a better handling of 2.4/5 on the same ssid 2020-05-07 12:03:51 -05:00
Jerry Vonau
4ad83f787b test-wifi touchups 2020-05-07 12:03:51 -05:00
Jerry Vonau
37ed8a6ba4 keep the pids known 2020-05-07 12:03:51 -05:00
Jerry Vonau
000d4ec35c ap0 notes 2020-05-07 12:03:51 -05:00
Jerry Vonau
c6a2140329 edit hostapd on the fly 2020-05-07 12:03:51 -05:00
Jerry Vonau
e125537c0c ap0 - introduce wifi-test.service 2020-05-07 12:03:51 -05:00
Jerry Vonau
8669a97d18 ap0 - split cloning 2020-05-07 12:03:51 -05:00
Jerry Vonau
784d89d3a9 default manage.conf to enabled for wifi installs 2020-05-01 20:51:28 -05:00
Jerry Vonau
3d4b23f2fe exclude NM from touching ap0 2020-05-01 10:27:49 -05:00
Jerry Vonau
5dd283f84e hotspots 2020-05-01 10:27:49 -05:00
Jerry Vonau
7307962067 manage.conf.j2 2020-05-01 10:27:49 -05:00
Jerry Vonau
40cbebca46 hostapd - netplan @ -> - 2020-05-01 10:27:48 -05:00
Jerry Vonau
b8cf8712c2 netd-disp tuning 2020-05-01 10:27:48 -05:00
Jerry Vonau
bb487777fa start hostapd before NM 2020-05-01 10:27:48 -05:00
Jerry Vonau
7e5ce367a2 don't stall boot if br0 has no slaves 2020-05-01 10:27:48 -05:00
Jerry Vonau
13d7c38a73 on|off for wifi_up_down 2020-05-01 10:27:47 -05:00
George Hunt
207cc98255 revert hotspot on/off to master before ap0 when wifi_up_down is false 2020-05-01 10:27:47 -05:00
George Hunt
ab0cb6fc90 disable hostspot on/off if up/down enabled 2020-05-01 10:27:47 -05:00
Jerry Vonau
640dbd64ea use wifi_up_down to set iiab_wireless_lan_iface 2020-05-01 10:27:47 -05:00
Jerry Vonau
4d9d925db8 one template - 2 copies 2020-05-01 10:27:47 -05:00
Jerry Vonau
04c876b28a don't clobber later revisions to hostapd.service.j2 2020-05-01 10:27:47 -05:00
Jerry Vonau
2059de2383 forgot .service 2020-05-01 10:27:47 -05:00
Jerry Vonau
3b0be9d865 touchup hostapd.service.j2 for Raspbian 2020-05-01 10:27:46 -05:00
Jerry Vonau
ef7ad60800 netplan - need to start netplan-wpa@ after hostapd 2020-05-01 10:27:46 -05:00
Jerry Vonau
3d5428b0a5 sysd-netd-debian - multi wired slaves 2020-05-01 10:27:46 -05:00
Jerry Vonau
ccb1bf348a adjust networkd-dispatcher dnsmasq script 2020-05-01 10:27:46 -05:00
Jerry Vonau
d0a27ce0df systemd-networkd version of dhcpcd's 50-hostapd hook 2020-05-01 10:27:46 -05:00
Jerry Vonau
36212548f4 hostapd.service - Before wpa_supplicant 2020-05-01 10:27:46 -05:00
Jerry Vonau
aab9c1ba87 setup auto restart of hostapd - based on current stock service file 2020-05-01 10:27:45 -05:00
Jerry Vonau
7b1f7016e5 remove is_rpi -> is_raspbian, more notes 2020-05-01 10:27:45 -05:00
Jerry Vonau
37da7407d4 update iiab-hotspot support files 2020-05-01 10:27:45 -05:00
Jerry Vonau
0bcf3c8184 update dhcpcd hook 2020-05-01 10:27:45 -05:00
Jerry Vonau
3f749036e4 update hostapd.service 2020-05-01 10:27:45 -05:00
Jerry Vonau
75133bd711 refine hostapd.service.j2 2020-05-01 10:27:45 -05:00
Jerry Vonau
218872c637 refine hostapd.service 2020-05-01 10:27:45 -05:00
Jerry Vonau
79a829dabe softcode apo_mac_addr 2020-05-01 10:27:45 -05:00
Jerry Vonau
71907893cb set ap0 mac_addr to be different from wlan0 2020-05-01 10:27:45 -05:00
Jerry Vonau
c56b9e6510 use hostapd's service file to create ap0 2020-05-01 10:27:45 -05:00
Jerry Vonau
6ba20a63e9 start hostapd before dhcpcd 2020-05-01 10:27:44 -05:00
Jerry Vonau
d03df344ff alter dhcpcd.conf for ap0 2020-05-01 10:27:44 -05:00
Jerry Vonau
87b86000b2 method to creat ap0 and have hostapd use it 2020-05-01 10:27:44 -05:00
root
cb1a708abb rm 25 *.deprecated files/dirs 2020-04-20 11:07:00 -04:00
Jerry Vonau
845d88cf41 network - reduce is_rpi or move to is_raspbian 2020-03-04 17:00:01 -06:00
Jerry Vonau
22e5159597 gui_desired_network_role is defined 2020-02-16 07:10:01 -06:00
A Holt
60a9386914
Update br0.j2 2020-01-06 09:06:54 -05:00
Anish Mangal
3e486d7fcf fix #1419 rename xsce stuff to iiab 2020-01-06 13:58:48 +00:00
A Holt
fba1c05f5a
Update hosts-dnsmasq.j2 2019-12-15 22:48:29 -05:00
A Holt
c827275cc3
Update hosts-dnsmasq.j2 2019-12-11 00:55:44 -05:00
Jerry Vonau
084f2a0328 use alternate hosts file for dnsmasq 2019-12-02 00:41:12 -06:00
A Holt
7c4c1289b5
Eliminate old commented code 2019-09-03 18:49:23 -04:00
A Holt
768599e446
Update dhcpcd.conf.j2 2019-09-03 16:46:10 -04:00
A Holt
88bc30e8d6
Update dhcpcd.conf.j2 2019-09-03 16:42:44 -04:00
A Holt
cefa3119cf
Clarify why we AVOID "denyinterfaces eth0" on RPi 2019-09-03 16:03:52 -04:00
A Holt
64919e2439
profile eth0 -> interface eth0 when wan_try_dhcp_before_static_ip == False 2019-09-03 15:23:15 -04:00
A Holt
db1fa162e1
rm arping; create var wan_try_dhcp_before_static_ip 2019-09-03 14:36:43 -04:00
A Holt
af2c3508d7
Update dhcpcd.conf.j2 2019-09-03 00:13:33 -04:00
A Holt
7b3bf8e2f2
Clarify {{ dhcp_timeout }} & denyinterfaces in /etc/dhcpcd.conf 2019-09-03 00:09:17 -04:00
A Holt
fc0ee6774a
Further clean spacing around denyinterfaces params 2019-09-02 23:57:16 -04:00
A Holt
c7b56f1192
"denyinterfaces eth0" spacing cleaned up 2019-09-02 23:52:52 -04:00
A Holt
542bda46c1
Update dhcpcd.conf.j2 2019-09-02 23:38:07 -04:00
A Holt
53bfa74856
Update dhcpcd.conf.j2 2019-09-02 23:37:04 -04:00
A Holt
fb3849e390
remove quotes from boolean logic in Ansible jinja2 template 2019-09-02 21:50:37 -04:00
A Holt
2a41699daf
wan_try_dhcp_then_static_ip -> wan_can_use_dhcp_ip 2019-09-02 20:12:00 -04:00
A Holt
3fabc9d951
wan_ipv4ll -> wan_link_local 2019-09-02 19:56:04 -04:00
A Holt
41e9e6b03c
wan_ipV4LL -> wan_ipv4ll 2019-09-02 18:13:26 -04:00
A Holt
649f92c2c2
New vars wan_try_dhcp_then_static_ip & dhcp_timeout 2019-09-02 17:54:24 -04:00
A Holt
b6b96afdb3
Update dhcpcd.conf.j2 2019-09-02 15:06:35 -04:00
Jerry Vonau
94a750b031 use timeout 10 in dhcpcd.conf 2019-09-02 12:30:21 -05:00
Jerry Vonau
b28f7e1298 rename variable to wan_ignore_ipV4LL 2019-09-02 12:20:04 -05:00
Jerry Vonau
8d12314a6e use profile/arping for static in dhcpcd.conf 2019-09-02 11:50:38 -05:00
A Holt
b17e268a19
Clarify template debian-auto.j2 for patch_auto 2019-07-26 12:24:48 -04:00
Jerry Vonau
62d35299ef open localhost acl for dansguardian 2019-07-20 23:51:48 -05:00
A Holt
c241cfb3c8
Update dnsmasq.sh.j2 2019-06-29 15:27:20 -04:00
Anish Mangal
71e0cf147a Comment out DNS line in /etc/systemd/network/IIAB-Bridge.network as it is causing race issues #1747 2019-06-25 20:03:29 +05:30
A Holt
5fc4d22057
Merge pull request #1733 from m-anish/azuracast
Initial checkin of AzuraCast role [for online radio stations]
2019-06-23 06:32:28 -04:00
Anish Mangal
afee35b222 Restart dnsmasq whenever iiab-lan-iface comes back up 2019-06-23 06:30:50 +00:00
A Holt
84cfd2b789
Merge branch 'master' into azuracast 2019-06-22 14:27:24 -04:00
Anish Mangal
8a1094e964 Move freepbx from being hosted at pbx.lan to <ip>:8888 2019-06-20 04:30:55 +00:00
A Holt
198445e93e
'static' was missing left of domain_name_servers 2019-06-19 13:02:38 -04:00
Anish Mangal
77bbfa381b Azuracast ports in iiab-gen-iptables 2019-06-19 06:28:47 +00:00
Tim Moody
715be6a62b remove systemctl restart networking 2019-06-15 15:16:56 -04:00
Tim Moody
47f1269563 hostapd fails to start if wifi connected to wan 2019-05-28 14:04:04 -04:00
A Holt
a3d7791f2a
Merge pull request #1617 from mitra42/mitra
Mitra - 'internetarchive' & 'yarn' Ansible playbooks for IIAB
2019-05-25 11:26:05 -04:00
A Holt
f2acf8934b
{{ services_externally_visible }} fails, deprecate it 2019-05-25 06:33:21 -04:00
A Holt
32b849e34f
Merge branch 'master' into mitra 2019-05-25 01:11:24 -04:00
A Holt
be5bbe8e5e
output tweak 2019-05-24 00:03:21 -04:00
A Holt
44c8204f66
Merge pull request #1693 from holta/firewall-usability
iptables firewall: Apply @jvonau's "$lan" != "none" to forwarding not just masquerading
2019-05-23 23:51:54 -04:00
A Holt
a68ae48b4e
Apply @jvonau's "$lan" != "none" to fwd'ing (not just masq'ing) 2019-05-23 23:42:55 -04:00
A Holt
f826c138b8
iptables doc tweak 2019-05-23 19:39:44 -04:00
A Holt
a55c7150e8
enable masquerade only when "$lan" != "none" (typo fixed) 2019-05-23 17:00:27 -04:00
A Holt
7fa7d1d40a
Enable masquerade only when "$lan" != "none" 2019-05-23 11:25:55 -04:00
A Holt
b221473d64
iiab-gen-iptables 15+ core port rules alphabetized 2019-05-21 03:57:04 -04:00
A Holt
f5ed9d6966
iptables $gui_port comment 2019-05-21 03:30:40 -04:00
A Holt
68676ef444
Comment points to iptables docs 2019-05-21 03:09:58 -04:00
A Holt
52fdf8983b
add WAN-side rules even if Appliance (if WAN exists!) 2019-05-21 02:06:47 -04:00
A Holt
20dacbb8fa
2 = ssh + http-or-https (for Admin Console's box.lan/admin too) 2019-05-19 14:02:53 -04:00
A Holt
043e6c8166
Explanation better 2019-05-19 06:49:30 -04:00
A Holt
33c64d2337
Comment aligned w/ local_vars files & default_vars 2019-05-19 06:45:23 -04:00
A Holt
12885ad5f8
How to edit iiab-gen-iptables 2019-05-19 06:30:16 -04:00
A Holt
ec9834f7d7
iiab-gen-iptables uses ports_externally_visible {0...5} 2019-05-19 05:42:58 -04:00