Commit Graph

1009 Commits

Author SHA1 Message Date
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 9a47ff800a
bugfix: correct poe functions in adv cfg (#250)
* bugfix: correct poe functions in adv cfg

cleanup shellcheck errors

* avoid unnecessary shell
2018-10-27 11:37:45 -05:00
Eric e8b3520ec7 bugfix: Check to prevent duplicate mesh hostnames when reserving DHCP reservations (#226)
* bugfix: Check for existing hostnames on the network in DHCP reservations

fixes #216
*additional check for existing hostname when creating new DHCP lease.
checks hosts_olsr file if entered hostname already exists or not on the connected network(s).
outputs info saying such and gives advice to prefix hostname with callsign.

* change to use =~ /\s$host\S/i

* Reworded warning message

* moved the position of the hostname check to only when you click "add" on the DHCP leases page.

this stops it checking all the previously entered hostnames.
2018-10-26 21:53:14 -07:00
dman776 1948ba11e7 bugfix: fix reboot button (#249) 2018-10-26 19:50:35 -07:00
dman776 8716fd42be Add PoE passthrough option to advanced config (#243)
* minor changes

* handle null value (change to 0)

* add poe_passthrough script

* change key location

* change key name

* add default info into aredn uci file

* add conditional functions
2018-10-26 19:34:16 -07:00
dman776 d74eb1933a
aredn: adjust mesh status layout for OLSR stats (#248)
fixes #197
html is courtesy of N2MH
2018-10-26 14:25:45 -05:00
dman776 750cba55a7
modify the adv config layout (#247) 2018-10-26 00:27:15 -05:00
Joe AE6XE 4a50ee2382 aredn: add definition for Bullet M2 XW (#246)
New Bullet M2 XW models are released by ubnt.

closes #233
2018-10-25 23:44:45 -05:00
dman776 a1ab5312ef
bugfix: allow upload of ssh keys while tunnels since keys (#245) 2018-10-25 23:43:20 -05:00
dman776 9391ff5555
Add "Advanced config" page (#237)
* initial commit

* feature: advanced configuration page

fixes #230

* add help page updates

* added menu links to perlfunc.pm

* add default value for serverpath

* move "Reset to Firstboot" button from setup page to advancedconfig page

* secure page
minor ui changes

* center the help icon

* implement callback capabilities pre/post

* hardening uci calls to prevent command injection attacks

* moved settings to custom aredn uci file

* resolve shellcheck warnings
2018-10-25 21:06:05 -05:00
dman776 a4ac376065
bugfix: correct improper "wrong firmware" message on Rocket (et al) devices (#240) 2018-10-24 19:57:21 -05:00
dman776 4c79a5c755
remove aimer script (#236) 2018-10-23 10:16:47 -05:00
W. Kyle Hamilton a038ce84b6 Typos (#234)
* typo

* typo in code commits

* Capitalization
2018-10-22 17:04:11 -05:00
dman776 ea36aa9d06
feature: add a "firstboot" button on setup page (#225)
* feature: add a "firstboot" button on setup page

fixes #162

* changed confirmation message
2018-10-18 11:06:55 -05:00
dman776 b11a4fc95d
bugfix: check to see if internet is reachable before loading external resources (#224) 2018-10-15 21:58:52 -05:00
dman776 7a1817935c
feature: Provide firmware file advice for uploading firmware files (#217)
* feature: Provide firmware file advice for uploading firmware files

also reduces page size by removing unnecessary style info on option tags.

fixes #206

* update for Mikrotik filename exceptions

* correct download .list file name

* add support for cpe devices
2018-10-10 15:52:27 -05:00
W. Kyle Hamilton 6f9a8327cb bugfix: Fixed README and comment typos (#220)
* typos

* Update README.md

* Update aimer
2018-10-08 07:44:13 -07:00
Joe AE6XE 134a135784 build: reset version to NoCall 2018-09-28 21:28:10 -07:00
Joe AE6XE 5edf96d489 build: prepare back to develop branch from release 2018-09-28 17:01:04 -07:00
Joe AE6XE 845c6a25df build: lock in aredn_packages to 3.18.9.0 release 2018-09-28 16:08:26 -07:00
Joe AE6XE 784077e116 aredn: prepare final 3.18.9.0 release 2018-09-25 20:10:47 -07:00
Joe AE6XE c622140ef9 aredn: Prepare 3.18.9.0RC1 for release 2018-09-21 19:50:57 -07:00
Joe AE6XE d7faa4e4e5 builds: resolve make error on image rename 2018-09-19 18:47:21 -07:00
Joe AE6XE b432be987f bugfix: aredn: correct test script warnings and errors 2018-09-17 21:42:52 -07:00
dman776 89682289c1
modify sysinfo.json structure for node,lat,lon values (#193) 2018-09-17 13:41:29 -05:00
Robert Marko edfb8370f4 mtd: spi-nor: Add Winbond w25q128jv support 2018-09-13 19:30:15 -07:00
dman776 1c4e6f1ecc
remove ipv6 address labels (ie. none) (#189) 2018-09-13 20:02:07 -05:00
Joe AE6XE 3938f33afe aredn: harden cron maintenance scripts
ensure maintenance scripts execute one at
a time and never in duplication
2018-09-13 16:20:18 -07:00
Joe AE6XE c5e9342e29 aredn: add zombie.log to supporttool list 2018-09-13 16:19:10 -07:00
dman776 c2894f8df9
rework sysinfo.json to improve structure (#185)
* rework sysinfo.json to improve structure
re-organize "info" functions into their own lib

* change egrep to grep -E to eliminate shellcheck warning
2018-09-10 13:37:50 -05:00
Joe AE6XE cb35580fd2 bugfix: show freq on status page instead of channel number for 3GHz
3GHz has no common assignment of channel numbers, given no part 15
coverage in the US.  AREDN devices show freq in place of a channel
number for 3GHz.
2018-09-10 08:18:32 -07:00
Joe AE6XE 9ce76e1e7e aredn: preserve custom firewall rules across sysupgrade
groups with custom rules created in /etc/local/mesh-firewall
for echolink, ampr.net, and other integrations with internet
based appications can preserve rules across a firmware
upgrade by locating the custom rules in this directory
using a file named 59-custom-rules
2018-09-06 19:45:42 -07:00
Joe AE6XE 12611d3959 aredn: add notation in Mesh Status to identify tunnel info 2018-09-06 18:19:25 -07:00
Joe AE6XE 98c4409975 build: README updates
add notes on how to build 3.16.2.0 older release
remove make instructions that no longer apply
update highlevel change log of github changes from prior tools
2018-09-06 17:41:53 -07:00
Joe AE6XE ab130956ba bugfix: aredn signal chart correct SNR to dB units 2018-09-05 20:28:57 -07:00
Joe AE6XE b5ad5cad23 bugfix: aredn TxMbps does not show on Mikrotik hAP lite in mesh status 2018-09-05 20:14:03 -07:00
Eric d9ce31798c aredn: Changeed placement of OLSR info on the mesh status page. (#177)
Moved to be under the Previous Neighbors area.
It's actually under the previous neighbors listing
Fixes #171
2018-09-05 21:15:29 -05:00
dman776 8db653302a
bugfix: sysinfo.json not returning chanbw on hapACLite (#174) 2018-09-05 09:46:01 -05:00
Joe AE6XE 0bd057ed40 aredn: phase 1 support for Mikrotik rb952Ui-5ac2nD
Add support for the hAP lite model rb952UI-5ac2nD equivilent to
the UBNT AirRouter.  The 5Ghz interface will be configured in a
2nd phase.  This hAP lite model has double the RAM and Flash
of the AR.  the 2Ghz is MIMO (5Ghz is single antenna).
2018-09-03 23:26:56 -07:00
Eric ef6d092b2e aredn: node description, lat/lon display, olsr entries (#163)
* aredn: node description on mesh page, lat/lon on both status and mesh, olsr entries

Added node description to mesh status page
Fixes #161

Added Lat/Lon (if available) to status and mesh pages.
It is diplayed above the description and under the node name.
Fixes #145

Added OLSR Routing tables entries to status page just under the memory area
Also added this same info just above the buttons on the mesh status page
Fixes #160

* aredn: OLSR routing table entries

Small addition to the displayed info

* aredn: corrections

move lat lon if statement farther up
changed system command lines to have () around them...

* aredn: added comments for new lines

* aredn: more corrections

back to using backticks on system commands per short discussion with ae6xe

* aredn: updated some lines so they will not toss warnings in the syntax tests
2018-08-31 20:39:07 -05:00
Joe AE6XE 7d0d258af7 aredn: bump to OpenWrt 18.06.1 2018-08-29 20:28:51 -07:00
Joe AE6XE 32754bfea9 bugfix: use bullet-m image (#157)
* bugfix: aredn README correction of bullet-m image usage

* Revert "build: add missing ubiquiti loco-m image to the build output (#150)"

This reverts commit 3c8c048ccb.
no loco-m image, use bullet-m
2018-08-26 13:03:43 -05:00
Eric 4997cb47d2 aredn: Node description enhancement (#156)
* aredn: Node Description Enhancements

Node Description entry on setup page is now multiline.
Fixes #91

Node Description display on status page is now a table cell,
allowing for background color addition and word-wrapping.
Fixes #90

Description background color added to CSS files with colors appropriate to each theme.
Other CSS additions for the description input field on the setup page.

Updated onboard help file about the node description field (and fixed a typo)

* move some of the character filtering "higher up the chain" in perl.

javascript still will replace any new lines with a space in case the user hit's enter in the description entry box.
tested with curl and I can't find any problems yet.

* removed some commented lines that were not needed

* actually fix the typo I saw in help.html file.
2018-08-26 13:03:26 -05:00
Joe AE6XE 41d00967f1 build: refresh openwrt patches
eliminate patch warnings, sync to openwrt 18.06.0 release
2018-08-24 10:24:53 -07:00
Joe AE6XE 5869b73a01 aredn: README updates
added PowerBridge, turned 32Mb devices to stable
corrected error on image type
2018-08-23 16:45:44 -07:00
dman776 3c8c048ccb
build: add missing ubiquiti loco-m image to the build output (#150) 2018-08-23 13:27:58 -05:00
Trevor Paskett 2678e9ad4a show the SNR above the real time chart (#143)
* show the SNR above the real time chart

* uncomment chart line that was commented by mistake

* fixes for 3.17
2018-08-23 10:55:50 -05:00
txcoder 8d3b63a3f3 Add testing support for the PowerBridge M5 2018-08-22 13:05:16 -07:00
Joe AE6XE 5abeb8f7ac bugfix: aredn slugbug mitigation
with low memory conditions, typically on 32Mb RAM, the
device would become unresponsive in hours to days. The
symptoms only occured when no RF links. iw processes
would hang in Zombie state.  Updates to use iwinfo where
possible and avoid using both iw and iwinfo.  crontab
script is implemented to detect Zombie processes and free
up resources in the reduced chance the symptoms are still
occuring.
2018-08-22 07:23:53 -07:00
Trevor Paskett af0e26dd84 config change to make uhttpd listen on port 80 and 8080 (#142)
* config change to make uhttpd listen on port 80 and 8080

* add port 80 to tunnel firewall rules

* add port 80 to tunnel firewall rules in config, update help

* firewall rules for wan + dtdlink
2018-08-20 14:09:47 -05:00