Jerry Vonau
09c7c3e252
legacy support should not boot to AP on 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
George Hunt
0d9321a363
partial of 720c285... typo iiab_wireless_an_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
3dd370e088
limit hostapd to 2.4GHz for now on RPI
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
668b8baf10
keep wlan0 and ap0 on the same channel on RPi hardware
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
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
Jerry Vonau
845d88cf41
network - reduce is_rpi or move to is_raspbian
2020-03-04 17:00:01 -06:00
root
810fc81ac8
Convert dest: to path: per Ansible lineinfile norms
2020-02-03 19:54:04 -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
holta
3eccbd9d60
'| bool' for Ansible 2.8; prep U18+
2019-05-24 03:06:43 -04:00
root
b973906dc3
iiab_env_file -> {{ iiab_env_file }} or "{{ iiab_env_file }}"
2018-10-15 06:41:58 -04: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
George Hunt
9be8d52736
need systemd service for hostapd unconditionally
2018-03-31 00:01:45 +00:00
A Holt
25161b558d
manually_toggle_AP: false -> hostapd_enabled: True
2018-01-01 10:50:47 -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
cbc8ec3f44
Clarify output of roles/network/tasks/hostapd.yml
2017-12-28 17:13:22 -05:00
Jerry Vonau
bd5684cd10
dhcpd contol for iiab-hotspot-on|off
2017-11-24 13:05:43 -06:00
Jerry Vonau
20398be41a
partial 831e189795bf37d6c785a657a882556c3d649294
2017-11-20 11:20:20 -06:00
Jerry Vonau
30ee7a2449
iiab-hotspot-on|off
2017-11-20 11:20:20 -06:00
Jerry Vonau
65214d84f2
hostapd default on
2017-11-20 11:20:20 -06:00
Jerry Vonau
f3bcabe498
rpi test 2 supply template for hostapd
2017-11-20 11:17:16 -06:00
A Holt
6173e59b1d
clarif: 'hostapd' service
2017-11-08 01:53:19 -05:00
Jerry Vonau
35cd2b44a5
iiab_wireless_lan_iface is defined for machines without wifi
2017-11-06 15:34:28 -06:00
Jerry Vonau
de4be7c646
Everybody is testing debian.yml - Toggle dnsmasq_enabled False - edits
...
use hostapd.yml supplied templates sooner - remove systemd reload and restarted - move restarted to restart.yml
live testing
2017-11-06 12:33:41 -06:00
A Holt
15e8ef565e
More readable Ansible output
2017-10-27 12:02:21 -04:00
georgejhunt
f319afa432
Test ( #20 )
...
* change apache_data to apache_user in all
* no libapach2 in centos. just php. no php-magick in centos
* remove redundant vars entries
* do not create apache user
* missed one pound sign
* soft code all references to apache_user
* centos requires older setuptools
* revert ansible_lsb.id in xsce.yml
* try getting recent pip
* move pip download to 2prep so that kalite success is not dependent on iiab coming first
* still need to replace setuptools in kalite
* add curl -- needed in debian
* massivly substitue iiab for xsce, and rename files
* completed runansible
* centos fixes,install pip
* appliance means no iptables rules
* change to earlier version of setuptools for centos
* delete file duplicate, hopefully unnecessary. generate the offline docs
* wiki docs errors
* create the admin group -- deleted earlier
* use the --yes option with pip uninstall
* base of repo moved from schoolserver to iiab, unleashkids.org->iiab.io
* network detection broken due to tupo
2017-06-09 16:25:56 -07:00
George Hunt
cb344d7d47
patch 0002
2017-05-27 16:10:45 -07:00
George Hunt
845632d0ac
initial checkin -- May 27, 2017
2017-05-27 11:09:50 -07:00