Commit Graph

140 Commits

Author SHA1 Message Date
Conrad Lara - KG6JEI 8ee8fbefe0 bugfix: Increase available memory during upgrade/install process
It is possible for the system to run out of memory when dealing
with large file uploads and installs.

As part of the upgrade procedure shutdown services that are not
essential for node operations to allow more memory for install
to take place.

Includes changes to linkled to indicate this new state as it will
be shutdown as part of the cleanup process.

Memory gain (approximate)

dropbear 100kb
linkled  200kb
logd     200kb
odhcp    100kb
snmpd    500kb
xinetd   100kb

Total(approximate): 1200kb (around %4 on 32mb devices)

This is somewhat similar to files/usr/local/bin/upgrade_kill_prep
except that it kills only a select group of services
so that the system can handle the file upload while
upgrade_kill_prep does the final system cleanup to run the full
upgrade.

ref AREDN->ticket:204

Change-Id: Ic6d3aa028725064a97c4723f6d9b36e1e51d87a7
2017-03-08 03:23:52 +00:00
Darryl Quinn 956c6b7cd8 bugfix: change charts to be time linear
Change-Id: I06e0c8d1d5d39e9faa46bfec3442bf2e3071c8ff
2017-02-03 16:34:25 +00:00
Conrad Lara - KG6JEI c592f44ab0 Sourcecode license text spelling correction.
Inside the source files the word "contained" was mispelled
as "conained"

The website currently lists this correctly as "contained"

This was an error in the intial stamping of the source files in
changeset:5c3ee1d0686c6e6f2907fe4fc393d86d6c5a69b5/aredn_ar71xx

Line is part of "Additional Conditions" permitted by GPLv3.
Line does not impact coders prior to the AREDN setup date
as it was added by the AREDN team.

Change-Id: I3bc09aea548100f35c08aebe8686b8d4808d56d8
Signed-off-by: Conrad Lara - KG6JEI <KG6JEI@amsat.org>
Signed-off-by: Joe Ayers <ae6xe@arrl.net>
Signed-off-by: Darryl Quinn <k5dlq@arrl.net>
Signed-off-by: Trevor Paskett - K7FPV <snoopytjp@gmail.com>
2016-12-30 18:54:05 +00:00
Darryl Quinn 1e08847db0 change: add chart null on timeout, skip signal 0 in archive.
Change-Id: Ia30bfebb3d5df097e69f1fb9e8cb75e8f317e3ff
2016-12-28 04:54:34 +00:00
Conrad Lara - KG6JEI a39abd3813 bugfix: Typo in comment header for perl scripts
This is at the top of the license header.

It prevents the code from being processed but doesn't
actually impact the license terms in any way.

Change-Id: Ic91f2400f9694056b6f06fa43d1074411d6c6262
2016-12-23 16:45:47 -08:00
Conrad Lara - KG6JEI db2046092f bugfix: Make get_model return model of device instead of board type
Fixes the fact that get_model has done the same as other functions.

This probably always should of been a real model of active device
not just of the hardware type from the begining.

DEV NOTE:
This is in perl, even though we intended to migrate to LUA the
core library that contains this data has yet to be migrated
so we need to add this as a perl program.

Change-Id: Ib8a4ea6dd881c32e6d7660607576aeb5218b1e7a
2016-12-23 19:30:15 +00:00
Darryl Quinn b9c77fa551 change: snrlog to keep logs longer after signal loss
Change-Id: Ifab054fcc2bd1578789dbe61f1ae300cce4c2ccd
2016-12-14 14:18:37 -06:00
Darryl Quinn 37a7b57c0a feature: add mcs/rate info to snrlog for archive
Change-Id: I8caa8a0b8cdef74be646283fa458e89b378e608b
2016-12-12 20:18:27 +00:00
Darryl Quinn a1da9c0ad7 migrate snrlog to lua
Change-Id: Icecf72e370c5e938d8d689a858d57094fe847e45
2016-12-03 20:18:24 +00:00
Conrad Lara - KG6JEI 811f52f93b bugfix: SSID handling in system tools.
Corrects flaws in how the web user interface displays SSID's
picked up by wifi scanning.

In addition remove the defunct (never supported) connect program
since we never use it (no more client  mode) and it could have
issues with correctly passing SSID's from the shell.

