Occationally /proc/net/if_inet6 contains interface IDs with
three digits. In this case, the regex in wait_for_ll_address()
does not work anymore and alfred is not starting.
This patch changes the evaluation so that fields are used instead
of the mere position by counting characters.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Using procd allows better control and monitoring of the bmx7 process.
Keep polling for mac80211.sh process for now until we find a better
way to make sure that wireless configuration has been generated before
starting bmx7.
Setting maximum core size to 20000 looks dangerous on small devices,
but keep it as it was before, we shall discuss this separately.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
nodogsplash2: Add compatibility with mwan3 version 2
Changes in mwan3 version 2 resulted in previous recommended fix for Nodogsplash to fail.
Setting fw_mark to use bits set "higher" than used in mwan3 solves the problem. This works also for all previous versions of Nodogsplash.
Author-name: Rob White
Signed-off-by: Rob White <rob@blue-wave.net>
* Sort links by name
* Allow configuring invalid --pathLq1Threshold (due to configReload problem) and fix it in description
* Introduce --linkThroughputEfficiency=0 (70) and cleanup metric algos
* Update expectedThroughput only if estimation exists
* Calculate and use average expected throughput instead of fluctuating current value
* Rename wireless expected throughput variables
* Align ordering of link_status struct and field_format
* Fix: Interpret expected TP as Kbps
* Fix txRateExpected typos
* Add expected throughput as reported by minstrel(_ht)
* synchronization of batman-adv netlink and packet headers
* mark licenses clearer, change batman-adv UAPI header from ISC to MIT
* coding style cleanups and refactoring
Signed-off-by: Sven Eckelmann <sven@narfation.org>
* synchronization of batman-adv netlink and packet headers
* mark licenses clearer, change batman-adv UAPI header from ISC to MIT
* coding style cleanups and refactoring
Signed-off-by: Sven Eckelmann <sven@narfation.org>
* support latest kernels (3.2 - 4.16)
* coding style cleanups and refactoring
* mark licenses clearer, change UAPI header from ISC to MIT
* bugs squashed:
- fix packet checksum handling in receive path
- fix handling of large number of interfaces
- fix netlink dumping of gateways and BLA claims+backbones
Signed-off-by: Sven Eckelmann <sven@narfation.org>
* crypt: Fix broken MBEDTLS_THREADING_C support due to missing rsa_init()
* Common.mk: remove unneeded linker dependency -lmbedtls
* bmx ip link prof: fix several potential sprintf() buffer overwrites
* bmx desc json node: muting sys-level debug messages
* Fix json-descriptions files
* json: dump json originators file with relevance 2, do not remove descriptions due to deleted routes
* json: change default json files update interval to a minute
* bmx: fixing origs/keys_status_creator() with given key_node data
* json: fixing /var/run/originators/... and cleanup
* json: set json jshow default relevance to 1 (medium)
* Cleanup and simplify status memory usage report
* tun: --tunOutDelay=100 delay catched and rescheduled tunnel packets for us to complete proper dedicated tunnel setup
* mute warning for unknown description-frame types
* introduce --tunCatchDelay=100 to delay catched and rescheduled tunnel packets for us to complete proper dedicated tunnel setup
* Revert "hna: Use real or zero remote tunnel addresses"
Which does not work with current openwrt/lede kernels
due to their patched ip6_tunnel.c code for supporting MAP-E-FMRs.
* Fix linker problem when compiling topology plugin with -DPROFILING
The PKG_BUILD_DEPENDS variable must refer to source packages instead of
binary package names.
Fixes the following errors on current OpenWrt master:
Upon scripts/feeds install:
WARNING: No feed for source package 'libncurses' found
WARNING: No feed for source package 'libreadline' found
Upon metadata scanning and dependency resolution:
WARNING: Makefile 'package/feeds/routing/bird/Makefile' has a build dependency on 'libncurses', which does not exist
WARNING: Makefile 'package/feeds/routing/bird/Makefile' has a build dependency on 'libreadline', which does not exist
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Quit the teardown function in case the file 464-$cfg-anycast is not
present as it means no clean up of ip rules is required.
It fixes error traces like "cat: can't open '/tmp/464-wan6_4-anycast':
No such file or directory" and "Error: inet6 prefix is expected rather
than "lookup"."
At the same time remove the unused variable anycast_active.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
nodogsplash2: fix startup failure
The underlying network_get_device() used for option network is not reliable. Use option gatewayinterface for now.
Signed-off-by: Rob White <rob@blue-wave.net>
nodogsplash2: change configuration defaults
Changes:
* set default to NoDogsplash enabled as rest of config should now be safe and is possible to SSH to router to stop NDS if needed
* change clientidletimeout to 120 minutes (2 hours)
* add clientforcetimeout set to 1440 minutes (24 hours)
* comment out the two provided example authenticated_users block lines
* add list authenticated_users 'allow all'
* comment original list authenticated_users allow... entries and leave them as examples
* set preauth default to no use remote DNS. All devices used at a public wifi venues should be configured for DHCP. To force the use of the local DNS server makes DNS tunnelling very inefficient if not unusable on a typical OpenWrt device.
* set fw_mark settings for compatibility with other OpenWrt packages
Enhancements and bug fixes including:
- Developed and Tested against Bird-1.6.3
- New LUCI scripts (Logs, Functions and Filters)
- Enhanced UX and less use of Terminal for daily management
- Improved UX by adding extra information for the administrator
- Refactor DOCN and include missing parts.
- Code cleaning and refactoring
- New DOCN-specific [Repository](https://github.com/eloicaso/bgp-bmx6-bird-docn)
The build id contains the build timestamp by default.
Make this field optional.
Build timestamp prevents reproducible builds [0].
Thanks to the debian project for the patch.
[0] https://reproducible-builds.org/docs/timestamps/
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This patch bumps olsr version from 0.9.6.1 to 0.9.6.2
One major bugfix comes with the newer version, which is quite relevant
for our Freifunk mesh network: the feature LinkQualityMult was not
working in 0.9.6.1 and got fixed in the new version.
Tested on 92 productive mesh nodes running current LEDE trunk .
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>