{% extends 'base.html' %} {% from '_partials/page_header.html' import page_header %} {% block title %}Networking · Hotspot{% endblock %} {% block content %} {{ page_header('Networking', tabs=tabs, active_tab='hotspot') }} {% if hotspot.legacy_iface %} {# Set up before the access point moved to its own interface. It still broadcasts, but it holds the radio's only station slot, so the unit cannot join a Wi-Fi network while it runs. #}
This hotspot uses the shared Wi-Fi interface
It works, but while it runs this device can't also join a Wi-Fi network, and clients get an address outside {{ hotspot.subnet }}. Moving it keeps the network name and password.
{% endif %} {% if not hotspot.wifi_present %}
No Wi-Fi radio was detected on this device.
{% endif %}

Hotspot

{% if hotspot.configured %}
{{ 'Broadcasting' if hotspot.enabled else 'Off' }}
SSID
{{ hotspot.ssid }}
Radio
{{ hotspot.band }} · ch {{ hotspot.channel }} · {{ hotspot.security }}
{% if hotspot.enabled %}
Clients
{{ hotspot.clients }}
Device IP
{{ hotspot.ip or '—' }}
{% endif %}
Subnet
{{ hotspot.subnet }}
Sharing
{{ 'uplink shared' if hotspot.share_internet else 'local only' }}
{% else %}

Not configured. A hotspot lets a technician reach this device over Wi-Fi without knowing its LAN address.

{% endif %}

Hotspot settings

The hotspot has its own network interface, so this device can be a Wi-Fi client at the same time. There is one radio, though, so both share a channel: {% if hotspot.sta_connected %} Wi-Fi is connected on {{ hotspot.sta_band }} channel {{ hotspot.sta_channel }}, so the hotspot follows it and band/channel can't be set here. {% else %} while Wi-Fi is disconnected the channel is yours to pick; it will follow the client link once one is established. {% endif %}

{# Only what this radio can do — offering a band it lacks produces a hotspot that silently never comes up. #} {% if hotspot.sta_connected %}{% endif %}
{% if hotspot.sta_connected %}{% endif %}
{% if hotspot.enabled %}

Connected clients {{ hotspot.clients }}

{% if hotspot.client_list %}
{% for c in hotspot.client_list %} {% endfor %}
IP addressMACSignal IdleRx Tx
{{ c.ip or '—' }}{% if c.hostname %}{{ c.hostname }}{% endif %} {{ c.mac }} {{ (c.signal_dbm ~ ' dBm') if c.signal_dbm is not none else '—' }} {{ ((c.inactive_ms / 1000) | round(1) ~ ' s') if c.inactive_ms is not none else '—' }} {{ c.rx_bytes if c.rx_bytes is not none else '—' }} {{ c.tx_bytes if c.tx_bytes is not none else '—' }}
{% else %}

No clients connected.

{% endif %}
{% endif %} {% endblock %}