root
|
724f64e85a
|
Reinstate Squid, cutting out DansGuardian
|
2021-08-15 07:59:35 -04:00 |
|
root
|
d16d4f74e1
|
Cleaner computed_network.yml, computed_services.yml, enable_services.yml
|
2021-08-14 16:44:22 -04:00 |
|
root
|
55c016089c
|
Deprecate DansGuardian, Squid, WonderShaper
|
2021-08-14 16:18:12 -04:00 |
|
root
|
82a636ced5
|
0-init/defaults/main.yml: reconcile stale vars
|
2021-07-30 15:37:04 -04:00 |
|
root
|
50e0cde9a3
|
iiab-check-firmware to /usr/bin ; rename systemd services to iiab-*
|
2021-07-27 22:36:07 -04:00 |
|
A Holt
|
566a5e685b
|
rpi_debian.yml: clone-wifi when: discovered_wireless_iface != "none"
|
2021-07-20 21:58:26 -04:00 |
|
A Holt
|
6873524bd5
|
network/tasks/computed_services.yml: Restore trailing newline
|
2021-04-30 12:43:00 -04:00 |
|
Jerry Vonau
|
a643df2595
|
Merge branch 'master' into wifi_info
|
2021-04-30 11:30:31 -05:00 |
|
root
|
ed883d7ee5
|
network/tasks/computed_services.yml comment re-ordered
|
2021-04-30 11:34:30 -04:00 |
|
root
|
24000def54
|
Debug network/tasks/enable_services.yml like PR #2768
|
2021-04-30 11:25:32 -04:00 |
|
root
|
fbb476f667
|
Cleaner network/tasks/enable_services.yml like PR #2768
|
2021-04-30 11:22:49 -04:00 |
|
Jerry Vonau
|
b10f2f9f14
|
rename current_host_channel -> current_client_channel and record
|
2021-04-30 07:45:49 -05:00 |
|
root
|
670746fe88
|
WIP: iiab.ini vars set in 3 places? For Squid, DansGuardian, Wondershaper
|
2021-04-29 16:08:31 -04:00 |
|
root
|
a07a684d13
|
/etc/iiab/iiab.ini: install / enabled -> ROLE_install / ROLE_enabled
|
2021-04-29 15:03:29 -04:00 |
|
A Holt
|
f1fcdb82bc
|
Merge pull request #2693 from jvonau/debian_mate
Debian mate
|
2021-04-29 11:16:05 -04:00 |
|
Jerry Vonau
|
bdfd2b057a
|
save a daemon_reload
|
2021-04-28 16:31:00 -05:00 |
|
Jerry Vonau
|
a581d6ebf4
|
use the same logic as netplan.yml for br0
|
2021-04-28 16:31:00 -05:00 |
|
Jerry Vonau
|
5092229fcc
|
replace 'brctl' with 'bridge'
|
2021-04-26 22:29:54 -05:00 |
|
A Holt
|
e4d9e6306b
|
network/tasks/sysd-netd-debian.yml: Restore explanation of hostapd restart
|
2021-04-14 13:01:44 -04:00 |
|
A Holt
|
a8df90c3a4
|
network/tasks/rpi_debian.yml: Restore explanation of hostapd restart
|
2021-04-14 13:01:37 -04:00 |
|
A Holt
|
057db8f3a7
|
sysd-netd-debian.yml typo?
|
2021-04-14 08:17:22 -04:00 |
|
A Holt
|
eeefe546e7
|
network/tasks/enable_services.yml: Install iiab-internet-on|off from template
|
2021-04-13 00:31:33 -04:00 |
|
Jerry Vonau
|
6aeaeed6ab
|
helper scripts
|
2021-04-12 12:12:06 -05:00 |
|
Jerry Vonau
|
df5618c3a4
|
grouping
|
2021-04-12 10:45:31 -05:00 |
|
Jerry Vonau
|
1b8e6e4958
|
move to runtime option from install time (via 1-prep)
|
2021-04-12 10:31:23 -05:00 |
|
Jerry Vonau
|
7bed67ddcc
|
temp fix for #2585 with networkd-dispatcher/groovy,now 2.0.1-1
revert when fixed upstream
|
2020-11-23 19:31:43 -06:00 |
|
root
|
efe2381e43
|
Restart {{ dhcp_service2 }} as on is_ubuntu_20
|
2020-11-15 01:13:49 +00:00 |
|
A Holt
|
a0632fcbbf
|
hostapd.yml: diagnosic -> diagnostic
|
2020-10-28 00:49:54 -04:00 |
|
root
|
d1865ee2d6
|
4 renames: network-manager -> NetworkManager
|
2020-10-27 22:43:13 -04:00 |
|
root
|
ca171fbc1c
|
Remove "| bool" 1.5yrs later, as Ansible 2.10 changed conditional_bare_variables default
|
2020-10-16 16:46:19 -04:00 |
|
Jerry Vonau
|
3d0bdc47e4
|
record bare variables and use -e with the bare variables in the grep line
|
2020-10-09 07:30:18 -05:00 |
|
Jerry Vonau
|
46448daeab
|
replace second_gateway_found.changed with second_gateway_found.stdout != and wording
|
2020-10-07 13:59:16 -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
|
a6074935db
|
open up exclude_devices for any device with a default route present
handles wifi & wired devices
|
2020-09-15 08:17:07 -05:00 |
|
Jerry Vonau
|
aed16ca9f2
|
exclude_device -> exclude_devices
There can be more than one
|
2020-09-15 08:17:07 -05:00 |
|
Jerry Vonau
|
797aee3e9f
|
2515 fix
|
2020-09-14 22:53:30 -05:00 |
|
A Holt
|
01d418e374
|
network/tasks/main.yml: typo in comment
|
2020-09-12 21:11:36 -04:00 |
|
A Holt
|
3ad8b4e47e
|
network/tasks/main.yml: subsequant -> subsequent
|
2020-09-12 21:07:26 -04:00 |
|
Jerry Vonau
|
0c8104abff
|
better usage explaination of no_net_restart
|
2020-09-12 19:58:10 -05:00 |
|
A Holt
|
9d63fa40fb
|
network/tasks/main.yml: 2 comments about no_net_restart
|
2020-09-12 20:40:30 -04:00 |
|
Jerry Vonau
|
05600f3b7a
|
detect secondary gateway on wifi interface for no_net_restart
|
2020-09-12 02:33:31 +01:00 |
|
A Holt
|
8d3b2f6ff8
|
Merge pull request #2472 from jvonau/firmware
RFC Firmware downgrading [WiFi hotspot capacity workaround, for Raspberry Pi]
|
2020-08-06 12:14:47 -04:00 |
|
Jerry Vonau
|
f6c31f80ba
|
handle firmware downgrade
|
2020-08-02 13:36:56 -05:00 |
|
Jerry Vonau
|
e57cad010e
|
Ubuntu - use networkd-dispatcher hooks to restart hostapd when br0 appears
|
2020-08-01 11:06:45 -05:00 |
|
Jerry Vonau
|
b44526cc27
|
networking - RpiOS - May impact bluetooth networking.
Only supply 'iiab' and use networking service for wired slaves needing br0.
|
2020-07-23 22:42:03 -05:00 |
|
A Holt
|
39b557b94c
|
Update enable_services.yml
|
2020-05-10 14:25:08 -04:00 |
|
Jerry Vonau
|
66f5425943
|
Merge branch 'master' into early-dns
|
2020-05-09 16:28:39 -05:00 |
|
A Holt
|
4261399ce2
|
Merge pull request #2398 from jvonau/bug
while testing 2395 - handle no wifi
|
2020-05-09 17:25:40 -04:00 |
|
Jerry Vonau
|
37d7186cb8
|
while testing 2395 - handle no wifi
|
2020-05-09 16:21:58 -05:00 |
|
A Holt
|
068b53c920
|
Update network/tasks/main.yml
|
2020-05-09 16:34:49 -04:00 |
|
Jerry Vonau
|
c88312428f
|
settable at runtime
|
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 |
|
A Holt
|
0bb0649a5e
|
Ansible quotes fix in network/tasks/main.yml
|
2020-05-09 15:30:40 -04:00 |
|
A Holt
|
378aebb748
|
Update network/tasks/main.yml
|
2020-05-09 15:15:40 -04:00 |
|
Jerry Vonau
|
1193b15184
|
once installed and rebooted br0 will be available
|
2020-05-07 12:23:08 -05:00 |
|
Jerry Vonau
|
04edaeaddd
|
raspbian - wifi installs not assigning ip address to br0 in time for dnsmasq
|
2020-05-07 12:23:08 -05:00 |
|
Jerry Vonau
|
845a961139
|
forget about pre-reboot AP usage
|
2020-05-07 12:23:08 -05:00 |
|
Jerry Vonau
|
a95d476287
|
rpi wifi-runtime changes
|
2020-05-07 12:23:08 -05:00 |
|
Jerry Vonau
|
8190f4b7a9
|
runtime - move clone-wifi - adjust services
|
2020-05-07 12:23:08 -05:00 |
|
Jerry Vonau
|
6e21b0b55b
|
rpi-next-run sync up
|
2020-05-07 12:23:07 -05:00 |
|
Jerry Vonau
|
323e5c7372
|
don't use test-wifi for hostapd start
|
2020-05-07 12:23:07 -05:00 |
|
Jerry Vonau
|
c602bace6b
|
hostapd.yml reload new services
|
2020-05-07 12:23:07 -05:00 |
|
Jerry Vonau
|
263010cfdf
|
raspbian - only start clone-wifi if wired gateway is used
|
2020-05-07 12:23:07 -05:00 |
|
Jerry Vonau
|
60a6484c51
|
restart.yml netplan fix needs is_ubuntu
|
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
|
1bdd038b41
|
raspbian no reboot -- needs testing
|
2020-05-07 12:23:07 -05:00 |
|
Jerry Vonau
|
b60d4957a1
|
ubuntu no reboot
|
2020-05-07 12:23:07 -05:00 |
|
Jerry Vonau
|
c51575f02b
|
network main cleanup
|
2020-05-07 12:23:07 -05:00 |
|
Jerry Vonau
|
1366bf507d
|
show what is being recoreded in iiab_env_file
|
2020-05-07 12:23:07 -05:00 |
|
Jerry Vonau
|
9a55fdff9c
|
let wifi test start hostapd
|
2020-05-07 12:03:51 -05:00 |
|
Jerry Vonau
|
964a592679
|
service touch-ups
|
2020-05-07 12:03:51 -05:00 |
|
Jerry Vonau
|
575b66fb6e
|
use the new routine
|
2020-05-07 12:03:51 -05:00 |
|
A Holt
|
ffe33ac76d
|
Update roles/network/tasks/hostapd.yml
|
2020-05-04 15:32:43 -04:00 |
|
A Holt
|
9142cde8ff
|
Update roles/network/tasks/restart.yml
|
2020-05-04 15:32:34 -04:00 |
|
Jerry Vonau
|
5c402848dd
|
just restart systemd-networkd
|
2020-05-04 12:11:26 -05:00 |
|
Jerry Vonau
|
b1f6c8176e
|
for the most part restart dnsmasq
|
2020-05-03 19:18:20 -05:00 |
|
Jerry Vonau
|
5bd975db5e
|
the intent is to not restart hostapd during wifi installs
|
2020-05-03 14:02:14 -05:00 |
|
Jerry Vonau
|
c2730635a6
|
override 'vars' if the hardware is not present
|
2020-05-03 14:00:20 -05:00 |
|
Jerry Vonau
|
e9f9364a90
|
netplan needs the unmasking|enable for sysd-netd
|
2020-05-01 21:35:49 -05:00 |
|
Jerry Vonau
|
9ee93d7e01
|
sysd-netd-debian - split unmask/enable and restart
|
2020-05-01 21:22:41 -05:00 |
|
Jerry Vonau
|
f8a59b46bb
|
legacy wifi installs needs iiab_wireless_lan_iface set also
|
2020-05-01 20:02:05 -05:00 |
|
Jerry Vonau
|
117e40f5bc
|
hostapd.yml - missed rpi_model != 'none', touchups
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
63c64271af
|
move netplan before hostapd to pick up set_fact sysd-netd-active
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
325db43473
|
netplan - let backends handle static ip
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
4ab0e63214
|
wifi routines needed on non-rpi hardware
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
3d4b23f2fe
|
exclude NM from touching ap0
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
8751b33271
|
can't start hostapd when ap0 is in use needs reboot
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
f83e615b40
|
netplan
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
56ba4d0d19
|
static ip systemd-networkd
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
7307962067
|
manage.conf.j2
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
e741ba35ea
|
revert the rest of 5a70c9feea
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
4f4e7f5cc5
|
file status -> state think0
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
3b26b4c594
|
don't call netplan apply
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
5a538cbdd2
|
netplan.yml - use item|trim for delete test
|
2020-05-01 10:27:49 -05:00 |
|
Jerry Vonau
|
fa886874b0
|
iiab-wifi cleanup routable.d when not wifi_up_down
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
6f1ef6ec83
|
hostapd.yml typo no 'e'
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
d34e7053b9
|
netplan - Disable cloud-init the easy way - bugfix
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
b8cf8712c2
|
netd-disp tuning
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
776b983e3d
|
documented force does not work use masked no
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
24624c6e6f
|
hostapd is masked force override
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
14bed5f2fc
|
bad idea NM uses dbus to to call wpa_supplicant
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
3725969686
|
remove dnsmasq workaround for br0 being down at boot
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
7db1464b76
|
don't check for wifi slaves if wifi gateway
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
09c7c3e252
|
legacy support should not boot to AP on mode
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
2089a0c918
|
don't set hostapd_enabled: False with wifi gateway
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
ab8de54e24
|
restart - hostapd use wifi gateway as test
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
0249c3a100
|
turn off hostapd in Appliance mode
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
0bc294bbba
|
Update roles/network/tasks/hostapd.yml
Co-Authored-By: A Holt <holta@users.noreply.github.com>
|
2020-05-01 10:27:48 -05:00 |
|
Jerry Vonau
|
10eb7e76d9
|
sysd-netd drop wired device count
|
2020-05-01 10:27:47 -05:00 |
|
Jerry Vonau
|
ed01d0584d
|
netplan - 01-iiab exclude wireless devices
|
2020-05-01 10:27:47 -05:00 |
|
George Hunt
|
0d9321a363
|
partial of 720c285... typo iiab_wireless_an_iface
|
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 |
|
George Hunt
|
75162642ad
|
suppose iiab-wifi should be absent when not wifi_up_down
|
2020-05-01 10:27:47 -05:00 |
|
George Hunt
|
97fa35c9d2
|
don't let dhcpcd muck around with wlan0 if it's under the br0
|
2020-05-01 10:27:47 -05:00 |
|
George Hunt
|
b0a54afc1c
|
remove dhcpcd hooks if not up_down
|
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
|
ca8e9ab79a
|
let NM if active handle wired slaves
|
2020-05-01 10:27:47 -05:00 |
|
Jerry Vonau
|
9893e62fd5
|
int casting
|
2020-05-01 10:27:47 -05:00 |
|
Jerry Vonau
|
1d4e427fa9
|
softcode exclude devices, move tests and turn into hard failures, record wifi after channel detection, prior_gateway_device, fix ap0 exclude
|
2020-05-01 10:27:47 -05:00 |
|
Jerry Vonau
|
6783038b29
|
don't forget about non-netplan networkd
netplan.stdout is undefined should handle debian
netplan.stdout.find("yaml") == -1) should handle U-16.04 U-18+ uses netplan
|
2020-05-01 10:27:46 -05:00 |
|
Jerry Vonau
|
3dd370e088
|
limit hostapd to 2.4GHz for now on RPI
|
2020-05-01 10:27:46 -05:00 |
|
Jerry Vonau
|
3c1bcc01ef
|
lets try netplan apply to restart the network
|
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
|
1693e502ba
|
Rework reserved_wifi -> reserved_device
|
2020-05-01 10:27:46 -05:00 |
|
Jerry Vonau
|
a311454436
|
network/main remove installing, move hostapd.yml, notes, cleanup
|
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
|
ac935f4c93
|
netplan don't delete user's wifi config
|
2020-05-01 10:27:46 -05:00 |
|
Jerry Vonau
|
3e02d57210
|
restart - use ap0 for bridge slave test
|
2020-05-01 10:27:46 -05:00 |
|
Jerry Vonau
|
668b8baf10
|
keep wlan0 and ap0 on the same channel on RPi hardware
|
2020-05-01 10:27:46 -05:00 |
|
Jerry Vonau
|
39cf3b2947
|
exclude ap0 from count_wifi_interfaces
|
2020-05-01 10:27:46 -05:00 |
|
Jerry Vonau
|
bf5dc8cf15
|
generate random mac address for ap0
|
2020-05-01 10:27:46 -05:00 |
|
Jerry Vonau
|
bccb155523
|
better discription of when rpi_debian.yml task is used
|
2020-05-01 10:27:45 -05:00 |
|
Jerry Vonau
|
23124b3a19
|
iiab-hotspot-on|off for all, is_rpi, style
|
2020-05-01 10:27:45 -05:00 |
|
Jerry Vonau
|
188407614c
|
dhcpcd hook for hostapd
|
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
|
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
|
17c69eca74
|
network exclude ap0
|
2020-03-19 06:49:04 -05:00 |
|
Jerry Vonau
|
b8163a1e7c
|
network - missing and #2284
|
2020-03-09 12:43:05 -05:00 |
|
A Holt
|
f9b2c51d41
|
Merge pull request #2275 from jvonau/is_rpi
Kill off is_rpi
|
2020-03-09 12:14:24 -04:00 |
|
Jerry Vonau
|
b956c34c56
|
remove quotes
|
2020-03-04 23:21:28 -06:00 |
|
Jerry Vonau
|
845d88cf41
|
network - reduce is_rpi or move to is_raspbian
|
2020-03-04 17:00:01 -06:00 |
|
A Holt
|
e5f2a251e2
|
Update network/tasks/down-debian.yml
|
2020-02-17 13:08:41 -05:00 |
|
A Holt
|
13da8238f9
|
Merge pull request #377 from jvonau/more_bs
Sync from jvonau:more_bs
|
2020-02-17 13:05:33 -05:00 |
|
Jerry Vonau
|
8946ed1f03
|
CP started dnsmasq can't shut it down now, resolvconf set /etc/resolv.conf to 127.0.0.1
|
2020-02-17 03:02:40 -06:00 |
|
root
|
810fc81ac8
|
Convert dest: to path: per Ansible lineinfile norms
|
2020-02-03 19:54:04 -05:00 |
|
Jerry Vonau
|
3bb839294d
|
install time fix for #2220
|
2020-02-02 00:21:45 -06:00 |
|
root
|
210200e85c
|
Spacing/Comment in roles/network/tasks/main.yml
|
2020-01-30 05:06:22 -05:00 |
|