Commit Graph

373 Commits

Author SHA1 Message Date
Tim Wilkinson 83c5243bb6
Fix dmz dhcp values (#1664) 2024-10-31 18:40:43 -07:00
Tim Wilkinson 07d4b8d3e0
Migrate services files into uci setup config (#1650) 2024-10-28 16:37:06 -07:00
Tim Wilkinson e49dd7e73c
De-dup dmz_mode (was being stored in two places) (#1656) 2024-10-27 21:29:29 -07:00
Tim Wilkinson f153b79e05
Provide UI for the wifi watchdog system. (#1655) 2024-10-27 15:02:54 -07:00
Tim Wilkinson 2a9a0528db
Bugfixes for alt networks and larger dhcp ranges (#1652) 2024-10-26 21:37:35 -07:00
Tim Wilkinson a37b3f81bc
Enable alternate LAN configurations (#1548)
* Enable AltNet support

* Fix pattern

* Remove dhcp_limit

* Rework LAN start/end for larger or smaller subnets

* Improve subtext help around settings

* Whitespace
2024-10-25 20:45:54 -07:00
Tim Wilkinson 273218864d
Migrate _setup into standard uci format (#1647) 2024-10-24 21:00:16 -07:00
Tim Wilkinson 7d9ac7e8f4
Add Tupavco antenna (#1646)
* Add Tupavco TP511

* Fix model number
2024-10-23 23:15:39 -07:00
Tim Wilkinson 1edfae6dae
Mark bandwidths invalid on various devices (rather than marking what is valid) (#1639)
* Mark bandwidths invalid on various devices (rather than marking
what is valid)

* Typo
2024-10-17 12:54:54 -07:00
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