for the scope of this type of demo network, this is much simpler than installing and managing dns.
20 lines
377 B
YAML
Executable File
20 lines
377 B
YAML
Executable File
---
|
|
- name: Remove wpasupplicant package
|
|
become: yes
|
|
apt:
|
|
name: ['wpasupplicant']
|
|
state: absent
|
|
purge: true
|
|
tags: remove_wpasupplicant
|
|
# configure wlan0
|
|
# install hostapd
|
|
# configure hostapd
|
|
# /etc/default/hostapd
|
|
# enable hostapd
|
|
# install dnsmasq
|
|
# configure dnsmasq
|
|
# enable dnsmasq
|
|
# enable ipv4.forwarding
|
|
# copy fw config
|
|
# iptables-restore to rc.local
|