Commit Graph

200 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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 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 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 d45cbb1b6b Merge branch 'CompatChecker' 2013-12-11 23:01:09 -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 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 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 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 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 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