mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Delineate vars already defined in local_vars & default_vars
This commit is contained in:
parent
5c313d79b8
commit
7a3fca8c80
1 changed files with 49 additions and 33 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# IIAB Networking Doc
|
||||||
|
# https://github.com/iiab/iiab/wiki/IIAB-Networking
|
||||||
|
|
||||||
# Defaults for network detection
|
# Defaults for network detection
|
||||||
wireless_lan_present: False
|
wireless_lan_present: False
|
||||||
strict_networking: False
|
strict_networking: False
|
||||||
|
@ -31,59 +34,72 @@ wan_in_interfaces: False
|
||||||
network_manager_active: False
|
network_manager_active: False
|
||||||
systemd_networkd_active: False
|
systemd_networkd_active: False
|
||||||
|
|
||||||
# The values here are default local variables.
|
# The values here are default local variables
|
||||||
gui_wan_iface: "unset"
|
gui_wan_iface: "unset"
|
||||||
gui_static_wan_ip: "unset"
|
gui_static_wan_ip: "unset"
|
||||||
gui_desired_network_role: Gateway
|
gui_desired_network_role: Gateway
|
||||||
wondershaper_dspeed: "4096"
|
wondershaper_dspeed: "4096"
|
||||||
wondershaper_upspeed: "1024"
|
wondershaper_upspeed: "1024"
|
||||||
|
|
||||||
|
# Dynamically calculated later
|
||||||
|
# iiab_network_mode: "Gateway"
|
||||||
|
|
||||||
|
# ports_externally_visible: 3
|
||||||
|
# Above var set in /etc/iiab/local_vars.yml
|
||||||
|
# Instructions: https://github.com/iiab/iiab/wiki/IIAB-Networking#firewall-iptables
|
||||||
|
|
||||||
# Wi-Fi
|
# Wi-Fi
|
||||||
host_ssid: IIAB
|
# host_country_code: US
|
||||||
hostapd_wait: 5
|
# host_ssid: "Internet in a Box"
|
||||||
host_wifi_mode: g
|
# host_wifi_mode: g
|
||||||
host_channel: 6
|
# host_channel: 6
|
||||||
host_wireless_n: False
|
# hostapd_secure: False
|
||||||
# Below moved to /etc/iiab/local_vars.yml: (so implementer sets this)
|
# hostapd_password: changeme
|
||||||
#host_country_code: US
|
# Above 6 vars set in /etc/iiab/local_vars.yml: (so implementer sets them)
|
||||||
hostapd_secure: True
|
#
|
||||||
hostapd_password: "iiab2017"
|
# hostapd_enabled: True
|
||||||
driver_name: nl80211
|
|
||||||
hostapd_enabled: True
|
|
||||||
# Above is forcibly set to False (in roles/network/tasks/main.yml) if IIAB is
|
# 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
|
# being WiFi-installed (run "iiab-hotspot-on" AFTER ./iiab-install completes
|
||||||
# and content is downloaded, to enable the internal WiFi Access Point / AP!)
|
# and content is downloaded, to enable the internal WiFi Access Point / AP!)
|
||||||
reboot_to_AP: False
|
#
|
||||||
|
# reboot_to_AP: False
|
||||||
# For those installing IIAB over WiFi: "reboot_to_AP: True" overrides the above
|
# For those installing IIAB over WiFi: "reboot_to_AP: True" overrides the above
|
||||||
# detection of WiFi-as-gateway, forcing "hostapd_enabled: True" regardless.
|
# detection of WiFi-as-gateway, forcing "hostapd_enabled: True" regardless.
|
||||||
|
#
|
||||||
|
# Above 2 vars set in /opt/iiab/iiab/vars/default_vars.yml
|
||||||
|
#
|
||||||
|
hostapd_wait: 5
|
||||||
|
host_wireless_n: False
|
||||||
|
driver_name: nl80211
|
||||||
|
|
||||||
network_config_dir: /etc/network/interfaces.d
|
# Unused
|
||||||
#iiab_network_mode: "Gateway"
|
# network_config_dir: /etc/network/interfaces.d
|
||||||
dns_jail_enabled: False
|
|
||||||
services_externally_visible: False
|
|
||||||
|
|
||||||
# DNS / name resolution
|
# DNS / name resolution
|
||||||
dhcpd_install: True
|
# dhcpd_install: False
|
||||||
dhcpd_enabled: False
|
# dhcpd_enabled: False
|
||||||
#dhcp_service: ???? # Set in individual OS's /opt/iiab/iiab/vars/<OS>.yml for use in roles/network/tasks/dhcpd.yml
|
# named_install: True
|
||||||
#dhcp_service2: "dhcpd disabled" # Moved to roles/network/tasks/computed_services.yml as community transitions from named/BIND to dnsmasq (PR #1202)
|
# named_enabled: False
|
||||||
named_install: True
|
# dnsmasq_enabled: True
|
||||||
named_enabled: False
|
# dnsmasq_install: True
|
||||||
dnsmasq_enabled: True
|
# dns_jail_enabled: False
|
||||||
dnsmasq_install: True
|
# Above 7 vars set in /etc/iiab/local_vars.yml
|
||||||
|
#
|
||||||
|
# dhcp_service: ???? # Set in individual OS's /opt/iiab/iiab/vars/<OS>.yml for use in roles/network/tasks/dhcpd.yml
|
||||||
|
# dhcp_service2: "dhcpd disabled" # Moved to roles/network/tasks/computed_services.yml as community transitions from named/BIND to dnsmasq (PR #1202)
|
||||||
|
|
||||||
|
# Originally for @tim-moody's Nodogsplash approach to Captive Portal
|
||||||
|
# Highly experimental as of June 2018: https://github.com/iiab/iiab/issues/608
|
||||||
|
#
|
||||||
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
|
||||||
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
|
||||||
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
|
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
|
||||||
captive_portal_install: True
|
# captive_portal_install: False
|
||||||
captive_portal_enabled: True
|
# captive_portal_enabled: False
|
||||||
captive_portal_port: "9090"
|
# Above 2 vars set in /etc/iiab/local_vars.yml
|
||||||
|
# captive_portal_port: "9090"
|
||||||
|
# Above var set in /opt/iiab/iiab/vars/default_vars.yml
|
||||||
py_captive_portal_port: "9090"
|
py_captive_portal_port: "9090"
|
||||||
py_captive_portal_username: "Admin"
|
py_captive_portal_username: "Admin"
|
||||||
py_captive_portal_password: "changeme"
|
py_captive_portal_password: "changeme"
|
||||||
# In a pinch, disable it by running: systemctl disable captive-portal
|
# In a pinch, disable it by running: systemctl disable captive-portal
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
Loading…
Reference in a new issue