Commit Graph

52 Commits

Author SHA1 Message Date
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 e6d08f5606 merged from develop 2015-04-07 10:36:42 -05:00
Conrad Lara - KG6JEI f6f3aaef9e Merge branch 'TPLinkCPE' into develop 2015-04-06 21:14:39 -07:00
Conrad Lara - KG6JEI b6805ca15f bugfix: CPE510: LINK1 LED doesn't illuminiate with neigbors in range
LINK1 LED was based on Ubiquiti file names, changed to determine base on file name instead.

This should open up more device support long term as well as solve the initial issue.
2015-04-06 11:57:37 -07:00
Conrad Lara - KG6JEI 5629ce93b7 bugfix: CPE510: Does not set nodecall or other mac based settings on boot
Change the location lookup to looup based on the radio0.path setting to obtain the mac address.
2015-04-06 11:27:50 -07:00
Conrad Lara - KG6JEI 08600fd4e8 hardware: Update get_model to use the ar71xx board detect routines
Returns the same data for devices as CPUInfo would of returned for previous devices and for new devices like the CPE510 causes the system to list the exact model instead of of the family.
2015-04-05 21:58:03 -07:00
AE6XE 8b9ac8639a Enhancement: wscan vendor column replaced with mode 2015-04-04 22:27:51 -07:00
AE6XE 2dd866b7a0 Fix for wscan to accept AREDN and custom SSID formats 2015-04-02 22:13:23 -07:00
AE6XE 0ab44e4731 wscan update to show neighbor mesh node signals 2015-04-01 21:49:07 -07:00
Darryl Quinn 32600d5467 initial deploy 2015-04-01 10:42:53 -05:00
Conrad Lara - KG6JEI a73e459263 Merge branch 'DynamicInterfaceNames' into develop 2015-03-27 23:56:14 -07:00
Conrad Lara - KG6JEI dc22c906b0 bugfix: node-setup errors out with =for error.
Remove extra line added to first line in node-setup in 99182e2b52
2015-03-26 01:38:58 -07:00
Conrad Lara - KG6JEI ee16f91c95 Remove programs that are not used by us. 2015-03-25 17:03:23 -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 ac93a0346f feature: migrate scripts to use get_interface
nvram-setup may be the only script we have to worry about as it may call configs for interfaces that do not exist in the current mode.

By default get_interface will return a static mapping when it can't find an active config entry meaning that eventually get_interface will need an update routine to pull out of local running config

The lack of this update routine should be acceptable for now as we have no GUI for users to change the mapping.
2015-03-24 23:41:51 -07:00
Conrad Lara - KG6JEI a5d9c3ee52 Merge branch 'UpgradeToBB' into develop 2015-03-23 17:36:35 -07:00
Conrad Lara - KG6JEI 078ab54f06 bugfix: sysupgrade : OLSRD and LAN interface do not work after sysupgrade
Variables were not being being synced to _setup because they do not exist in _setup.default so we need to manually sync them over.
2015-03-23 17:25:18 -07:00
Conrad Lara - KG6JEI b3fb1ed13e bugfix:Correct Firmware not valid error when uploading a sysupgrade file
In Barrier Breaker the symlink in /etc/ has been removed so we need to refer to the file direct.
2015-03-21 23:03:24 -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 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 fde5c1367e bugfix: olsrd-watchdog false triggers a reboot.
Using the method suggested by Henning Rogge in 2014

{{{
1) remove file
2) wait 2 intervals
3) if file exists, go to 1)
4) restart olsr, then go to 1)
}}}

With the exception that we currently wait more than 2 intervals.

Even if the script hits a collision at the same time the file is being written the file will already exist from one of the previous writes or the current write.

Removing a file in use is safe as once the FD closes the file contents are fully released.

Additional Advantages:
* Should be more efficient to check if file exists instead of reading the file and comparing date stamps.
* Removing the Perl code moves us one step closer to retiring Perl in the future.
2015-01-15 16:35:55 -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 94981313f8 bugfix: rework olsrd-watchdog to avoid race condition
The olsrd watchdog module truncates and writes the latest timestamp every 5 seconds. The olsrd-watchdog script could catch the file during write causing an instant restart.

Changed to want 3 failures before restarting olsrd reducing the chance of collision based restarts.

fixes BBHN->ticket:68
2014-11-03 19:59:34 -08:00
Conrad Lara - KG6JEI f5a9861700 bugfix: bbhnrecoverymode uhttpd needs to be restarted.
uhttpd may not pick up new passwords unless it is restarted after the change.
2014-09-15 16:56:41 -07:00
Conrad Lara - KG6JEI fb91eadfef bugfix: Make bbhnrecoverymode executable. 2014-09-12 12:07:16 -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 28dfb852cc bugfix: fix wscan 'unknown' network handling
Unknown networks are not quoted like known networks are.

This caused a bug where the last network name may be incorrectly used in place of the words 'unknown'

fixes: BBHN->ticket:58
2014-09-11 23:25:02 -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 70cce8c75e Resolve issue with NAT mode not working in 1.1.1 2014-07-10 20:04:06 -07:00
Conrad Lara - KG6JEI 60b8095c08 bugfix: Resolve issue where reserved names are not being published correctly
reported by: W9HDG
2014-07-07 23:00:02 -07:00
Conrad Lara - KG6JEI e88f319847 Switch to using socat as we need to be able to name the interface packets leave due to dtdlink interface. 2014-06-24 20:57:44 -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 25ad0fcadc bugfix: Links on status page use midX domains which are not resolveable on host they reference.
mid hostname entries are only created on remote nodes and are not created on the local node (by design of nameservice module)

In order to allow links on remote nodes olsr status screens and potentionaly other locations to resolve correctly we must add a hostname for the dtdlink interface into the name service beacons.
In addtion we need to ensure the UI looks at these links instead.

This feature will need to be looked at for long in the mesh status screen to find a better method to display these connections.

ref BBHN->ticket:47
2014-06-23 19:42:20 -07:00
Conrad Lara - KG6JEI 9fbac6c3f2 bugfix: missing semicolon in bbhn_ar71xx/8debb9019c1c6520e14150f3647cb025384eaf31 2014-05-29 17:12:32 -07:00
Conrad Lara - KG6JEI 8debb9019c bugfix: Node would not set correct power level on reboot.
fixes BBHN->ticket:45
2014-05-28 09:57:54 -07:00
Conrad Lara - KG6JEI 808a8d5019 Initial changes to work with OpenWRT 12.09
Mostly relates to iwinfo being the new command to obtain info about devices.

iwlist does not exist in 12.09
2014-05-01 20:32:40 -07:00
Conrad Lara - KG6JEI c6924d3be4 Aimer: Adjust RSSI levels to match stock AirOS. 2014-04-19 20:33:44 -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 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 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 e34b7fcee4 Fix issue where the active SSID does not timeout in iwlist so networks show up after they have disappeared.
fixes BBHN->ticket:30
2014-03-31 22:59:47 -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 8d5f6f85e1 Firmware image verification script is missing from repo
Quick helper script that checks using the built in functions of
OpenWRT that the firmware file uploaded is indeed a proper
firmware image.

fixes BBHN->Ticket:9
2013-12-09 20:25:13 -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