Commit Graph

477 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 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 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 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 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 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 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 752dfc514b
Improve and simplify WAN config (#1539)
* Simplify WAN enable/disable

* Improve
2024-09-18 19:31:05 -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 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 6389a36286
No reboot necessary for PoE/PoU changes (#1412) 2024-08-26 17:32:29 -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 3a0bbe0c3b
Add Wifi Client status info (#1362) 2024-08-22 13:40:29 -07:00
Tim Wilkinson b06d34e8e4
More neighbor stats (#1357) 2024-08-22 00:09:32 -07:00
Tim Wilkinson 3b1e7947aa
Refresh sysinfo on distance blocked nodes (#1324) 2024-08-19 16:21:22 -07:00
Tim Wilkinson 4ce3a6c554
Better handling of missing lat/lon when GPS is starting up (#1323) 2024-08-19 16:19:35 -07:00
Tim Wilkinson b2d0b2980b
Speedup initial LQM setup (#1320) 2024-08-19 09:13:12 -07:00
Tim Wilkinson 3ca3ed4a79
Restart LQM when changing channel (#1318)
* Restart LQM if we change wifi channel

* Fix test
2024-08-18 23:21:10 -07:00
Tim Wilkinson f38f753b0e
When arping fails, fallback on simple UDP ping (#1305) 2024-08-17 22:53:31 -07:00
Tim Wilkinson 7cf522de47
Limit reported GPS precision (#1304) 2024-08-17 20:37:38 -07:00
Tim Wilkinson de7edc955e
Handle old nodes with missing node details (#1292) 2024-08-17 12:08:23 -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 a7bf530da3
First-use setup script to simplify initial setup of AREDN VMs. (#1257) 2024-08-04 16:36:39 -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 2f74728693
Add names to xlink routes and bridges. (#1239)
Fix aredn_message_all file-not-found error.
2024-06-07 18:39:44 -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 0328f0ec7e
Olsrd crash fixes (#1234)
* Simplify the OLSR watchdog

* Dont pull the routing table into LQM for supernodes.
LQM tracks routes on nodes to help keep leaf nodes connected even
when circumstances would probably prevent this. However on supernodes
the routing table is massive and pulling this into LQM will frequently
crash OLSRD. As we dont need this for supernode just dont do it for them.
2024-05-31 22:44:36 -07:00
Tim Wilkinson d36bb88913
Only monitor active wireguard tunnels (#1232)
* Only monitor wireguard tunnels which are active
2024-05-29 22:49:38 -07:00
Tim Wilkinson c0d38a4e89
Update registered trademarks (#1225) 2024-05-29 00:45:25 -07:00
Tim Wilkinson d6a652df31
Wireless monitoring improvements (#1222)
* Wireless monitor runs an emergeny wifi scan at 3am to recover forgotten nodes.
LQM no longer tries to ping stations which have disconnected.
2024-05-26 23:31:54 -07:00