Commit Graph

466 Commits

Author SHA1 Message Date
Conrad Lara - KG6JEI 633c83f7f7 Merge branch 'hotfix-3.0.1' into develop 2015-02-04 08:16:30 -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 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 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 1ed509132f bugfix: dhcp lease dropdown lists too many addresses.
fixes BBHN->ticket:69
2014-12-12 00:08:31 -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 d5af5c97cf support status: Mark Rocket M9 as supported. 2014-11-03 20:26:47 -08:00
Conrad Lara - KG6JEI 5a39316a7e hardware: support: Loco M9, NanoBridge M9 test: RocketM9
tag NanoStation Loco M9 and NanoBridge M9 into supported status

begin testing Rocket M9 support

ref BBHN->ticket:66
fixes BBHN->ticket:51
2014-10-20 19:45:46 -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 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 c6e4aa3903 bugfix: DHCP Lease limit is down by one from what it should be.
ref BBHN->ticket:57
2014-07-24 21:58:20 -07:00
Conrad Lara - KG6JEI 422e40c5ea Merge branch 'initialm9devices' into develop 2014-07-14 23:02:03 -07:00
Conrad Lara - KG6JEI 32a67e1b2c Add initial testing support for M9 devices
ref BBHN->ticket:51
2014-07-14 23:01:16 -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 88d532a3a1 bugfix: get_default_gw needs to follow the route the node will use to internet.
because of previous bugfix the function needs to check table 31 and 254 (with 254 taking priority)
2014-07-08 00:02:47 -07:00
Conrad Lara - KG6JEI 3e0ec32fca workaround: For some reason piping yes to opkg never returns when called from perl
Has been seen with yes, and echo y, etc.  Loops do not return.

In order to allow packages that do not need interaction to install we have pulled out 'yes' for now.
2014-06-26 21:29:39 -07:00
Conrad Lara - KG6JEI 2a8692d5a0 Update list of tested devices.
Officaly now supporting (XM series only for all the below):

{{{
Rocket M5
Bullet M5
AirGrid M5
NanoBridge M2
AirGrid M2
AirGrid M5 HP
NanoBridge M5
Bullet M2 Titanium
Bullet M5 Titanium
PicoStation M2
NanoStation M5
NanoStation Loco M5
}}}
2014-06-24 21:05:13 -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 62721ea9fa bugfix: Channel detection for untested devices. 2014-05-09 22:40:11 -07:00
Conrad Lara - KG6JEI d6bb48154a Resolve issue related to returning the offset used by iwinfo 2014-05-06 14:29:19 -07:00
Conrad Lara - KG6JEI 570901df25 Disable debugging in status cgi script 2014-05-04 14:37:28 -07:00
Conrad Lara - KG6JEI e549afa190 Only subtract poweroffset when the value given by iwinfo has an offset applied 2014-05-04 14:28:03 -07:00
Conrad Lara - KG6JEI 207c0f738f Adjust usage of wifi_txpoweroffset() to handle the fact that offset may be set already in iwinfo so we need to read that value first.
Made adjustmetns to code that calls wifi_txpoweroffset() to ensure we minimize the number of calls that spawn a shell.

