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
aab9c1ba87
setup auto restart of hostapd - based on current stock service file
2020-05-01 10:27:45 -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
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
9df4e169b6
slimdown defaults
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
188407614c
dhcpcd hook for hostapd
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
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
Jerry Vonau
22e5159597
gui_desired_network_role is defined
2020-02-16 07:10:01 -06:00
root
810fc81ac8
Convert dest: to path: per Ansible lineinfile norms
2020-02-03 19:54:04 -05:00
Jerry Vonau
e0fd77836b
restore iiab_lan_enabled iiab_user_lan
...
gui_desired_network_role is intended to be optional.
iiab_lan_enabled: False intended to be big hammer to ignore all other interfaces
iiab_user_lan: user override to define the LAN interface when iiab provided bridging is not wanted
Could be rename user_desired_network_role....
2020-02-02 00:25:09 -06: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
root
2cdf846365
Remove tags in ~30 files, improve verbiage
2020-01-30 04:57:53 -05:00
root
814efd5a02
Mostly var cleanup across ~80 files
2020-01-30 04:00:00 -05:00
A Holt
65003acf8f
Update network/defaults/main.yml
2020-01-21 12:03:54 -05:00
root
780ed4a955
Experiment: comment out Ansible tags in 25 files
2020-01-13 20:41:03 -05:00
root
6e6fab170d
3 iiab.ini descrips + rm excess '| bool' casts
2020-01-13 19:57:50 -05:00
A Holt
d4906db5ce
Experimentally comment out tags from network/tasks/main.yml
2020-01-13 12:13:11 -05:00
root
a4d898dd9c
Cleaner ver: 35+1 files may write to iiab_state.yml
2020-01-12 18:15:33 -05:00
root
c53fc6fc9a
Clean wondershaper.yml, nginx/tasks/main.yml
2020-01-12 17:21:56 -05:00
root
bd915fcdae
35 tasks/*.yml writing to iiab_state.yml
2020-01-12 17:06:24 -05:00
root
509d110ece
Add 'XYZ_installed: True' to {{ iiab_state_file }}
2020-01-11 23:31:47 -05:00
root
99f48aae4a
iiab.ini: '| string' avoids Ansible warnings
2020-01-11 21:41:37 -05: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
ed23daf69f
Update hosts.yml.deprecated
2019-12-11 01:26:29 -05:00
A Holt
fb394d7bb3
Update hosts.yml.deprecated
2019-12-11 01:26:04 -05:00
A Holt
d548ae0908
Update and rename hosts.yml to hosts.yml.deprecated
2019-12-11 01:21:03 -05:00
A Holt
c92160be60
Merge pull request #2051 from jvonau/hosts_dnsmasq
...
Use alternate hosts file /etc/hosts.dnsmasq [so dnsmasq DOESN'T send "127.0.0.1 box box.lan" from /etc/hosts to client machines]
2019-12-11 00:56:03 -05:00
A Holt
c827275cc3
Update hosts-dnsmasq.j2
2019-12-11 00:55:44 -05:00
A Holt
abde721ba0
Clarify purpose of /etc/hosts.dnsmasq
2019-12-11 00:54:33 -05:00
Jerry Vonau
084f2a0328
use alternate hosts file for dnsmasq
2019-12-02 00:41:12 -06:00
holta
38fd86ac90
2008 var names, output, comments, small bugs
2019-11-28 05:32:00 -06:00
Jerry Vonau
2423d9a293
network guard against faulty user edits to local_vars
2019-11-28 05:27:44 -06:00
Jerry Vonau
29b28d8393
stage 4 installed
2019-11-28 05:27:44 -06:00
A Holt
0b81bc7ca5
Update README.rst
2019-10-09 11:19:47 -04:00
A Holt
7c4c1289b5
Eliminate old commented code
2019-09-03 18:49:23 -04:00
A Holt
ef32eb0fd9
Update main.yml
2019-09-03 18:09: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
467308e38d
192.168.1.254 preferred over 192.168.1.1 in MX schools
2019-09-03 14:57:24 -04:00
A Holt
0b0268ea5e
New var wan_try_dhcp_before_static_ip
2019-09-03 14:51:08 -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
7bf10c756b
Update main.yml
2019-09-02 20:34:50 -04:00
A Holt
ab2d0d3155
Update main.yml
2019-09-02 20:29:00 -04:00
A Holt
f5935654c8
wan_try_dhcp_then_static_ip -> wan_can_use_dhcp_ip
2019-09-02 20:12:33 -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
c6a82dbcfe
wan_ipv4ll -> wan_link_local
2019-09-02 19:58:03 -04:00
A Holt
3fabc9d951
wan_ipv4ll -> wan_link_local
2019-09-02 19:56:04 -04:00
A Holt
41f52628f3
Update main.yml
2019-09-02 18:18:00 -04:00
A Holt
692607c91b
wan_ipV4LL -> wan_ipv4ll
2019-09-02 18:14:23 -04:00
A Holt
41e9e6b03c
wan_ipV4LL -> wan_ipv4ll
2019-09-02 18:13:26 -04:00
A Holt
763624bff1
Update main.yml
2019-09-02 17:54:54 -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
9c5e4d3f40
Update main.yml
2019-09-02 16:22:52 -04:00
A Holt
8c6edc503b
Update main.yml
2019-09-02 16:15:53 -04:00
A Holt
4f7020f39f
Update main.yml
2019-09-02 16:06:07 -04:00
A Holt
33338ec7de
Update main.yml
2019-09-02 15:41:01 -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
Jerry Vonau
ee4494c074
supply config file when hardware is present
2019-08-15 09:14:08 -05:00
Jerry Vonau
fdf070d181
discovered_wireless_iface is always defined via defaults
2019-08-15 08:39:54 -05:00
Jerry Vonau
7dd7f9485d
supply unit file when hardware is present
2019-08-15 06:39:01 -05:00
Jerry Vonau
2c692fb07a
only supply systemd unit file when enabled
2019-08-15 06:10:55 -05:00
Jerry Vonau
c0c8b4e984
rework logic to correct recording of hostapd state
2019-08-15 06:09:22 -05:00