Commit Graph

99 Commits

Author SHA1 Message Date
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 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 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 b5dba400cc bugfix: Update URL for opkg database.
Previous URL may not have latest packages.
2014-12-13 23:30:54 -08:00
Conrad Lara - KG6JEI 44bf0bd4f0 bugfix: non mesh-gw nodes may use a less than optimum route to internet.
When a non mesh-gw node has a route via the WAN interface and through a mesh-gw it will choose the mesh-gw instead of the local WAN connection.and

We change the routing list to prefer the WAN link.

When the WAN is static configured the user will need to disable the WAN interface for the mesh internet to be chosen.

When the WAN is configured to dynamic the loss of a DHCP lease will allow the node to chose the remote mesh internet.

The simple solution would be to change the WAN to disabled and reboot to ensure a remote node is used instead if the local internet fails.

Thanks to Joe AE6XE and Clint AE5CA for pointing out this scenario.
2014-12-11 23:42:27 -08:00
Conrad Lara - KG6JEI c1de09455e Merge branch 'release-3.0.0' into develop 2014-11-25 10:25:47 -08:00
Conrad Lara - KG6JEI 4daf0e4f7e Merge branch 'sysupgradekeepsettings' into develop 2014-11-12 21:29:05 -08:00
Conrad Lara - KG6JEI cccf5a2ad7 feature: Add the ability to upgrade in place and keep settings.
By checking the "Keep Settings" box the node will run sysupgrade instead of mtd. Core settings are stored between installs and the _setup files are updated by pulling in missing items from the _setup.default files.
2014-11-12 21:25:41 -08: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 2e0b2cbd90 feature: Use reset button to make field recovery easier.
Using a press of around 5 seconds (3-7) the node will reset the passord to BBHN default and enable dhcp on the lan interface.

A press of around 10 seconds (8-12) will cause the node to reset the node to 'just flashed' status and cause the node to reboot.
2014-09-12 12:00:14 -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 70cce8c75e Resolve issue with NAT mode not working in 1.1.1 2014-07-10 20:04:06 -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 b72ffed3cc bugfix: Correct check for dmz-mode. 2014-05-08 23:16:24 -07:00
Conrad Lara - KG6JEI 064fc82078 permpackage and repo address setup. 2014-05-06 14:58:42 -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 f5f4da5350 Fix issue where connections could not be made to dmz mode hosts.
Also re-number rules at same time to allow more flexability long term
2014-04-07 20:27:50 -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 3b215c40c0 Initial code for 5GHZ (and other band) devices.
Includes band/channel mapping
Code to set default RF channel on first boot

Add many 5ghz Ubiquiti devices in a testing phase including:
NanoBeam M5 (Intl), NanoBridge M5, AirGrid M5 HP, AirGrid M5, NanoStation M5, NanoStation Loco M5, Bullet M5, Rocket M5

see BBHN->ticket:29
2014-03-27 22:53:06 -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
Conrad Lara - KG6JEI 09769d0717 Final permpkg list for distribution 2014-01-28 16:23:16 -08:00
Conrad Lara - KG6JEI 2f126f4fa0 Prepwork for dealing with the common encrypted ports.
In order to maintain compatibility with existing deployed nodes, known common encrypted ports will NOT be blocked by default.

Users will receive a message during first setup encouraging them to review the rules that apply to how they intend to use their node and that laws very by country and frequency.

A package blockknownencrypted has been created in changeset:123a521df2b63ba1c5bdd6ad94ac402b86394579/bbhn_packages to be used in blocking known encrypted ports if the user feels it is necessary.

As developers we are not stating an opinion as to what the rules say or do not say in relationship to the traffic this deals with.  Each user will need to make their own determination of the rules.

This has been the current case since day one.

New file fwinfo page shows if the package is installed AND displays the active firewall rules at the time of the access.  This allows future grown to help test (because of the adhoc nature of the mesh) if packet filtering is the cause of a connection not working.

see BBHN->ticket:3
2014-01-28 13:05:58 -08:00
Conrad Lara - KG6JEI bb245bffbe Adjust paths used for update routines to match future home on the BBHN website. 2014-01-28 12:32:47 -08:00
Conrad Lara - KG6JEI 7577bc2286 Allow forwarding between wifi and ethernet port in config=mesh_ap
fixes BBHN->ticket:26
2014-01-19 18:36:09 -08:00
Conrad Lara - KG6JEI 1eb65c15e3 Fix node name showing up twice on olsrd
No ticket created.

Issue with name service listing the name twice because /etc/init.d/olsrd AND olsrd-config both writing the local node name.
2013-12-31 12:44:03 -08:00
Conrad Lara - KG6JEI 1be27ac4fb uhttpd config file was missing for config=mesh_ap
Add uhttpd config file in correct position.

fixes BBHN->ticket:18
2013-12-30 21:55:25 -08:00
Conrad Lara - KG6JEI 237713aa67 Restore files/etc/hosts
files/etc/hosts was deleted in b948d97/bbhn_ar71xx

Recovered and modified IP address for localnode.

dnsmasq needs /etc/hosts to be pre-populated with  "localnode"
otherwise users have to type the ip address for first log in.

We populate this file via node-setup on mode changes.

fixes BBHN->ticket:10
2013-12-10 23:35:48 -08:00
Conrad Lara - KG6JEI 32f107648a Open firewall to port 23 on WIFI in config=mesh
ref ticket: #2

Open firewall to allow telnet to the routers WIFI interface
in mesh mode.

closes #2
2013-12-07 18:38:47 -08:00
Conrad Lara - KG6JEI c1bfe4dd19 Move custom files into their respective bbhn_packages
See
changeset:801f0e110c058d73fc7d2bd4b930305d89b3ce76/bbhn_packages
changeset:801f0e110c058d73fc7d2bd4b930305d89b3ce76/bbhn_packages
2013-12-07 16:15:10 -08:00
Conrad Lara - KG6JEI f6a0b09c6f Add rule to allow wifi to forward traffic to wifi
Previous rules would of not allowed mesh traffic to be forwarded out.
2013-12-04 19:29:42 -08:00
Conrad Lara - KG6JEI 2d73802aaa Protect from ssh over wifi in mesh
Block the built-in SSH server from connections on the mesh interface to
comply with FCC Part 97

see ticket #2
2013-12-02 15:43:52 -08:00
Conrad Lara - KG6JEI b948d97423 Merge SDWG Mesh progress with 1.0.0 BBHN
Includes removing files that are provided by packages instead
of being embedded as binaries.

Changes made for UBNT hardware AND for newer base openwrt (Backfire)
2013-12-02 12:04:54 -08:00
Conrad Lara - KG6JEI ebd2996564 Removed olsrd related binaries and init.d file -- Contained in custom olsrd package file instead 2013-11-16 15:36:58 -08:00
Conrad Lara - KG6JEI ae2674e764 import of files/ from BBHN 1.0.0 (bbhn svn 273) 2013-11-15 06:11:16 +00:00