Commit Graph

583 Commits

Author SHA1 Message Date
Tim Wilkinson 83c8dc2d17
Improve detection and display of services and devices (#1683)
* Improve timeliness of periodic tasks

* Improve device and service detection
2024-11-10 18:12:49 -08:00
Tim Wilkinson 722b13288e
Fix bug in first install/boot (#1677) 2024-11-06 14:55:01 -08:00
Tim Wilkinson e9c503e8d0
Calculate physical device by hand (#1676) 2024-11-05 16:42:01 -08:00
Tim Wilkinson f4b949fa68
Add pseudo services for Local Devices (#1665)
* Add pseudo services for Local Devices

* Whitespace
2024-11-01 08:43:17 -07:00
Tim Wilkinson 83c5243bb6
Fix dmz dhcp values (#1664) 2024-10-31 18:40:43 -07:00
Tim Wilkinson 1a49da92ea
Fix migration of services on nodes without any services (#1660)
* Fix migration of services on nodes without any services

* Correctly handle first creation and last deletion.
2024-10-29 09:48:00 -07:00
Tim Wilkinson 07d4b8d3e0
Migrate services files into uci setup config (#1650) 2024-10-28 16:37:06 -07:00
Tim Wilkinson 4483384b8a
Remove setting old dmz value (#1657)
* Remove setting old dmz value (missed checkin)

* Fix firewall nat check
2024-10-27 22:30:04 -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 ff6659fed8
Fixes for blank variables breaking upgrades (#1654) 2024-10-27 14:59:38 -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 a814f8b0ac
Add locking around operations which change the configuration. (#1644)
* Add locking around operations which change the configuration.
Avoid any potential race conditions when changing the configuration
by putting a lock around any non-GET operations.

* Add a sync before a 'reboot' operation
2024-10-23 18:32:48 -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 1464d61faf
Add topology info to sysinfo.json (#1637) 2024-10-16 18:04:52 -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 64a91caa2c
Improve startup of LQM so we get some information early (#1632)
* Improve startup of LQM so we get some information early

* Display device information earlier
2024-10-16 18:04:24 -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 24b4cf7376
VHT support (experimental) (#1630)
* Add VHT support for AC devices

* Fix scanner

* Improve AC detection

* Extra VHT modes (for if we ever allow a radio to select them)
2024-10-14 15:05:53 -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 a8b85066eb
Improve detection of disconnected nodes (#1617) 2024-10-11 09:29:18 -07:00
Tim Wilkinson 4e196969d7
Nightly build fixes 20241009 (#1613)
* Nightly build fixes.
Restarting the nightly build with many changes resulted in updates
failing to be applied on some hardware platforms. This resulted in nodes
reverting to first use state. These changes fixes those problems.

* Fix authentication
2024-10-09 14:45:37 -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
Tim Wilkinson 189845fa7f
Backup and Restore node configurations (#1597)
* Back and Restore node configurations

* Give backups their own file extension

* Add some backup/restore help
2024-10-08 21:01:58 -07:00
Tim Wilkinson 4f6fe904f3
Include cookies when testing services. (#1600)
* Include cookies when testing services.
Some services use various redirects which involve cookies. If we dont
include a cookie jar for these tests, they fail when they should pass.

* Fix potential file handle leak
2024-10-08 20:59:07 -07:00
Tim Wilkinson 4f5771610e
Fix firewall restart when lan-to-wan changed (#1606) 2024-10-08 20:58:42 -07:00
Tim Wilkinson 526491376e
Watchdog improvements (#1322)
* Improve HW watchdog service
* Allow more specific reboot time to be set
* Improve support for multiple ping targets

* Fixes

* Bug fix
2024-10-08 20:56:57 -07:00
Tim Wilkinson 784f99ffcb
Make sure we definately have wifi setup (#1588)
The wifi interface was getting lost during setup, so we make sure
its there.
This is a workaround for an unknown root cause.
2024-09-30 14:41:31 -07:00
Tim Wilkinson 4b0ba4625f
Fix nvram bad merge (#1558) 2024-09-22 00:32:38 -07:00
Tim Wilkinson 863a731be9
Fix nvram delay and remove bad break (#1557)
* Fix pointless repeat of finding wifi mac address

* Remove bad break
2024-09-22 00:31:09 -07:00
Tim Wilkinson 890566b04e
Fix pointless repeat of finding wifi mac address (#1556) 2024-09-22 00:28:40 -07:00
Tim Wilkinson 6d259c7b4e
Fix display and setting of max distance when LQM is disabled (#1550) 2024-09-20 00:15:52 -07:00
Tim Wilkinson 752dfc514b
Improve and simplify WAN config (#1539)
* Simplify WAN enable/disable

* Improve
2024-09-18 19:31:05 -07:00
Tim Wilkinson 0a3d322f53
Supress unnecessary log messages (#1537) 2024-09-17 22:30:32 -07:00
Tim Wilkinson 4eb715c722
Fix handling of deleteme items when generating network configs (#1533) 2024-09-17 18:40:48 -07:00
Brett T. Warden 9d9f57fb72
Fix typo of /dev/nul instead of /dev/null (#1532)
Fixes https://github.com/aredn/aredn/issues/1530
2024-09-17 16:47:06 -07:00
Tim Wilkinson 332035ba07
Dont ping unroutable links (#1498) 2024-09-13 11:34:14 -07:00
Tim Wilkinson 479338e787
Add newline escape (#1499) 2024-09-13 11:27:28 -07:00
Tim Wilkinson 5cad7ac101
Improve description and note escaping (#1497) 2024-09-12 21:27:29 -07:00
Tim Wilkinson 36bddd2619
Fix metric unit detection (#1496) 2024-09-12 21:27:16 -07:00
Tim Wilkinson ab4e314abd
Fixup the supernode start address (no longer done in UI) (#1490) 2024-09-11 23:14:26 -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 9240bf87cf
Fix inability to set initial WAN VLAN (#1454) 2024-09-02 17:50:20 -07:00
Tim Wilkinson 6389a36286
No reboot necessary for PoE/PoU changes (#1412) 2024-08-26 17:32:29 -07:00
Tim Wilkinson 84c11819f7
Exclude the Mikrotik hAP ac3 from the v7 check (it doesnt use it) (#1404) 2024-08-25 21:45:49 -07:00
Tim Wilkinson 31c4d7d801
Fix poe 2 (#1402)
* Fix syntax error

* Fix syntax error
2024-08-25 17:18:03 -07:00
Tim Wilkinson ebe5cd0586
Fix enabling/disabling POE and USB power (#1399) 2024-08-25 16:35:02 -07:00
Tim Wilkinson 1ba610c6d1
Fix disabling DHCP server (#1400) 2024-08-25 16:27:45 -07:00