Change-Id: I0444c1b3226b9bc5c3d3044fd5c9849a0d2bf67d
2016-11-22 22:06:57 +00:00
AE6XE b2edc2472b bugfix: Add support to obtain boardid from more Ubiquiti devices
Change-Id: I60ad4d23339c4aaf59b429c49fa705dbbe49ba8e
2016-09-30 20:41:33 -07:00
Conrad Lara - KG6JEI 717b39c2fd hardware: Add support to obtain boardid from more Ubiquiti devices.
Obtain the board ID from the EEPROM on *-m-xw devices.

ref AREDN->ticket:185
ref AREDN->ticket:43

Change-Id: I86247640773a1f6cbd3c4792502d7da4890a46a4
2016-09-24 08:28:31 -07:00
Conrad Lara - KG6JEI 1b65f8a3ad bugfix: UI allows enabling mesh_gw when wan disabled or nat mode
Mesh nodes would need a significant amount of configuration
including some operational checks everytime an interface comes up
to be able to handle this.

The more sane method is to only allow a node to be a mesh_gw when
the WAN port is utilized and the node is in DIRECT mode.

This changes the UI to prevent this setup from being allowed.

fixes AREDN->ticket:184

Change-Id: I1a1289bc914a349149f5842812dbebc0a70442f7
2016-09-20 23:09:03 -07:00
AE6XE d4b7617e03 remove non-mesh modes from setup options
fixes AREDN->ticket:175

