Commit graph

108 commits

Author SHA1 Message Date
Karl Palsson
ccc9970c24 wifi_add: help text should match reality
An additonal network is created if the box _is_ checked.
2016-09-23 17:05:47 +00:00
Karl Palsson
0bea4d17e6 wifi_add: show the SSID of the network being joined.
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>
2016-09-23 17:05:40 +00:00
Hannu Nyman
107b3c7def luci-mod-admin-full: tweak checksum item presentation
Simplify the sysupgrade image checksum strings in order to
avoid translating "Checksum xxx" items both for MD5 and SHA256.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-24 11:46:20 +03:00
Hannu Nyman
c0af3601fb luci-mod-admin-full: show also sha256 checksum for sysupgrade images
Show also the sha256 checksum in addition to MD5 checksum to enable
image verification also for builds with only sha256 checksums.

If the 'sha256sum' command is not present in the system, the value
remains empty.

Note: The easiest way to get the 'sha256sum' command is to compile it
into busybox.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-19 11:08:24 +03:00
Jo-Philipp Wich
19981732fc luci-mod-admin-full: properly skip over unused switch ports
Fix incomplete port status display on vlan setup page when ports in the middle
are not used, e.g. some Lantiq boards use ports 0, 1, 2 and 4 for LAN ports so
JS code should not attempt to reference an undefined status element for port 3.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-18 10:02:53 +02:00
Jo-Philipp Wich
c390a09cea luci-mod-admin-full: fallback to generic switch topology
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>
2016-08-18 09:23:32 +02:00
Jo-Philipp Wich
3ea9c85ed6 luci-mod-admin-full: use switch toplogy information for vlan setup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-15 17:57:06 +02:00
Jo-Philipp Wich
bd4534496a luci-mod-admin-full: status page formatting fix
Display a question mark for undefined SSID and BSSID strings.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-04 11:45:30 +02:00
Jo-Philipp Wich
1367f7b624 luci-mod-admin-full: fix net diagnostics with missing config
Gracefully handle a missing diag section in /etc/config/luci when rendering
the network diagnostics tool page.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-31 16:00:09 +02:00
Florian Eckert
8b07a65117 luci-mod-admin-full: make diagnostics url customizable
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2016-07-29 08:21:23 +02:00
Jo-Philipp Wich
6be690473b Merge pull request #743 from HenryGiraldo/master
Closes #741: Can't delete disabled wireless networks
2016-07-08 15:18:21 +02:00
John Crispin
ce3eb113f4 luci-mod-admin-full: add log_file and log_proto support
Signed-off-by: John Crispin <john@phrozen.org>
[Jo-Philipp Wich: remove file datatype constraint]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-30 11:54:53 +02:00
Enrique Giraldo
5e1f2a1b58 Closes #741: Can't delete disabled wireless networks
When a wireless network is disabled it can't be removed. From
wifi_overview.htm the delete call is generated as wlan0, wlan1 or
whatever. This wlan is not working because it is disabled, then LuCI
deletes the virtual radio which really is named as wlan0.
2016-06-16 15:08:36 +02:00
Hannu Nyman
cc801de89c luci-mod-admin-full/mini: replace Wifi with Wireless in menus
Replace the menu item "Wifi" by "Wireless",
which is already used for page and section headings

This closes #695

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-09 11:55:20 +03:00
Guido Lipke
350ace2524 luci-mod-admin-full: Look also if the file /etc/config/fstab exists.
This pull request adds a condition, which checks whether the file "/etc/config/fstab" exists before it allows access to "mount points".

Signed-off-by: Guido Lipke <lipkegu@gmail.com>
2016-05-23 13:16:04 +02:00
Hannu Nyman
219e52ee8e Merge pull request #703 from t0t3m1n/fix_snr
luci-mod-admin-full: fix wrong dsl stats visualization
2016-05-02 11:01:27 +03:00
Hannu Nyman
b9dbf1bc2c luci-mod-admin-full: dnsmasq options quietdhcp and sequential_ip
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>
2016-05-01 23:30:29 +03:00
Luca Debernardi
0490374445 luci-mod-admin-full: fix wrong dsl stats visualization
This patch fixes the wrong visualization of Noise Margin (SNR) and Signal Attenuation (SATN) stats

