Tim Wilkinson
7b77f111ce
Support changing the VLAN tag on WAN
2022-04-19 17:24:46 -07:00
Tim Wilkinson
d707ca89ac
Add port dump to supporttool data
2022-04-19 15:25:42 -07:00
Tim Wilkinson
2e4b51105c
Handle nil links from olsrd
2022-04-19 04:34:41 -07:00
Tim Wilkinson
aec90d47ae
Missing lanlimit when print port in nat mode ( #328 )
2022-04-08 04:15:13 -05:00
Tim Wilkinson
ce05aeb727
Make sure services are published even when no dtd or lan connected. ( #327 ) 04/06/2022
...
If wifi is disabled, we will be using a "fake" device for the meshrf. However, this requires that the
underlying physical device is attached, and this might not be the case on devices with present
multiple ethernets (e.g. eth0 and eth1). Detect this and add an extra Hna4 config to OLSR to allow it to
keep using the wifi_ip even when no physical ethernet is attached.
2022-04-06 15:57:54 -05:00
Tim Wilkinson
c3f2fcd400
Optimize getRemoteNodes ( #326 )
2022-04-05 19:30:36 -05:00
Tim Wilkinson
b26476f5e2
Fix displaying "Previous neighbors" with empty hostnames ( #325 )
...
* Dont display previous neighbors with empty hostnames
* Use IP address when name missing
* Fix bug where missing names became ever growing string of whitespace
2022-04-04 22:16:35 -04:00
Tim Wilkinson
e0ac3e9349
Fix bad gateway when switching to LAN NAT mode ( #321 ) 03/30/2022
2022-03-30 15:14:01 -05:00
Tim Wilkinson
fc55e44001
Run NTPD daily to sync time against network clock ( #319 )
2022-03-27 20:13:18 -05:00
Tim Wilkinson
75d42693d3
Stop people removing tunnel components (which will break things now) ( #320 )
2022-03-25 14:15:44 -05:00
Tim Wilkinson
a322c4a113
Add periodic tasks in the style of cron hourly, daily and weekly scripts ( #317 )
2022-03-24 21:52:32 -05:00
Tim Wilkinson
e07836215e
Fix wifi channel type ( #314 )
2022-03-22 06:33:30 -05:00
Steve AB7PA
b13e04b2d8
reduce slider chunkiness ( #316 )
2022-03-22 06:33:00 -05:00
Tim Wilkinson
6b4ccbf5ad
advancedconfig: tun wan only ( #310 )
...
* Prevent tunnel traffic being sent over the mesh (unless explicitly enabled)
* Boolean settings will use default value if value not yet set
2022-03-20 22:55:11 -03:00
Tim Wilkinson
69c0d51216
Add @ back in as a valid password character ( #312 )
2022-03-20 17:46:56 -05:00
Tim Wilkinson
ce2f47e06d
Improve history matching as poor history entries could break "Previous Neighbors" ( #307 )
2022-03-19 09:21:22 -05:00
Tim Wilkinson
a716167fa1
Found some pieces that I forgot to remove ( #308 )
2022-03-19 09:20:28 -05:00
Tim Wilkinson
85edc542fc
Fix uploading data to AREDN Servers
2022-03-18 17:57:05 -07:00
Tim Wilkinson
321e58bd37
Include tunnels by default ( #302 )
...
* Include tunnels by default
* Tunnels are always installed so no longer need this flag
2022-03-17 20:57:48 -05:00
Tim Wilkinson
caebaea106
Automatically update package dependencies if package install fails ( #303 )
2022-03-17 20:36:08 -05:00
Tim Wilkinson
ebd4a9e07e
Fix use of coordinate to center map ( #304 )
...
* Fix use of coordinate to center map
* Typo
2022-03-17 20:35:35 -05:00
Tim Wilkinson
57f81e48cc
Automatically update package dependencies if package install fails ( #300 )
2022-03-17 14:28:20 -05:00
Tim Wilkinson
f9b787c604
Dont truncate aliases on upgrade ( #301 )
2022-03-17 14:26:52 -05:00
Tim Wilkinson
3595dd3ac2
Make sure we copy /etc/config/vtun to /etc/config.mesh/vtun when installing tunnels. ( #299 )
2022-03-17 06:23:40 -05:00
Tim Wilkinson
ad78e077f0
Improve the firmware upgrade process ( #294 )
...
* Improve the firmware upgrade process
The old firmware upgrade process attempted to free up RAM by reusing
the 'upgrade_kill_prep' script which is later used by '/sbin/sysupgrade'.
Unfortuantely this doesn't work as intented. While the script will go about
killing various services, 'procd' just goes and starts them up again using
quite a bit more memory in the process. Instead this script just kills
the various daemons 'no questions asked' and then runs the associated
'/etc/init.d/xxx stop' script to instruct 'procd' not the start them up again.
This gets us to the place the original script was trying to go.
+ A syntax fix in '007' patch (need spaces around the [ .. ])
* Inline the style for the firmware page to avoid sleep before flash
* Minor reliability improvements
* Clear away services even earlier
2022-03-16 21:45:26 -05:00
Tim Wilkinson
7a4ae6d057
Modify the style sheet URL to let the browser cache ( #297 )
...
while still supporting switching the style
2022-03-16 21:43:18 -05:00
Tim Wilkinson
8947e6f23c
Migrate LeafletJS to new URL ( #298 )
2022-03-16 21:42:26 -05:00
dman776
73278ac99c
build: github no longer supports the git protocol - use https ( #296 )
2022-03-16 09:00:01 -05:00
Tim Wilkinson
f613b078d7
Add /var/run/services_olsr to support tool data
2022-03-15 22:57:53 -07:00
Tim Wilkinson
09985d3c57
Completely remove perl from the build DUMP_PERL ( #291 )
...
* And finally ... remove perl from the images
* Remove two more than came from the Admin merge
* Remove perl from perm packages
2022-03-15 21:23:39 -05:00
Tim Wilkinson
6707867dfd
Fix typo in iperf fw restart patch.
...
The iperf3 package installs a firewall rule, but the script to restart
the firewall on install had a typo meaning it wasn't called (so the
new firewall setup required a reboot)
2022-03-15 06:58:43 -07:00
Tim Wilkinson
49300073dc
Remove xinetd (which has little to do) ( #292 )
...
Switch olsrd dot_draw plugin to directly accept connections and not pass through xinetd.
2022-03-14 19:23:03 -07:00
Tim Wilkinson
7dde68bbb5
Lua page: Admin ( #290 )
...
* Fix scripts to fail gracefully if tunnel software not configured.
* Add 'manager.lua' to restart list
* Admin page in Lua (+associated upgrade script)
* Rename bbhn-postupgrade -> aredn_postupgrade
* Add missing 'uploadctlservices' call before package upload
2022-03-13 20:19:04 -07:00
Tim Wilkinson
74ba25c909
Add missing escapes for contact and node descriptions ( #289 )
2022-03-13 08:11:22 -07:00
Tim Wilkinson
64d315ada5
Ignore 'iw phy' command if no phy device ( #287 )
2022-03-13 07:48:10 -07:00
Tim Wilkinson
d9c2bb1bee
Fix noprop flag detection ( #284 )
2022-03-11 16:01:02 -06:00
Tim Wilkinson
8409ffe6ea
Fix tunnel disply order ( #286 )
2022-03-11 15:59:50 -06:00
Tim Wilkinson
d03be0c2ae
Fix broken wifi sorting
2022-03-11 10:57:54 -08:00
Tim Wilkinson
afda7e35ca
Fix the pattern used to validate services ( #280 )
...
* Fix the pattern used to validate services
* Missing % in nslookup pattern
2022-03-10 18:31:40 -08:00
Tim Wilkinson
93e8d0a53d
Cron is only running to poll AREDN messages, so kill it.
...
And move polling into the Lua Manager
2022-03-09 19:18:19 -08:00
Tim Wilkinson
66ee2fc9a2
Fix active tunnel indicator for tunnel server ( #277 )
2022-03-09 20:26:07 -06:00
Tim Wilkinson
7a5d15fd09
Tunnel's default IP is explicityly based on eth0's MAC (not 'lan') ( #278 )
2022-03-09 20:25:35 -06:00
Tim Wilkinson
36c3e054ac
Dont truncate /etc/config/vtun on tunnel install ( #275 )
2022-03-09 15:34:33 -06:00
Tim Wilkinson
a0e7749b1e
Lua stragglers ( #274 )
...
* Final bits of perl replaced by lua
* Use iwinfo during first boot (api I was using fails this early)
* Retry getting phy device (it can fail as the node is booting up)
2022-03-08 21:22:07 -06:00
Tim Wilkinson
922a74d574
Lua userpages: Tunnels ( #271 )
...
* Lua vpn server and client pages
* Lua vpn server and client pages
* Fix reporting of daemon restart errors
* Lua olsrd-config
* Fix reversed client/server ip assignments
* Fix patterns for finding active tunnels
2022-03-08 21:07:58 -06:00
Tim Wilkinson
f41fff889d
Mesh ignore bad linkquality ( #273 )
2022-03-08 17:47:08 -06:00
Tim Wilkinson
9db60550d1
Fix url format for no-link service names
2022-03-07 21:45:44 -08:00
Tim Wilkinson
b17f52c27d
Fix suffix and bad protocol suffix service url name checks ( #269 )
2022-03-07 21:41:47 -08:00
Tim Wilkinson
6e198fa704
Unused line
2022-03-06 19:10:16 -08:00
Tim Wilkinson
108a3e839e
Bridge handling on older devices is more complex
2022-03-06 19:10:16 -08:00