Commit Graph

57 Commits

Author SHA1 Message Date
Darryl Quinn df9c6601be enable leafletjs, leafletcss, and maptiles to be based on uci config vars
fixes AREDN->ticket:174

Change-Id: I0133ab46df95b14d55192e5e47fa4e8f6377b4c9
2016-06-22 08:43:28 -05:00
Conrad Lara - KG6JEI 061ede3488 Merge branch 'ChaosCalmer' into develop
Change-Id: I26a8677595a25aae267b7365f1e5835ea68f49b4
2016-06-19 19:26:12 -07: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 35e05b7dac change uhttpd script_timeout from 60 to 240 to fix uploading firmware on slow links 2016-01-20 10:09:52 -07:00
Conrad Lara - KG6JEI bb10ca7faf Merge branch 'FirewallIncludes' into develop 2016-01-09 19:48:18 -08:00
Conrad Lara - KG6JEI 813c4cefcf feature: Decrease WIFI Beacon rate in Mesh mode to around 2 times a second.
This changes the beacon rate from once every 100tu's to once every 500tu's

1tu=1024 microseconds

This will decrease the amount of RF time being used by beacon packets.

This is especially important on 900MHz and 2.4GHz using 5MHz wide channels where 10 nodes beaconing 10x a second at ~256kbit/s can use up around 45% of the RF channel in beacons alone.
Other bands and channels and widths are not expected to see as significant an advantage due to the faster data rates.
2016-01-09 17:39:44 -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
Trevor Paskett - K7FPV 44ab46bc87 move new settings to optional area under table, disable ntp server, ntp server fqdn validation 2016-01-08 18:04:25 -07:00
Trevor Paskett - K7FPV c6d02d964a change timezone to time_zone 2016-01-08 11:50:45 -07:00
Trevor Paskett - K7FPV 6f97c52565 add time zone and ntp server to setup page 2016-01-08 10:58:22 -07:00
Darryl Quinn 07f447313f default wifi distance to 0, disallow saving with 0 value, change alert to show on 0 2016-01-05 23:09:34 -06:00
Trevor Paskett - K7FPV 3359c44ca7 feature: add jsoninfo to olsr and open firewall ports 9090 2016-01-05 11:00:22 -07: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 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 af97ce3f49 bugfix: "Disable default route" not kept during OTA upgrade. 2015-07-28 08:49:48 -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 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 807f381a04 bugfix: network and firewall tunnel rules reworked 2015-06-14 23:30:06 -05:00
Darryl Quinn 91762973a5 bugfix: tunnel firewall changes 2015-06-11 01:02:55 -05:00
Darryl Quinn 81ac8b7fbe bugfix: losing network interfaces after node-setup 2015-06-11 00:40:14 -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 e7c3cdc909 bugfix: CPE510: Network activity led's broke after config save
Save the port mapping for link_lan led's for use in the system file so that the link led's will work after save and reboot
2015-04-06 21:03:13 -07:00
Conrad Lara - KG6JEI 79902f0876 hardware: CPE510: Retain device path information and import into configs at save time.
Save the intial path at install and include it each time we save the config
2015-04-05 23:04:32 -07:00
Conrad Lara - KG6JEI 31bd519266 hardware: AR934x: Pull in stored swconfig information when saving configs 2015-04-05 21:06:39 -07:00
Conrad Lara - KG6JEI a73e459263 Merge branch 'DynamicInterfaceNames' into develop 2015-03-27 23:56:14 -07:00
Conrad Lara - KG6JEI 0dbe83c61e feature: Make nodes advertised targeted network routes to mesh.
Makes the nodes advertise using DHCP Options 121 and 249 routes to the mesh (10.0.0.0/8) and the reserved (172.16.0.0/12) address ranges.

This change allows directing systems to prefer the mesh node for mesh ranges unless another network rule is more specific (such as a directly connected network)
This is mostly useful where a PC may have multiple network connections active as it improves the desire for the packets to travel via the mesh network.

Currently the:

10.0.0.0/8 range is used by mesh nodes and dtdlinking of mesh nodes.
172.27.0.0/16 is used for default LAN network on NAT nodes.
172.33.0.0/16 is for ad-hoc tunnels

All others in the advertised range are reserved for future network use.
2015-03-27 11:30:52 -07:00
Conrad Lara - KG6JEI 93b922596f bugfix: node setup errors out on saving network file
Several _intf entries in the network file were named in reverse causing the node-setup script to be unable to save them
2015-03-26 01:47:06 -07:00
Conrad Lara - KG6JEI 99182e2b52 feature: Convert network settings files to use dynamic interfaces
config.*/network files now use dynamic interface names so that they can be changed on the fly in the future.
2015-03-25 14:02:38 -07:00
Conrad Lara - KG6JEI 097d62ae01 bugfix: OLSRD doesn't start on node reboot
Under Barrier Breaker sometimes OLSRD gets started before any interface is up causing OLSRD to shutdown because no interfaces exist.

Forces OLSRD to stay on and wait for the interfaces to come online.
2015-03-23 22:57:48 -07:00
Conrad Lara - KG6JEI 50c4e0ed11 bugfix: nodes sometimes show up as mid1
Nodes sometimes show up as a mid1 entry when dtdlink and RF connected.

