{% extends 'base.html' %} {% from '_partials/page_header.html' import page_header %} {% block title %}Networking · Wireless{% endblock %} {% block content %} {{ page_header('Networking', tabs=tabs, active_tab='wireless') }}
{% if ap_client.connected_to %}
Connected to {{ ap_client.connected_to }}
{{ ap_client.ip or '' }}{% if ap_client.band %} · {{ ap_client.band }}{% endif %}{% if ap_client.channel %} · ch {{ ap_client.channel }}{% endif %}{% if ap_client.only_uplink %} · this is the device's only route out{% endif %}
{% endif %} {% if not ap_client.radio_enabled %} {# Distinguish "switched off" from "nothing in range": with the radio off a scan returns nothing, which read as the latter. #}
Wi-Fi is turned off
No networks can be found until it is switched on.
{% endif %}

Available networks

{% if ap_client.radio_enabled %}
{% endif %}
{% for a in ap_client.available %} {% else %}
{% if ap_client.radio_enabled %}No networks found. The scan runs each time this page loads. {% else %}Wi-Fi is off — switch it on to scan.{% endif %}
{% endfor %}
{% for a in ap_client.available %} {% endfor %}
{% endblock %}