2017-09-23 07:03:58 +00:00
# Defaults for network detection
wireless_lan_present : False
strict_networking : False
iiab_demo_mode : False
gui_static_wan : False
2018-05-13 04:10:41 +00:00
wan_cidr :
2017-09-23 07:03:58 +00:00
# Set defaults for discovery process as strings
wifi1 : "not found-1"
wifi2 : "not found-2"
2017-11-01 12:45:55 +00:00
ap_device : "none"
device_gw : "none"
device_gw2 : ""
iiab_wan_iface : "none"
iiab_lan_iface : "none"
2018-03-29 20:39:20 +00:00
discovered_lan_iface : "none"
2017-11-01 12:45:55 +00:00
discovered_wired_iface : "none"
2017-09-23 07:03:58 +00:00
discovered_wireless_iface : "none"
2017-11-01 12:45:55 +00:00
2018-07-12 17:36:09 +00:00
# Red Hat
2018-05-02 17:38:24 +00:00
#iiab_wired_lan_iface: "none"
#iiab_wireless_lan_iface: "none"
2017-09-23 07:03:58 +00:00
has_WAN : False
has_ifcfg_gw : "none"
has_wifi_gw : "none"
2017-11-01 12:45:55 +00:00
2018-07-12 17:36:09 +00:00
# Debian
2017-09-23 07:03:58 +00:00
dhcpcd_result : ""
wan_in_interfaces : False
2017-11-23 06:24:44 +00:00
network_manager_active : False
systemd_networkd_active : False
2017-09-23 07:03:58 +00:00
2017-05-27 18:09:50 +00:00
# The values here are default local variables.
gui_wan_iface : "unset"
gui_static_wan_ip : "unset"
gui_desired_network_role : Gateway
wondershaper_dspeed : "4096"
wondershaper_upspeed : "1024"
2017-09-23 07:03:58 +00:00
2018-07-12 17:36:09 +00:00
# Wi-Fi
2017-09-18 15:19:46 +00:00
host_ssid : IIAB
2017-10-16 01:34:37 +00:00
hostapd_wait : 1
2017-05-27 18:09:50 +00:00
host_wifi_mode : g
host_channel : 6
host_wireless_n : False
2018-07-20 02:09:15 +00:00
# Below moved to /etc/iiab/local_vars.yml: (so implementer sets this)
2018-05-10 16:12:28 +00:00
#host_country_code: US
2017-05-27 18:09:50 +00:00
hostapd_secure : True
2017-06-09 23:25:56 +00:00
hostapd_password : "iiab2017"
2017-05-27 18:09:50 +00:00
driver_name : nl80211
2018-01-01 15:48:24 +00:00
hostapd_enabled : True
# Above is forcibly set to False (in roles/network/tasks/main.yml) if IIAB is
# being WiFi-installed (run "iiab-hotspot-on" AFTER ./iiab-install completes
# and content is downloaded, to enable the internal WiFi Access Point / AP!)
reboot_to_AP : False
# For those installing IIAB over WiFi: "reboot_to_AP: True" overrides the above
2018-01-01 16:30:02 +00:00
# detection of WiFi-as-gateway, forcing "hostapd_enabled: True" regardless.
2017-09-23 07:03:58 +00:00
2017-05-27 18:09:50 +00:00
network_config_dir : /etc/network/interfaces.d
2017-11-05 00:57:49 +00:00
#iiab_network_mode: "Gateway"
2017-05-27 18:09:50 +00:00
dns_jail_enabled : False
services_externally_visible : False
2017-09-13 11:07:25 +00:00
2018-10-08 21:20:00 +00:00
# DNS / name resolution
2017-09-13 11:07:25 +00:00
dhcpd_install : True
dhcpd_enabled : True
2018-10-09 00:27:25 +00:00
#dhcp_service: ???? # Set in individual OS's /opt/iiab/iiab/vars/<OS>.yml for use in roles/network/tasks/dhcpd.yml
dhcp_service2 : disabled # Proposed by @jvonau to solve #1184 -> PR #1185 during transition from named to dnsmasq, as required by roles/network/tasks/computed_services.yml
2017-09-13 11:07:25 +00:00
named_install : True
2018-10-08 19:45:35 +00:00
named_enabled : False
dnsmasq_enabled : True
dnsmasq_install : True
2018-07-04 12:42:10 +00:00
2018-10-08 19:45:35 +00:00
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
2018-07-04 12:42:10 +00:00
py_captive_portal_install : True
py_captive_portal_enabled : True
2018-07-05 17:24:20 +00:00
py_captive_portal_port : "9090"
py_captive_portal_username : "Admin"
py_captive_portal_password : "changeme"
2018-10-08 19:45:35 +00:00
# In a pinch, disable it by running: systemctl disable py-captive-portal
2018-10-08 21:20:00 +00:00
# For @tim-moody's Nodogsplash approach to Captive Portal?
# Highly experimental as of June 2018: https://github.com/iiab/iiab/issues/608
# captive_portal_install: False
# captive_portal_enabled: False