Signed-off-by: Luca Debernardi <luca.debernardi@gmail.com>
2016-04-18 21:21:59 +02:00
Kevin O'Connor
d50d11ad52 luci-mod-admin-full: Add option to set anonymous_identity field
Add support for setting the "anonymous_identity" field on EAP type
networks.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-04-07 12:09:00 -04:00
Hannu Nyman
854dd66917 Merge pull request #681 from cshore/pull-request-wifi-interface-name
luci-mod-admin-full: Add option to set wireless interface name
2016-03-29 15:44:48 +03:00
Hannu Nyman
315a54b89c Merge pull request #680 from cshore/pull-request-dnsmasq-options
luci-mod-admin-full: various dnsmasq options
2016-03-29 15:42:45 +03:00
Daniel Dickinson
e54a68e26a luci-mod-admin-full: Add option to set wireless interface name
With mac80211 you can set the wireless interface;
expose this capability.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
2016-03-25 03:17:54 -04:00
Daniel Dickinson
3fd9bbacca luci-mod-admin-full: various dnsmasq options
Add some missing dnsmasq options.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
2016-03-25 03:14:45 -04:00
Daniel Dickinson
7fcf4fcecd luci-mod-admin-full: Add DNSSEC dnsmasq option
If dnsmasq with DNSSEC support is enabled, display options
to enable DNSSEC.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
2016-03-25 03:09:59 -04:00
Hannu Nyman
5b79e62c0a luci-mod-admin-full: Enable reset in Luci also for ubi
Enable reset in LuCI also for ubi based firmwares.

This closes #672

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-03-23 16:58:14 +02:00
Hannu Nyman
355c21304a luci-mod-admin-full: Fix dhcpv6 ra_management option stateless value
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>
2016-03-19 15:38:41 +02:00
Florian Eckert
175ae35d87 luci-mod-admin-full: allow writing empty crontab config
Write an empty crontab file to remove all content
from file /etc/crontabs/root

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2016-03-17 16:30:25 +01:00
Jo-Philipp Wich
362db10f88 luci-mod-admin-full: add sleep before sysupgrade
- Under some conditions the system will shutdown
  uhttpd before the page will be delivered to
  the client. Waiting one second should eleminate
  this behaviour.

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-03-17 15:55:23 +01:00
Hannu Nyman
a77ff30057 Add support for showing ipv6 NAT table in Luci
When kmod-nf-nat6 and kmod-ipt-nat6 are installed, the firewall has also
the 'nat' table for ipv6, and packages like 'adblock' utilize that table.

Currently that table is not shown on the Luci firewall status page,
although it is visible by 'ip6tables -L -v -t nat' from console.

Detect 'nat' table's presence from /proc/net/ip6_tables_names

Show 'nat' table in Status->Firewall->IPv6 if that table is present.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-03-16 15:50:00 +02:00
Hauke Mehrtens
c3711b3a44 luci-mod-admin-full: add dsl configuration
This makes it possible to configure the DSL line from luci.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-03-07 20:59:19 +01:00
Hauke Mehrtens
bedac198e5 luci-mod-admin-full: extend dsl stats
This adds a lot of new status information about the dsl line.
It now looks like this on a Telekom line:

