Commit Graph

62 Commits

Author SHA1 Message Date
Conrad Lara - KG6JEI 994c4948d1 bugfix: get_boardid : echo should be a cat 2015-05-09 23:04:54 -07: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
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 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 dec3eeeb47 Merge commit '88037845309b311901a590ca2a2b91adbd79bfc0' into tunnel_mainline 2015-04-15 21:09:32 -05:00
Conrad Lara - KG6JEI 2917bb0f4b Prep work for switching to procd olsrd-config will be called for both IPv4 and IPv6 executions.
Since we are not writing for IPv6 yet we exit early in the process.
2015-04-12 20:27:55 -07:00
Darryl Quinn 7695dcdc4c Merge branch 'develop' into tunnel_mainline 2015-04-10 17:42:21 -05:00
AE6XE 56749d19ff Merge branch 'wscan' into develop 2015-04-09 20:43:04 -07:00
AE6XE f2507f869f Bugfix: Typo in wscan text output resolved 2015-04-09 20:41:54 -07: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 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