Commit Graph

46 Commits

Author SHA1 Message Date
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
Brett T. Warden de847e72f5
Enable kmod-eeprom-at24 package (#1529)
Create a package to provide the at24 kernel driver, which supports a variety of I2C EEPROMs.
2024-10-08 20:57: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 4cbb8dfe5f
More GPS devices (#1256) 2024-08-03 15:32:22 -07:00
Tim Wilkinson a6d4a3f418
Add modules for GPS support (#1254) 2024-08-02 11:24:03 -07:00
Tim Wilkinson 4598e3515e
Add loadable MTR package (#1219) 2024-05-25 16:51:27 -07:00
Tim Wilkinson bf3aa67f78
Wireguard tunnel support (#968)
* Wireguard tunnel support

* Fix wireguard firewall rules

* Add Wireguard tunnels to LQM

* Filter vlans on main bridge

* If you paste a tunnel config into any field, it will auto-populate all fields correctly

* Fix bad password keyword

* Fix bad feeds change

* Fix bad merge
2023-12-06 11:39:23 -08:00
Tim Wilkinson 475f371bb8
Initial OpenWRT 23.05.0 merge (#963)
* Initial OpenWRT 23.05.0 merge

* Fix get_rfchannels for new iwinfo format

* Fix initial wlan name

* Move patches to 5.15 from 5.10

* Fix flash write problem on Ubiquiti devices

* Use new ssl patch

* Reduce binary sizes

* Have to have hostapd installed now, even on tiny builds

* Simplify device support

* Revert Mikrotik NAND sysupgrade system.
OpenWRT doesnt really support Mikrotik NAND devices after 2019 and the
new support appeared broken. So reverted to the 2022 mechanism which does
work and avoid upgrade problems.

* Fixes for tiny builds

* More tiny shrinking

* Fix newly added firewall rules

* Update permanent packages

* Update permanent packages

* Support for Nanobeam 2AC (2.4GHz) device. 20MHz channels only.

* Update support

* Add GL.iNet B1300

* Add to radios.json

* Update supported devices

* Dont force the LAN DHCP to run

* Revert CURL SSL test

* Fix radio count when there are no radios

* Switch the lan ports on the gl-b1300

* Add support for GL.iNET Beryl MT1300

* Fix visual lat/lon setting bug

* Make the setup "Save Changes" button also save the location data

* Fix location/map system with geo location fallback

* Recolor

* Fix default bandwidth selection

* Support multi-band radios

* Generic mechanism to set compat version to 1.1

* Switch ethernet ports

* 20 MHz channels only

* Update docs

* Add ham channels to Mediatek chips (20MHz only)

* Automatically update the permpkg list when we upgrade

* Fix 10MHz mode for Ubiquiti AC devices

* Fix tiny builds

* Bump the watch timeout for restarting olsrd
olsrd is reliable these days, and very occasionally this
was restarting it unnecessarily
2023-12-06 10:12:11 -08:00
Tim Wilkinson cf84853530
Add installable cron package for people who need more functionality (#931) 2023-09-15 21:54:55 -07:00
Tim Wilkinson 291ba2d012
Prometheus Metrics (#797)
* Basic memory, filesystem, cpu and networking

* Split metrics out

* Run hourly metrics tasks if people are actively gathering metrics

* Hourly metrics

* Add LQM metrics

* Fixes

* OLSR link info

* Improve error handling

* Basic node details

* Add bitrates and ping times

* Remove periodic tasks

* Migrate metrics to package

* Metrics config file
2023-04-20 18:34:52 -07:00
Brett T. Warden 574446d68e
Re-enable kmod-rtc-ds1307 package (#681) 2023-01-27 22:10:38 -06:00
Tim Wilkinson 6aa290398b
Initramfs cleanup (#660)
* Config changes to remove unused initramfs

* Fix
2023-01-19 13:29:05 -06:00
Tim Wilkinson 7d7e37352a
Disabling SSL in curl has unexpected side effects, so revert this. (#578) 2022-12-23 04:40:07 -06:00
Tim Wilkinson 6950479bf1
Update AREDN to OpenWRT 22.3.2 (Major Upgrade) (#574)
* Update to Openwrt 21.02 and add support for the CPE710 v1
Update scripts to change references to ifname to device due to a change in Openwrt naming
reverse-wpad-basic-wolfssl and disable SSL on Curl

NOTE: The compile host must have python3-distutils installed for gpsd to build

* aredn: initial working upgrade to openwrt 21.02.1

* aredn: update 1 to working upgrade to openwrt 21.02.1

* aredn: add cpe710v1 to build config

* Andrew's patches

* Remove duplicates + display perl

* Temp disable wifi extension patch

* ifname/ports support

* Add spectrum patch back in

* Generic function to extra interfaces

* New api to get wifi ifname

* Disables jails

* Style link

* aredn: partial upgrade to openwrt 22.0.3.0

added AC device images and partial migration to 22.0.3.0
firewall upgrade pending

* aredn:  update mesh-release and revert config.mk

* Unused

* NFT firewall rewrite

* Common-isze configs

* Fix network layout for hap2

* Use local packages dev (new firewall rules)

* Add HAP2

* Add pause after network restart to let bridge reinitialize

* Various lua fixes for new lua version

* Tweak config

* Re-fix networking (lost patch change)

* Add new radio names

* Tolerate missing wifi

* Fix hap-lite switch setup

* More devices

* New radio id

* Build Rocket 5AC lite

* Remove need for luci.sys

* Remove need for luci.sys

* Explicitly name wlan interfaces

* Handle different compatibility verisoning

* Update networking for switches

* ipref version bump

* Extra flag for curl

* Better compat_version fix

* Remove wolfssl

* Fix dns server

* Fix device name

* Unused

* Remove things we dont need

* Remove unused packages

* Generic macaddr overrides

* Fix uci commit

* Fix luci.template.parser to avoid luci.http loading the real thing

* Rocket-M build

* Add search-domain dhcp option

* Turn of ipv6

* No IPV6 in dnsmasq

* Override mac addresses if devices all  the same

* Working from master (for now)

* Put back hostap

* Disable old ethmac fixup

* Tweak configs

* Move back to v22.03.2
Leave ipq4019 builds to master

* Need IPV6 to compile nft firewall

* Rocket-M fixes

* Before we start

* WIP

* Working snapshot

* Cleaned patches

* Merged patch

* Single patch to support HAP2

* Fix typo

* Add nanostation-m

* 5/10Mhz patch

* 5+10MHz patch for ath10k-ct driver

* Extend 2Ghz channel check to include -4 to -1

* Add chanbw setup for ath10k (like ath9k)

* Added TP-Link CPE710 v1

* Override firmwares

* Missing patch

* Dropbear config like 3.22.8.0

* Add Ubiquiti Rocket 5AC Lite

* Fix c6

* Update

* Need more scan channels

* Remove IPV6

* Improve mac fixups

* Put back missing nft app

* IPv6 removed so dont have to disable it

* Fix rocket-m flash bug

* Fix nanostation-m

* Nanobridge is tiny

* Fix wifi order for ar750

* Rocket M5 XW support

* New rates

* Fix firewall4 so we don't need IPv6

* Allow channel width to be restricted

* Move channel list into library

* Fix naming

* Mechanism to block specific channels on specific radios

* Refresh buttons

* routerboard-sxt-5nd

* CPE605 v1.0

* Improve rocket m xw

* tpink

* Update patch

* Update to remove disable

* Remove BW restrictions on cpe710

* Restrict to what has been tested

* Remove test BW restrictions

* sxtsq-5-ac

* Update

* Update

* powerbeam-m5-300 support

* Fix

* Fix hap2

* Tidy unused patches

* Remove limit

* Add ubnt_bullet-m-ar7241

* Added ubnt_nanobeam-ac-gen2

* Fix typo

* Tolerate missing dtd ip

* Explicitly gix hap2 mac addresses

* Fix some broken patches

* Hap2 wont work at 5MHz

* Ubiquiti LiteBeam 5AC Gen2

* Fix compat_version for sxt 5ac

* Update patch

* Unused

* Fix lan configuration for some devices

* Rolling average of noise level

* Unused

* Split out the ath10k rssi monitor (its very simple at the moment)

* Ignore .DS_Store

* Reboot if ethernet doesnt come up (but only once!)

* reboot returns - add exit

* Add some logging info

* Fix ]

* Check all possibly ethernet bridges

* Improve mac fixing

* Remove HostAP on small memory devices

* Reduce dropbear footprint

* Add setsid

* Kill hostap when upgrading to save memory

* Different way to detect hostapd unavailable

* New build steps

* Improve manager logging

* Fix name conflict for the two monitors

* Try to improve test mesh name resolve problem

* Migrate tiny to generic (tiny doesnt work properly)

* Typo

* Another attempt to fix macs for Mikrotik

* Protect against missing trackers

* Fix wpad for ipq40xx

* Remove old tunnel check code

* Enable ZRAM swap to aid low memory devices

* ath10k noise can something be out of range - protect against that

* Updated with current devices and status

* Update firmware which has been tested

* Updated with more builds

* More binary/README

* Fix css error

* Start noise at sensible base level

* Unfix the css so it looks how it use to.

* Save as much memory as we can on lowmem nodes

* Hide some options on low memory devices

* Add "eol" to 32MB devices

* Restart network rather than reboot node if it seems to be broken

* Fixes

* Revert network reset

* Fix ar750 networking

* Continue to trim tiny configs

* More devices

* Dump IW output messages

* Fix Rocket 5AC intermittent ethernet issue

* Ethernet fix for PowerBeam 5AC 500

* More tiny size reduction

* More support data

* Fixed POE and USB power features

* Add Ubiquiti NanoBeam AC (gen1)

* NanoStation (not NanoBeam)

* Add mii-tool package

* Device updates

* Bump update time to 5 minutes

* Fix ethernet negotiation for rocker-5ac and nanobeam

* Fix iplookup

* Config changes based on call feedback

* Radio listing fixes

* Update with more untested builds

* Fallback TxMbps extracted from iw station dump

* Fix tunnel detection for low memory nodes

* Remove unused feed packages

* snapshot build

* Update stability info

* Add powerbeam-5ac-500

* Typo

* Add missing 3.22.1.0

* Add MikroTik LHG 5 AC

* Fix permissions

* Fix permissions

* AirGrid's take Bullet builds

* Mikrotik AC3

* Improve supportdata structure a little to make it easier to find things

* Restore WAN VLAN overrides

* Fix vlan regex for hap2 and hap3

* Support old and new style poe controls

* hap-ac3 is version 1.1

* Handle typo in some openwrt config files

* Fix HAP AC3 install

* Update hap ac3 status

* Support user overrides for network ports (non-swconfig devices)

* LHG 5AC support

* Remove -nand

* Remove non-working platform.sh change

* tunnel weight override

* Omit LinkQualityMult when value is 1

* Add mANTBox 19s and 15s

* Support ath79 mikrotik devices which require ath10k in the initramfs

Co-authored-by: apcameron <apcameron@softhome.net>
Co-authored-by: Joe AE6XE <ae6xe@arrl.net>
Co-authored-by: Joe Ayers <joe@arrl.net>
2022-12-22 14:22:49 -06:00
Tim Wilkinson 737bd10f48
Add ECDSA dropbear key support (#547) 2022-11-13 07:38:40 -06:00
Steve 4e20b020d6
include wireguard packages in the repo (#507) 2022-09-19 17:33:49 -05:00
Tim Wilkinson 4b37c6a033
Spectral wifi information (#410)
* Add spectral channel information

* Add spectral graph
2022-06-24 16:50:05 -05:00
Tim Wilkinson 1ceb7b2140
LQM fixes 2 (#365) 2022-05-20 21:23:57 -05:00
Tim Wilkinson c42ac68767 Include iperf3 by default 2022-04-20 20:50:19 -07:00
Tim Wilkinson fc55e44001
Run NTPD daily to sync time against network clock (#319) 2022-03-27 20:13:18 -05:00
Tim Wilkinson 321e58bd37
Include tunnels by default (#302)
* Include tunnels by default

* Tunnels are always installed so no longer need this flag
2022-03-17 20:57:48 -05:00
Tim Wilkinson 09985d3c57
Completely remove perl from the build DUMP_PERL (#291)
* And finally ... remove perl from the images

* Remove two more than came from the Admin merge

* Remove perl from perm packages
2022-03-15 21:23:39 -05:00
Tim Wilkinson 49300073dc
Remove xinetd (which has little to do) (#292)
Switch olsrd dot_draw plugin to directly accept connections and not pass through xinetd.
2022-03-14 19:23:03 -07:00
Brett T. Warden f4a537a6df
Package kernel driver for DS3231 RTC (#153)
Enable building and packaging the rtc-ds1307 kernel driver, which supports the high accuracy DS3231 RTC over I2C, along with other models. This can enable standalone real-time for devices with an exposed I2C bus, such as the GL-AR750.

This change cascades some additional kernel options around RTC and I2c support, and additionally builds the i2c-dev module, in the i2c-core package.

The package is not included in images, rather available for individual download and install.
2021-10-29 07:56:27 -07:00
dman776 47e209391a
build: enable creation of profile.json to drive OFS tool in the future (#154) 2021-10-28 18:15:08 -05:00
Steve AB7PA 7741b27785
aredn: add sdhci packages (#136) 2021-09-09 08:30:25 -05:00
Steve AB7PA aad99540b2
aredn: add mmc packages (#133)
* aredn: add mmc packages

compile but do not include mmc packages in firmware image

* aredn: add mmc packages

Add mmc-utils to Makefile.
2021-07-18 21:20:23 -05:00
Joe Ayers 7243fe082a bugfix: ubnt: pbe 400/400-iso/620 port hang
fixes #165
2020-03-23 11:08:49 -07:00
dman776 8439b21b06
feature: remove libopenssl (large library) and disable ssl in vtun (#475) 2020-01-29 21:15:07 -06:00
Joe Ayers ae593838bb aredn: upgrade to Openwrt 19.07.0 release
Co-authored-by: Andrew KK4ZUZ <apcameron@softhome.net>

This commit begins the process to migrate from ar71xx to
ath79 target images.
2020-01-29 07:39:05 -08:00
Joe Ayers dcdd217514 aredn: common build config updates
remove ZRAM option causing boot errors and not used
remove unused olsr secure plugin from image to save space
add option to build blockknownencrytion aredn package
2019-12-01 21:24:50 -08:00
Joe Ayers f134465edb aredn: add auto distance setting option
contributing author lua code: dman776 <dman776@gmail.com>
2019-05-03 19:17:14 -07:00
dman776 1c81085986
feature: add OLSR current neighbor info to API (#389)
* feature: add OLSR current neighbor info to API

* bugfix: correct quote issue
2019-03-26 01:04:33 -05:00
Joe Ayers a399623140 Revert "aredn: enable ath9k auto distance capability (#367)"
This reverts commit d5be7814b3.
Auto Distance is not ready for a release and will be
reintroduced afterwards. Added logic to reset '0' distance
to 60km so tower nodes will continue to respond after
upgrade if running the experimental auto distance
2019-03-21 21:30:48 -07:00
Joe AE6XE d5be7814b3 aredn: enable ath9k auto distance capability (#367) 2019-02-24 16:03:24 -06:00
Joe Ayers 07aa305e29 aredn: olsrd: add olsrd watchdog
Adding native olsrd watchdog on top of procd
ensures mesh nodes are always accessable.

closes #338
2019-01-27 14:12:37 -08:00
Joe Ayers 22fe3bdc66 bugfix: olsrd: clean up startup warnings 2018-12-31 15:18:58 -08:00
Eric a5e7a9d1cf build: kernel options, additions to top/busybox, modules (#253)
Add kernel build options to conserve RAM.  Measured 520k reduction.

disable CRASHLOG interface, we can't really see it anyway
CONFIG_KERNEL_CRASHLOG=n

remove process core dump support (see above reasoning)
CONFIG_KERNEL_ELF_CORE=n

there is no "swap"
CONFIG_KERNEL_SWAP=n

remove debug symbols
CONFIG_KERNEL_KALLSYMS=n

remove debug info
CONFIG_KERNEL_DEBUG_INFO=n

more unnecessary kernel exports
CONFIG_STRIP_KERNEL_EXPORTS=y

remove libraries of unnecessary functions
CONFIG_USE_MKLIBS=y

compress /tmp 
CONFIG_PROCD_ZRAM_TMPFS=y

seldom used key stroke
CONFIG_KERNEL_MAGIC_SYSRQ=n

Not used with AREDN
CONFIG_PACKAGE_MAC80211_MESH=n

Above options Ref:  https://openwrt.org/docs/guide-user/additional-software/saving-space#modifying_build_configuration_variables

-------------

Additional options
CONFIG_BUSYBOX_DEFAULT_MKSWAP=n
CONFIG_BUSYBOX_CONFIG_MKSWAP=n

improved "top" command.
CONFIG_BUSYBOX_CONFIG_FEATURE_TOP_INTERACTIVE=y

additional modules to build
CONFIG_PACKAGE_kmod-usb3=m
CONFIG_PACKAGE_block-mount=m
CONFIG_PACKAGE_kmod-usb-storage=m
CONFIG_PACKAGE_kmod-usb-storage-extras=m
CONFIG_PACKAGE_kmod-usb-storage-uas=m

Additional filesystem modules complementing USB storage
CONFIG_PACKAGE_kmod-fs-vfat=m
CONFIG_PACKAGE_kmod-fs-ntfs=m
CONFIG_PACKAGE_kmod-fs-ext4=m
CONFIG_PACKAGE_e2fsprogs=m

Reduce log usage of /tmp and RAM
I can't find my notes of course...
CONFIG_LOG_BUF_SHIFT=16
CONFIG_LOG_CPU_MAX_BUF_SHIFT=16

additional options to support performance metrics
CONFIG_BUSYBOX_CONFIG_IOSTAT=y
CONFIG_BUSYBOX_CONFIG_RENICE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_PS_LONG=y
2018-10-31 16:21:49 -07:00
dman776 15130a62f5
bugfix: upgrade iperf to iperf3 (#105)
* bugfix: upgrade iperf to iperf3

* updated port to 5201

iperf3 default port is 5201

* adjust patch paths
2018-08-04 09:38:58 -05:00
Eric 52a8b79f98 Trim Packages (#96)
Closes #81 

* Trim Packages

Kernel support for USB has been moved to modules
libpcap and tcpdump have been moved to modules
libnetsnmp and snmpd have been moved to modules
IPv6 has been removed from the kernel
IPv6 support has been removed from busybox network utils as well.
(no more funny DNS responses in nslookup!)

* Remove ping6 and traceroute6

They are no longer needed

* Changed patch name and number and updated series file
2018-08-02 15:53:20 -05:00
Joe AE6XE 7c163deff0 build: add vtun package to compile (#62) 2018-07-13 23:57:37 -05:00
Joe AE6XE 0f4eeef0a8 build: Update final image names for CircleCI automation 2018-07-11 20:44:09 -07:00
Joe AE6XE 1bebbc3257 aredn: iperf fw rules and fw restart on pkg install
Port iperf fw rules and fw restart on pkg install to
new build structure
2018-07-01 20:20:26 -05:00
Joe AE6XE 8bc2921d88 build: upgrade to openwrt 18.01.x 2018-03-31 08:31:42 -07:00
Joe AE6XE b7cacc3d18 package: olsr: AREDN upgrade to 0.9.6.2 2018-03-29 21:03:16 -07:00
Joe AE6XE 91ee8671b6 build: create top level make structure 2018-03-23 00:39:07 -07:00