A Holt
|
be2a9eb1ac
|
Update iiab-gen-iptables
|
2018-07-17 01:23:43 -04:00 |
|
A Holt
|
3c031c88a3
|
Update iiab-gen-iptables
|
2018-07-17 01:10:37 -04:00 |
|
A Holt
|
16e2cccec3
|
Update iiab-gen-iptables
|
2018-07-17 01:05:49 -04:00 |
|
A Holt
|
b0aea6e136
|
Update main.yml
|
2018-07-12 14:10:34 -04:00 |
|
A Holt
|
eb1f6a5dcc
|
Update enable_services.yml
|
2018-07-12 14:04:52 -04:00 |
|
A Holt
|
281e0de791
|
Update enable_services.yml
|
2018-07-12 13:51:59 -04:00 |
|
A Holt
|
1337b651ac
|
modern Ansible syntax/style for readability
|
2018-07-12 13:50:32 -04:00 |
|
A Holt
|
d9398e39a7
|
modern Ansible syntax/style for readability
|
2018-07-12 13:36:44 -04:00 |
|
A Holt
|
01197db87c
|
Understandability/Context for outsiders
|
2018-07-12 13:36:09 -04:00 |
|
Jerry Vonau
|
ca7c291ba5
|
use py_ for new captive_portal variables
|
2018-07-05 12:24:20 -05:00 |
|
Jerry Vonau
|
2f47e84696
|
use py_captive_portal_enabled and restore captive_portal_enabled
|
2018-07-05 10:57:38 -05:00 |
|
Jerry Vonau
|
516daefb27
|
use dns_jail_enabled for dnsmasq blackhole
|
2018-07-05 10:55:12 -05:00 |
|
Jerry Vonau
|
cc09adb677
|
replace named-iiab.conf to pickup changes in dns_jail_enabled
|
2018-07-04 09:29:05 -05:00 |
|
Jerry Vonau
|
ef58b913aa
|
use lan_ip in place of hardcoding
|
2018-07-04 08:32:24 -05:00 |
|
Jerry Vonau
|
418d941833
|
whitespace
|
2018-07-04 08:30:53 -05:00 |
|
Anish Mangal
|
5674675ef9
|
captive_portal service must run as root
|
2018-07-04 08:27:11 -05:00 |
|
Anish Mangal
|
74fb19864f
|
Initial working copy of the captive portal
|
2018-07-04 08:27:11 -05:00 |
|
Jerry Vonau
|
aeacbe60ca
|
tweaking iptables for captive portal
|
2018-07-04 08:27:11 -05:00 |
|
A Holt
|
b04a6147e9
|
typo in comment: counry -> country
|
2018-06-29 17:40:50 -04:00 |
|
A Holt
|
9383cca879
|
Merge pull request #814 from georgejhunt/sugar
Sugarizer v1.0 migration
|
2018-06-21 12:09:27 -04:00 |
|
A Holt
|
11d18826c7
|
Update dnsmasq.yml
|
2018-06-14 15:22:11 -04:00 |
|
A Holt
|
831107839f
|
@jvonau requests we comment out most lines for now
|
2018-06-14 15:18:06 -04:00 |
|
A Holt
|
fa150095a6
|
commas were missing; fix to path roles/network/templates/network/dnsmasq.conf.j2
|
2018-06-14 14:56:42 -04:00 |
|
Jerry Vonau
|
6a47aa024f
|
conditional captive portal
|
2018-06-01 12:33:03 -05:00 |
|
Jerry Vonau
|
656d7caeb0
|
don't use captive portal mode
|
2018-06-01 11:38:22 -05:00 |
|
Jerry Vonau
|
1db445aacb
|
use full path otherwise .j2 is used - no need to supply systemd unit file
|
2018-06-01 11:16:30 -05:00 |
|
Jerry Vonau
|
f6e16fea68
|
setup installing dnsmasq
|
2018-06-01 10:56:16 -05:00 |
|
Jerry Vonau
|
1267c1e19c
|
Fallback to old gateway info when WAN is not detected when configuring static ip
|
2018-05-31 11:20:35 -05:00 |
|
Jerry Vonau
|
7501d256f8
|
handle different netplan file name
|
2018-05-20 11:57:10 -05:00 |
|
Jerry Vonau
|
5ca184297e
|
handle systemd-networkd having enabled-runtime
|
2018-05-20 11:34:02 -05:00 |
|
George Hunt
|
732547b9e7
|
softcode sugarizer port, open iptables if services_externally_visible
|
2018-05-18 22:35:09 +00:00 |
|
Jerry Vonau
|
36217b7b3f
|
allow backout from static to dhcp
|
2018-05-14 13:22:32 -05:00 |
|
Jerry Vonau
|
8167d9db71
|
missing %}
|
2018-05-14 10:34:59 -05:00 |
|
Jerry Vonau
|
0ad689711f
|
missing .j2
|
2018-05-14 10:02:32 -05:00 |
|
Jerry Vonau
|
7f02aa573f
|
correct typo
|
2018-05-14 09:36:44 -05:00 |
|
Jerry Vonau
|
7d0cfc0f93
|
systemd-networkd support for wan static ip address
|
2018-05-13 21:13:34 -05:00 |
|
Jerry Vonau
|
450a346839
|
NetworkManager support for wan static ip address
|
2018-05-13 21:13:34 -05:00 |
|
Jerry Vonau
|
e7fc6cc36d
|
ensure we want to use dhcp in template
|
2018-05-13 17:20:59 -05:00 |
|
Jerry Vonau
|
0c578c6a7d
|
debian-9 clear out interfaces when static ip
|
2018-05-13 16:48:12 -05:00 |
|
Jerry Vonau
|
506ce3ffd3
|
debian-9 networking restart workaround
|
2018-05-13 15:27:09 -05:00 |
|
Jerry Vonau
|
90ffdb9f69
|
netplan file change only for ubuntu-18
|
2018-05-13 12:09:31 -05:00 |
|
Jerry Vonau
|
72145ce13e
|
update template to match distro
|
2018-05-13 10:56:55 -05:00 |
|
Jerry Vonau
|
ff7022b563
|
get rid of the stall with 'dhcp'
|
2018-05-12 23:13:27 -05:00 |
|
Jerry Vonau
|
aad974777a
|
needed for dhcp now
|
2018-05-12 22:44:08 -05:00 |
|
Jerry Vonau
|
1082dd2aa4
|
allow the console to back out of static
|
2018-05-12 22:44:08 -05:00 |
|
Jerry Vonau
|
db2b3b7ee1
|
netplan systemd-networkd static support
|
2018-05-12 22:44:08 -05:00 |
|
A Holt
|
184cc624f9
|
Update main.yml
|
2018-05-10 12:38:59 -04:00 |
|
A Holt
|
a5e51b76bf
|
move "host_country_code: US" from roles/network/defaults to local_vars.yml
|
2018-05-10 12:12:28 -04:00 |
|
Jerry Vonau
|
852d14dbde
|
correct false postive, numbers need quotes
|
2018-05-05 07:57:04 -05:00 |
|
Jerry Vonau
|
1dda6adf6d
|
Disable isc-dhcp-server6.service on ubuntu-18
|
2018-05-03 09:40:08 -05:00 |
|
Jerry Vonau
|
e74cc9e241
|
Disable and mask systemd-networkd-wait-online on ubuntu-18
|
2018-05-03 08:10:31 -05:00 |
|
Jerry Vonau
|
76e84bec8b
|
dhcpd staging
|
2018-05-02 21:27:15 -05:00 |
|
Jerry Vonau
|
039b584fb2
|
systemd-networkd fix-ups
|
2018-05-02 21:27:14 -05:00 |
|
Jerry Vonau
|
0a84a5e9a7
|
fix detection
|
2018-05-02 21:27:14 -05:00 |
|
Jerry Vonau
|
e2c641e974
|
allow br0 removel
|
2018-05-02 21:27:14 -05:00 |
|
Jerry Vonau
|
748235c4b7
|
start hostapd before dhcpd
|
2018-05-01 15:55:05 -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 |
|
Jerry Vonau
|
ceb4d7d901
|
hostapd - disable before enable
Similar workarounds exist in named.yml and dhcpd.yml, just go with the flow
|
2018-04-08 19:23:13 -05:00 |
|
Jerry Vonau
|
367164029c
|
replace shell use of daemon_reload with systemd module, use systemd module in place of service for hostapd
|
2018-04-07 17:31:36 -05:00 |
|
Jerry Vonau
|
e7872a2a9d
|
fix enabling hostapd
|
2018-04-07 11:50:13 -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
|
2c58341de5
|
record HOSTAPD_ENABLED=True into iiab.env
|
2018-04-04 03:27:41 -04:00 |
|
A Holt
|
fa47bc1d41
|
record HOSTAPD_ENABLED=False into iiab.env
|
2018-04-04 03:27:25 -04:00 |
|
A Holt
|
1396704aff
|
record HOSTAPD_ENABLED=<value> into iiab.env
|
2018-04-04 03:15:19 -04:00 |
|
A Holt
|
246515ed21
|
Update iiab-hotspot-on
|
2018-04-04 02:36:26 -04:00 |
|
George Hunt
|
95ea759fa0
|
Merge branch 'fix6.5' of https://github.com/georgejhunt/iiab into fix6.5
|
2018-03-31 00:02:25 +00:00 |
|
George Hunt
|
9be8d52736
|
need systemd service for hostapd unconditionally
|
2018-03-31 00:01:45 +00:00 |
|
George Hunt
|
82394328cf
|
centos errors out if no ifcfg files to delete
|
2018-03-30 16:02:31 -07:00 |
|
George Hunt
|
e0eae4fe9b
|
variables required by redhat
|
2018-03-30 13:10:35 -07:00 |
|
George Hunt
|
54066b9b07
|
typo, and use rfkill to unblock wifi
|
2018-03-30 00:17:56 +00:00 |
|
George Hunt
|
227b5f4c32
|
wifi really is turned off by rfkill until wpa_supplicant has country=
|
2018-03-29 20:39:20 +00:00 |
|
George Hunt
|
5c074e59a4
|
put rpi in Gateway, enable hostapd
|
2018-03-29 17:57:24 +00:00 |
|
Jerry Vonau
|
8c17fa14e4
|
NM correct permissions, lockout of hostapd, fix boot race
|
2018-03-25 23:59:09 -05:00 |
|
A Holt
|
167a1940a8
|
and -> or (per George's suggestion)
|
2018-02-15 15:56:04 -05:00 |
|
George Hunt
|
f908a84b48
|
do not ignore gui request for fixed ip
|
2018-02-10 01:40:19 +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
|
1b86d291b0
|
computed_network.yml workaround discovered_lan_iface -> discovered_wan_iface
|
2018-01-11 11:41:51 -05:00 |
|
A Holt
|
9a689d8af9
|
discovered_lan_iface depr so TRY discovered_wan_iface
|
2018-01-11 09:56:26 -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
|
f700843f69
|
Readability tweaks
|
2018-01-11 00:32:41 -05:00 |
|
A Holt
|
1007a34347
|
Update iiab-hotspot-on
|
2018-01-11 00:02:09 -05:00 |
|
A Holt
|
50cdc51fd5
|
Update iiab-hotspot-off
|
2018-01-11 00:01:51 -05:00 |
|
A Holt
|
2cd342f180
|
Update iiab-hotspot-off
|
2018-01-10 23:47:39 -05:00 |
|
A Holt
|
91b0e4cf17
|
Update iiab-hotspot-on
|
2018-01-10 23:47:32 -05:00 |
|
A Holt
|
c138027c08
|
iiab-hotspot-on sets "hostapd_enabled = True" in /etc/iiab/iiab.ini
|
2018-01-10 23:41:18 -05:00 |
|
A Holt
|
de2550ed57
|
Update iiab-hotspot-off
|
2018-01-10 23:40:23 -05:00 |
|
A Holt
|
35aab19383
|
iiab-hotspot-off sets "hostapd_enabled = False" in /etc/iiab/iiab.ini
|
2018-01-10 23:33:22 -05:00 |
|
A Holt
|
b9f6dc5a7b
|
wlan0 promiscuous pn iiab-hotspot-off...only if rpi
|
2018-01-04 23:28:43 -05:00 |
|
A Holt
|
95f726e913
|
Context Explained: WiFi-as-gateway detection logic
|
2018-01-01 11:45:19 -05:00 |
|
A Holt
|
e010c060d8
|
Explain hostapd_enabled: & reboot_to_AP:
|
2018-01-01 11:30:02 -05:00 |
|
A Holt
|
61e722a788
|
manually_toggle_AP: False -> hostapd_enabled: True
|
2018-01-01 11:11:37 -05:00 |
|
A Holt
|
ebd2f3ac61
|
manually_toggle_AP: True -> hostapd_enabled: False
|
2018-01-01 11:04:30 -05:00 |
|
A Holt
|
f6e3d6830b
|
manually_toggle_AP: True -> hostapd_enabled: False
|
2018-01-01 11:03:29 -05:00 |
|
A Holt
|
4272185a88
|
manually_toggle_AP: True -> hostapd_enabled: False
|
2018-01-01 10:58:46 -05:00 |
|
A Holt
|
25161b558d
|
manually_toggle_AP: false -> hostapd_enabled: True
|
2018-01-01 10:50:47 -05:00 |
|
A Holt
|
8ee3c0a375
|
manually_toggle_AP: false -> hostapd_enabled: True
|
2018-01-01 10:48:24 -05:00 |
|
A Holt
|
63ebba5c14
|
Update main.yml
|
2017-12-29 01:29:17 -05:00 |
|
A Holt
|
3d5d5ac039
|
Avoid restarting hostapd if manually_toggle_AP
|
2017-12-29 01:19:06 -05:00 |
|
A Holt
|
4dc6643d47
|
Avoid restarting hostapd unless nec
|
2017-12-29 01:08:01 -05:00 |
|
A Holt
|
44675f659a
|
"no_net_restart: True" to prevent WiFi flakiness?
|
2017-12-29 01:03:02 -05:00 |
|
A Holt
|
1f98d7947a
|
Update iiab-hostapd.conf.j2
|
2017-12-28 22:34:28 -05:00 |
|
A Holt
|
764f301cb2
|
Update hostapd.conf.j2
|
2017-12-28 22:33:24 -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
|
2d6d510e63
|
always support Ethernet-to-Internet on RPi: use discovered_wireless_iface (not iiab_wireless_lan_iface) to toggle AP
|
2017-12-28 19:28:20 -05:00 |
|
A Holt
|
5261301482
|
Clarify hostapd service is being restarted
|
2017-12-28 19:12:36 -05:00 |
|
A Holt
|
2ba4737aba
|
hostapd.yml: enable/restart svc if manually_toggle_AP is false
|
2017-12-28 19:08:13 -05:00 |
|
A Holt
|
3a1d9e2657
|
"manually_toggle_AP: false" unless WiFi install detected
|
2017-12-28 19:02:06 -05:00 |
|
A Holt
|
c412f02f70
|
Enable manually_toggle_AP when WiFi is primary gateway
|
2017-12-28 18:57:22 -05:00 |
|
A Holt
|
cbc8ec3f44
|
Clarify output of roles/network/tasks/hostapd.yml
|
2017-12-28 17:13:22 -05:00 |
|
A Holt
|
8e17a4bc53
|
2 line breaks, to correspond w/ output of iiab-hostapd.conf.j2
|
2017-12-28 16:36:16 -05:00 |
|
A Holt
|
6a632bffc7
|
Typos discovered_*_lan_iface -> iiab_*_lan_iface
|
2017-12-28 14:26:56 -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
|
7ad820e0a9
|
on RPi put "#denyinterfaces wlan0" into /etc/dhcpcd.conf
|
2017-12-28 09:40:38 -05:00 |
|
A Holt
|
a349ff28c1
|
attempt to get Ethernet working also, during WiFi installs
|
2017-12-27 15:06:29 -05:00 |
|
A Holt
|
cde6430ce1
|
2 minor fixes to regexp
|
2017-12-27 13:34:09 -05:00 |
|
A Holt
|
66ed63c662
|
minor fix to regexp
|
2017-12-27 13:33:26 -05:00 |
|
A Holt
|
4f9be5eba0
|
Update squid.yml
|
2017-12-08 06:18:55 -05:00 |
|
A Holt
|
46470e75bf
|
Update squid.yml
|
2017-12-08 06:08:14 -05:00 |
|
A Holt
|
2a4b5fdb21
|
Update squid.yml
|
2017-12-08 06:04:39 -05:00 |
|
A Holt
|
ca6e9741cb
|
Update squid.yml
|
2017-12-08 06:01:33 -05:00 |
|
A Holt
|
a7245aa0e0
|
Update dansguardian.yml
|
2017-12-08 05:51:38 -05:00 |
|
A Holt
|
2063b77fb4
|
Update squid.yml
|
2017-12-08 05:47:21 -05:00 |
|
Jerry Vonau
|
4f824c15ca
|
use correct variable name
|
2017-12-07 17:52:52 -06:00 |
|
Jerry Vonau
|
fb331c7e09
|
always restart dns server
|
2017-12-07 12:43:41 -06: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 |
|
A Holt
|
0b3a5eab5d
|
Merge pull request #584 from jvonau/upgrades
guard against losing dns lookups when the machine has alreay been con…
closes #581
|
2017-12-04 11:53:19 -05:00 |
|
Jerry Vonau
|
dd0754fd7c
|
force br0 to always be available on rpi
|
2017-12-03 09:47:03 -06:00 |
|
Jerry Vonau
|
4c18f746dc
|
guard against losing dns lookups when the machine has alreay been configured in which /etc/resolv.conf would contain 127.0.0.1 as the nameserver address with resolvconf in action and /etc/iiab/iiab.env absent
|
2017-11-25 11:57:55 -06:00 |
|
Jerry Vonau
|
bd5684cd10
|
dhcpd contol for iiab-hotspot-on|off
|
2017-11-24 13:05:43 -06:00 |
|
Jerry Vonau
|
29104b9f75
|
add install time option for control of AP upon reboot
|
2017-11-24 13:01:18 -06:00 |
|
Jerry Vonau
|
117a3f513b
|
cleanup
|
2017-11-24 11:04:37 -06:00 |
|
Jerry Vonau
|
ac738458f0
|
use results to set_facts
|
2017-11-24 11:04:37 -06:00 |
|
Jerry Vonau
|
1775c77265
|
name the tasks
|
2017-11-24 11:04:37 -06:00 |
|
Jerry Vonau
|
e83d65ea7b
|
record new facts
|
2017-11-24 11:04:36 -06:00 |
|
Jerry Vonau
|
7e4ff797e5
|
hand merge of systemd-net with a rename 2
|
2017-11-24 11:04:36 -06:00 |
|
Jerry Vonau
|
095bf1acdc
|
use down more
|
2017-11-24 11:04:36 -06:00 |
|
Jerry Vonau
|
e1e9108ac4
|
NM support
|
2017-11-24 11:04:36 -06:00 |
|
Jerry Vonau
|
e762dd3d8d
|
rpi_debian.yml
|
2017-11-24 11:04:36 -06:00 |
|
Jerry Vonau
|
f1f2ffa275
|
go with keyfile
|
2017-11-22 18:01:04 -06:00 |
|
Jerry Vonau
|
f73585aea1
|
keyfile layout
|
2017-11-22 17:20:46 -06:00 |
|
Jerry Vonau
|
f8d7c1ddad
|
add not wan_in_interfaces check before cobbering /etc/network/interfaces
|
2017-11-22 14:01:40 -06:00 |
|
Jerry Vonau
|
b9d97bce4f
|
provide NetworkManager.conf - and move prior to daemon-reload
|
2017-11-22 13:57:48 -06:00 |
|