Age | Commit message (Collapse) | Author |
|
WiFi join won't work if is tried to connect to a Hidden Wifi without specifying the WiFi SSID.
Fixes: #2085
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
The method array may be null in case of an open network, also not all
occurrences of `is_sae` and `is_psk` were properly checked.
Resolve the issue by moving the length check to the variable initialization.
Fixes: ba98a2fd0 ("luci-mod-network: fix logic bug in parse enc for network join")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fix one display bug for ap join and #4524
|
|
In handleJoinConfirm while is_wep is a boolean, is_psk and is_sae are an array. In the following if check, all 3 are used as boolean but Js treat empty array as positive values and this cause the ui to wrongly set the encryption to sae. fix this by checking if the array actually contains data.
Fixes: #4524
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
handleJoin can be slow to parse all the data and show the new modal, this can result in the disappear of the scan modal and the showing of the wifi config page while the data are generating. This is wrong since a user can think that he did something wrong. Fix this by using the createHandleFn and by removing the scan pool function instead of calling ScanAbort function that with the other thing wrongly removes the Scan modal. (the modal is replaced with the add one when all the data are ready)
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
luci-mod-status: add WPS control for wifi info
|
|
Wps Push Button feature is now supported directly from ubus instead of using hostapd_cli.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
The mac section for the static lease doesn't correctly handle when multiple mac are set for a rule.
Fixes: #4291
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
luci-mod-network: add address parameter in DHCP for dnsmasq
|
|
luci-mod-network: query WEP support
|
|
Signed-off-by: William Fleurant <meshnet@protonmail.com>
|
|
This commit removes WEP from the list of supported
encryption methods in case hostapd or wpa_supplicant
were compiled without WEP support.
Signed-off-by: David Bauer <mail@david-bauer.net>
|
|
Fixes: #4050
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ref: https://forum.openwrt.org/t/static-route-shows-incorrect-table/63514
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Also implement disabled state in custom frequency select widget.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
The `server` option allows plain IPs besides the `/domain/addr` format.
Fixes: #3870
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #3363
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a600ebb5fe14b13cb53669eb73b86f66cc699e94)
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Previously an undocumented "default_ps" option without a corresponding luci
entry. Hotplug script was updated in openwrt master to use "packet_steering"
as the option and now defaults to off.
Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=d3868f15f876507db54afacdef22a7059011a54e
Signed-off-by: Alan Swanson <reiver@improbability.net>
|
|
createable
Signed-off-by: Helge Mader <ma@dev.tdt.de>
|
|
Fixes: #3709
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #3660
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #3661
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #3662
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #3663
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #3636
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ref: https://github.com/openwrt/luci/commit/5d15363408d263fccae90b3b7ab0ebac6329eebb#commitcomment-37059122
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ref: https://forum.openwrt.org/t/resolvfile-option-not-showing/54229
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ref: https://github.com/openwrt/luci/issues/3565
Ref: https://forum.openwrt.org/t/cannot-read-property-link/50766
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Address is very useful in dnsmasq. I don't see a reason why we should not have it in the form
Signed-off-by: Najdanovic Ivan <najdanovicivan@gmail.com>
|
|
Corrects missing semicolons from the previous commit.
Signed-off-by: David Lam <david@thedavid.net>
|
|
This commit adds the ability for users to validate against the system's
built-in CA bundle if it is installed. The process is made much easier because
the user does not have to first extract the CA certificate from the EAPOL
handshake and upload it via LuCI uploads. Dependent on commit
openwrt/openwrt#2696.
Signed-off-by: David Lam <david@thedavid.net>
|
|
luci-mod-network: add certificate subj validation
|
|
This PR is tied to changes being made via openwrt/openwrt#2654, and it
allows users to provide certificate constraint(s) when connecting as a
STA to an AP using Enterprise modes. The constraints can either be
provided via the certificate's X509 subject using a substring (e.g.
/CN=wifi.mycompany.com) or subject alternate name values (e.g.
DNS:wifi.mycompany.com), although both can be combined for a stricter
validation criteria. Other options, such as wildcard and exact domain
matches are also available.
Signed-off-by: David Lam <david@thedavid.net>
|
|
luci-mod-network: Add description field to VLANs (trivial)
|
|
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
|
|
This change removes the last bit of Lua code from luci-mod-network.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|