{% extends "base.html" %} {% comment %} # # This file is part of Plinth. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # # ToDo: if connection is disabled, no information are visible anymore (Bug) {% endcomment %} {% block page_head %} {% endblock %} {% load bootstrap %} {% block content %}
Edit {% if active_connection %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %} Delete

Connection

{% if connection.primary %}
Primary connection
yes
{% endif %}
Name
{{ connection.id }}

Device

State {{ device.state }}
{% if device.state_reason != 'none' %}
State reason {{ device.state_reason }}
{% endif %}
Type {{ device.type }}
MAC address {{ device.hw_address }}
Interface {{ device.interface_name }}
Description {{ device.description }}

Physical Link

{% if device.ethernet %}
Link state
{% if device.ethernet.carrier %} cable is connected {% else %} please check cable {% endif %}
Speed {{ device.ethernet.speed }} Mbit/s
{% endif %} {% if connection.type == "802-11-wireless" %}
SSID {{ connection.wireless.ssid }}
Speed {{ device.wireless.bitrate }} Mbit/s
Mode {{ device.wireless.mode }}
{% if access_point.channel %}
Signal strength
{{ access_point.strength }}%
{% endif %} {% if access_point.channel %}
Channel {{ access_point.channel }}
{% endif %} {% endif %}
{% if active_connection %}

IPv4

{% if connection.ipv4.method %}
Method {{ connection.ipv4.method }}
{% endif %} {% for address in device.ip4.addresses %}
IP address {{ address.address }}/{{ address.prefix }}
{% endfor %} {% if device.ip4.gateway %}
Gateway {{ device.ip4.gateway }}
{% endif %} {% for server in device.ip4.nameservers %}
DNS server {{ server }}
{% endfor %} {% if active_connection.ip4.default %}
Default yes
{% endif %}

IPv6

{% if connection.ipv6.method %}
Method {{ connection.ipv6.method }}
{% endif %} {% for address in device.ip6.addresses %}
IP address {{ address.address }}/{{ address.prefix }}
{% endfor %} {% if device.ip6.gateway %}
Gateway {{ device.ip6.gateway }}
{% endif %} {% for server in device.ip6.nameservers %}
DNS server {{ server }}
{% endfor %} {% if active_connection.ip6.default %}
Default yes
{% endif %}
{% else %}

Status

This connection is not active.

{% endif %}

Security

{% if connection.zone == "internal" %}
Firewall zone
{{ connection.zone }}
This interface should be connected to local network/machine. If you connect this interface to a public network, services meant to be available only internally will become available externally. This is a security risk.
{% elif connection.zone == "external" %}
Firewall zone
{{ connection.zone }}
This interface should receive your Internet connection. If you connect it your a local network/machine, many services meant to available only internally will not be available.
{% else %}
Firewall zone
{{ connection.zone }}
This interface is not maintained by FreedomBox. Its security status is unknown to FreedomBox. Many FreedomBox services may not be available on this interface. It is recommended that you deactivate/delete this connection and re-configure it.
{% endif %}
{% endblock %}