Commit Graph

205 Commits

Author SHA1 Message Date
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 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 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 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 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
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 ea9638e787 bugfix: tunnels: Missing AREDN footer on pages.
Add call to page_footer(); to pages
2015-05-10 14:38:03 -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 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 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
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 7371373235 feature: client and server fixes. calculate IP's for dest/gateway 2015-04-15 17:39:45 -05: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 ce72e3c9f3 bugfix: changed refresh message to minutes 2015-04-09 17:19:03 -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 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 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
Darryl Quinn bb4f43ca4c feature: auto-refresh after sys upgrade, chg link to codename when sys upgrade 2015-04-06 17:10:06 -05:00
Darryl Quinn 33d490aaa7 cleaned comments regarding linking style.css 2015-04-06 15:38:07 -05:00
Darryl Quinn 09af80b17e check for .css file extension being passed 2015-04-06 14:47:09 -05:00
Darryl Quinn b8dcc50fb9 changed help text 2015-04-06 09:43:05 -05:00
Conrad Lara - KG6JEI 63bb07b617 hardware: CPE510: Add initial hardware support for TPLink CPE510 in testing
Testing mode for CPE510

Offset needs to be looked into, OS reports a max power of 23dbm need to see if this is kernel, or offset related.

Should provide enough details for the board to be registered in the UI
2015-04-05 22:16:24 -07:00
Conrad Lara - KG6JEI 7c152d7c1e hardware: Expand board_id routine to allow TPLink devices to be obtained
When a device does not have a subsystem device ID we will fall back to the board_detect routine.

In the case of a TPLink CPE510 the model will be along the lines of "TP-Link CPE510 v1.0"

In the case of TPLink CPE510 this also includes a hardware version so should the hardware be changed in the future we will be able to key off that as well.
2015-04-05 22:07:47 -07:00
Darryl Quinn df0bc42208 feature: converted css to use symlinks and multiple files 2015-04-05 21:19:32 -05:00
Darryl Quinn 6672996cd3 added ability to have multiple css files 2015-04-04 23:49:31 -05:00
Darryl Quinn ade8026e32 fixed function calls that were moved to external lib (to save space) 2015-04-02 11:52:46 -05:00
Darryl Quinn a8d68cd021 fix tunnel UI and style the install button 2015-04-01 17:32:55 -05:00
Darryl Quinn b074fd6985 consolidated functions to reduce duplication (save space) 2015-04-01 17:26:52 -05:00
Darryl Quinn eb92e16e68 remove bad character 2015-04-01 17:09:41 -05:00
Darryl Quinn 2461d4acd8 add vpn and vpnc pages to UI menu 2015-04-01 17:09:18 -05:00
Conrad Lara - KG6JEI ba045c292a bugfix: channelmaps: 3400 frequency was showing 54**
Forgot to change the 5 to a 3 when writing the channelmap
2015-04-01 10:07:30 -07:00
Darryl Quinn 32600d5467 initial deploy 2015-04-01 10:42:53 -05:00
Conrad Lara - KG6JEI 5414cb2f86 bugfix: Correct bandmapping to 3400 for Rocket M3 2015-03-31 23:50:05 -07:00
Conrad Lara - KG6JEI 6c91ec0ab4 Add channels that are within normal 5.8GHz unit range for Rocket M3 usage.
M3 is a 5.8GHz unit with a 2GHz offset transverter.

5MHz width is recomended on these channels.

Send to spectrum analysis for verification that output looks clean.

Stepping stone to working on the wider width of the full 3.4GHz band which has more channels but unlike channels 95-100 (added in this commit) the rest are outside the normal 5.8GHz cal range (but are between two cal points so may be fine)
2015-03-31 23:42:22 -07:00
Conrad Lara - KG6JEI 16576d7bde bugfix: dtdlink is by default on eth0.2 not eth0.1 2015-03-26 16:47:33 -07:00
Conrad Lara - KG6JEI 0d11af70b9 bugfix: Unknown interfaces wouldn't return default interface. 2015-03-26 01:31:50 -07:00
Conrad Lara - KG6JEI 9444716fbd feature: Add function and code to UI code to prepare for changing interface names in the core OS.
Create get_interface which will lookup in the current uci network config the realname for the logical interface name.

When the interface is not found it will fall back to a hard coded list.

Configure the UI to use the new get_interface function.
2015-03-24 23:25:18 -07:00
Conrad Lara - KG6JEI 5db6e2a747 Merge branch 'hotfix-3.0.2' into develop
Conflicts:
	files/www/cgi-bin/admin
2015-03-13 20:56:46 -07:00
Conrad Lara - KG6JEI 39a7ab878b bugfix: Cleanup display of rebraned pages.
Add missing AREDN(TM) Logo and fix other pages that were missing the footer text.
2015-03-09 19:28:59 -07:00
Conrad Lara - KG6JEI e146193b65 Rerand from BBHN to AREDN(TM)
Since a large number of the  BBHNDev team has decided to create firmware fully independent of the BBHN Project the decision has been made to rebrand the firmware to differentiate from the origional BBHN work.

We would like to thank all those whom have worked on the BBHN firmware over the years and all those who continue to work on the firmware under AREDN(TM).
2015-03-09 16:39:04 -07:00
Conrad Lara - KG6JEI 633c83f7f7 Merge branch 'hotfix-3.0.1' into develop 2015-02-04 08:16:30 -08:00
Conrad Lara - KG6JEI dc24e1d05d Merge branch 'MakeLinksFQ' into develop 2015-01-25 21:08:16 -08:00
Conrad Lara - KG6JEI 243d5fc714 bugfix: Set hidden flag on dtdlink host names so they do not show up in the "Remote Nodes" list. 2015-01-25 10:56:23 -08:00
Conrad Lara - KG6JEI 7c22853a17 Change OLSR Status button to use node FQDN 2015-01-23 18:30:39 -08:00
Conrad Lara - KG6JEI a2944c7e30 Configure status page to present FQDN's as long as the link does not contain a period. 2015-01-23 18:25:25 -08:00
Conrad Lara - KG6JEI 5c3ee1d068 bugfix: Add GPLv3 license text to core BBHN Mesh files
Program went GPLv3 last year but license text was never added to files

Default text to give credit to David as he is listed in all commits and to reference the BBHN Austin team at the same time as they were part of the group of HAM's that started this project.
2015-01-18 11:36:49 -08:00
Conrad Lara - KG6JEI f52513aa15 bugfix: Update url for admin downloads
Previous URL may not have latest firmware list.
2014-12-14 22:56:45 -08:00
Conrad Lara - KG6JEI 917573cf95 hardware:bugfix: AirGrid M2 0x212 remove power offset to facilitate testing
Removing the offset and increasing max power so we have full range avaliable to us.

This may not help us figure out the offset but will allow us a wider range of options.

ref BBHN->ticket:71
2014-12-14 10:54:05 -08:00
Conrad Lara - KG6JEI b7dcfdd9ce hardware🆕 Add testing support for AirGrid M2 0xe212
Reported information and board information do not appear to line up, device will need further testing to verify actual details.

Max Power and Power Offset are of concern.

ref BBHN->ticket:71
2014-12-14 10:37:48 -08:00
Conrad Lara - KG6JEI 1ed509132f bugfix: dhcp lease dropdown lists too many addresses.
fixes BBHN->ticket:69
2014-12-12 00:08:31 -08:00
Conrad Lara - KG6JEI c1de09455e Merge branch 'release-3.0.0' into develop 2014-11-25 10:25:47 -08:00