Commit Graph

358 Commits

Author SHA1 Message Date
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 77a5ad96c3 Merge branch 'vtun_firewall' into release-3.15.1.0 2015-05-24 16:00:25 -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 47fa0e4b6d bugfix: Reduce file name length.
Reduce filename length by 15 characters at all time.  Help reduce problems with max name length for TPLink devices.

This will not solve all issues as our file name style of branch-buildnumber-8CharCommitID the releases can get long.

This will however allow the final build name for a release version to be under the max file length (for now)

ref AREDN->ticket:107
2015-05-24 14:55:37 -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 f81a022737 Merge branch 'FixWIFIWiredRouter' into release-3.15.1.0
fixes AREDN->ticket:108
2015-05-21 10:46:34 -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 89d7b589b0 Merge branch 'FixWIFISysupgrade' into release-3.15.1.0 2015-05-15 22:57:40 -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 cfceb24588 Merge branch 'CleanupTunnel' into develop
Merge basic fixes into mainline related to tunnels
2015-05-10 14:51:44 -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 bcef55c807 Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into develop 2015-05-09 22:03:47 -05:00
Darryl Quinn 370808578b cleanup: unused vars 2015-05-08 23:26:54 -05:00
Darryl Quinn de5cfaf3bb bugfix: fix tests-prebuild.sh to work on OS X 2015-05-08 23:08:31 -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