Jerry Vonau
2ed7c34579
tuning of 52c0f2aaea
2020-05-13 00:43:42 -05:00
A Holt
7e6d1dc433
hostapd_wait: 5 -> 10
2020-05-12 23:12:41 -04: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
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
efc28556ab
remove stale note
2020-05-09 15:06:23 -05: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
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
8190f4b7a9
runtime - move clone-wifi - adjust services
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
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
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
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
7ca4664473
flying edit only when different
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
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
9a55fdff9c
let wifi test start hostapd
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
964a592679
service touch-ups
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
575b66fb6e
use the new routine
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
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
784d89d3a9
default manage.conf to enabled for wifi installs
2020-05-01 20:51:28 -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
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
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
40cbebca46
hostapd - netplan @ -> -
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
bb487777fa
start hostapd before NM
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
7e5ce367a2
don't stall boot if br0 has no slaves
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
3912e6a1ef
remove reboot_to_AP
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
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
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
2059de2383
forgot .service
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
3b0be9d865
touchup hostapd.service.j2 for Raspbian
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
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
ac935f4c93
netplan don't delete user's wifi config
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
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
A Holt
6e33566a61
Merge pull request #1918 from jvonau/more_docker
...
ignore docker interfaces for LAN device count
2019-08-08 12:20:56 -04:00
Jerry Vonau
0d0775ccbf
remove unneeded quotes
2019-08-08 11:12:33 -05:00
Jerry Vonau
64379d9233
ignore docker interfaces for LAN device count
2019-08-08 11:01:32 -05:00
A Holt
2ea3fda205
Merge pull request #1906 from jvonau/no_!=
...
use 'not' in place of '!='
2019-07-29 13:48:49 -04:00
Jerry Vonau
b73354a2cf
use 'not' in place of '!='
2019-07-29 12:12:09 -05:00
A Holt
b17e268a19
Clarify template debian-auto.j2 for patch_auto
2019-07-26 12:24:48 -04:00
A Holt
cc445f640e
Revert #1886 , test for Debian 9+
2019-07-26 12:17:19 -04:00
Jerry Vonau
62d35299ef
open localhost acl for dansguardian
2019-07-20 23:51:48 -05:00
Jerry Vonau
a4c0b314a8
don't force templates, only create once in squid.yml
2019-07-20 23:35:42 -05:00
Jerry Vonau
9c4dc791d4
don't supply patch_auto for debian-10
2019-07-18 10:28:03 -05:00
A Holt
17e8c4ee6e
Clarif FQDN & hostnames added to /etc/hosts
2019-07-08 15:15:48 -04:00
Jerry Vonau
b9b773aa00
make ansible happy
2019-07-08 12:25:56 -05:00
Jerry Vonau
4a8daa1d12
better feedback for dhcp_service2
2019-07-06 23:35:38 -05:00
Jerry Vonau
ed0d8961a6
correct waiting explaination
2019-07-06 23:09:59 -05:00
Jerry Vonau
3baa790b6e
fix WAN detection in /etc/network/interfaces
2019-07-06 22:59:12 -05:00
A Holt
252cac143d
Update enable_services.yml
2019-06-29 18:29:58 -04:00
A Holt
c241cfb3c8
Update dnsmasq.sh.j2
2019-06-29 15:27:20 -04:00
A Holt
ee4ed1b94d
towards fixing #1778
2019-06-27 19:58:10 -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
Anish Mangal
2d4a55aef2
do not copy dnsmasq restart script if we are on rpi
2019-06-23 11:43:45 +00:00
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
dfeb3cb5a0
Move the dnsmasq-restarter script from dnsmasq.yml to enable_services.yml
2019-06-23 07:57:19 +00:00
Anish Mangal
afee35b222
Restart dnsmasq whenever iiab-lan-iface comes back up
2019-06-23 06:30:50 +00:00
Anish Mangal
0c85804e99
Merge branch '1753' into dnsmasq-fix
2019-06-23 06:20:18 +00:00
Anish Mangal
808d7d1697
Add br-* and docker to network interface list to exclude
2019-06-23 02:39:27 +00:00
A Holt
84cfd2b789
Merge branch 'master' into azuracast
2019-06-22 14:27:24 -04:00
Jerry Vonau
718fccc51c
Update computed_network.yml
...
Docker
2019-06-20 12:11:45 -05:00
Jerry Vonau
0851b6093d
Update detected_network.yml
...
Docker
2019-06-20 12:03:03 -05: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
f56c9e8c75
restart dnsmasq in appliance mode too!
2019-06-19 20:07:53 -04:00
A Holt
198445e93e
'static' was missing left of domain_name_servers
2019-06-19 13:02:38 -04:00
Jerry Vonau
be9671d6c5
Update computed_services.yml
...
Fix
2019-06-19 10:49:23 -05: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
54f4327a5b
Clarify Wi-Fi customization instructions
2019-05-25 07:58:19 -04:00
A Holt
3a7b69b6a0
Captive Portal doc evolution clarified
2019-05-25 07:36:25 -04:00
A Holt
e141c64d1c
Doc Links @ top of roles/network/defaults/main.yml
2019-05-25 07:31:20 -04:00
A Holt
f2ddcac90a
Making network/defaults/main.yml approachable for others
2019-05-25 07:19:16 -04:00
A Holt
f2acf8934b
{{ services_externally_visible }} fails, deprecate it
2019-05-25 06:33:21 -04:00
A Holt
7a3fca8c80
Delineate vars already defined in local_vars & default_vars
2019-05-25 06:13:39 -04:00
A Holt
32b849e34f
Merge branch 'master' into mitra
2019-05-25 01:11:24 -04:00
holta
9543a10d82
': false' to ': False' + ': true' to ': True' or ': yes'
2019-05-24 19:29:41 -04:00
holta
3a1ccf3638
'when: X' -> 'when: X | bool' for Ansibl 2.8
2019-05-24 18:33:10 -04:00
holta
2e3c4b7b2e
comments preserve hardcoded U18 clauses
2019-05-24 03:13:52 -04:00
holta
3eccbd9d60
'| bool' for Ansible 2.8; prep U18+
2019-05-24 03:06:43 -04:00
root
2ea775848a
Add |bool in network/tasks/restart.yml
2019-05-24 01:51:03 -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
3d976bebec
iptables doc tweak
2019-05-23 19:42:40 -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
98049544b1
Lines numbers fixed in comment
2019-05-21 04:03:39 -04:00
A Holt
b221473d64
iiab-gen-iptables 15+ core port rules alphabetized
2019-05-21 03:57:04 -04:00
A Holt
efd317d62f
Line number fix in comment
2019-05-21 03:31:28 -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
071d5987b7
http-vs-https clarified in network/tasks/avahi.yml
2019-05-21 02:43:43 -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
c74053ef52
also clarify "ports_externally_visible: 2" means http-or-https in avahi.yml
2019-05-19 14:04:14 -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
b3d837b182
Comment fixed in network/tasks/avahi.yml
2019-05-19 06:31:42 -04:00
A Holt
12885ad5f8
How to edit iiab-gen-iptables
2019-05-19 06:30:16 -04:00
A Holt
669dcf7a6e
gui_wan -> ports_externally_visible >= 2 in avahi.yml
2019-05-19 05:45:16 -04:00
A Holt
ec9834f7d7
iiab-gen-iptables uses ports_externally_visible {0...5}
2019-05-19 05:42:58 -04:00
A Holt
e2c8b5cde6
Comments/spacing readability
2019-05-18 18:13:39 -04:00
Tim Moody
3d4ba01669
open samba ports
2019-05-15 10:01:38 -04:00
Mitra Ardron
1aebf56f7c
Merge commit '50e5e1067f82d3bbb834ea091e6b2aef251cf1d8' into mitra
2019-05-08 12:35:47 +10:00
A Holt
50e5e1067f
Clarify why hostapd_wait (5 seconds for now) is nec
2019-05-07 16:16:07 -04:00
A Holt
3c76bbe8f3
hostapd_wait: 5 [was 1 second...we can try 3...or 10 if nec?]
2019-05-07 12:19:12 -04:00
Mitra Ardron
c99045b3ff
Merge branch 'master' into mitra
2019-05-06 08:52:53 +10:00
A Holt
bd6d454b64
"optional: true" eliminates 2+ min stall during boot of Ubuntu 19.04 ( #1586 )
2019-05-04 03:14:49 -04:00
A Holt
98f682a0e4
Ansible file module "path" is equiv to "dest"
2019-05-04 00:57:44 -04:00
A Holt
63ab350994
Comments tightened up
2019-05-04 00:54:27 -04:00
A Holt
0682b03931
run netplan.yml if Ubuntu 18.04 or higher
2019-05-03 23:51:06 -04:00
Mitra Ardron
61d84f4f76
Internet Archive installation (merged from Georgejhunt & mitra42 distweb branches)
2019-04-27 11:41:21 +10:00
Mitra Ardron
1a34c04faf
internetarchive - create directory; fix typo in iiab-gen-iptables
2019-04-23 16:45:37 +10:00
Mitra Ardron
6bd2575f51
Rename distweb to internetarchive
2019-04-23 10:59:57 +10:00
Mitra Ardron
c90dbfd9e1
Update iiab-gen-iptables
...
Looks like you called it archorg_port in some places and distweb_port in others (yaml file) - bringing this file into line.
2019-04-22 19:00:26 +10:00
A Holt
d509213043
Update debian.yml
2019-04-11 11:33:42 -04:00
A Holt
95063553eb
Update debian.yml
2019-04-11 11:32:47 -04:00
George Hunt
58ce24bd4c
debian 10 needs auto just like 9
2019-04-11 06:39:24 -07:00
George Hunt
8c1188f1d3
ansible smoke test ok, server does not run --- missing wrtc
2019-03-28 22:22:03 +00:00
A Holt
8c257a2926
Merge pull request #1526 from holta/iiab-hotspot-off-keep-dnsmasq-running
...
iiab-hotspot-on & iiab-hotspot-off should keep dnsmasq running
2019-02-26 14:15:23 -05:00
A Holt
b5d5e27079
Update iiab-hotspot-on
2019-02-26 14:11:49 -05:00
A Holt
7ea0ba84da
dnsmasq needs to always be running
2019-02-26 14:03:02 -05:00
A Holt
73531b1f46
Merge pull request #1525 from holta/wifi-dnsmasq-fix
...
WiFi dnsmasq fix for #1519 - always create br0 on RPi
2019-02-26 13:36:01 -05:00
A Holt
4f564ed670
Merge pull request #1453 from holta/iiab-network-dup-routes-fix
...
Change iiab.j2 to rpi.j2 to fix iiab-network dup route failings?
2019-02-26 13:34:06 -05:00
A Holt
2c4d79f928
isolate br0: restart networking if bridge exists
2019-02-26 13:27:49 -05:00
A Holt
abafd34709
Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab
2019-02-26 13:23:55 -05:00
A Holt
237547f9da
exclude wired interface for RPi
2019-02-26 13:05:10 -05:00
A Holt
3ec408fbd1
cleaner, on @jvonau's recommendation
2019-02-25 12:00:46 -05:00
A Holt
fa8ac3606d
@jvonau: suppress restarting of dnsmasq if initial install is using WiFi
2019-02-25 11:56:57 -05:00
Anish Mangal
1cf55bdb70
Open PBX ports on WAN when pbx_enabled is true
2019-02-10 15:19:35 +00:00
A Holt
07081cd151
Merge pull request #1405 from m-anish/pbx
...
Asterisk (with chan_dongle) and FreePBX
2019-02-09 15:49:19 -05:00
A Holt
72142db7b8
Update README.rst
2019-02-08 22:08:07 -05:00
A Holt
b5c5a43b13
Update README.rst
2019-02-08 22:05:27 -05:00
A Holt
a4a6ee9aac
Update README.rst
2019-02-08 21:51:42 -05:00
A Holt
ed76faec77
Create README.rst
2019-02-08 08:59:12 -05:00
A Holt
744e5328d1
Merge pull request #211 from tim-moody/minetest-rpi
...
sync from tim-moody:minetest-rpi
2019-02-07 19:06:02 -05:00
A Holt
b9b7261e81
Rename iiab.j2 to iiab.j2.deprecated
2019-02-07 11:02:06 -05:00
Anish Mangal
425df6b4f0
Add pbx and pbx.lan to /etc/hosts
2019-02-06 21:15:43 +00:00
Anish Mangal
35c5ed3740
Update netplan.j2
2019-02-07 00:23:26 +05:30
Tim Moody
35ab675f2d
minetest add port and include in 9 addons
2019-02-06 12:00:01 -05:00
A Holt
9edce23829
Update rpi_debian.yml
2019-02-05 13:10:19 -05:00
A Holt
3957891c36
Update rpi_debian.yml
2019-02-05 12:59:03 -05:00
A Holt
e2120ef8aa
Change iiab.j2 to rpi.j2 to fix #1452 dup route problem?
2019-02-05 12:56:51 -05:00
A Holt
e4a1e13b06
open calibreweb_port (8083) requested by @m-anish
2019-01-31 14:35:11 -05:00
A Holt
1f8c3f78cb
Update computed_services.yml
2019-01-31 14:29:19 -05:00
A Holt
c160e0e1d7
Merge pull request #1407 from jvonau/move_dnsmasq
...
Move dnsmasq config file to /etc/dnsmasq.d/
2019-01-17 15:04:05 -05:00
A Holt
e5abe54373
Update enable_services.yml
2019-01-17 15:03:12 -05:00
Jerry Vonau
04928693b1
as requested in chat
2019-01-17 12:43:50 -06:00
Jerry Vonau
f43f2f4d77
move dnsmasq config file to /etc/dnsmasq.d/
...
Bugfix don't supply named/bind files when not enabled.
2019-01-17 10:41:55 -06: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
Anish Mangal
b78db708d3
Add nodered, mqtt ports to iptables-generator script
2019-01-15 13:43:39 +00:00
georgejhunt
b2be3ccae1
Merge pull request #1393 from iiab/0.3-devel
...
Changes required for new admin console
2019-01-14 11:38:54 -08:00
A Holt
a654b64476
box.lan NOT iiab-server.lan
2019-01-10 19:12:56 -05:00
georgejhunt
7f9957aa55
0.3 patch1 ( #1377 )
...
* expand zim_versions_idx to include menuItem name, mediaCount, articleCount, size
* create a stub menuItem if none exists
* remember to change consumer of zim_version_idx in iiab-admin
* comment out some debugging prints
* do not change the name of a variable in iiab.ini
* consistent variable names for *_enabled
* start work on menus for enabled iiab roles
* changes to display cups in home menu
* remove reference to admin console which may not be installed
* print error message
* dict.get errors
* handle undefined menuItem"
* handle undefined menuItem again
* some work on logos
* break out the zim_versions_idx routines for use by update_menus in admin-console
* remove old menuDef creation code
* new variable names for zim_versions_idx
* missing the tags data in zim_versions_idx
* un-break-apart iiab-make-kiwix-lib.py
* return an empty string
* make size human_readable
* getting console and iiab to work together on menus
* add the new zim_date field to zim_versions_idx
* get the latest into repo
* found lost code iiab-make-kiwix-lib.py
* Create Lokole admin user during setup
* Add requested content to lokole readme
Per iiab/iiab#1293
* Update default password
* Add Lokole-IIAB user manual
* Update default_vars.yml
* Update local_vars_min.yml
* Update local_vars_min.yml
* Update local_vars_medium.yml
* Update local_vars_min.yml
* Update default_vars.yml
* Update local_vars_big.yml
* Update local_vars_medium.yml
* Update default_vars.yml
* Update default_vars.yml
* Update local_vars_min.yml
* Update local_vars_medium.yml
* Update local_vars_big.yml
* Update default_vars.yml
* Update default_vars.yml
* Update local_vars_big.yml
* Update local_vars_medium.yml
* Update local_vars_min.yml
* Update default_vars.yml
* Update local_vars_big.yml
* Update local_vars_medium.yml
* Update local_vars_min.yml
* Change admin username to uppercase
* Revert "Lokole: change admin to Admin per IIAB app norms"
* Update main.yml
* Update README.rst
* Update capture-wsgi.py
* Update main.yml
* Update main.yml
* Update default_vars.yml
* Update local_vars_big.yml
* Update local_vars_medium.yml
* Update local_vars_min.yml
* Update main.yml
* Update main.yml
* Update main.yml
* Update main.yml
* Update default_vars.yml
* Update local_vars_big.yml
* Update local_vars_medium.yml
* Update local_vars_min.yml
* Address TODOs in Lokole documentation
See https://github.com/ascoderu/opwen-webapp/issues/81
* Update main.yml
* Update local_vars_big.yml
* Update local_vars_medium.yml
* Update local_vars_big.yml
* Update local_vars_min.yml
* Update default_vars.yml
* expand zim_versions_idx to include menuItem name, mediaCount, articleCount, size
* create a stub menuItem if none exists
* remember to change consumer of zim_version_idx in iiab-admin
* comment out some debugging prints
* do not change the name of a variable in iiab.ini
* consistent variable names for *_enabled
* start work on menus for enabled iiab roles
* changes to display cups in home menu
* remove reference to admin console which may not be installed
* print error message
* dict.get errors
* handle undefined menuItem"
* handle undefined menuItem again
* some work on logos
* break out the zim_versions_idx routines for use by update_menus in admin-console
* remove old menuDef creation code
* new variable names for zim_versions_idx
* missing the tags data in zim_versions_idx
* un-break-apart iiab-make-kiwix-lib.py
* return an empty string
* make size human_readable
* getting console and iiab to work together on menus
* add the new zim_date field to zim_versions_idx
* get the latest into repo
* found lost code iiab-make-kiwix-lib.py
2019-01-10 14:26:47 -08:00
A Holt
72594ee3b5
Merge pull request #1350 from jvonau/netplan
...
fix WiFi as gateway
2019-01-02 02:50:12 -05:00