Age | Commit message (Collapse) | Author |
|
luci-mod-network: use network selector for dnsmasq instances
|
|
Fixes #2784
Right now, it is not clear that users in indoor settings should stay clear off this setting and people struggle with it as evidenced in the linked issue.
Signed-off-by: Tomáš Hnyk <tomashnyk@gmail.com>
|
|
luci-mod-network: nitpick of CNAME, MX, SRV syntax formatting
|
|
luci-mod-network: Extend helptext for RFC1918 rebind_protection
|
|
Fixed error wherein luci erroneously saved the iterator integer of the
current dnsmasq config object to a host (and boot/PXE) config entry
'instance' field, instead of correctly referring to its name.
Now we use the correct ".name" field of the dnsmasq config entry.
Anonymous entries have e.g. "cfg01411c". The ".name" field corresponds
to 'myName' in /etc/config/dhcp entries of:
config dnsmasq 'myName'
...
In this way, host and other entry types are bound correctly to specific
dnsmasq instances. For anonymous entries, display "dnsmasq[x]" as name.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
luci-mod-network: fix route defaults
|
|
Fixes: #6696
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Routes inherit metric and table from the relevant interface.
Display route metric and table as `auto` when unspecified.
Consolidate modal view for unspecified options.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
Ref: https://forum.openwrt.org/t/x/177040
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Allow RA server mode on all but some known incompatible interface protocols.
Fixes: #6667
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Use widgets.NetworkSelect to select interfaces for dnsmasq.
Different interfaces help implement multi-instance setup.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
Fixes: #6571
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Drop completely bogus 'ID' option, it's not handled by anything
- Clarify relay from / relay to / accept from options
Fixes: #6639
Fixes: a627744bb5 ("luci-mod-network: 'relay' tab added")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
Fixes: #6521
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
The form reset button on the wireless page has no function as no input
field is present outside of modal configuration views, so drop it to
avoid confusion.
Ref: #6514
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
To setup (n) -> To set(v) up
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
Adjust the order of tabs in the DNS/DHCP page.
Based on estimated importance of tabs
* move common (old) tabs to be earlier
* move the less frequently used (new) tabs later
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
luci-mod-network: add support for creating cname records
|
|
This commit adds a tab that allows creating CNAME records
Signed-off-by: Santiago Kozak <santikzk1406@gmail.com>
|
|
Under DHCP and DNS, Static Leases tab:
Add extra fields and booleans
Add 'ignore' value for ip field
Add description text for fields
Enable wildcards in mac addresses
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
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
|