Age | Commit message (Collapse) | Author |
|
Appears under DHCPv6-service when set to 'server' or 'hybrid'.
Option 'ntp' is serviced by odhcpd. It sends a DHCPv6 NTP Server option
56 for each 'ntp' list entry.
Once uci loads the system section, it provides suggestion presets of
system configured upstream NTP servers, and the LAN IP(v6) of the router
which are then statically configured by the user.
It would make more sense if odhcpd fetches them directly.
Alas, it does not (yet).
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
ULA as defined in RFC4193 mentioned a possible future where the L bit
is 0 (implying some global coordinator be used). Locally generated ULA
always have the L bit set to 1, so the prefix is always fd00::/8 (though
ULA with the L bit set 0 or 1 are treated identically).
Technically, fc00::/7 isn't a range, but a prefix which implies a range,
conveniently partitioned by and at the L bit. A range would be correctly
denoted as fc00::-fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff.
The rewording avoids mention of fc00::/7. The randomly generated prefix
in all cases starts fd.
The sentences were split to ease i18n.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
Do not trigger a uci save operation on removing bridge VLANs as that might
invalidate the ephemeral section ID of a just added network device.
Fixes: #6990
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
This resulted in the sysfs parameter to be invalid as it contained a space.
Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
|
|
Add a clarifying note about two different meanings of "network"on
the wireless join page. In the dialog title the word "network" refers
to the wireless SSID, while in the config item the same "network"
refers to the name to be used in OpenWrt network configuration.
Reference to forum discussion at
https://forum.openwrt.org/t/cant-join-a-scanned-network/189859
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Relax the CNAME domain validation to allow wildcard names.
Fixes: #6801
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
See following for more detail:
https://w1.fi/cgit/hostap/commit/?id=af35e7af7f8bb1ca9f0905b4074fb56a264aa12b
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
saved value will now be only an integer.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
This reverts commit 75a2fd233baabf6fa5bafcb13ccc6d7000a4604d.
Resolves issue#6902
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Right now, when there's active DHCPv6 leases and more than one address per host
(e.g. because ULA is used together with GUA prefixes), the two IPv6 addresses
will be printed on one line (which may or may not get broken up depending on
the length of the addresses, which also looks inconsistent).
Putting each address on a separate line makes it much easier to read the
addresses (IMHO).
Signed-off-by: David Härdeman <david@hardeman.nu>
|
|
Enabled by default. If the interface is in use, the user will be asked
to confirm.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
|
|
Include support in luci to enable the Private PSK.
When Private PSK is enabled, clients can use a default password (common),
or have their own private password that is associated with the client MAC.
The password is retrieved from RADIUS server, asking for the client MAC,
and when such client MAC is not defined, RADIUS should return a default
password.
RADIUS can also return other parameters like VLANs, which can be used to
put clients dynamically in different VLANs based on their MAC, or the
default configuration.
Private PSK is not compatible yet with SAE encryption, therefore cannot
be used yet with WPA3 or WPA3-mixed.
It implements the UI for the PPSK already in master: https://github.com/openwrt/openwrt/pull/3509
Signed-off-by: Manuel Giganto <mgigantoregistros@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
DHCP devices: add minport and maxport
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
DHCP limits: add [min|max]_cache_ttl
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
DHCP logging: add logfacility
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
DHCP logging: add logdhcp
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Multiple dnsmasq sections are now enabled (for those who want
e.g. separate dnsmasq options per interface).
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
DHCP options better structured according to the nature of
the option:
-Tab titles have been trimmed
-Some options moved into new tabs (filter, limits, logging, devices,etc)
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
sourcefilter option should be available for proto like:
'dhcpv6'
'directip'
'ppp'
'pppoe'
'pppoa'
'pptp'
'qmi'
'mbim'
'ncm'
'3g'
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
|
|
m (mac) is an array, and is zero length or greater.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
change && to || so as not to backtrace if only one was empty/null.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Don't allow enabling 802.11r when using WPA, it needs at least WPA2.
This is because 802.11r advertises FT support in-part through the
Authentication and Key Management (AKM) suites in the Robust
Security Network (RSN) Information Element, which was included in
the 802.11i amendment and WPA2 certification program.
Pre-standard WPA did not include the RSN IE, but the WPA IE.
This IE can not advertise the AKM suite for FT.
Also restrict ft_psk_generate_local to psk2 and psk-mixed. Using it
with non-psk encryptions breaks roaming.
Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.ai>
|
|
Otherwise they produce "Cannot read properties of null".
Tested on 23.05.2
Fixes issue #6799
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
+i18n
Removed Jows widget which hindered management of multi mac entries.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Also remove a reassigned so.validate function (dead code).
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
See also:
https://github.com/openwrt/openwrt/commit/d7f378796f985c902ff7906767c275c40a15347f
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
also unburden translators from some static strings.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
also unburden translators from some static strings.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Do not present alias to self as valid choice in the interface device picker.
Fixes: #6754
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
The logic handling the `migrate` property has been dropped in commit
f689d0d208 ("luci-mod-network: refactor device configuration") so remove
the now redundant property as well.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
When a boolean sysfs option is forcibly set to `0` or `1` in uci, then make
sure to properly reflect that choice state when rendering the widget.
Right now the dropdown incorrectly reverted to "automatic" after saving but
not applying the changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Ease translators lives.
This introduces the function customi18n for positional string variables.
Word and grammatical ordering of some languages breaks guarantees for
positional string arguments.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Evidently, not all translators get it right.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
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>
|