Jerry Vonau
c51575f02b
network main cleanup
2020-05-07 12:23:07 -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
2089a0c918
don't set hostapd_enabled: False with wifi gateway
2020-05-01 10:27:48 -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
a311454436
network/main remove installing, move hostapd.yml, notes, cleanup
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
845d88cf41
network - reduce is_rpi or move to is_raspbian
2020-03-04 17:00:01 -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
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
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
Jerry Vonau
084f2a0328
use alternate hosts file for dnsmasq
2019-12-02 00:41:12 -06:00
Jerry Vonau
2423d9a293
network guard against faulty user edits to local_vars
2019-11-28 05:27:44 -06:00
holta
3a1ccf3638
'when: X' -> 'when: X | bool' for Ansibl 2.8
2019-05-24 18:33:10 -04:00
holta
3eccbd9d60
'| bool' for Ansible 2.8; prep U18+
2019-05-24 03:06:43 -04:00
A Holt
0682b03931
run netplan.yml if Ubuntu 18.04 or higher
2019-05-03 23:51:06 -04:00
A Holt
63fda2b290
Update main.yml
2019-01-16 04:49:30 -05:00
Jerry Vonau
2550eb4d04
Don't auto reinstall named, dhcpd when install is False
...
Trigger is change in hostname away from what is set in local_vars.
2019-01-16 03:32:40 -06:00
Jerry Vonau
d6690b2537
lets not use netplan for bridges
2018-12-15 00:32:33 -06:00
Jerry Vonau
14dd29eba4
refine netplan2
2018-12-15 00:32:33 -06:00
Jerry Vonau
93694e853b
split out netplan
2018-12-15 00:32:33 -06:00
georgejhunt
84da40c40d
Cap2 ( #1300 )
...
* move captive portal to its own role
* runrole still not working
* make apache name consistent, define py_captive_portal_port
* record android fixes
* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows
* works all platforms
* one captive_portal_install not changed to py_captive...
* port into defaults
* windows 7,8,10,mac,ios,android 5,7
* add # to dnsmasq.d/captive
* guess what android 8 might need
* move captive portal to its own role
* runrole still not working
* make apache name consistent, define py_captive_portal_port
* record android fixes
* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows
* works all platforms
* one captive_portal_install not changed to py_captive...
* port into defaults
* windows 7,8,10,mac,ios,android 5,7
* add # to dnsmasq.d/captive
* guess what android 8 might need
* restart apache2 and dnsmasq in role
* do not hard code apache name
* cut out disfunctional experiments
* variable py_captive_portal_port misspelled
* add wildcard serveralias to box.lan vhost to fix default
* add in STDOUT to log
* remove the py_
* add in msn to urls to capture
* missed a few py_
2018-11-17 20:09:40 -08:00
root
b973906dc3
iiab_env_file -> {{ iiab_env_file }} or "{{ iiab_env_file }}"
2018-10-15 06:41:58 -04:00
A Holt
b96b6f42ac
Update main.yml
2018-10-08 19:03:26 -04:00
A Holt
d97f62edf9
Update main.yml
2018-08-21 12:45:38 -04:00
Jerry Vonau
418d941833
whitespace
2018-07-04 08:30:53 -05:00
Anish Mangal
74fb19864f
Initial working copy of the captive portal
2018-07-04 08:27:11 -05:00
Jerry Vonau
4ed7c38f4f
NM not playing nice on ubuntu-16, use older method
2018-05-01 14:40:04 -05:00
Jerry Vonau
50ad0de6be
revise feedback
2018-04-08 19:57:49 -05:00
Jerry Vonau
5a0a37d064
scripts only apply to the RPi
2018-04-08 19:46:31 -05:00
A Holt
902b473f5b
Merge pull request #726 from georgejhunt/fix6.5
...
fix6.5 - auto-enable hostapd (during Ethernet install of IIAB)
2018-04-05 12:17:59 -04:00
A Holt
464488da62
Update main.yml
2018-04-04 04:16:51 -04:00
A Holt
aec942f75a
Update main.yml
2018-04-04 03:57:33 -04:00
A Holt
1396704aff
record HOSTAPD_ENABLED=<value> into iiab.env
2018-04-04 03:15:19 -04:00
George Hunt
227b5f4c32
wifi really is turned off by rfkill until wpa_supplicant has country=
2018-03-29 20:39:20 +00:00
A Holt
8419873d9c
Revert #652 as iiab-startup.sh sets promiscuous early on
2018-01-11 18:29:39 -05:00
A Holt
7f227413ca
turn on wlan0 promiscuous mode much earlier?!
2018-01-11 15:35:28 -05:00
A Holt
236580eff6
Clarify how hostapd_enabled is RECORDED into /etc/iiab/iiab.ini
2018-01-11 09:02:24 -05:00
A Holt
95f726e913
Context Explained: WiFi-as-gateway detection logic
2018-01-01 11:45:19 -05:00
A Holt
4272185a88
manually_toggle_AP: True -> hostapd_enabled: False
2018-01-01 10:58:46 -05:00
A Holt
44675f659a
"no_net_restart: True" to prevent WiFi flakiness?
2017-12-29 01:03:02 -05:00
A Holt
7986d5b28a
Clarify IIAB_LAN|WAN_DEVICE saved to /etc/iiab/iiab.env
2017-12-28 22:11:37 -05:00
A Holt
82862c4dd0
"when: not installing" redundant...comment or remove!?
2017-12-28 22:01:01 -05:00
A Holt
a2ab1b79cc
Clarif: manually_toggle_AP used in hostapd.yml & rpi_debian.yml
2017-12-28 19:39:29 -05:00
A Holt
c412f02f70
Enable manually_toggle_AP when WiFi is primary gateway
2017-12-28 18:57:22 -05:00
A Holt
4f250ac5f2
clarify "RPi - don't reboot to AP post install - installed via wifi"
2017-12-28 10:01:46 -05:00
A Holt
3a729396f0
Merge pull request #554 from jvonau/U17-2
...
U17-2: refine network for Ubuntu 18.04 LTS daily builds
2017-12-07 12:46:34 -05:00
A Holt
2df3afbc78
"reboot_to_AP: False" (today for RPi only) was being ignored
2017-12-04 18:18:07 -05:00
Jerry Vonau
29104b9f75
add install time option for control of AP upon reboot
2017-11-24 13:01:18 -06:00