Commit Graph

364 Commits

Author SHA1 Message Date
Tim Wilkinson a996461ef8
Support wider channels (more) (#1635)
* Only offer wider channels on ath10k radios

* Add bws for hap2 & hap3
2024-10-16 18:04:36 -07:00
Tim Wilkinson ef7c6bed68
Support wider channels (experimental) (#1631)
* Add support for 40 and 80 MHz channels if chipset supports it

* Add bws were we need to specify them manually
2024-10-15 21:29:57 -07:00
Tim Wilkinson 23e69c5e7f
Dont recreate http permissions (unused) (#1624) 2024-10-12 12:44:42 -07:00
Tim Wilkinson b3259f0d44
Deprecate old UI (#1552)
* Remove old UI

* Remove old ui link from new ui

* Remove unused library

* Trim luci.http

* Remove old firmware path

* Remove protected pages that no longer exist
2024-10-11 23:03:20 -07:00
Tim Wilkinson 976c3ec1e1
Improve initial node setup (#1590)
* Improve the initial nrvam setup

* More fallbacks

* Rebuild the initial setup and upgrade of a node.
This is mostly about removing duplicated effort and data, which should
make it easier to add things in the future.

* Re-setup and repair the node on each reboot.
By running this every time we reboot, we have a chance to repair problems in the configuration
automatically. We can detect changes and force a reboot only when necessary.

* Improve startup and upgrade

* Remove debug delays

* Move after telnet (for emergency access)

* Ignore ubootenv file when diffing
2024-10-08 21:08:01 -07:00
Brett T. Warden 65b09ab8b7
Periodically sync time if continuous ntpd is unsynchronized (#1611)
When update-clock is run periodically, if ntpd is running continuously,
check whether it is actually in sync, as measured by a reported stratum
of less than 16.

If it's not in sync, run the full manual clock sync algorithm otherwise
used for our periodic-only synchronization.

This should help with hosts that expect to synchronize from an NTP server
on the internet, for example, when they've temporarily lost the internet
connection. Or alternately, if configured to use a mesh-based NTP server
that has disappeared from the mesh.
2024-10-08 21:01:45 -07:00
Tim Wilkinson b627a6f63d
Add secondary ntp server option (#1583) 2024-10-08 20:57:58 -07:00
Tim Wilkinson 1505d61871
Add user agents (containing firmware version info) to package and firmware updates (#1593)
* Add user-agent to opkg

* Firmware update user agent
2024-10-02 22:10:47 -07:00
Tim Wilkinson 970ac97ad0
User firewall rules were not being kept across upgrades (#1512) 2024-09-15 12:46:50 -07:00
Tim Wilkinson c0e154794b
Fix local supernode locator (#1503) 2024-09-13 16:02:32 -07:00
Tim Wilkinson 052f0320a6
Remove race condition when counting base packages (#1493) 2024-09-12 09:37:33 -07:00
Tim Wilkinson 499599de20
Fix assignment typos (accidental whitespace) (#1488) 2024-09-10 16:59:05 -07:00
Tim Wilkinson 94ef43cf69
Make sure wireguard firewall is always on (#1486) 2024-09-10 15:56:25 -07:00
Tim Wilkinson f616777111
Fix NTP problems. (#1457)
Bug: Changing the NTP setting in the new UI did nothing. Now it does.
Feature: Add 'continually' mode which is traditional always running NTP.
 Dont use on nodes with limited RAM.
2024-09-03 15:53:33 -07:00
Tim Wilkinson 1b6a5ae1ed
Fix themes and resource caching (#1443)
* Fix themes

* Meshpage resource namechange
2024-09-01 21:25:31 -07:00
Tim Wilkinson 2cd71ee923
Fixes for setting static network config (#1435)
* Add missing required fields to static WAN setup

* Dont display 'null' for missing wan fields

* Provide default static wan addresses otherwise the new UI cant set them
2024-08-30 17:29:28 -07:00
Tim Wilkinson b0d8863765
Manage lock clash when reinstalling packages. (#1432)
The UI uses opkg to check package status which can cause a lock clash
if the reinstall script is running. Retry opkg commands in the script
if this happens, and also avoid reading package status in the UI until
the reinstall is complete.
2024-08-30 12:13:58 -07:00
Tim Wilkinson 7d1d2adf39
Update PBE-5AC display name (#1392) 2024-08-24 22:42:01 -07:00
Tim Wilkinson c7d942af6d
Dont remove the old firmware path (yet) (#1375) 2024-08-22 22:01:14 -07:00
Tim Wilkinson c06642949a
Support 24 hour clock display (#1275) 2024-08-16 15:59:13 -07:00
Tim Wilkinson 0432bf3165
New UI (#1263)
* New UI

* Fix gzip filename race condition

* Fix scrolling on first use page
2024-08-15 20:28:45 -07:00
Tim Wilkinson 8d4eadee53
Rebuild the NAT version of the firewall (#1243)
* New fireware configuration for NATed LAN.

* Fix ip rule
2024-06-17 15:24:57 -07:00
Tim Wilkinson 299645583c
Fetch routes from kernel rather than OLSR (#1235)
* Fetch routes from kernel rather than OLSR
Fix xlink detection

* Fix commit
2024-06-01 17:32:38 -07:00
Tim Wilkinson fde3b08367
Find the closest supernode, not the first (#1229)
* Find the closest supernode, not the first

* Support DNS queries coming from the supernode network
2024-05-29 19:59:29 -07:00
Tim Wilkinson 4717ab051c
Drop default quality (#1227)
We calculate quality differently (ie. correctly) so drop the default
minimum to avoid too many nasty suprises.
2024-05-29 16:44:00 -07:00
Tim Wilkinson c0d38a4e89
Update registered trademarks (#1225) 2024-05-29 00:45:25 -07:00
Tim Wilkinson 32e35ce88c
Fix forwarding between xlink and dtd (#1226) 2024-05-29 00:45:13 -07:00
Tim Wilkinson 2f1684a218
Rework the firewall for tunnels and xlinks to allow port forwarding. (#1220) 2024-05-26 16:41:18 -07:00
Tim Wilkinson 2509ebdf3b
Fix check-services which failed when services reduced to 0 (#1212) 2024-05-21 21:02:47 -07:00
Tim Wilkinson d92876dccf
DHCP was not always starting on the lan interface like we need it to. (#1213) 2024-05-21 21:02:28 -07:00
Tim Wilkinson f7f31c8237
More antennas (#1209) 2024-05-20 22:10:02 -07:00
Tim Wilkinson b495f4e62b
Mikrotik dish (#1205) 2024-05-14 23:13:51 -07:00
Paul K3PGM cf3ef93b53
Add some missing antenna definitions for older Ubiquiti radios. (#1185)
* Add some missing antenna definitions for older Ubiquiti radios.

* Fix copy/paste error (sigh...)
2024-04-29 08:56:18 -07:00
Tim Wilkinson d261ebe334
Add gl-ar300m nand definition to radios.json (#1169) 2024-04-20 22:43:35 -07:00
Paul K3PGM 3fee4eadae
Add antenna and TX-power definitions for GL-B1300. (#1151) 2024-04-03 15:01:43 -07:00
Tim Wilkinson d8b85d5b4a
Fix library requires (#1147)
* Another attempt to stop the mesh page from being truncated sometimes

* Fix originator

* Fix the require(...) libraries
2024-04-01 22:15:45 -07:00
Tim Wilkinson 145a2a38e8
Add 'None' antenna so we can unset the defined antenna (#1142) 2024-03-29 22:32:49 -07:00
Tim Wilkinson d111d82549
Provide /metrics using alias (no more /cgi-bin/metrics) (#1140) 2024-03-29 15:41:48 -07:00
Tim Wilkinson c7f79de97a
Add aux antenna support (#1136) 2024-03-29 12:25:04 -07:00
Tim Wilkinson 8e751dcb62
Half the OLSR maintenance traffic (#1130) 2024-03-27 17:01:00 -07:00
Tim Wilkinson 62a6959378
Collapse QEMU and VMWARE hardware into two basic types (#1091) 2024-02-05 11:51:43 -08:00
Tim Wilkinson f3de5785a0
Validate network override configs (#1085)
* Validate network override configs

* Extra vlans
2024-01-30 13:25:37 -08:00
Tim Wilkinson 40dbe7e547
Support for mANTbox 2 12s (#1083)
* Add routerboard-911g-2hpnd-12s

* Fix procd for devices without /dev/console

* Disable console reset in kernel
2024-01-24 19:28:36 -08:00
Tim Wilkinson 1c72b145f6
Support for GL.iNet E750 (#1079)
* Support for GL.iNet E750
2024-01-22 20:22:27 -08:00
Paul K3PGM 4e35b2f0c6
First draft of advanced DHCP option specification on Ports tab. (#1073)
* First draft of advanced DHCP option specification on Ports tab.

Allows the node administrator to specify additional DHCP options that
will be supplied to LAN clients in specific circumstances. This change
adds two tables to the Ports configuration tab.

The "Tags for Advanced DHCP Options" table allows the administrator to
specify DHCP tags that will be assigned to clients that identify
themselves with specific values for properties such as Vendor Class or
MAC address.

The "Advanced DHCP Options" table allows the administrator to specify
arbitrary DHCP options to send to any client, or only to clients with a
specific tag. Option numbers can be entered directly or chosen from a
list of well-known options. Option values are manually entered by the
administrator.

In-browser validation is implemented for all input fields with easily
recognizable content such as host names, MAC addresses, and port and
option numbers. Placeholders are also supplied for input fields, such as
MAC addresses with wildcard matching, that might otherwise be difficult
to describe.

Issues with the current version:
- Sending DHCP options not requested by the client is implemented using
the dhcp_option_force UCI configuration option, but does not currently
work.
- Tagging by client host name is supported by dnsmasq, but not yet by
UCI.
- DHCP option values must be entered manually by the administrator, but
are not currently validated.

* Better validation, placeholders, and hints for existing input fields.

* Remove junk accidentally inserted in comment.

* Preserve Advanced DHCP options across updates.
2024-01-21 17:25:16 -08:00
Tim Wilkinson d75a463a50
Support Litebeam 5AC LR (#1071) 2024-01-18 15:07:02 -08:00
CoolAEW 6be27bf138
Added external antenna and (XM) destinction to boardID 0xe2b5 (#1069) 2024-01-17 14:03:16 -08:00
CoolAEW 1ca9b4d201
Added antennas to Ubiquiti NanoBridge M5 (#1065)
* Added NanoBridge M5 antennas

* Changed NanoBridge M5 to use external antenna
2024-01-16 10:09:10 -08:00
Tim Wilkinson e486a61cc8
Wireguard support - take 2. (#1056) 2024-01-07 16:17:52 -08:00
Tim Wilkinson 185d6e0abf
Fix host checking (#1052)
* Fix host checking

* nameserver -> nameservice
2024-01-03 00:45:49 -08:00