Status: UP
Line State: showtime_tc_sync [0x801]
Line Mode: G.993.2 (VDSL2)
Annex: B
Profile: 17a
Data Rate: 51.391 Mb/s / 10.046 Mb/s
Max. Attainable Data Rate (ATTNDR): 63.817 Mb/s / 23.908 Mb/s
Latency: 4.0 ms / 8.0 ms
Line Attenuation (LATN): 10.5 dB / 9.9 dB
Signal Attenuation (SATN): 8.2 dB / 14.4 dB
Noise Margin (SNR): 10.5 dB / 9.7 dB
Aggregate Transmit Power(ACTATP): -14 dB / 12.4 dB
Forward Error Correction Seconds (FECS): 1 / 1723485
Errored seconds (ES): 0 / 2477
Severely Errored Seconds (SES): 0 / 50
Loss of Signal Seconds (LOSS): 0 / 0
Unavailable Seconds (UAS): 31 / 31
Header Error Code Errors (HEC): 0 / 0
Non Pre-emtive CRC errors (CRC_P): 0 / 0
Pre-emtive CRC errors (CRCP_P): 0 / 0
Line Uptime: 2m 3s
ATU-C System Vendor ID: Broadcom 176.15
Power Management Mode: L0 - Synchronized

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-03-07 20:59:01 +01:00
Hauke Mehrtens
d7a3a3da5c luci-mod-admin-full: rename ADSL to DSL
This could also be a VDSL link

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-03-07 20:58:54 +01:00
Hannu Nyman
dd0848b3fa luci-mod-admin-full: host-specific dhcp lease time option for static hosts
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>
2016-02-26 13:48:36 +02:00
Jo-Philipp Wich
4990ec831c luci-mod-admin-full: fix direct package install
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 13:42:56 +01:00
matthewreeve
4074440529 Identity field is required for EAP-TLS, too.
This patch enables editing the Identity field in EAP-TLS so that EAP-TLS configuration via LuCI works.
2016-02-01 17:40:32 -07:00
Jo-Philipp Wich
445ae20db8 luci-mod-admin-full: only offer VHT rates which are actually supported by the driver
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-25 18:16:37 +01:00
Jo-Philipp Wich
02a93bca50 luci-mod-admin-full: map DHCPv6 DUIDs to MACs
Map DUIDs to their corresponding MAC addresses in order to correlate them with
IPv4 information. This is useful to e.g. identify IPv6 hosts which do not send
a name.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-25 17:54:44 +01:00
Jo-Philipp Wich
4f47a18bb1 luci-mod-admin-full: fix displaying of VHT rates (#533)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-25 17:07:40 +01:00
Jo-Philipp Wich
63d70daae1 luci-mod-admin-full: align assoclist in wifi overview with status index page
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 17:29:40 +01:00
Jo-Philipp Wich
258836441b luci-mod-admin-full: show more information in assoc list (#540)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 16:59:31 +01:00
Jo-Philipp Wich
e0988b089b luci-mod-admin-full: fix device selection in wireless and bandwidth realtime stats
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 13:45:27 +01:00
Jo-Philipp Wich
e03f2b780a luci-mod-admin-full: fx crash in interface model
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 10:52:37 +01:00
Jo-Philipp Wich
8630a1dbfb Merge pull request #626 from dangowrt/improve-wpa-eap
luci-admin-full: improve WPA(2)-Enterprise client support
2016-01-19 11:08:46 +01:00
Daniel Golle
7b2cef8936 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>
2016-01-19 10:54:39 +01:00
Jo-Philipp Wich
718466ea76 luci-mod-admin-full: prevent crash if channel of sta is unknown (#624)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-17 19:04:02 +01:00
Jo-Philipp Wich
12ec21d744 luci-mod-admin-full: avoid indexing iw.hwmodelist directly
Prevent a nil field access when hwmodelist is undefined.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-15 14:13:44 +01:00
Hannu Nyman
e42e5f5865 luci-mod-admin-full: interface status page / clarify address display
Copy the changes made by f8d0ba00b2
also to the interface details pages in order to clarify display of
multiple addresses.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-18 20:38:08 +02:00
Daniel Dickinson
c481f3f343 validation: Add option ipv4only option to host and hostport datatypes
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.
2015-12-15 20:41:01 -05:00
Alexander Logger
f8d0ba00b2 luci-mod-admin-full: update IPv4/IPv6 list views
For better view of 'Interface Overview' IPv4/IPv6 addresses for
interfaces should be displayed as lists, but not as comma separated
strings.

Signed-off-by: Alexander Logger <intagger@gmail.com>
2015-12-08 21:20:11 +03:00
Daniel Dickinson
1d5cab4ced luci-mod-admin-full: fstab: Add ability to redo the detection of block devices
Adds a button that does block detect and write the new configuration
to /etc/config/fstab.
2015-12-02 02:17:20 -05:00