Also adjust the setting of $wifi_txpower to handle the fact that iwinfo returns the known offset.
2014-05-02 12:07:19 -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 0541234e1e Assign 2.4ghz devices to 2400 band.
Fixup bug in channel mapping (leading 0 in channel number doesn't work)

ref BBHN->ticket:29
2014-04-19 23:51:55 -07:00
Conrad Lara - KG6JEI f83bebe58a Add testing support for PicoStation2 PicoStation2 HP and AirGrid M2 HP (0xe242)
ref BBHN->ticket:40 and BBHN->ticket:41
2014-04-18 20:10:43 -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 a93d48e849 Fix wifi being disabled after applying setting on non-chain devices
fixes BBHN->ticket:39
2014-04-18 08:30:50 -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 06febced7f Add testing support for Bullet M5 TI
see BBHN->ticket:29
2014-04-12 09:48:06 -07:00
Conrad Lara - KG6JEI 7a0de5a6a9 Add line in changeset:bbhn_ar71xx/a4dd9a9bdd798b05d76d71d135d860f57cb83d8d
Add support for dtdlink_* variables
2014-04-08 23:28:29 -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 ede5b0656d Better validation of services advertisements entries
fixes BBHN->ticket:35
2014-04-01 15:30:55 -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 c6a3e7a64e Add testing support for multiple 2.4ghz Ubiquiti devices
see BBHN->ticket:31, BBHN->ticket:32, BBHN->ticket:36, BBHN->ticket:38
2014-03-27 23:19:13 -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 f6d81b25c2 Add support for devices that are 'in testing' to the banner display.
In testing devices should be listed with a -2 status
2014-03-26 21:47:54 -07: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 ca0603c82d Fix package list generation routine
Between Kamikaze and Backfire the opkg list output has changed.

Package description can run over multiple lins with a space indent.
2014-01-25 22:55:25 -08:00
Conrad Lara - KG6JEI 035c33ded4 Fix "apply" button saves chain and distance.
Button should only apply the change, not save it.

Save routine works fine already just need to remove the save commands from the apply box.

fixes BBHN->ticket:23
2014-01-25 22:47:30 -08:00
Conrad Lara - KG6JEI e1c28ab634 Decrease maxpower NanoStation Loco M2
Failed to put in changeset:16b4c2a/bbhn_ar71xx to correct for the increased txpower
2014-01-19 18:50:17 -08:00
Conrad Lara - KG6JEI 532605354c Set tested devices to supported
airGrid M2, NanoStation M2, NanoStation Loco M2 are now officaly supported

fixes BBHN->ticket:12, BBHN->ticket:25

ref BBHN->ticket:11
2014-01-19 18:44:01 -08:00
Conrad Lara - KG6JEI 16b4c2a201 Increae txoffset for NanoStation Loco M2
Based on testing  airOS claims NSLM2's have a 2db amplifier it appears that they may actually have a 5db amp.

Since units keep reporting 3db lower than we expect them to we are increasing the txpower offset until we have confirmed power tests.

fixes BBHN->ticket:11, BBHN->ticket:22
2014-01-19 18:38:26 -08:00
Conrad Lara - KG6JEI fc1d9fbc02 hardware_info fixups NanoStation M2 NanoStation Loco M2 and default chains
Set default of using chains as more devices being presened rely on chains than those who don't.

Fixed the default antenna and chain support on NanoStataton M2 and NanoStation Loco M2
2014-01-14 10:33:38 -08:00
Conrad Lara - KG6JEI cef893bf59 NanoStation M2 should use chains
see BBHN->ticket:25
2014-01-12 23:05:50 -08:00
Conrad Lara - KG6JEI 72a4882a09 Add testing support for NanoStation M2
28dbm after the final with a 10db amplifier. Uses chains.

see BBHN->ticket:25
2014-01-10 20:15:38 -08:00
Conrad Lara - KG6JEI e6d5ce7559 Add extra details on NanoBridge M3 2014-01-09 10:51:00 -08:00
Conrad Lara - KG6JEI dd8f3568e7 Set power after selecting antenna and chain settings.
Min and Max power are affected by what chains are set on the device so we should set the power after selecting the antenna.
2014-01-04 09:58:45 -08:00
Conrad Lara - KG6JEI ccb83c6a91 fix olsrd-config not putting in ip to name mapping
nslookup has changed between upstream Linksys build and our Backfire based UBNT build.

fixes BBHN->ticket:21
2013-12-31 12:38:17 -08:00
Conrad Lara - KG6JEI b0b04d23d8 Model Name correction on Bullet M2 HP 2013-12-16 10:56:36 -08:00
Conrad Lara - KG6JEI 1f49e57e54 Add testing support for ariGrid M2 HP
airGrid M2 HP -- 28dbm output power device with a 9dbm offset.

see BBHN->ticket:12
2013-12-15 13:09:11 -08:00
Conrad Lara - KG6JEI 3c4eee4f0f Add testing support for NanoStation Loco M2
Added NanoStation Loco M2
board.sysid=0xe0a2
radio.1.txpower.max=23
radio.1.txpower.offset=2
radio.1.antennas=1

Chains are not 100% guranteed to be accurate.

Belive from http://community.ubnt.com/t5/airOS-Software-Configuration/chain-0-1/td-p/140354
that Chain0 is Vertical Chain1 Horizontal when mounted vertically

Chain Mask is pulled from the Rocket M mask as this is the only sample
we have in the database.

see BBHN->ticket:11
2013-12-13 22:15:40 -08:00
Conrad Lara - KG6JEI 7a28c18bfd Refactor code for better hardware managment
Refactor to create a central hash matrix that provides details on
devices.

The if else else else tree was going to get very messy based on
the realization that each device has custom attributes and the
need to provide diffrent settings for each unit.

Allows easier managment long term.
2013-12-13 21:59:34 -08:00
Conrad Lara - KG6JEI 6974527e88 Add device compatibility checker with alert text
fixes BBHN->ticket:1

Units will show:

Yellow banner for devices we have not yet tested.
Red banner for devices we have confirmed do not work.

Relies on what Ubiquiti calls the board.sysid which is the
value of subsystem_device on the first PCI device.
2013-12-11 22:54:27 -08:00
Conrad Lara - KG6JEI abfcc77b24 Switch to using UCI not nvram on sysinfo page
We don't use NVRAM any more so need to change the script to call
uci instead.

Only listing the local config folder that holds hsmmmesh.settings
2013-12-10 20:16:19 -08:00
Conrad Lara - KG6JEI 8425998355 Adjust RF Power for Bullet M's
Bullet M2 has a maxpower of 28dbm.  Unit has a 12db amplifier

closes #5
2013-12-08 16:11:50 -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 ae2674e764 import of files/ from BBHN 1.0.0 (bbhn svn 273) 2013-11-15 06:11:16 +00:00