Jo-Philipp Wich
9d80dbe635
luci-mod-network: wireless.js: fix null access on failing iwinfo calls
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-15 18:42:04 +02:00
Jo-Philipp Wich
f61d6ee148
luci-mod-network: wireless.js: fix null access on unavailable country list
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-15 10:03:48 +02:00
Jo-Philipp Wich
17800040f2
luci-mod-network: display the mesh ID in wireless overview if applicable
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-30 12:40:12 +02:00
Jo-Philipp Wich
66749b4fe3
Merge pull request #2756 from Ansuel/wps
...
luci-mod-network: permit WPS push-button on WPA3
2019-09-24 19:56:44 +02:00
Ansuel Smith
3571af9488
luci-mod-network: permit WPS push-button on WPA3
...
Currently WPS push-button is dropped when SAE or SAE-Mixed is selected. WPS is still supported in WPA3.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24 19:39:12 +02:00
Ansuel Smith
d3541e9269
luci-mod-network: add master option
...
Adds option to set interface as master in dhcpv6 relay mode.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24 19:10:11 +02:00
Jo-Philipp Wich
4a564736ea
luci-mod-network: wireless.js: properly handle SAE in join confirmation
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24 08:09:02 +02:00
Jo-Philipp Wich
e630b32498
luci-mod-network: interfaces.js: map remove action to network.deleteNetwork()
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24 08:07:50 +02:00
Jo-Philipp Wich
4d3d23b5e9
luci-mod-network: wireless.js: prompt for passphrase when joining SAE net
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24 07:24:11 +02:00
Chen Minqiang
2f92a29628
luci-mod-network: resort zonePromise order
...
This fix #3103
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2019-09-24 07:08:49 +02:00
Jo-Philipp Wich
720df98642
luci-mod-network: sort wifi encryption by strength and popularity
...
Fixes : #3082
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20 17:11:38 +02:00
Jo-Philipp Wich
f3a94051ec
luci-mod-network: fix key option quirk when switching wep and wpa modes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20 13:39:22 +02:00
Jo-Philipp Wich
ccd1523610
luci-mod-network: default to ieee80211w=2 for OWE
...
Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/services/hostapd/files/hostapd.sh;h=46acbefeeeb771de879dd9926ad170042dff2473;hb=HEAD#l327
Fixes: 63f28fd06
luci-mod-network: default to ieee80211w=1 for OWE
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20 11:30:09 +02:00
Jo-Philipp Wich
63f28fd065
luci-mod-network: default to ieee80211w=1 for OWE
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20 09:55:51 +02:00
Jo-Philipp Wich
5986124c13
luci-mod-network: wireless.js: fix parsing of wep key slot cfgvalue
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20 09:36:23 +02:00
Jo-Philipp Wich
0113171c64
luci-mod-network: wireless.js: fix disabled state on disabled radio
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-19 15:48:27 +02:00
Jo-Philipp Wich
0d9a77d806
luci-mod-network: wireless.js: select proper 11w default for WPA3 modes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-19 15:47:55 +02:00
Jo-Philipp Wich
15cc74c6b4
luci-mod-network: interfaces.js: derive status from layer 3 device
...
Align the status column device selection logic with the approach used for
rendering the interface status boxes; first try to obtain the active
layer3 device as reported by ubus, only then fall back to the protocol
specific device hint which might or might not point to an existing device.
Fixes : #3076
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18 07:33:25 +02:00
Jo-Philipp Wich
88c16e17d9
luci-mod-network: wireless.js: restore mac hints in mac list widget
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13 14:19:33 +02:00
Jo-Philipp Wich
82743b3bd4
luci-mod-network: reimplement switch configuration as client side view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12 11:09:57 +02:00
Jo-Philipp Wich
5e7e9b58cf
luci-base: restore some lost translations and update german
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-11 14:03:11 +02:00
Jo-Philipp Wich
f32f42bc25
luci-mod-network: add missing dependency on rpcd-mod-iwinfo
...
Fixes: 963b7636b
("luci-mod-network: switch to client side wifi configuration pages")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-11 12:27:02 +02:00
Jo-Philipp Wich
963b7636b4
luci-mod-network: switch to client side wifi configuration pages
...
Rewrite the wireless network management views in client side JS using ubus
rpc calls for the router communication.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Jo-Philipp Wich
14b6ea6ea7
luci-mod-network: slightly improve static lease config
...
- Autoselect the matching IPv4 address when initially picking a MAC
- Add hostname hints in the MAC/IP dropdowns
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Jo-Philipp Wich
e4bc192012
luci-mod-network: switch to client side interface configuration pages
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Jo-Philipp Wich
ed8f1c4c1c
luci-app-firewall: honour global default policies in per-zone settings
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-14 22:58:15 +02:00
Antoine Deschênes
011d9d0176
luci-mod-network: 802.11w config in station mode
...
802.11w has to be enabled in station mode to be effective. If the AP is using WPA3-SAE or requires 11w, station will not connect unless 11w is enabled via this option.
Signed-off-by: Antoine Deschênes <adeschenes@kronostechnologies.com>
2019-07-30 08:50:13 -04:00
Jo-Philipp Wich
140456f07a
luci-mod-network: fix typo in wifi scan JS code
...
Fixes: 8dd2df29c
("luci-mod-network: improve wifi scan status reporting")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-21 09:42:48 +02:00
Jo-Philipp Wich
8dd2df29c4
luci-mod-network: improve wifi scan status reporting
...
Attempt to properly report the scan status by treating 404 replies as
not yet completed scans and empty array replies as successful scans
that did not yield any results.
Fixes : #2874
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-19 17:59:05 +02:00
Jo-Philipp Wich
875a96f653
luci-mod-network: switch hostname configuration to client side js
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 20:14:18 +02:00
Jo-Philipp Wich
d6aa68ae0d
luci-mod-network: switch route configuration page to client side view
...
Also implement extended route attributes via modal dialog.
Fixes : #2695
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 19:12:59 +02:00
Jo-Philipp Wich
a96bec68a0
luci-mod-network: replace DHCP & DNS view with client side implementation
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:36:25 +02:00
Bjørn Mork
689934196f
luci-mod-network: os-release variables have been renamed to OPENWRT_
...
commit 8a34a54b6aa6 ("base-files: use OPENWRT prefix for os-release
variables") changes the prefix of the os-release variables from LEDE_
to OPENWRT_. Use the new name.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2019-06-26 14:54:27 +02:00
Florian Eckert
889e8eec4f
Merge pull request #2670 from TDT-AG/pr/20190410-luci-mod-network
...
luci-mod-network: move auto option to general tab
2019-05-29 11:10:19 +02:00
Jo-Philipp Wich
444f06b1b0
Merge pull request #2687 from HenryGiraldo/master
...
luci-mod-admin-full: add dependency for channel auto
2019-05-09 13:26:10 +02:00
Jo-Philipp Wich
6b7afabcdd
luci-mod-admin-network: fix VLAN "add" button for empty switches
...
Fixes OpenWrt FS#2270.
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2270
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-05-07 08:55:22 +02:00
Enrique Giraldo
4518c06290
luci-mod-admin-full: add dependency for channel auto
...
Do not show 'auto' channel option if hostapd is
not compiled with CONFIG_ACS
Signed-off-by: Enrique Giraldo <hgiraldos@gmail.com>
2019-05-02 08:47:06 +02:00
Florian Eckert
2b94060c60
luci-mod-network: add auto start hint
...
Make the information if the interface is started on boot visible on the
interface overview page.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-25 10:18:02 +02:00
Florian Eckert
3ff15a22d5
luci-mod-network: add is_auto option to iface_status
...
Make interface information is_auto available.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-25 10:16:32 +02:00
Florian Eckert
c3f620eb13
luci-mod-network: move auto option to general tab
...
Since openwrt-18.06 the auto option is set/unset if we press
connect/disconnect on the interface page. So I think we should move this
to the general tab so that we see at once if this is started on boot or
not.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-10 13:45:27 +02:00
Jo-Philipp Wich
7423bd9aa3
luci-mod-network: fix bad unicode comma in network.js
...
Fixes: 5624b36fa
("luci-mod-network: fix page refresh after interface reconnect")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08 17:10:09 +02:00
Jo-Philipp Wich
5624b36fa7
luci-mod-network: fix page refresh after interface reconnect
...
Submitted-by: "taeasy" <88336@live.com>
[reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08 08:21:30 +02:00
Hauke Mehrtens
526ac93f54
luci-mod-network: wifi: Add OWE support
...
This allows to select OWE support in the wireless menu when a capable
hostapd is installed.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-03-09 17:08:43 +01:00
Hauke Mehrtens
9627dbd65e
luci-mod-network: wifi: Add WPA3 SAE support
...
This checks if the installed hostapd supports SAE and allows to select
WPA3 Personal SAE in that case.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-03-09 17:08:43 +01:00
Yousong Zhou
e4bbc5970f
wifi: add "macaddr" validator to bssid option
...
Resolves FS#1649
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-02-27 07:43:22 +08:00
Jo-Philipp Wich
74e4cf56c6
Merge pull request #2466 from HenryGiraldo/master
...
luci-mod-network: Add mesh_rssi_threshold and encryption
2019-01-30 08:24:38 +01:00
Jo-Philipp Wich
1828af9827
Merge pull request #2421 from SibrenVasse/ssid_format
...
SSID escaping
2019-01-30 08:23:53 +01:00
Hannu Nyman
d99831e9d0
treewide: cleanup LEDE references
...
Remove old LEDE references.
Also remove one obviously wrong translation from pt-br
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-01-24 18:39:15 +02:00
Enrique Giraldo
69490d628e
luci-mod-network: Add mesh_rssi_threshold and encryption
...
* make mesh_rssi_threshold configurable
* add SAE encryption support
Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
2019-01-17 14:46:24 +01:00
Sibren Vasse
970fa9a4e0
luci-mod-network: fix extraneous escaping
...
Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
2019-01-11 17:10:05 +01:00