Commit Graph

1009 Commits

Author SHA1 Message Date
AE6XE f3fc5c645f Merge branch 'wscan' into develop 2015-04-01 22:01:53 -07:00
AE6XE 0ab44e4731 wscan update to show neighbor mesh node signals 2015-04-01 21:49:07 -07:00
Darryl Quinn a8d68cd021 fix tunnel UI and style the install button 2015-04-01 17:32:55 -05:00
Darryl Quinn b074fd6985 consolidated functions to reduce duplication (save space) 2015-04-01 17:26:52 -05:00
Darryl Quinn eb92e16e68 remove bad character 2015-04-01 17:09:41 -05:00
Darryl Quinn 2461d4acd8 add vpn and vpnc pages to UI menu 2015-04-01 17:09:18 -05:00
Conrad Lara - KG6JEI ba045c292a bugfix: channelmaps: 3400 frequency was showing 54**
Forgot to change the 5 to a 3 when writing the channelmap
2015-04-01 10:07:30 -07:00
Darryl Quinn 32600d5467 initial deploy 2015-04-01 10:42:53 -05:00
Conrad Lara - KG6JEI 5414cb2f86 bugfix: Correct bandmapping to 3400 for Rocket M3 2015-03-31 23:50:05 -07:00
Conrad Lara - KG6JEI 6c91ec0ab4 Add channels that are within normal 5.8GHz unit range for Rocket M3 usage.
M3 is a 5.8GHz unit with a 2GHz offset transverter.

5MHz width is recomended on these channels.

Send to spectrum analysis for verification that output looks clean.

Stepping stone to working on the wider width of the full 3.4GHz band which has more channels but unlike channels 95-100 (added in this commit) the rest are outside the normal 5.8GHz cal range (but are between two cal points so may be fine)
2015-03-31 23:42:22 -07:00
Conrad Lara - KG6JEI a73e459263 Merge branch 'DynamicInterfaceNames' into develop 2015-03-27 23:56:14 -07:00
Conrad Lara - KG6JEI 8df5b5ff49 Merge branch 'cleanupoldfiles' into develop 2015-03-27 19:24:27 -07:00
Conrad Lara - KG6JEI ef941fe9a4 cleanup: BuildImage.sh is no longer needed as it was for use under the Image Builder
We now let the BuildRoot build the system, as such this script no longer works.
2015-03-27 19:21:37 -07:00
Conrad Lara - KG6JEI 303c9c264f cleanup: opkg.conf is now built by the BuildRoot and is no longer needed. 2015-03-27 19:20:23 -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 16576d7bde bugfix: dtdlink is by default on eth0.2 not eth0.1 2015-03-26 16:47:33 -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 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 0d11af70b9 bugfix: Unknown interfaces wouldn't return default interface. 2015-03-26 01:31:50 -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 9444716fbd feature: Add function and code to UI code to prepare for changing interface names in the core OS.
Create get_interface which will lookup in the current uci network config the realname for the logical interface name.

When the interface is not found it will fall back to a hard coded list.

Configure the UI to use the new get_interface function.
2015-03-24 23:25:18 -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 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 0b04c442dd bugfix: Remove references to WRT54*'s 2015-03-11 16:40:31 -07:00
Conrad Lara - KG6JEI 7a5076bc83 Merge branch 'RebrandToAREDN' into hotfix-3.0.2 2015-03-09 21:36:25 -07:00
Conrad Lara - KG6JEI c4a29903fb bugfix: Make AREDN(TM) Logo visible in "night" mode 2015-03-09 21:35:24 -07:00
Conrad Lara - KG6JEI 39a7ab878b bugfix: Cleanup display of rebraned pages.
Add missing AREDN(TM) Logo and fix other pages that were missing the footer text.
2015-03-09 19:28:59 -07:00
Conrad Lara - KG6JEI 71bd8f74aa bugfix: Version wasn't applying and needed to update license text on Buildimage script 2015-03-09 17:34:54 -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 b503456def Merge branch 'hotfix-3.0.1' 2015-02-04 08:16:16 -08:00
Conrad Lara - KG6JEI dc24e1d05d Merge branch 'MakeLinksFQ' into develop 2015-01-25 21:08:16 -08:00
Conrad Lara - KG6JEI 243d5fc714 bugfix: Set hidden flag on dtdlink host names so they do not show up in the "Remote Nodes" list. 2015-01-25 10:56:23 -08:00
Conrad Lara - KG6JEI 7c22853a17 Change OLSR Status button to use node FQDN 2015-01-23 18:30:39 -08:00
Conrad Lara - KG6JEI a2944c7e30 Configure status page to present FQDN's as long as the link does not contain a period. 2015-01-23 18:25:25 -08:00
Conrad Lara - KG6JEI 98d9fe02c1 bugfix: Fix issue with argument processing on in BuildImage.sh 2015-01-18 18:45:29 -08:00
Conrad Lara - KG6JEI d188fc7551 Import BuildImage script into repo.
Is part of prepwork for Austin to build their own images based on this code repo.

This script is expected to be used with the ImageBuilder toolset
2015-01-18 12:32:49 -08:00
Conrad Lara - KG6JEI 4b29f1ea05 Merge branch 'addlicense' into hotfix-3.0.1 2015-01-18 11:39:37 -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 f52513aa15 bugfix: Update url for admin downloads
Previous URL may not have latest firmware list.
2014-12-14 22:56:45 -08:00
Conrad Lara - KG6JEI 917573cf95 hardware:bugfix: AirGrid M2 0x212 remove power offset to facilitate testing
Removing the offset and increasing max power so we have full range avaliable to us.

This may not help us figure out the offset but will allow us a wider range of options.

ref BBHN->ticket:71
2014-12-14 10:54:05 -08:00
Conrad Lara - KG6JEI b7dcfdd9ce hardware🆕 Add testing support for AirGrid M2 0xe212
Reported information and board information do not appear to line up, device will need further testing to verify actual details.

Max Power and Power Offset are of concern.

ref BBHN->ticket:71
2014-12-14 10:37:48 -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