summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs
AgeCommit message (Collapse)Author
2020-12-23luci-mod-network: restrict legacy_rates option to hwmode 11gJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-12-21Merge pull request #4649 from nicklowe/masterFlorian Eckert
luci-mod-network Add description: Hidden SSID, WMM
2020-12-12luci-mod-network: properly handle wireless devices when adding interfacesJo-Philipp Wich
Wireless device names must not be added as list/option ifname, but the network must be backreferenced in config wifi-iface instead in these cases. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-12-09luci-mod-network Add description: Hidden SSID, WMMNick Lowe
luci-mod-network Describe issues: Hidden SSID, WMM The performance and reliability implications of hiding SSIDs or disabling WMM are not commonly known and these settings often end up being misconfigured to harmful effect. To seek to mitigate this, add descriptions explaining that: Where the ESSID is hidden, clients may fail to roam and airtime efficiency may be significantly reduced. Where Wi-Fi Multimedia (WMM) Mode QoS is disabled, clients may be limited to 802.11a/802.11g rates. Signed-off-by: Nick Lowe <nick.lowe@gmail.com>
2020-12-06luci-mod-network: wireless.js Disable 802.11b by defaultNick Lowe
The time has long come where 802.11b DSSS/CCK data rates should be disabled By default in OpenWRT. Users in need of 802.11b client support can reasonably enable these where they are needed. The balance of equities has significantly, and for a long time, tipped such that dropping backwards compatibility by default with 802.11b devices is appropriate, proportionate and justified. By doing so, management and control traffic is moved by default to a 20 MHz wide 6 Mb/s OFDM data rate instead of a 22 MHz wide 1 Mb/s DSSS data rate. This is significantly more airtime efficient. For discoverability: 1) Move the option from the Advanced Settings to the General Setup tab. 2) Add a description explaining potential compatibility implications. Signed-off-by: Nick Lowe <nick.lowe@gmail.com>
2020-12-01luci-mod-network: wireless.js cell_density supportNick Lowe
Add support for the cell_density option added to OpenWRT via commit: 81ff23fc91dbbedc374e58afdb4b0b13146c0f15 This configures data rates based on the coverage cell density. Normal configures basic rates to 6, 12, 24 Mbps if legacy 802.11b rates are not used else to 5.5, 11 Mbps. High configures basic rates to 12, 24 Mbps if legacy 802.11b rates are not used else to the 11 Mbps rate. Very High configures 24 Mbps as the basic rate. Supported rates lower than the minimum basic rate are not offered. Signed-off-by: Nick Lowe <nick.lowe@gmail.com>
2020-11-27treewide: transition div tables to actual table markupJo-Philipp Wich
Modern browsers allow decomposing table markup equally well as nested div constructs, therefor migrate our <div> table markup to actual <table> tags but keep the old table/tr/th/td CSS classes for now to allow for a smooth theme transition. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-11-01luci-mod-network: require ssid when join hidden wifiAnsuel Smith
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>
2020-11-01luci-mod-network: fix SAE/WPA check on network joinJo-Philipp Wich
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>
2020-11-01Merge pull request #4561 from Ansuel/fix-enc-apJo-Philipp Wich
Fix one display bug for ap join and #4524
2020-11-01luci-mod-network: fix logic bug in parse enc for network joinAnsuel Smith
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>
2020-11-01luci-mod-network: use createHanleFn for handleJoin functionAnsuel Smith
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>
2020-10-30Merge pull request #4508 from Ansuel/wpscontrolJo-Philipp Wich
luci-mod-status: add WPS control for wifi info
2020-10-11luci-mod-network: check directly if hostapd supports wpsAnsuel Smith
Wps Push Button feature is now supported directly from ubus instead of using hostapd_cli. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-08luci-mod-network: handle multiple mac for static leaseAnsuel Smith
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>
2020-09-14Merge pull request #3265 from najdanovicivan/patch-2Florian Eckert
luci-mod-network: add address parameter in DHCP for dnsmasq
2020-06-16Merge pull request #4127 from blocktrron/luci-wep-featuresJo-Philipp Wich
luci-mod-network: query WEP support
2020-06-12luci-mod-network: diagnostics.js: pass IP version flag to ping/ping6William Fleurant
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2020-06-01luci-mod-network: query support for WEPDavid Bauer
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-05-17luci-mod-network: allow literal "auto" value for distanceJo-Philipp Wich
Fixes: #4050 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-13luci-mod-network: fix reading static route table valueJo-Philipp Wich
Ref: https://forum.openwrt.org/t/static-route-shows-incorrect-table/63514 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-network: wireless.js: disable action buttons on insufficient ACLsJo-Philipp Wich
Also implement disabled state in custom frequency select widget. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-network: interfaces.js: disable action buttons on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11luci-mod-network: dhcp.js: allow lease hostname to be emptyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11luci-mod-network: dhcp.js: fix validation logicJo-Philipp Wich
The `server` option allows plain IPs besides the `/domain/addr` format. Fixes: #3870 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-07luci-base, luci-mod-network: adjust ZoneSelect / NetworkSelect descriptionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03treewide: import utility classes explicitlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-02luci-mod-network: rework signal badge disabled stateJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-01luci-mod-wireless: avoid signal badge wrapping in scan listJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-26luci-mod-network: add WPA3-EAP and mixed WPA2/WPA3-EAP settingsJo-Philipp Wich
Fixes: #3363 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-24luci-mod-network, luci-mod-status: allow assoclist wrappingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit a600ebb5fe14b13cb53669eb73b86f66cc699e94)
2020-03-23luci-mod-network: dhcp.js: properly validate hostname valuesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23luci-mod-network: adjust assoclist markup for easier stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23luci-mod-network: diagnostics.css: use .btn CSS class for buttonsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-21luci-mod-network: interfaces.js: add global packet steering optionAlan Swanson
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-03luci-mod-network: extended interfaces.js for check if new interface is ↵Helge Mader
createable Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-03-02luci-mod-network: switch.js: fix internal port orderingJo-Philipp Wich
Fixes: #3709 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-02luci-mod-network: fix typoFranco Castillo
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2020-03-01luci-mod-network: properly handle "no signal" and "disabled" in signal badgesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-mod-network: wifi join: allow reclaiming empty wwan networksJo-Philipp Wich
Fixes: #3660 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-mod-network: wifi join: add option to lock bssidJo-Philipp Wich
Fixes: #3661 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-mod-network: wifi scan: add button to start/stop refreshesJo-Philipp Wich
Fixes: #3662 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-mod-network: explicitely configure "none" encryption in wifi joinJo-Philipp Wich
Fixes: #3663 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-17luci-mod-network, luci-mod-status: harmonize wifi signal indicatorsJo-Philipp Wich
Fixes: #3636 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31luci-mod-network: dhcp.js: adjust resolvfile placeholder to OpenWrt defaultJo-Philipp Wich
Ref: https://github.com/openwrt/luci/commit/5d15363408d263fccae90b3b7ab0ebac6329eebb#commitcomment-37059122 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31luci-mod-network: dhcp.js: fix resolvefile option dependsJo-Philipp Wich
Ref: https://forum.openwrt.org/t/resolvfile-option-not-showing/54229 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-28luci-mod-network: handle missing switch port state informationJo-Philipp Wich
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-17luci-mod-network: Add Address parameter in DHCPNajdanovic Ivan
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-16luci-mod-network: fix missing semicolonsDavid Lam
Corrects missing semicolons from the previous commit. Signed-off-by: David Lam <david@thedavid.net>
2020-01-16luci-mod-network: add system cert bundle validationDavid Lam
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>