Commit Graph

613 Commits

Author SHA1 Message Date
Trevor Paskett - K7FPV 4372605f8f merge: jsoninfo into develop 2016-01-05 11:02:37 -07:00
Trevor Paskett - K7FPV 3359c44ca7 feature: add jsoninfo to olsr and open firewall ports 9090 2016-01-05 11:00:22 -07:00
Darryl Quinn 16b4e8c798 Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into develop
* 'develop' of ssh://git.aredn.org/aredn_ar71xx:
  feature: TxMbps--Added Mesh Status Help Section and minor code enhancements
  bugfix: snrlog better handle neighbor references from mac to ip to hostname
  hardware: Add testing support for AirRouter HP
2016-01-04 22:42:34 -06:00
Darryl Quinn a1bc4fa35b feature: distance value calculation in km or miles 2016-01-04 22:41:27 -06:00
AE6XE 0cf75af9df feature: TxMbps--Added Mesh Status Help Section and minor code enhancements 2016-01-01 16:08:02 -08: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 cc6d4ee550 hardware: Add testing support for AirRouter HP
board.info
{{{
board.sysid=0xe4b2
board.cpurevision=0x00000101
board.name=AirRouter
board.shortname=LAP
board.subtype=HP
board.netmodes=15
board.hwaddr=687251449BBD
board.reboot=50
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe4b2
radio.1.subvendorid=0x0777
radio.1.txpower.max=28
radio.1.txpower.min=-4
radio.1.txpower.offset=9
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=6
}}}
2015-12-28 22:48:13 -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 91ad5613fe feature: Add TxMbps to mesh status 2015-12-21 18:26:45 -08:00
Conrad Lara - KG6JEI 9c21a18f3f bugfix: IP selection dropdown list is empty on dhcp reseveration/ports page. 2015-12-20 18:52:10 -08:00
Conrad Lara - KG6JEI d6db48fb48 bugfix: Services were not lined up correctly on mesh status page.
Correct services to be correctly lined up.

Note:
It looks like we need to split the two tables eventually on the mesh status page as the services are pushed to the right.

Saving this however to be done in a future release as we may be doing a revamp of this page for sortable fields in the near future and this would fit in with that.
2015-12-16 21:42:43 -08:00
Conrad Lara - KG6JEI 9d0b7d59e1 Revert "bugfix: Services were not lined up correctly on mesh status page."
This reverts commit b223259f4f.

The change was made in the wrong location of the mesh status page.
2015-12-16 21:41:19 -08:00
Conrad Lara - KG6JEI b223259f4f bugfix: Services were not lined up correctly on mesh status page.
Correct services to be correctly lined up.

Note:
It looks like we need to split the two tables eventually on the mesh status page as the services are pushed to the right.

Saving this however to be done in a future release as we may be doing a revamp of this page for sortable fields in the near future and this would fit in with that.
2015-12-16 21:33:16 -08:00
AE6XE 265d2eb196 feature: enhance snrlog to squareLine, local TZ, fix test condition 2015-12-15 22:45:29 -08:00
AE6XE fb224eebc0 Merge: bugfix: resolved rssi shift condition that needed a noise floor calibration 2015-12-14 21:47:24 -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
Darryl Quinn b2c4913680 default any error conditions to -95 2015-12-13 15:07:46 -06:00
Darryl Quinn aa6dbe41d6 minor adjustment to interfaces and hosts (change to array) 2015-12-12 17:33:54 -06:00
Darryl Quinn 839718cc89 minor adjustment to interfaces and hosts (change to array) 2015-12-12 17:19:52 -06:00
AE6XE f6c134fe7c feature: AREDN banner 2015-12-11 15:38:45 -08:00
Darryl Quinn 3685deb091 moved buttons to top of page for consistency with other pages 2015-12-11 17:10:57 -06:00
AE6XE 8586a9fee8 feature: device support for older AirGrid M5 0xe245 tested in beta 2015-12-11 10:50:45 -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 4aff5d7a59 fixed typos in device names 2015-12-11 11:15:48 -06:00
Darryl Quinn 62ba6daf75 bugfix: display correct month 2015-12-11 01:04:34 -06:00
Darryl Quinn 2f15569a69 fixed y-axis label 2015-12-11 00:35:37 -06:00
Conrad Lara - KG6JEI 096f798ceb hardware: Update supported hardware list labels. 2015-12-10 10:53:37 -08:00
Darryl Quinn fbc6002924 removed spurious comments 2015-12-10 12:15:12 -06:00
Darryl Quinn 61d9db044d bugfix: location message alignment/html structure issue 2015-12-10 12:14:38 -06:00
Darryl Quinn fba3459752 bugfix: fix validation to not allow - at the end of the line 2015-12-10 12:12:15 -06:00
Darryl Quinn 1ef42568c2 changed default chart view to realtime 2015-12-10 11:22:30 -06:00
Darryl Quinn 43565d714e updated snrlog for multi devices 2015-12-10 11:17:03 -06:00
Darryl Quinn f96fac0a57 removed old SNR page and replace with new chart page 2015-12-10 11:14:43 -06:00
Darryl Quinn 833dedd8fa changed the filename that snrlog cron job creates 2015-12-09 17:20:16 -06:00
Darryl Quinn a1deaea04a bugfix: initialize chart to start at -95 instead of 0 2015-12-09 17:16:44 -06:00
Darryl Quinn 4de822ca2b signal2 cleanup 2015-12-09 16:57:57 -06:00
Darryl Quinn dd04d3d657 feature: added realtime charts by device 2015-12-09 16:37:37 -06:00
Darryl Quinn c81127f2a4 feature: select a device to view archived data against, enabled chart zooming/panning 2015-12-09 15:36:09 -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
Darryl Quinn 46c13c8c64 bugfix: add error checking when posting to map server 2015-12-08 17:20:53 -06:00
Darryl Quinn c270ea5e0d added data validation for lat/lon/gridsquare 2015-12-08 17:03:15 -06:00
Darryl Quinn 8ceaa87472 bugfix: maxis on grid square field set to 6 2015-12-07 15:51:29 -06:00
Darryl Quinn fa0e128104 feature: provided lat/lon/gridsquare purge ability 2015-12-07 15:47:12 -06:00
Darryl Quinn e1d4c82256 bugfix: test/update grid square to message appears when appropriate 2015-12-07 15:41:34 -06:00
Darryl Quinn 24ccfb30bc feature: save location data from admin page 2015-12-07 15:24:39 -06:00
AE6XE 4d12a6f535 feature: include boardid for Rocket M5 XW 2015-11-25 21:54:36 -08:00
AE6XE 0c776ab932 fix: correct max power setting NS loco XW 2015-11-25 21:23:52 -08:00
AE6XE dc5df00d46 feature: Add boardid for NS Loco M5 XW 2015-11-25 20:43:27 -08:00
Darryl Quinn e3962e12e1 feature: add signal2 graphing page to status page as a button 2015-11-24 22:39:27 -06:00
Conrad Lara - KG6JEI 46b49369d4 bugfix: firstboot now requires user interaction or -y flag to approve an overwrite. 2015-11-23 20:08:07 -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
Darryl Quinn 51f4bcc550 bugfix: ssh keys not saving across sysupgrade 2015-11-16 14:44:52 -06:00
Conrad Lara - KG6JEI dabd9a4fbc bugfix: 802.11n devices did not use 802.11n datarates
This adds support for 802.11n data rates on the mesh.

