Age | Commit message (Collapse) | Author |
|
The `multicast_to_unicast` option has been renamed to
`multicast_to_unicast_all` in OpenWrt commit
https://github.com/openwrt/openwrt/commit/09ea1db93
Fixes: #6472
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Add support for setting dhcpv6_pd_min_len, which enforces a floor on the
IPv6 prefix delegation length, so the administrator can conserve IPv6 address
space on an interface.
Signed-off-by: John Kohl <jtk.git@bostonpog.org>
|
|
Spell out the names of the DSL standards to make the options easier to
understand. For modems supporting VDSL, also mention clearly which of
the options actually set the bits for VDSL2.
As the items now start with the name of an ADSL standard, use that for
ordering. The generic variants including VDSL2 support stay at the top,
as they should be a good choice in almost all cases.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
|
|
Add ability to choose random or custom mac address for wifi-iface.
By default the driver mac address is used and this special feature needs
to be supported by the wireless driver.
Signed-off-by: Manas Sambhus <manas.sambhus+github@gmail.com>
[ drop redundant tags and improve commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
Add support for ra_pref64 option for IPv6 Router Advertisements
options.
This option of IPv6 Router Advertisements allows devices connected to
a IPv6-only network to discover IPv6 prefix of the NAT64 gateway.
Devices can use this information for instance to setup client translator
(CLAT) from IPv4 to IPv6 in 464XLAT (RFC 6877) scenario or to handle
IPv4 address literal on application level.
Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
[ remove extra new line and fix commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
Fixes: #6435
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
The default overflow hidden style for table cell elements breaks action
dropdowns on the diagnostics page.
Fixes: #6379
Fixes: 5f2d305476 ("luci-mod-network: convert diagnostic page to LuCI look and feel")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ref: https://github.com/openwrt/luci/commit/2be01cbfcb34746d9713173a60c3f8a69c554a68#commitcomment-111035308
Fixes: 2be01cbfcb ("luci-mod-network: restrict peerdns option to protocols that implemenent it")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Linux wireless interface names have the following restrictions:
* It must not be an empty string
* It must not be '.' or '..'
* It must not contain any /, : or space character ( , \t, \n, ...)
* It must be less than 16 chars
* It likely must not contain any % either
Fixes: 8673aef8db ("luci-mod-network: remove uciname validation from wireless interface")
Signed-off-by: Glenn Washburn <development@efficientek.com>
[reword validation error messages, remove extended description text as it would be
shown as part of the validation errors]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Adjust DNS cache size placeholder value to 1000 to
match the OpenWrt default after
https://github.com/openwrt/openwrt/commit/a57796b137494fc20e984d0049e8e7430e9ebb25
Fixes #6254
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
luci-mod-network: enable configuring wifi ax networks on the 6G band
|
|
Most uci network device configuration settings have no specific default
value which means that netifd will only alter the related sysfs parameters
if an explicit value is specified in uci. When omitted from the
configuration, the related sysfs setting is left untouched.
This behaviour collides with LuCI's approach of purging boolean options
from the configuration if they match their default value, leading to the
inability to disable or enable certain settings as described in #6219.
Solve this issue by replacing flag widgets with tri-state selects offering
an "automatic" (default) as well as an explicit "enabled" and "disabled"
choice. Also query sysfs on load and preset the automatic choice with an
indication whether the underlying sysfs settings is currently active or not.
Fixes: #6219
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ensure that just created uci device sections are removed if the edit
option modal is cancelled without saving. This prevents empty, but
harmless `config device` sections from being created on a subsequent
Save & Apply operation.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ensure that the output textarea uses a monospace font and preformatted text.
Fixes: 5f2d305476 ("luci-mod-network: convert diagnostic page to LuCI look and feel")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Instead of mapping it by frequency.
Signed-off-by: Andre Heider <a.heider@gmail.com>
|
|
Tested on a MT7921 device.
Signed-off-by: Andre Heider <a.heider@gmail.com>
|
|
This prevents offering e.g. 'Legacy' on ac/n only radios or
ax if hostapd wasn't compiled with ax support.
Signed-off-by: Andre Heider <a.heider@gmail.com>
|
|
Remove the 'uciname' validation rule, as it prevents using '-' that
is a valid character.
Fixes: 0c1be9ae5 luci-mod-network: Add length restriction to wireless
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Based on issue #6101, add a maxlength of 15 chars to the wireless
interface's optional name field. Also validate it as uciname.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
luci-mod-network: Expose WPA Enterprise RADIUS VLAN settings.
|
|
Collectd all WLAN roaming related options to a new dedicated tab.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Tested on: 21.02.1
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
luci-mod-network: Expose 802.11v settings.
|
|
Tested on: 21.02.1
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
luci-mod-network: fix address validation
|
|
Stop using the word useless both in the name and the description and call
the feature what it actually is (Filter SRV/SOA service discovery).
Signed-off-by: Lukas Tribus <lukas@ltri.eu>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #6107
Fixes: a627744bb5 ("luci-mod-network: 'relay' tab added")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes --server validation for:
- /domain[/domain]
- //
- /#/
Fixes hostname validation for:
- *.domain
- *domain
Changes ..domain to be an invalid hostname
Signed-off-by: Kyle Schwarz <zeranoe@gmail.com>
|
|
Only some supported protocol extensions honour the `peerdns` options.
Fixes: #6093
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Support Dnsmasq 2.87-5 feature to filter DNS results:
* remove IPv6 AAAA records and return only IPv4 addresses
* remove IPv4 A records and return only IPv6 addresses
Especially the removal of IPv6 AAAA records can be useful with
ISPs that provide IPv6 address resolving but do not actually
offer IPv6 routing/connectivity.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
luci-mod-network: 'relay' tab added
|
|
Adds LuCI GUI for dnsmasq DHCP 'relays'.
The helper functions in dnsmasq/files/dnsmasq.init limit behaviour
whereby it is not possible to omit server_addr, where to omit
it (dnsmasq supported) would result in a broad- or multicast further on.
Tested on 22.03.2
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
Avoid undefined value access when the channel list is empty.
Fixes: #5937, #5951
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Unify the network name display as shown in the overview by removing the
uppercase conversion.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
In the overview page, the name of the interface is converted to
uppercase. However, this is not the name in the configuration. From my
point of view, this makes no sense. The name displayed should correspond
exactly to the name in the configuration.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Since the LuCI network admin module was rewritten into client side views,
there is no server side Lua processing anymore. The iwinfo routines are
utilized through the corresponding rpcd plugin.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Placeholder hint also reflects syntax.
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
[replace asdf.com with example.com, use … instead of ..., remove uneeded
entities]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
DHCP Help does not document mxhost, but they are available in dnsmasq.
This effectively implements MX records within DNS.
Tested on 22.03.2
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
[fix _() calls, fix commit subject, rebase onto current master]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
DHCP Help does not document srv-host, but they are available in dnsmasq.
This effectively implements SRV records within DNS.
Tested on 22.03.2
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
[fix _() calls, join translation strings on the same line, replace …
with …, fix commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Make it clear that this option also filters some not-so-useless queries.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
|
|
OpenWrt commit 2984a0420 changed the default 802.11r Fast Transition
method to be ft-over-air instead of ft-over-ds.
Offer ft-over-air as the first item in the drop-down list, so that
it gets selected by default when 802.11r option is enabled.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
luci-mod-network: Expose RSN Preauth WPA2-EAP setting.
|
|
luci-mod-network: Expose multicast_to_unicast setting
|
|
Ref: #5899
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ensure to return [-1, 0, 1] from the sort callback instead of [0, 1]
which fails in non-FF browsers.
Fixes: #5859
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5845
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|