Sometimes the nodes will get the eth0 ip because wlan0 is not up yet.

Under Barrier Breaker the MainIP option is now supported as part of the uci system which allows us to restore using this setting.

We can now force the IP address that is claimed (wlan0) for the primary IP of the node.
2015-03-23 22:55:09 -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 742f8ec4ac bugfix: Differenece between short hold and long hold on the reset button is too small.
Time is now around 5 seconds for a passwd+dhcp reset (3-7 seconds window) and around 15 seconds for a full reset (12-20 seconds window)
2014-09-17 10:53:19 -07:00
Conrad Lara - KG6JEI a9ed10de33 feature: Use reset button to make field recovery easier.
Cleaner version with the config files included in the commit.
2014-09-12 12:03:16 -07:00
Conrad Lara - KG6JEI ed4b583277 Due to the following commits we need to increase the protocol version to V3
changeset:0e845a1743d3693fd5e1257f38b704c864f52220/bbhn_ar71xx
changeset:8417274fc4233bf0002c721d836e4fa5953f3db1/bbhn_ar71xx
2014-09-11 23:16:27 -07:00
Conrad Lara - KG6JEI 0e845a1743 Merge branch 'newssidformat' into develop 2014-09-11 23:07:10 -07:00
Conrad Lara - KG6JEI 9ae98554cf bugfix: Disable OLSRD Secure untill we can work on it more.
Due to multiple issues that olsrd secure seems to make occur more often (but is not soley caused by OLSR Secure) causing olsr to crash olsr secure is being pulled while we work on the module.

This partialy reverts commit 553c126490.

tag: RequiresProtocolIncrement
2014-09-11 23:02:47 -07:00
Conrad Lara - KG6JEI 6da1ad8b4e feature: Change SSID format to include rf channel bandwidth and protocol version
From now on all node SSID's will be NAME-<rf bandwidth>-v<protocol version>

tag: RequiresProtocolIncrement
2014-09-11 21:29:54 -07:00
Conrad Lara - KG6JEI 6036dc3ff6 bugfix: Enable watchdog in olsrd
Watchdog never got enabled in the olsrd config files.

fixes BBHN->ticket:60
2014-08-07 23:13:54 -07:00
Conrad Lara - KG6JEI 711dbc17f2 Add a channel bandwidth selector to the setup screen.
Required for 900mhz devices to be supported due to band size.

This can also be useful for allowing more devices to fit into the same amount of RF space as nodes may often not need full 20mhz wide channels.

2.4ghz while using standard BBHN SSID is restricted to 20mhz for compatibility.

ref BBHN->ticket:50
2014-07-14 20:40:49 -07:00
Conrad Lara - KG6JEI ae113ac7b0 Revert "As part of dtdlink node identification is being changed."
This reverts commit e36a2ffbf9.
2014-06-24 20:47:12 -07:00
Conrad Lara - KG6JEI 9263b26e8e Increase default SSID to V2
SSID Version increment for
changeset:a4dd9a9bdd798b05d76d71d135d860f57cb83d8d/bbhn_ar71xx and changeset:553c126490790a3d9873741551813a635a439c0b/bbhn_ar71xx

ref BBHN->ticket:28 and BBHN->ticket:37
2014-04-19 19:54:49 -07:00
Conrad Lara - KG6JEI 553c126490 Re-enable olsrd_secure module -- provides a message handshake on OLSRD packets
fixes BBHN->ticket:37
2014-04-18 13:45:19 -07:00
Conrad Lara - KG6JEI c61d58e172 Add initial support for a monitor interface to be used for SSID based identification.
ref BBHN->ticket:28
2014-04-18 08:53:54 -07:00
Conrad Lara - KG6JEI e36a2ffbf9 As part of dtdlink node identification is being changed.
Due to the 10.x network no longer going out via wifi we now have a dedicated daemon for performing node identification out the wifi interface.  The old fccid scripts are no longer used.

ref BBHN->ticket:28
2014-04-17 21:51:41 -07:00
Conrad Lara - KG6JEI 2afedf6f65 Add support for selecting RF country in the user interface.
NOTE: This patch requires a kernel upgrade to fully work.

Adds new value wifi_country.

Country HX is being chosen for HAM band use.

Country selection is needed to help the device stay withing regulatory domain for worldwide use.

ref BBHN->ticket:29
2014-04-17 21:47:04 -07:00
Conrad Lara - KG6JEI a4dd9a9bdd Add new feature device-to-device linking (dtdlink)
The dtdlink interface is vlan 2 on eth0 and is used for linking two or more devices together.

This will allow for band-to-band repeaters, sector antenna setups, etc.

see BBHN->ticket:28
2014-04-08 23:19:45 -07:00
Conrad Lara - KG6JEI c7b25f9d72 Fixes issue where packets route to wrong interface on mesh nodes.
see BBHN->ticket:35
2014-04-04 19:34:15 -07:00
Conrad Lara - KG6JEI c59a9e6101 Fix issue where firewall.user does not get copied into place AND clean up firewall.user files 2014-01-31 16:26:33 -08:00