This should improve dataspeeds across the board

MIMO devices like Rocket and NanoStation should be able to use dual chains which allows diverse data transmission on each chain increasing throughput

MCS data rates in theory should cut through noise better than legacy modulation and have higher speeds on each step which should allow overall higher datarate between nodes.
2015-11-15 19:50:54 -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
Conrad Lara - KG6JEI 854a536629 bugfix: Settings set to 0(off/disabled) are not copied over during OTA.
Some settings would not copy correctly and would fall back to the config default due to faulty if checks logic when the value was set to 0 ending up in if(0) checks.
2015-11-15 10:59:17 -08:00
AE6XE 5b945229fa bugfix: add rssi_monitor data and logfiles to download support data 2015-11-03 20:32:36 -08:00
AE6XE 79bf05f7d9 bugfix: rssi_monitor log file size trim calculation error 2015-11-02 22:15:22 -08:00
AE6XE 8cd8e07885 bugfix: deaf chain workaround 2015-11-01 18:33:05 -08:00
Darryl Quinn a5492c0807 bugfix: tunnel client not showing errors. allow - in pwd 2015-10-19 22:48:09 -05:00
Conrad Lara - KG6JEI a200f49a37 bugfix: Better handle AP detection.
All devices that respond to an iw scan will be AP's or ADHOCS.

All adhoc devices need to have the adhoc designator so if we don't see this we know its an AP.
2015-09-04 22:19:53 -07:00
Conrad Lara - KG6JEI c7bde9712a bugfix: station listing includes nodes that have not been seen for some time
Also resolves the "0" signal strength as nodes that have not been seen in long time show up as a 0 for signal.

This is a regression of the issues seen on the iw scan but in this case applies to station dump which we have not used before.
2015-09-04 22:11:00 -07:00
Conrad Lara - KG6JEI ba3f3b9b16 bugfix: initialize lastseen variable before first use. 2015-09-04 21:38:44 -07:00
Conrad Lara - KG6JEI 0f8b82e074 bugfix: regression: Networks not seen in long time show up in scan
commit d0bbeae66b introduced a regression previously fixed in commit 9aec7e019b

