David Bauer
6c56365b82
luci-mod-network: query support for WEP
...
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>
2020-06-01 10:36:07 +02:00
Jo-Philipp Wich
01d5d5f929
luci-mod-network: allow literal "auto" value for distance
...
Fixes : #4050
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-17 19:36:17 +02:00
Jo-Philipp Wich
8747513951
luci-mod-network: fix reading static route table value
...
Ref: https://forum.openwrt.org/t/static-route-shows-incorrect-table/63514
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-13 17:20:05 +02:00
Jo-Philipp Wich
8f34e105c0
treewide: add ACL annotations to menu entries
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 12:40:31 +02:00
Jo-Philipp Wich
0306b14d20
luci-mod-network: wireless.js: disable action buttons on insufficient ACLs
...
Also implement disabled state in custom frequency select widget.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:28:21 +02:00
Jo-Philipp Wich
c63c902163
luci-mod-network: interfaces.js: disable action buttons on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:21:03 +02:00
Jo-Philipp Wich
57f27cf7f8
luci-mod-network: dhcp.js: allow lease hostname to be empty
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11 18:34:54 +02:00
Jo-Philipp Wich
137db1c4d1
luci-mod-network: dhcp.js: fix validation logic
...
The `server` option allows plain IPs besides the `/domain/addr` format.
Fixes : #3870
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11 18:27:36 +02:00
Jo-Philipp Wich
c099344013
treewide: reorganize base ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-09 23:23:33 +02:00
Jo-Philipp Wich
45a30c925b
luci-base, luci-mod-network: adjust ZoneSelect / NetworkSelect descriptions
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-07 18:19:19 +02:00
Jo-Philipp Wich
3c4bc228a1
treewide: import utility classes explicitly
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03 10:00:06 +02:00
Jo-Philipp Wich
eb1422defe
luci-mod-network: rework signal badge disabled state
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-02 15:20:58 +02:00
Jo-Philipp Wich
515069f9ec
luci-mod-wireless: avoid signal badge wrapping in scan list
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-01 19:15:07 +02:00
Jo-Philipp Wich
cae8045367
luci-mod-network: add WPA3-EAP and mixed WPA2/WPA3-EAP settings
...
Fixes : #3363
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-26 22:02:42 +01:00
Jo-Philipp Wich
04c73f1613
luci-mod-network, luci-mod-status: allow assoclist wrapping
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a600ebb5fe14b13cb53669eb73b86f66cc699e94)
2020-03-24 22:14:18 +01:00
Jo-Philipp Wich
98a9d07d89
luci-mod-network: dhcp.js: properly validate hostname values
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:20:50 +01:00
Jo-Philipp Wich
1b7e923cf6
luci-mod-network: adjust assoclist markup for easier styling
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:14:02 +01:00
Jo-Philipp Wich
41b2fe9f6b
luci-mod-network: diagnostics.css: use .btn CSS class for buttons
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:48:13 +01:00
Alan Swanson
28ed7245be
luci-mod-network: interfaces.js: add global packet steering option
...
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>
2020-03-21 16:21:00 +00:00
Helge Mader
c949d116b0
luci-mod-network: extended interfaces.js for check if new interface is createable
...
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-03-03 16:12:10 +01:00
Jo-Philipp Wich
1c547d36b5
luci-mod-network: switch.js: fix internal port ordering
...
Fixes : #3709
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-02 09:34:30 +01:00
Franco Castillo
a612574e11
luci-mod-network: fix typo
...
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2020-03-02 08:22:06 +01:00
Jo-Philipp Wich
cf09705ee3
luci-mod-network: properly handle "no signal" and "disabled" in signal badges
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-01 20:58:51 +01:00
Jo-Philipp Wich
48e18fb8ac
luci-mod-network: wifi join: allow reclaiming empty wwan networks
...
Fixes : #3660
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21 22:12:31 +01:00
Jo-Philipp Wich
7ec007f926
luci-mod-network: wifi join: add option to lock bssid
...
Fixes : #3661
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21 21:30:06 +01:00
Jo-Philipp Wich
a2fe3d9fc4
luci-mod-network: wifi scan: add button to start/stop refreshes
...
Fixes : #3662
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21 21:09:45 +01:00
Jo-Philipp Wich
9b024767d7
luci-mod-network: explicitely configure "none" encryption in wifi join
...
Fixes : #3663
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21 20:54:26 +01:00
Jo-Philipp Wich
2cad20e7ea
luci-mod-network, luci-mod-status: harmonize wifi signal indicators
...
Fixes : #3636
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-17 09:50:36 +01:00
Jo-Philipp Wich
7bc338c011
luci-mod-network: dhcp.js: adjust resolvfile placeholder to OpenWrt default
...
Ref: 5d15363408 (commitcomment-37059122)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31 14:36:44 +01:00
Jo-Philipp Wich
5d15363408
luci-mod-network: dhcp.js: fix resolvefile option depends
...
Ref: https://forum.openwrt.org/t/resolvfile-option-not-showing/54229
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31 11:19:09 +01:00
Jo-Philipp Wich
616d44c155
luci-mod-network: handle missing switch port state information
...
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>
2020-01-28 18:16:43 +01:00
Najdanovic Ivan
8463929378
luci-mod-network: Add Address parameter in DHCP
...
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>
2020-01-17 01:33:40 +01:00
David Lam
f92e408f69
luci-mod-network: fix missing semicolons
...
Corrects missing semicolons from the previous commit.
Signed-off-by: David Lam <david@thedavid.net>
2020-01-16 14:51:14 -08:00
David Lam
dbc5778228
luci-mod-network: add system cert bundle validation
...
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>
2020-01-16 01:15:11 -08:00
Florian Eckert
4536a1f1a9
Merge pull request #3444 from swg0101/subjectvalidation
...
luci-mod-network: add certificate subj validation
2020-01-15 11:47:05 +01:00
David Lam
d9e88c2072
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>
2020-01-12 00:33:43 -08:00
Florian Eckert
390dc2805a
Merge pull request #3391 from TobleMiner/feature-vlan-description
...
luci-mod-network: Add description field to VLANs (trivial)
2020-01-03 09:55:26 +01:00
Balázs Úr
8b47bb8411
luci-base: fix typos
...
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-20 16:48:51 +01:00
Jo-Philipp Wich
3a657b8ab5
luci-mod-network: replace controller address check action with cgi-io script
...
This change removes the last bit of Lua code from luci-mod-network.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-18 21:33:29 +01:00
Balázs Úr
d0bc86bcc3
luci-base: fix typos
...
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-17 11:41:00 +01:00
Jo-Philipp Wich
ab07b8c4d9
luci-mod-network: reimplement diagnostics page as client side view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16 18:07:18 +01:00
Jo-Philipp Wich
5448a10e30
luci-mod-network: convert menu nodes to JSON
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16 18:07:18 +01:00
Jo-Philipp Wich
ffe81aead3
luci-mod-network: dhcp.js: fix default state of nonwildcard
...
Fixes : #3415
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16 18:05:49 +01:00
Jo-Philipp Wich
3cdd496946
luci-mod-network: fix rebind list validation
...
Fixes: 62e28f4b0
("luci-mod-network: dhcp.js: fix address and rebind list validation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16 18:01:50 +01:00
Jo-Philipp Wich
62e28f4b0a
luci-mod-network: dhcp.js: fix address and rebind list validation
...
Fixes : #3130
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16 17:51:45 +01:00
Jo-Philipp Wich
f6410361c8
luci-mod-network: re-add DHCPv6 lease status to dnsmasq page
...
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2674
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16 17:40:04 +01:00
Tobias Schramm
2ab71420c3
luci-mod-network: Add description field to VLANs
...
Having a description attached to a VLAN makes identification a lot easier when
dealing with many VLANs
Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
2019-12-04 13:48:37 +01:00
Kevin Darbyshire-Bryant
c58ae7d3f4
luci-mod-network: dnsmasq: correct sense & usage of dnsseccheckunsigned
...
dnsmasq v2.80 made 'dnssec-check-unsigned' the default, reflect this in
the gui.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2019-11-22 15:25:59 +00:00
Jo-Philipp Wich
0513edade8
luci-mod-network: dhcp.js: fix DNSSEC feature probing
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-08 10:33:44 +01:00
Jo-Philipp Wich
392ba53eff
luci-base, luci-mod-network: migrate getDUIDHints method to C plugin
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-08 10:25:30 +01:00
Jo-Philipp Wich
c00d860981
luci-mod-network: wireless.js: restore client disconnect functionality
...
Ref: https://forum.openwrt.org/t/19-07-luci-disconnect-missing/47897
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07 12:18:35 +01:00
Jo-Philipp Wich
86f492173d
treewide: require ui.js explicitly
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 21:55:50 +01:00
Jo-Philipp Wich
7a2fefc671
luci-mod-network: remove unused iface_down
endpoint
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Jo-Philipp Wich
f16a47042c
luci-base, luci-mod-network: invoke ifdown directly in interface overview
...
Replace the `iface_down` endpoint with a direct invocation of `/sbin/ifdown`
and replace the interface connectivity check with a call to the new
`remote_addr` endpoint.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Jo-Philipp Wich
9cb4aa1306
luci-mod-network: add admin/network/remote_addr endpoint
...
The remote_addr endpoint allows clients to query their external IP address
as seen by the device as well as the inbound network devices and logical
interfaces on the router.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Jo-Philipp Wich
b4861da886
luci-mod-network: fix disabled state in wifi settings modal
...
Also auto-enable the radio upon network join.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:32:17 +01:00
Jo-Philipp Wich
1ca168c2e9
luci-mod-network: use declarative dependencies in controller
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:03:33 +01:00
Jo-Philipp Wich
c72c78bed9
luci-mod-network: interfaces.js: issue iface restart via file/exec rpc call
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:03:33 +01:00
Jo-Philipp Wich
6aa4b83f24
luci-mod-network: wireless.js: issue wifi restart via file/exec rpc call
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:03:33 +01:00
Jo-Philipp Wich
650d7f64d5
luci-base: remove unused Lua code
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:03:33 +01:00
Jo-Philipp Wich
37b6092aef
luci-base, luci-mod-network, luci-app-firewall: migrate luci/getHostHints
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:03:33 +01:00
Jo-Philipp Wich
5ff35d8be4
luci-base, luci-mod-network: migrate luci/getDHCPLeases to C plugin
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:03:33 +01:00
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
Yousong Zhou
7908b2b71c
treewide: fix query arguments to admin/system/opkg
...
Right now the handler only recognizes "query=xx" argument, others will
be ignored.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01 05:04:51 +00:00
Yousong Zhou
85b67625f7
treewide: fix redirecting to System->Software
...
By replacing url "admin/system/packages" with "admin/system/opkg"
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01 05:04:49 +00:00
Florian Eckert
3b9ba0210e
luci-base: use default poll interval
...
Replace all XHR poll time number with -1 so they will use the default
poll interval time value from "/etc/config/luci". If this is not set then
5 seconds as default is used.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-20 10:20:23 +01:00
Jo-Philipp Wich
5c98bad93b
Merge pull request #2309 from rbalik/patch-1
...
luci-mod-network: Add DAE settings to security tab
2018-11-27 23:43:23 +01:00
Hannu Nyman
26e903c740
luci-mod-network: adapt to current 802.11r defaults
...
The default for 802.11r option ft_psk_generate_local
was changed a few months ago by openwrt/openwrt@3cc56a5
That change was a bit awkward, as it made hostapd to
overlook the possibly existing r0kh values by default
unless the user explicitly disables the new default.
Adapt LuCI by changing the default for ft_psk_generate_local
into 'enabled'.
But ensure that LuCI does not delete the existing key values
by not making the r0kh and r1kh fields to depend on this.
Note that this is just a quick fix for the wrong default value
causing problems, but not yet a complete fix for all the options.
In the long run it might be better to make the detail options
to depend on local generation.
Reference also to LuCI PR #2102
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-25 09:00:35 +02:00
Jo-Philipp Wich
548281773d
luci-mod-network: remove debug code from iface_status.js
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-24 21:32:33 +01:00
Jo-Philipp Wich
4bd7f4ba42
luci-mod-network: move wifi and iface status JS into external files
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:47:44 +01:00
Jo-Philipp Wich
f73dc51ea1
luci-mod-network: move wifi scan JS into external file
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:44:18 +01:00
Jo-Philipp Wich
b80cea293e
luci-mod-network: wifi scan CSS tweaks
...
Hide less important fields for mobile views.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:11:28 +01:00
Anton Kikin
c7a3c5cccc
luci-mod-network: fix invalid translate() argument pass
...
We must pass to the translate() a string without substituted zone name.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-11-23 00:46:51 +03:00
Jo-Philipp Wich
a03ec60696
luci-mod-network: move wifi overview markup and JS code into external files
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:58:34 +01:00
Jo-Philipp Wich
f598b10c49
luci-mod-network: move interface overview JS into external file
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:58:34 +01:00
Reuben Balik
6f53654a58
luci-mod-network: Add DAE settings to security tab
...
Signed-off-by: Reuben Balik <rsbalik@gmail.com>
2018-11-19 17:43:10 -06:00
Darius
7bffa401ff
luci-mod-network: function name mismatch fixed
...
Signed-off-by: Darius <jok.darius@gmail.com>
2018-11-15 08:41:59 +01:00
Jo-Philipp Wich
f1efd71ba0
luci-mod-network: require unique MACs for DHCP leases
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:59:26 +01:00
Kevin Darbyshire-Bryant
2e37a8ba10
luci-mod-admin-full: dnsmasq clarify non-wildcard mode
...
'non-wildcard' interfaces enables dnsmasq's '--bind-dynamic' mode.
This binds dynamically to interfaces rather than wildcard addresses
*and* keeps track of interface comings/goings via a unique Linux api.
Quoting dnsmasq's author "bind-dynamic (bind individual addresses,
keep up with changes in interface config) ... On linux, there's actually
no sane reason not to use --bind-dynamic, and it's only not the default
for historical reasons."
listen/exclude interfaces may be used independently of bind dynamic mode
so removed the bogus dependency of 'nonwildcard' enabling access to
'listen/exclude' interfaces - they may be used in any mode.. In fact
the dnsmasq init script takes notice of include/exclude interfaces
irrespective of the 'nonwildcard' parameter.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-11-12 15:38:36 +00:00
Jo-Philipp Wich
a6d96e0716
luci-mod-network: move AHCP protocol model to AHCP application
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05 11:19:52 +01:00
yangfl
645a555f39
luci-mod-network: show bridges in ifacelist when the interface itself is not a bridge
...
It's completely OK to select a bridge as the underlying interface of
other interfaces, say a tunnel or PPPoE. The only case which should be
forbidden is bridge over bridge.
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-10 13:16:57 +08:00
Ansuel Smith
7d09ee81a0
luci-app-network: add rekey option and inactivity tweak
...
This option is usefull to solve some problems with ath10k-ct and random client disconnect. This also adds some extra option to tune inactivity settings
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-29 22:10:57 +02:00
Florian Eckert
99ebb788cf
luci-mod-network: disable setup on new wifi-iface add
...
If we add a new wifi-iface to the config then the iface will start at once.
But normaly we would configure the wireless security in the next step.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-24 11:28:51 +02:00
Daniel F. Dickinson
58d97b5e27
modules: Split luci-mod-full
...
Move some common elements to luci-base, and otherwise make three
packages out of status, system, and network. They were mostly
separated already, but there were some shared elements between
status and network that are now in luci-base.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-09-19 20:08:19 +02:00