Change-Id: I7517df178a5ce82ef79ec4af844932fe6569d8da
2016-08-07 21:38:18 +00:00
KG6JEI 32a0d6348d Merge "Merge branch 'ChaosCalmer' into develop" into develop 2016-06-20 05:53:31 +00:00
Conrad Lara - KG6JEI 061ede3488 Merge branch 'ChaosCalmer' into develop
Change-Id: I26a8677595a25aae267b7365f1e5835ea68f49b4
2016-06-19 19:26:12 -07:00
Conrad Lara - KG6JEI 8abe628915 Cleanup /usr/local/bin scripts to pass shellcheck
Correct all shellcheck "errors" and "warnings" for
/usr/local/bin/* shell scripts.

This is necesary to have Jenkins start publishing test results.

All code worked on nodes but pushed to strict posix compliance
as part of the cleanup.

SC1001,SC2002,SC2004,SC2006,SC2034,SC2039,SC2086,SC2155
https://github.com/koalaman/shellcheck/wiki for more info

Change-Id: If1f27381eedae79087e490ea12f5939f8cc525a0
2016-06-18 04:52:08 +00:00
KG6JEI ae6688dc33 Merge "security feature: Enhance HTTPD password security" into develop 2016-06-16 05:39:10 +00:00
Conrad Lara - KG6JEI 1ee5cc698b cleanup: Cleanup shellcheck reported concerns in vtun_up
Change-Id: I88c775243a33731a182fd81d411bca664538e536
2016-06-15 08:08:28 -07:00
Conrad Lara - KG6JEI 70e93c09d7 bugfix: Refer to in interface by iif not iff
This may be why we have seen nodes in the past with stray routing table entries.

Change-Id: Ib47cc76eb9f2cd9328252a8a8a6d1bda0a6af35b
2016-06-15 08:07:20 -07:00
Conrad Lara - KG6JEI 8f91ad1e0e security feature: Enhance HTTPD password security
Move httpd.conf to not store password and instead depend on the shadow password file.

Also tag the 40_aredn_migrate-httpdconf script to be +x. Not strictly necessary but wish to have this standard

Change-Id: I018d9a3294e45af2316b3c3947ef2a7d8081268b
2016-06-10 19:37:57 -07:00
Conrad Lara - KG6JEI 1271db794a Merge 3.16.1.0 as released into develop
Merge branch 'release-3.16.1.0' into develop
2016-05-17 09:50:40 -07:00
AE6XE 38a2835471 bugfix: sysupgrade full reboot message not displaying 2016-05-10 19:22:33 -07:00
Darryl Quinn 9800612d86 allow sysupgrade time to settle in order for http to finish delivering the "rebooting" page 2016-04-29 22:29:57 -05:00
Conrad Lara - KG6JEI 86d17e0998 bugfix: RFC Compliance for DHCP and Classless static routes
RFC requires that the DHCP server include the default gateway (0.0.0.0/0) route as part the Classless network list.

Moved to node-setup so it can be set dynamically at setup run time.

fixes AREDN->ticket:155
2016-03-31 22:54:29 -07:00
Trevor Paskett - K7FPV 7d437e2cb8 bug fix: run sysupgrade forked off from uhttpd, kill un-necessary processes and flush page cache during firmware upgrade 2016-03-08 20:29:35 -07:00
Conrad Lara - KG6JEI fad8a43974 cleanup: Resolve "used once" warning. 2016-03-06 23:38:00 -08:00
Conrad Lara - KG6JEI 5fa47d6f93 bugfix: ar71xx: airrouter: Use "Globe" LED to indicate mesh connection 2016-01-17 20:09:11 -08:00
AE6XE 6d619b6757 Merge: bugfix: snrlog fix for out-of-range noise floor values returned by iw 2016-01-16 17:23:28 -08:00
AE6XE f02d4abd33 bugfix: snrlog fix for out-of-range noise floor values returned by iw 2016-01-16 17:21:55 -08:00
AE6XE 31032615a7 merge: bugfix: rssi_monitor increase tolerance on test one notch 2016-01-09 21:02:55 -08:00
AE6XE 97d48c2b84 bugfix: rssi_monitor increase tolerance on test one notch 2016-01-09 21:00:09 -08:00
Conrad Lara - KG6JEI bb10ca7faf Merge branch 'FirewallIncludes' into develop 2016-01-09 19:48:18 -08:00
Conrad Lara - KG6JEI e8b2ffd7ea feature: FirewallIncludes: Migrate tunnel firewal rules to new include format.
These rules setup chains that may be needed by other firewall rules as such we need to set them up early to be sure includes work.
2016-01-09 16:24:54 -08:00
Conrad Lara - KG6JEI 477a20d55a feature: FirewallIncludes: Add program that will auto include firewall rules that are in a set directory.
This is the basis for allowing packages to contain firewall rules that can be just dropped in a folder at install time.
2016-01-09 16:24:45 -08:00
Conrad Lara - KG6JEI 5c87a894c9 license: Add license header to vtun_up file 2016-01-09 15:10:58 -08:00
Trevor Paskett - K7FPV 3359c44ca7 feature: add jsoninfo to olsr and open firewall ports 9090 2016-01-05 11:00:22 -07:00
AE6XE 38209b0af2 bugfix: snrlog better handle neighbor references from mac to ip to hostname 2015-12-30 17:57:49 -08:00
Conrad Lara - KG6JEI 2dfc911df7 Merge branch 'release-3.15.1.0' into develop
Conflicts:
	files/www/cgi-bin/mesh
2015-12-22 08:45:09 -08:00
AE6XE 265d2eb196 feature: enhance snrlog to squareLine, local TZ, fix test condition 2015-12-15 22:45:29 -08:00
AE6XE d33726e893 bugfix: resolved rssi shift condition that needed a noise floor calibration 2015-12-14 21:44:08 -08:00
AE6XE ad856844bf feature: enhance snrlog to handle neigbors dropping in and out and leaving mesh 2015-12-14 20:55:07 -08:00
AE6XE 6903476f02 feature: snrlog updates to handle host name change and lack of hostname or ip info 2015-12-11 10:25:38 -08:00
Darryl Quinn 62ba6daf75 bugfix: display correct month 2015-12-11 01:04:34 -06:00
Darryl Quinn 43565d714e updated snrlog for multi devices 2015-12-10 11:17:03 -06:00
Darryl Quinn 833dedd8fa changed the filename that snrlog cron job creates 2015-12-09 17:20:16 -06:00
AE6XE 8c3c436cb7 bugfix: rssi_monitor fails if node goes deaf in first 12 min after startup, trigger on abnormal increases. 2015-12-08 22:06:55 -08:00
Conrad Lara - KG6JEI a489928fc6 bugfix: sortable wscan was removed during previous merge.
During a previous merge the sortable code for wscan was accidentally removed.
2015-11-23 19:58:37 -08:00
Conrad Lara - KG6JEI c5a1f21d77 bugfix: dnsmasq not updating hostnames ( dnsmasq pid file has moved ) 2015-11-23 19:17:38 -08:00
Conrad Lara - KG6JEI 48cb37bd05 Merge branch 'release-3.15.1.0' into develop
Merging in latest release-3.15.1.0 changes into develop to provide a foundation with recent release fixes for the develop branch.

This should be 3.15.1.0b03 code.

Conflicts:
	files/etc/crontabs/root
	files/usr/local/bin/wscan
	files/www/cgi-bin/sysinfo.json
2015-11-15 19:28:56 -08:00