Resolves regression
2015-09-04 20:48:17 -07:00
AE6XE d0bbeae66b bugfix: wscan - show 3ghz freq instead of channels, fix blank mode fields 2015-08-28 19:44:54 -07:00
Darryl Quinn 0669217984 check for 3Ghz band channels and report freq instead 2015-08-28 20:09:33 -05:00
Darryl Quinn 14d7163666 add wifi channel number 2015-08-18 21:39:30 -05:00
Darryl Quinn b9ce490a3c changed maxlines to capture 2days worth of data 2015-08-10 18:25:55 -05:00
Darryl Quinn 3cd84b3dfc bugfix: wrong syntax for iw 2015-08-05 13:40:45 -05:00
Conrad Lara - KG6JEI 28f038edd5 bugfix: Correct section reference 10(e) should be 7(e) when referring to the section that grants the additional terms permission in GPL. 2015-08-03 15:57:42 -07:00
Darryl Quinn e0c2cbbe5d feature: add sorttable.js lib to www/js dir 2015-07-30 15:34:13 -05:00
Darryl Quinn 5358f43604 minor fixes 2015-07-30 15:33:22 -05:00
Darryl Quinn 478caec8f7 feature: make service links open in a new window 2015-07-30 12:33:18 -05:00
Darryl Quinn cfd7aa2a6c js lib changes 2015-07-28 16:33:20 -05:00
Darryl Quinn 028f140996 added js libs 2015-07-28 16:31:48 -05:00
Darryl Quinn 9b2e95238c fixed realtime charts 2015-07-28 16:16:01 -05:00
Conrad Lara - KG6JEI af97ce3f49 bugfix: "Disable default route" not kept during OTA upgrade. 2015-07-28 08:49:48 -07:00
Darryl Quinn 3ae86c67ec feature: signal charts 2015-07-26 23:09:34 -05:00
Conrad Lara - KG6JEI ae2bc531b2 hardware: board add: Rocket M5 with USB Port
board.info
{{{
board.sysid=0xe105
board.cpurevision=0x000000c2
board.name=Rocket M5
board.shortname=R5N
board.subtype=
board.netmodes=7
board.hwaddr=00156DDC9D53
board.reboot=30
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=1524
board.phy.2.maxmtu=1524
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe105
radio.1.subvendorid=0x0777
radio.1.txpower.max=27
radio.1.txpower.offset=5
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=0
}}}
2015-07-23 21:24:21 -07:00
Conrad Lara - KG6JEI 2511f585f0 bugfix: Should not keep /etc/config/* on sysupgrade
We don't really need any files in there,  and keeping the folder can interfere with the programs that populate /etc/aredn_include on firstboot from uci-default.

This will cause the node to boot up in default mode (with an AP on its interface on the default channels) during its first boot, and than very quickly reboot and come up under the mesh.
2015-07-23 11:35:54 -07:00
Conrad Lara - KG6JEI 2755094c9f Merge branch 'FixupTPLinkPower' into release-3.15.1.0
Deals with the fact that TPLink has max powers that differ based on frequency and are programed into the chip lower than what the manufacture states in its datasheet.

We want to make sure we don't fry any boards so we honor what the chip programming is set to.
2015-07-22 23:20:23 -07:00
Conrad Lara - KG6JEI 5f66df447f add help text and icon for power setting info 2015-07-22 23:16:24 -07:00
Conrad Lara - KG6JEI f209886f76 add qmark image
Part of Freesns Cumulus package
https://www.iconfinder.com/icons/183285/help_mark_question_icon#size=16

Free for commerical use

Created by Yannick Lung, 2013
Web: www.yanlu.de
Twitter: @FreecnsUI or @YanluDE
Facebook: www.facebook.com/FreecnsUI
Mail: freecns@yanlu.de
Google+: Freecns
App.net: Freecns

Version 2.0 known as Freecns Cumulus
LICENSE

You are free to use Freecns for commercial and personal purposes without attribution, however a credit for the work would be appreciated. You may not sell or redistribute the icons themselves as icons. Do not claim creative credit.
2015-07-22 23:00:58 -07:00
Darryl Quinn 912afe3713 added channel bandwidth 2015-07-21 12:19:41 -05:00
Conrad Lara - KG6JEI 108e05088b bugfix: Add max power level tracking control for per channel power on devices
Mainly relates to TP-Link devices which have a roving power level programmed into the hardware.

The datasheets for the hardware may say higher power but the chip has been programmed to not go above these values.
2015-07-20 23:30:49 -07:00
Conrad Lara - KG6JEI 9b30e157bc bugfix: Set max power for device to TPLink programed "max power"
This is the absolute maximum that can be used by the device from TPLink eprom programming.

The value actually goes down on some frequencies.
2015-07-20 21:38:01 -07:00
Conrad Lara - KG6JEI 9aec7e019b bugfix: regression: Networks that have not been seen in long time still show up in wifi scan.
Regression of changeset:e34b7fcee49c3e2b7eb35aa4fb44b6abdc78b3ad/aredn_ar71xx

Having moved to iw for iwinfo we have a regression previous commit.

Restore fix that if not seen after 10 seconds signal drops from display.
2015-07-19 23:34:06 -07:00
Conrad Lara - KG6JEI 661dc23e18 bugfix: wscan does not show channels sometimes.
We should of used the freq: field, not sure why I did not use it to begin with.

Corrected and added a small function to convert from frequency to channel.
2015-07-19 23:22:45 -07:00
AE6XE 2613a8507c bugfix: wscan bogus hostname lookup when multiple entries in arp table 2015-07-19 18:53:50 -07:00
Darryl Quinn cb09c22275 feature: changed version element name, added grid square 2015-07-16 19:21:41 -07:00
Darryl Quinn 2a63226ad3 feature: added board_id to output 2015-07-16 19:21:41 -07:00
Darryl Quinn 0cd0db2d0d feature: add sysinfo.json for programmatic lightweight management interface 2015-07-16 19:21:41 -07:00
AE6XE 683b07c4a3 Merge branch 'wscan' into release-3.15.1.0 2015-07-15 21:12:20 -07:00
AE6XE 0efbd5b2f5 bugfix: wifi scan documentation update for changes made 2015-07-15 21:10:51 -07:00
AE6XE c68a4d23bb Merge branch 'release-3.15.1.0' of git.aredn.org:aredn_ar71xx into release-3.15.1.0 2015-07-15 19:37:09 -07:00
AE6XE 9294e790eb bugfix: AREDN->ticket:132 show AREDN networks on other channels fixed 2015-07-15 19:27:06 -07:00
Darryl Quinn 3c86ff9ec8 feature: changed version element name, added grid square 2015-07-13 20:32:17 -05:00
Darryl Quinn e8333f76ea feature: added board_id to output 2015-07-13 11:18:53 -05:00
Darryl Quinn 3c0f3ad144 bugfix: tunnel install not posting to same page 2015-07-12 23:26:09 -05:00
Darryl Quinn 8e1da4766a feature: add sysinfo.json for programmatic lightweight management interface 2015-07-10 21:51:18 -05:00
Conrad Lara - KG6JEI cc74123ad3 bugfix: vtund was missing from arednsysupgrad.conf 2015-07-10 18:56:30 -07:00
Conrad Lara - KG6JEI 311b9d5ffe bugfix: Nodes are showing up as encrypted when they are not.
The code makes the assumption that the connection has not been modified to be encrypted (Standard is not under AREDN V3 protocol) but this may need to be changed in the future.
2015-07-10 18:50:28 -07:00
Conrad Lara - KG6JEI 3576a2c00b Merge branch 'RemoveIWINFOCalls' into release-3.15.1.0
Move from iwinfo to iw where possible

Discovered while discussing another issue about ssid's

ref AREDN->ticket:132
2015-07-09 21:05:14 -07:00
Conrad Lara - KG6JEI 0fdeb4e7eb bugfix: extend support tool to capture more info from iw as we now use it more than iwinfo 2015-07-09 21:03:06 -07:00
Conrad Lara - KG6JEI 51272c37df bugfix: migrate wscan from iwinfo to iw due to new rf channels and iwinfo issues 2015-07-09 20:58:32 -07:00
Conrad Lara - KG6JEI 650d1bca28 bugfix: nodeupgraded needs to be set before taring up the archive
ref AREDN->ticket:131
2015-07-09 20:01:32 -07:00
Conrad Lara - KG6JEI 87f655f103 Merge branch 'FixSYSUPGRADEBackups' into release-3.15.1.0
ref AREDN->ticket:131
2015-07-09 18:21:35 -07:00
Conrad Lara - KG6JEI 442b7e9822 bugfix:
Make sure httpd.conf is up to date on first boot.
2015-07-09 16:10:50 -07:00
Conrad Lara - KG6JEI d7be9104d9 bugfix: We need to only pull a small selection of files over through sysupgrade instead of all config files.
opkg config can cause issues on OS upgrade among others.

ref AREDN->ticket:131
2015-07-09 09:25:00 -07:00
Darryl Quinn 3872261893 Revert "bugfix: define tun hostname for olsrd"
This reverts commit d4f6aea68e.
2015-07-07 21:31:24 -05:00
Darryl Quinn 0359796a33 bugfix: detect tun passwords with only numbers 2015-07-06 23:32:41 -05:00
Conrad Lara - KG6JEI f96dd0d49d Merge branch 'release-3.15.1.0' into develop
Early merge of 3.15.1.0 into develop due to a large number of code changes in the release branch.

Will merge again in the future when the branch is closed but want to pull in changes now from release.
2015-07-06 11:19:17 -07:00
Conrad Lara - KG6JEI 8eabf6ad00 bugfix: snr setting was setting SignalLevel instead of NoiseLevel
ref AREDN->ticket:129
2015-07-02 22:43:01 -07:00
Conrad Lara - KG6JEI 8975c46c67 bugfix: TPLink and similar, fix port_map led mapping 2015-07-02 20:30:27 -07:00
Conrad Lara - KG6JEI 6b404c27ff bugfix: move set eth mac fixup to /etc/init.d/local
Not getting much debug information at moment, would like to put this in uci-defaults but with issues that I can't seem to log at moment (and not having serial cable for this device) I'm going with lets put it in /etc/init.d/local before nvram and similar gets set.

ref AREDN->ticket:115
2015-07-02 19:03:47 -07:00
Conrad Lara - KG6JEI c4c808f98c Merge branch 'FixupRefDMZLed' into release-3.15.1.0
Remove references to DMZ led and replace with "Status 4" led
2015-07-01 23:25:56 -07:00
Conrad Lara - KG6JEI 55ec5d6dc1 bugfix: change ref to DMZ Led to Status 4 led in help.html 2015-07-01 23:25:22 -07:00
AE6XE 8e0943f8e0 bugfix: Pull dtdlink and tunnel from remote connections display.
Due to issues we are pulling the showing of tunnels untill we can better detect them.

We are also pulling dtdlink as all AREDN nodes should have dtdlink enabled.
2015-07-01 23:21:51 -07:00
AE6XE 305dbb143e bugfix: ".local.mesh" being added to already qualified domain names.
fixes AREDN->ticket:127
2015-07-01 23:10:13 -07:00
Conrad Lara - KG6JEI 2482af260c bugfix: re-work the mac change code.
Old code would set mac on the sub-vlan not the master interface which could cause issues.

Rework to be more functional in the future and to work correctly on vlan interfaces.

ref AREDN->ticket:115
2015-07-01 23:03:01 -07:00
Conrad Lara - KG6JEI a46bbf27d8 bugfix: sometimes iw doesn't show noise floor
Pull from kernel debug instead for now untill we can work around it in iw.

fixes AREDN->ticket:129
2015-07-01 10:05:58 -07:00
Conrad Lara - KG6JEI 794c00c7c6 bugfix: "wifi" network isn't yet defined during firstboot so hard code interface names to eth0 and wlan0
ref AREDN->ticket:115
2015-06-30 22:17:45 -07:00
Conrad Lara - KG6JEI 13db1b02a2 bugfix: Remove ref to DMZ Led on first node reboot 2015-06-30 08:36:45 -07:00
Conrad Lara - KG6JEI 39729157c6 bugfix: Signal levels do not show up on "new extended" RF Channels
Switch to iw over iwinfo because it handles the new channels better.

Partially reverts changeset:808a8d5019fce4a7ca2c027ea7838d43c6d8cad0/aredn_ar71xx

fixes AREDN->ticket:129
2015-06-30 00:05:45 -07:00
Conrad Lara - KG6JEI 4816a47751 Merge branch 'FixupDuplicateMAC' into release-3.15.1.0
ref AREDN🎫115
2015-06-29 23:00:43 -07:00
Conrad Lara - KG6JEI 7985ff6ba3 bugfix: deal with duplicate MAC on LAN and WIFI
ref AREDN->ticket:115
2015-06-29 22:58:08 -07:00
Darryl Quinn d4f6aea68e bugfix: define tun hostname for olsrd 2015-06-29 20:07:01 -05:00
AE6XE 9481c21db6 bugfix: fixes AREDN->ticket:128 remote neighbor incorrectly shown as having tunnel 2015-06-21 22:06:40 -07:00
Conrad Lara - KG6JEI f915225459 bugfix: Add in-testing support for older NanoStation M5 XW boards
board.info provided by VE3KMV
{{{
board.sysid=0xe005
board.cpurevision=0x000000c2
board.name=NanoStation M5
board.shortname=N5N
board.subtype=
board.netmodes=7
board.hwaddr=00272232336C
board.reboot=30
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=1524
board.phy.2.maxmtu=1524
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe005
radio.1.subvendorid=0x0777
radio.1.txpower.max=27
radio.1.txpower.offset=5
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=16
}}}
2015-06-21 19:24:43 -07:00
Conrad Lara - KG6JEI ff43a707c1 cleanup: Make note about automatic antenna selection look better on screen 2015-06-18 21:15:05 -07:00
Conrad Lara - KG6JEI 547069986c bugfix: Antenna selection handle by kernel: Cleanup errors reported by build tests. 2015-06-18 21:09:10 -07:00
Conrad Lara - KG6JEI 21edf5fa02 bugfix:Let kernel handle antenna selection: Remove antenna name mapping data. 2015-06-18 20:18:03 -07:00
Conrad Lara - KG6JEI ea9dfc5d1a bugfix: Let kernel handle antennas:Remove sub functions wifi_validant and wifi_defaultant 2015-06-18 20:15:47 -07:00
Conrad Lara - KG6JEI ee90c366aa bugfix: The 'hack' we have been using to set RF chain has been discontinued.
Trying to registry over-write the antenna setting has never been a good idea in the first place.

The  hardware fully handles antenna selection without forcing it already.

ref AREDN->ticket:120
2015-06-18 18:57:04 -07:00
Conrad Lara - KG6JEI d1253c0d9d bugfix: Channel "0" means "Problem" inside the kernel.
To overhaul the system to allow "0" would take a significant re-write of kernel code. At this time its best to pull channel '0' as it is not in any clear RF space (channel 1 overlaps it)

ref AREDN->ticket:114
2015-06-18 18:35:41 -07:00
Darryl Quinn 8da9756817 bugfix: removed debugging statements 2015-06-17 22:43:20 -05:00
Darryl Quinn 3d7893fd46 Revert "Revert "fixes AREDN->125""
This reverts commit d917b5b2ec.
2015-06-17 00:40:34 -05:00
Darryl Quinn d917b5b2ec Revert "fixes AREDN->125"
This reverts commit 7a05f76c93.
2015-06-17 00:39:07 -05:00
Darryl Quinn 7a05f76c93 fixes AREDN->125 2015-06-17 00:38:13 -05:00
Darryl Quinn 8619bd379e bugfix: force node name to upper in config files for tunnel client 2015-06-16 23:13:58 -05:00
AE6XE 177f831e14 bugfix: tunnel firewall rules update for Barrier Breaker chain rename 2015-06-15 22:10:21 -07:00
AE6XE 02c756a489 Merge branch 'MeshBugfix' into release-3.15.1.0
Fixes AREDN->118:Mesh Status links incoorect
2015-06-14 23:09:42 -07:00
AE6XE 4ce0e1e21d Fixes AREDN->118:Mesh Status links incoorect 2015-06-14 23:06:32 -07:00
Darryl Quinn 807f381a04 bugfix: network and firewall tunnel rules reworked 2015-06-14 23:30:06 -05:00
Darryl Quinn 5dc1d0fa02 Revert "bugfix: missing include in firewall config"
This reverts commit 05839715f6.
2015-06-14 22:28:47 -05:00
Darryl Quinn cc2415faf0 bigfix: active icon not appearing on server 2015-06-14 20:50:54 -05:00
Darryl Quinn 05839715f6 bugfix: missing include in firewall config 2015-06-11 01:21:30 -05:00
Darryl Quinn 91762973a5 bugfix: tunnel firewall changes 2015-06-11 01:02:55 -05:00
Darryl Quinn 049e8ce364 Merge branch 'release-3.15.1.0' of ssh://git.aredn.org/aredn_ar71xx into release-3.15.1.0 2015-06-11 00:40:40 -05:00
Darryl Quinn 81ac8b7fbe bugfix: losing network interfaces after node-setup 2015-06-11 00:40:14 -05:00
AE6XE 3429462627 fixes AREDN->ticket:112 wifi scan improperly sorted by signal strength 2015-06-09 21:51:52 -07:00
Darryl Quinn 0472e30333 feature: sortable columns in wifi scan 2015-06-09 23:39:10 -05:00
Darryl Quinn a2456e4df9 bugfix: made firmware upgrade "keep settings" checked by default 2015-06-02 14:49:49 -05:00
Conrad Lara - KG6JEI 1f2737f0f3 bugfix: tunnels: Unable to route to connections across tunnel
Firewall rules don't get called because vtund is at /usr/sbin/vtund not /usr/bin/vtund

Also make the check if line posix compatible while we are chaning the path to be sure it works in the future too.
2015-05-25 23:04:34 -07:00
AE6XE f1df364997 bugfix: mesh stat: previous neig remove mid notation, show double same neigh {rf,dtd} 2015-05-25 10:46:15 -07:00
AE6XE 2e5c239ed5 bugfix: mesh stat added ref to wan gateways, was ommitted alongside dtd & tun. 2015-05-25 09:25:38 -07:00
AE6XE b314c4539f bugfix: correctly show primary wifi hostname for all references, etx sort, denote dtd & tun* iface 2015-05-24 22:43:26 -07:00
AE6XE f610c58b82 BUGFIX: tunnel firewall to behave same as dtdlink part 2 2015-05-24 15:57:44 -07:00
AE6XE 15f8792001 BUGFIX: tunnel firewall to work same as dtdlink 2015-05-24 15:55:27 -07:00
Conrad Lara - KG6JEI e25756ffbe setup: mesh gateway: Better define as an advanced feature.
Better define the Mesh Gateway as an advanced feature.

Increase documentation in help about what the feature does.

ref AREDN->ticket:109
2015-05-24 15:37:56 -07:00
Conrad Lara - KG6JEI af1eaa1107 Merge branch 'CleanupTunnels' into release-3.15.1.0
various fixups to improve the quality of bringing tunnel's into mainline code
2015-05-24 15:18:54 -07:00
Conrad Lara - KG6JEI 1f4fa46887 supporttool: Add nodename and tsamp to default filename
add nodename and tstamp to default filename to reduce chance of submitting wrong file

timestamp may not always be 'real' time if a node does not have ntp access
2015-05-24 14:17:31 -07:00
Conrad Lara - KG6JEI 23b634e6ac bugfix: supportool: Sensitive files are being included in the support dump.
Add feature to remove files that are sensitive (such as vtun configuration with passwords)
2015-05-24 13:47:16 -07:00
Conrad Lara - KG6JEI c788d2daff supporttool: Obtain better diagnostic information
Add dmesg

fix olsrd collection to obtain actual information
2015-05-24 13:29:49 -07:00
Conrad Lara - KG6JEI c7c615a750 bugfix: Missing AREDN Logo and alert banner on tunnel pages 2015-05-24 13:08:19 -07:00
Conrad Lara - KG6JEI 3850cbac53 tunnels: Tunnels should only start when in mesh mode
Tunnels are not supported in other modes as such we should only let them start in mesh mode.
2015-05-24 12:59:11 -07:00
Conrad Lara - KG6JEI 5cc53dec88 tunnels: Set tunnel init.d scripts to be executable
Remove the chmod step inside of setup.

Came across one time where this didn't trigger.

In addition this saves us from using additional storage space on the node as a +x creates a duplicate file.
2015-05-24 12:30:23 -07:00
Conrad Lara - KG6JEI 0aaa6b6204 bugfix: tunnels: Tunnel config is deleted by saving changes on node.
Make sure we always save a copy of the tunnel config to /etc/config.mesh/ not just when we have an error.
2015-05-24 12:26:25 -07:00
Conrad Lara - KG6JEI fbb98d0539 bugfix: firewall rules not being written by node-setup
When calling uci commit the file gets overwritten and as such the additional file lines are discarded because the active /etc/config/firewall is diffrent than the open file.

Use the uci commit further down in node setup.
2015-05-24 11:36:15 -07:00
Conrad Lara - KG6JEI d15668d592 documentation: setup: Deprecation notice for all but mesh mode
All node type's except mesh have been deprecated.

In a future release we will remove them (and the associated code) to streamline the project.

It is recommended to use a dedicated purpose driven device for these modes in the future
2015-05-21 11:11:59 -07:00
Conrad Lara - KG6JEI 1b68255c7f hardware: NanoStation M3: Set NanoStation M3 to "in testing"
25dbm max power, with 3dbm offchip amplifier.

ref AREDN->ticket:53
2015-05-21 10:51:58 -07:00
Conrad Lara - KG6JEI 0cf4c912ad bugfix: setup: wired router: Country invalid error
Resolve country invalid error when using wired router mode.

Also resolves a chanbw missing error later as well.

ref AREDN->ticket:108
2015-05-21 10:44:25 -07:00
Conrad Lara - KG6JEI 06a46e4d2a bugfix: Radio0Path is unknonw WIFI doesn't start.
wifi detect  is called in /etc/init.d/boot before uci_apply_defaults is called.

Because of this if we don't have the data about the radio0path we need to remove the wifi config file first before calling wifi detect.
2015-05-16 11:32:29 -07:00
Conrad Lara - KG6JEI e69f1e98ba bugfix: Move aredn_include setup to uci-defaults and fix radio0path upgrade flaw
Needs to be in uci-defaults to be sure these data sets execute BEFORE the OS boots

We also need to get radio0 path because its mandatory for wifi to work.

Needed for sysupgrade from 3.0.2 to latest version.
2015-05-15 22:54:16 -07:00
Conrad Lara - KG6JEI 42ee986cd3 bugfix: Untill user visit status page theme is not set.
Move default theme selection to html_header() to solve theme not being set.
2015-05-14 11:36:51 -07:00
Conrad Lara - KG6JEI d59709d840 bugfix: Theme reverts to no-theme when status page reset button is pressed.
A symlink loop occurs because the default theme selector links back to itself.

Removing the value= on the select title entry prevents this.
2015-05-14 10:56:41 -07:00
Conrad Lara - KG6JEI dff687eed7 Merge branch 'DefaultChannel' into develop
Allows nodes to default to a common channel that is in the most common bandplan space for Part 97 usage.

Local cordination is still needed by users to make sure the channel matches the local deployment.

Defaults are as follows:

Band   : Channel Freq : Bandwidth
900    : 912MHz       : 5MHz
2400   : 1 2412MHz    : 20MHz
3400   : 3420MHz      : 5MHz
5800   : 149 5745MHz  : 5MHz

2.4GHz keeps channel 1 at 20MHz because it is the standard deployment.
All other bands are still 'new' and no standard exist so we are creating one.

5MHz chosen because it better fits the emcomm goal. Smaller width should be stronger allowing for better networks.

Local networks can change as they see fit.
2015-05-13 22:02:08 -07:00
Conrad Lara - KG6JEI 8761ffc3b8 feature: default rf channel : Remove setting RF channel on first boot.
Remove setting RF channel on first boot in uci-defaults.

This should allow the node to use standard wifi channels when it boots allowing mesh setup to be run from a laptop or mobile device.

We will later move them to a real mesh channel during the mesh setup page.

Should also resolv issue where nodes were booting up on channel -2 and similar and wifi would refuse to start due to regdomain.
2015-05-13 21:50:32 -07:00
Conrad Lara - KG6JEI c11eae61e8 feature: default rf channel : Make setup page use mesh defaults on reset or unconfigured
When a node is first setup (unconfigured) the rf channel or when user presses reset button the wifi channel and bandwidth will be set to mesh default even if it does not match the current RF channel.
2015-05-13 21:47:15 -07:00
Conrad Lara - KG6JEI 99bd244753 feature: default rf channel: Create new function to return default channel+bw 2015-05-13 20:19:22 -07:00
Darryl Quinn 1ffa2b69a4 bugfix: tunnel: hot plug monitoring wrong interface name to trigger fw scripts 2015-05-12 19:24:06 -05:00
Conrad Lara - KG6JEI f33a60819e bugfix: Status Screen: No word wrap on status screen initial warning text
A {{{</nobr>}}} was removed in changeset:9444716fbd923731e453456410b5d54b7be04370/aredn_ar71xx
2015-05-11 21:29:28 -07:00
Conrad Lara - KG6JEI dcb4994cda bugfix: tunnels: Tunnels fail to start after saving.
etc/init.d/vtund needs to be +x
2015-05-10 14:39:03 -07:00
Conrad Lara - KG6JEI ea9638e787 bugfix: tunnels: Missing AREDN footer on pages.
Add call to page_footer(); to pages
2015-05-10 14:38:03 -07:00
Conrad Lara - KG6JEI 994c4948d1 bugfix: get_boardid : echo should be a cat 2015-05-09 23:04:54 -07:00
Darryl Quinn eb20b40eb8 Merge branch 'tunnel_mainline' into develop 2015-05-09 22:04:18 -05:00
Darryl Quinn 370808578b cleanup: unused vars 2015-05-08 23:26:54 -05:00
Conrad Lara - KG6JEI 27bf54f2dc Merge branch 'SupportTool' into develop
Add new feature for support information to admin interface

Conflicts:
	files/etc/httpd.conf
2015-05-08 20:03:22 -07:00
Conrad Lara - KG6JEI 01fa7b5666 feature: supporttool: Add link to admin page
Add link to admin page for users to download support data
2015-05-08 20:02:09 -07:00
Conrad Lara - KG6JEI 8299862b57 feature: support tool: Restrict Access
Restrict access to support tool to logged in admin user
2015-05-08 19:55:09 -07:00
Conrad Lara - KG6JEI b3798fecdd feature: New tool to provide support providers with information about a node
support tool will dump a tar file with copy of key files and command outputs to aid in diagnostics of support questions.
2015-05-08 19:52:49 -07:00
Conrad Lara - KG6JEI 18339b7443 Merge branch 'SpectrumTest' into develop
Spectrum testing proved to work out well. Merge code into mainline so we can better test with the rest of the hardware.

Also extends ability for 3.4 GHz devices (3.38=3.50)

Adds 5MHz spacing options for 5.8Ghz and allows more channels

Adds -2,-1,0 channel support on 2.4GHz

Conflicts:
	files/www/cgi-bin/channelmaps.pm
2015-05-08 16:09:44 -07:00
Conrad Lara - KG6JEI f9eb33339c feature: Extend RF channel list to match arednbase.
Additional channels have been added to the image, adding them to the GUI as well.
2015-05-08 15:23:02 -07:00
Darryl Quinn 76ffed042f Merge branch 'tunnel_mainline' into develop 2015-05-07 22:55:58 -05:00
Darryl Quinn f19d8e33fd cleanup based on shellcheck tests 2015-05-07 22:55:15 -05:00
Darryl Quinn 18ec1ff82c Merge branch 'tunnel_mainline' into develop 2015-05-07 22:41:59 -05:00
Darryl Quinn 5afde21c9f bugfix: secured vpn and vpnc pages 2015-05-07 22:41:06 -05:00
Darryl Quinn c26b5fd992 Merge branch 'tunnel_mainline' into develop 2015-05-07 19:25:14 -05:00
Darryl Quinn f9f046f111 dynamic integration of tun interfaces with olsrd 2015-05-06 23:46:25 -05:00
Darryl Quinn 5a246f7441 reworked ucifunc.pm
added server DNS name field
reworked to use section names in ici
2015-05-06 22:01:28 -05:00
Conrad Lara - KG6JEI bd3de68231 ar71xx: hardware: NanoBeam-M5-19 Add testing support
Add NanoBeam M5 19 in testing support
2015-05-05 16:29:53 -07:00
Conrad Lara - KG6JEI 2af1e3e0c3 ar71xx: Copy get_model to get_boardid and modify to return a boardid
When model exiss that has a boardid in EEPROM it will return from there, otherwise it returns the model as chosen by ar71xx
2015-05-05 16:18:24 -07:00
Conrad Lara - KG6JEI 3465b45732 feature: mesh status: Display NLQ
Add the NLQ to the remote neighbors display so users can see both directions of the path from the mesh status screen.

ETX is dependent upon both directions of the path.
2015-05-04 09:39:52 -07:00
AE6XE ece70e2f63 BUGFIX: Mesh Status missing some advertised service links or names 2015-04-29 23:29:25 -07:00
Conrad Lara - KG6JEI a1ce01044d feature: Add Disable Default Route checkbox to Lan box
Allows users to disable publishing 0.0.0.0/0 (all/internet) route via DHCP.
2015-04-29 23:18:09 -07:00
Conrad Lara - KG6JEI 0be1ee22dc Update node help to include details about "Disable Default Route" checkbox 2015-04-29 23:11:23 -07:00
Darryl Quinn cc1f683121 feature: adding support to add tun interfaces dynamically to olsrd 2015-04-29 23:02:29 -07:00
Darryl Quinn 8aa7b84712 bugfix: correct unmatched quote error 2015-04-29 21:33:36 -07:00
Darryl Quinn defd944fc1 changed graphics: https://www.iconfinder.com/icons/183208/bin_can_garbage_trash_icon#size=20 (Free for commercial use) 2015-04-28 22:37:33 -07:00
Darryl Quinn 5d6ba0c244 fix client options and disconnect graphic 2015-04-26 23:21:42 -05:00
Darryl Quinn 7327c2de51 Merge branch 'develop' into tunnel_mainline 2015-04-23 23:00:00 -05:00
Conrad Lara - KG6JEI 9840db43de hardware: Add CPE210 in testing support 2015-04-22 11:31:23 -07:00
Conrad Lara - KG6JEI 14ddd34906 Merge branch 'RocketM3' into develop
RocketM3 will remain in untested status until we get spectrum report.

ref AREDN->ticket:53
2015-04-22 00:06:43 -07:00
Darryl Quinn a43ef2827b feature: improved stop methods for client and server. added IPs to uci config 2015-04-20 23:53:57 -05:00
Darryl Quinn 344992b096 Merge commit '714a3d6f5404bcd650019bd59e92d2cc2bb54164' into develop 2015-04-17 18:50:53 -05:00
Darryl Quinn dec3eeeb47 Merge commit '88037845309b311901a590ca2a2b91adbd79bfc0' into tunnel_mainline 2015-04-15 21:09:32 -05:00
Darryl Quinn 7371373235 feature: client and server fixes. calculate IP's for dest/gateway 2015-04-15 17:39:45 -05:00
Conrad Lara - KG6JEI 94a803d456 feature: Add initial read-only SNMP support in mesh mode.
Config file is present upon initial start and in mesh mode.

Daemon still starts up in other modes but will not function w/o settings.

Firewall:
Permit access for UDP:161 (SNMPD) on  WIFI and DTDLINK
Lan is permitted by default allow rules.
2015-04-14 22:31:21 -07:00
Conrad Lara - KG6JEI 2917bb0f4b Prep work for switching to procd olsrd-config will be called for both IPv4 and IPv6 executions.
Since we are not writing for IPv6 yet we exit early in the process.
2015-04-12 20:27:55 -07:00
Darryl Quinn e80f67f139 bugfix: email link did not contain password value 2015-04-11 22:37:26 -05:00
Darryl Quinn 45e82607f9 bugfix: correcting 0 offset issue when getting list of clients, added copyright notice 2015-04-11 22:33:13 -05:00
Darryl Quinn 7695dcdc4c Merge branch 'develop' into tunnel_mainline 2015-04-10 17:42:21 -05:00
AE6XE c1f293a6f9 Merge branch 'develop' of git.aredn.org:aredn_ar71xx into develop 2015-04-09 20:44:05 -07:00
AE6XE 56749d19ff Merge branch 'wscan' into develop 2015-04-09 20:43:04 -07:00
AE6XE f2507f869f Bugfix: Typo in wscan text output resolved 2015-04-09 20:41:54 -07:00
Darryl Quinn ce72e3c9f3 bugfix: changed refresh message to minutes 2015-04-09 17:19:03 -05:00
Darryl Quinn 193d63094d feature: added vtun config files to keep list during sys upgrade 2015-04-09 11:10:09 -05:00
Darryl Quinn bd3190a8ff bugfix: added @ to acceptable password chars 2015-04-09 10:57:57 -05:00
Darryl Quinn 5dd3e19c42 bugfix: disabled vpn debug mode 2015-04-09 10:53:45 -05:00
Darryl Quinn 16538f8a45 bugfix: validate password for only alphanumerics 2015-04-09 10:49:54 -05:00
Darryl Quinn cf1ddb900b bugfix: network/start now resets to default, added icons for pages 2015-04-09 10:14:04 -05:00
Darryl Quinn fcce4039db bugfix: vpn page now saving clients to ici 2015-04-08 21:17:34 -05:00
Darryl Quinn ff057d3488 bugfix: change navbar spacing to accomodate tunnels 2015-04-08 19:59:39 -05:00
Darryl Quinn 6ff8986810 retrieve connections via uci 2015-04-08 19:44:41 -05:00
Darryl Quinn cb3867d0f7 feature: vpn page reads from uci, uci lib updates, aredn.css update 2015-04-08 19:04:43 -05:00
Darryl Quinn c40a42562f feature: implement vtundsrv startup script. make 13-vtun vtund aware 2015-04-08 00:15:36 -05:00
Conrad Lara - KG6JEI 82611bb57e bugfix: NanoStation M5 XW device config was malformed
ref AREDN->ticket:43
2015-04-07 22:11:56 -07:00
Darryl Quinn 54210a2d7e Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into tunnel_mainline 2015-04-07 23:09:29 -05:00
Conrad Lara - KG6JEI 96636f442e Merge branch 'NanoStationXW' into develop
Add initial testing support for NanoStation M5 XW into develop tree.

ref AREDN->ticket:43
2015-04-07 20:39:33 -07:00
Conrad Lara - KG6JEI 853430dbdf hardware: Add testing support for NanoStation M5 XW
ref: AREDN->ticket:43
2015-04-07 20:37:58 -07:00
Darryl Quinn c0c59a8795 feature: installation of tunnel software via vpn page button 2015-04-07 17:06:57 -05:00
Darryl Quinn eeebc9ac09 Merge branch 'develop' into tunnel_mainline 2015-04-07 10:59:06 -05:00
Conrad Lara - KG6JEI 908626336f bugfix: Configuration NOT Saved? Can't open '/etc/ared_include/system_netled'
File wasn't created on boot due to a missing space in if statment.

In addition other services would not start.
2015-04-07 08:51:32 -07:00
Darryl Quinn e6d08f5606 merged from develop 2015-04-07 10:36:42 -05:00
Darryl Quinn 928e7e720a Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into dyn_css 2015-04-06 23:20:12 -05:00
Conrad Lara - KG6JEI f6f3aaef9e Merge branch 'TPLinkCPE' into develop 2015-04-06 21:14:39 -07:00
Darryl Quinn 0b7eb2876a Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into dyn_css 2015-04-06 23:11:32 -05:00
Darryl Quinn 3ba26cea4c fix: added .local.mesh to sys upgrade links 2015-04-06 23:08:52 -05:00
Darryl Quinn f4cb866a8b Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into dyn_css 2015-04-06 23:05:04 -05:00