Commit Graph

152 Commits

Author SHA1 Message Date
Conrad Lara - KG6JEI f6f3aaef9e Merge branch 'TPLinkCPE' into develop 2015-04-06 21:14:39 -07:00
Darryl Quinn 3ba26cea4c fix: added .local.mesh to sys upgrade links 2015-04-06 23:08:52 -05:00
Conrad Lara - KG6JEI e7c3cdc909 bugfix: CPE510: Network activity led's broke after config save
Save the port mapping for link_lan led's for use in the system file so that the link led's will work after save and reboot
2015-04-06 21:03:13 -07:00
Darryl Quinn bb4f43ca4c feature: auto-refresh after sys upgrade, chg link to codename when sys upgrade 2015-04-06 17:10:06 -05: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 6e74aaf0f4 bugfix: CPE510: networking does not function after initial config save
After saving the config the lack of the root level switch entry which enables vlans and resets the switch causes the network to shutdown.
2015-04-06 10:44:05 -07:00
Conrad Lara - KG6JEI 3c07872f06 bugfix: Make sure we create the swconfig file even if it will end up empty.
If we don't create the file the system will have nothing to include later on and the script will run on every boot
2015-04-05 23:05:42 -07:00
Conrad Lara - KG6JEI 79902f0876 hardware: CPE510: Retain device path information and import into configs at save time.
Save the intial path at install and include it each time we save the config
2015-04-05 23:04:32 -07:00
Conrad Lara - KG6JEI 8faab9c11c wireless: Let the OS build the default wireless config
The first wireless config will be built by OpenWRT instead of us.
2015-04-05 22:40:02 -07:00
Conrad Lara - KG6JEI 63bb07b617 hardware: CPE510: Add initial hardware support for TPLink CPE510 in testing
Testing mode for CPE510

Offset needs to be looked into, OS reports a max power of 23dbm need to see if this is kernel, or offset related.

Should provide enough details for the board to be registered in the UI
2015-04-05 22:16:24 -07:00
Conrad Lara - KG6JEI 7c152d7c1e hardware: Expand board_id routine to allow TPLink devices to be obtained
When a device does not have a subsystem device ID we will fall back to the board_detect routine.

In the case of a TPLink CPE510 the model will be along the lines of "TP-Link CPE510 v1.0"

In the case of TPLink CPE510 this also includes a hardware version so should the hardware be changed in the future we will be able to key off that as well.
2015-04-05 22:07:47 -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
Conrad Lara - KG6JEI 31bd519266 hardware: AR934x: Pull in stored swconfig information when saving configs 2015-04-05 21:06:39 -07:00
Conrad Lara - KG6JEI dccd1ea42c hardware: AR934x: Store swconfig information for future use 2015-04-05 21:03:50 -07:00
Darryl Quinn 4f18f20495 Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into dyn_css 2015-04-05 21:20:04 -05:00
Darryl Quinn df0bc42208 feature: converted css to use symlinks and multiple files 2015-04-05 21:19:32 -05:00
AE6XE a82b4be70f Merge branch 'wscan' into develop 2015-04-04 22:29:35 -07:00
AE6XE 8b9ac8639a Enhancement: wscan vendor column replaced with mode 2015-04-04 22:27:51 -07:00
AE6XE 7c216480a5 Merge branch 'wscan' into develop 2015-04-04 22:01:21 -07:00
Darryl Quinn 6672996cd3 added ability to have multiple css files 2015-04-04 23:49:31 -05:00
Darryl Quinn 61c15f7eeb added style for wscan nodes 2015-04-04 10:44:45 -05: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
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 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 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 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 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