Age | Commit message (Collapse) | Author |
|
Use the new hostapd functionality (in LEDE) to detect 802.11r and 802.11w
more properly. Leave the old logic in place for Openwrt.
Adjust 802.11w default value from "0" to "" in order to avoid unnecessary
"option ieee80211w 0" lines in /etc/config/wireless
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Openwrt theme apparently accepsts slightly different html than
Bootstrap or Material. Cahnge code to <br /> to make it compatible.
This fixes #1011
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
The default hostapd/wpad mini version does not support ieee80211w
and the option's visibility in LuCI may lead it to be placed in user's
/etc/config/wireless preventing wifi from starting.
Check for hostapd/wpad full before exposing the option.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Use ListValue type and enable translation of the option values.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Add support for IEEE802.11w Management Frame Protection options.
Mention in the help text that the full version of wpad/hostapd is
needed.
Currently supported by ath9k and ath10k, and in LEDE also by
mwlwifi and mt76.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Apply hexstring datatype to mobility domain and r1_key_holder.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
* Add WPA/WPA2-PSK mixed mode to the list of allowed modes
* Add datatype validation to some fields
* Add help texts
* Reformat longest lines
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Adds support for 802.11r fast transition to luci.
Corrects the deletion on nasid in issue #844
The R0KH & R1KH options are not perfect as it would be better
to separate out each option and do some sanity checking on
the values, but that is beyond my capabilities.
Signed-off-by: Warren Linton warren@linton.id.au
(squashed from three original commits in #994. commit message reworded)
|
|
The same wifi option 'nasid' is used for two purposes,
RADIUS NAS ID and 802.11r NAS ID / R0KH-ID.
In LuCI the 'nasid' option has depended on WPA-EAP/WPA2-EAP, which
can lead to accidental deletion of the option, if the user modifies
any wifi settings while he has WPA(2)-PSK & 802.11r mode.
802.11r can also be with WPA(2)-PSK, so add them to the dependency
list of allowed encryptions.
(Note: after this fix the 'nasid' field is shown unnecessarily
to "normal" WPA(2)-PSK users. It might later be set to depend on
802.11r being used, after 802.11r has been added to LuCI.)
Reference to bugs:
https://github.com/openwrt/luci/issues/844
https://dev.openwrt.org/ticket/20764
https://bugs.lede-project.org/index.php?do=details&task_id=274
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
The previous commit erroneously used "ports" instead of "port" as name for the
option widget, causing wrong uci values to be written.
Also work around some cbi idiosyncrasies regarding MultiValue widgets which
prevented rendering the correct initial selection state.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Move the password setting into the .parse() callback to ensure that it is
updated regardless of whether "Save" or "Save & Apply" has been pressed.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Reloading the page ensures that the allowed tx power values and channel select
lists are properly populated with the new effective values.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Sometimes txpower is not set so we should have an option with empty
value to let it stay unset.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Fixed some display problems where the UUID label of the drop down
list does not exist and the positions of other labels are misplaced
in mount settings page.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Fixed an issue where the network name is displayed as "%q" on wlan
connection destination network settings page.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Clarify the help text in the wifi join dialog.
Reference to #793, #876, #897
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Add support for route types
|
|
luci: broadcom - add n-mode support
|
|
wifi_add minor usability tweaks
|
|
|
|
Specify reasonable sizes for metric and MTU fields to
prevent the table from being too wide.
Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
|
|
Allow specifying route types.
Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
|
|
Instead of defaulting to replace, even on hardware that supports multi
SSID, make the default to add. This reduces the chance of locking
oneself out when adding a second network. If you intended to replace,
ending up with two networks then deleting one is easier than recovering
when the old network configuration is gone.
Signed-off-by: Karl Palsson <karlp@etactica.com>
|
|
An additonal network is created if the box _is_ checked.
|
|
After clicking the "join" button on the scan list, the SSID is no longer
visible, though it's kept in the form to pass to the server.
Show the chosen SSID on the top of the page, to help people confirm that
they're joining the right network.
Signed-off-by: Karl Palsson <karlp@etactica.com>
|
|
Use a generic default topology if we cannot infer switch information from
board.json and display an error message in this case. Should fix #779 and
similar issues.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: John Crispin <john@phrozen.org>
[Jo-Philipp Wich: remove file datatype constraint]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Add support for dnsmasq uci options 'quietdhcp' and 'sequential_ip'
(disable logging, allocate ip addresses sequentially)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Add support for setting the "anonymous_identity" field on EAP type
networks.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
|
|
luci-mod-admin-full: Add option to set wireless interface name
|
|
luci-mod-admin-full: various dnsmasq options
|
|
With mac80211 you can set the wireless interface;
expose this capability.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
|
|
Add some missing dnsmasq options.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
|
|
If dnsmasq with DNSSEC support is enabled, display options
to enable DNSSEC.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
|
|
Fix dhcpv6 ra_management option's handling of "stateless" value.
Default value for the option is 1, so trying to store ""
instead of "0" for stateless is not working.
This fixes #676
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Write an empty crontab file to remove all content
from file /etc/crontabs/root
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
|
|
This makes it possible to configure the DSL line from luci.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
|
|
Enable setting a host-specific lease time for static hosts.
Format is similar as for the default lease time: e.g. 2m, 12h, 3d, infinite
Default lease time is used for all hosts without host-specific definition.
Support for the option was added to Openwrt trunk by r48801:
https://dev.openwrt.org/changeset/48801
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
This patch enables editing the Identity field in EAP-TLS so that EAP-TLS configuration via LuCI works.
|
|
the driver
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
|
|
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
|
|
luci-admin-full: improve WPA(2)-Enterprise client support
|
|
* add more WPA-EAP phase2 authentication methods.
* client cert, client key and key password are only relevant for
WPA EAP-TLS, change dependency accordingly.
* add support for certificates and key for EAP-TLS phase2 auth.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
|
|
Prevent a nil field access when hwmodelist is undefined.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
|
|
Some applications only support ipv4 so add ipv4only option
to host and hostport datatypes so that for thos applications
that when an IP address is specified only and ipv4 ip address
gets accepted.
|
|
Adds a button that does block detect and write the new configuration
to /etc/config/fstab.
|