gluon/package
David Bauer 387a9b4fe4 gluon-core: assert WiFi driver provides 4 MAC-addresses (#1626)
Gluon has multiple ways to obtain unique MAC-addresses. They are either
provided by the WiFi driver or derived from the primary MAC-address.

Quoting the same file:

> It's necessary that the first 45 bits of the MAC address don't
> vary on a single hardware interface, since some chips are using
> a hardware MAC filter. (e.g 'rt305x')

This currently fails in case the rt35xx based chips mac address differs
from the primary MAC. In this case, the MAC address for the client0 radio
(vif 1) comes from the WiFi driver. As there is only a single
MAC-address provided by '/sys/class/ieee80211/phyX/addresses' but the
MAC-address for mesh 0 (vif 2) is derived from the Node-ID, resulting in
different first 45 bits. The WiFi won't come up altogether in this case.

This commit verifies at least 4 MAC-Addresses are provided by the WiFi
driver. If this is not the case, all MAC-addresses are derived from the
primary MAC. This way, affected radios are working correctly.
2019-02-11 21:22:46 +01:00
..
gluon-alfred treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-authorized-keys treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-autoupdater treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-client-bridge gluon-client-bridge: set ra_holdoff interval to 30 seconds (#1597) 2018-12-07 21:40:13 +01:00
gluon-config-mode-autoupdater treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-config-mode-contact-info gluon-config-mode-contact-info: allow overriding contact field help and note in site 2018-06-24 19:47:52 +02:00
gluon-config-mode-core gluon-config-mode-core: don't cache index meta redirect 2018-10-11 03:23:29 +02:00
gluon-config-mode-domain-select gluon-config-mode-*: replace nixio with gluon.util 2018-07-17 20:08:16 +02:00
gluon-config-mode-geo-location gluon-config-mode-geo-location: fix source/i18n mismatch 2019-01-03 03:16:11 +01:00
gluon-config-mode-geo-location-osm gluon-config-mode-geo-location-osm: add OSM-based location picker 2018-09-01 11:35:39 +02:00
gluon-config-mode-hostname gluon-config-mode-hostname: fix site check for prefill 2018-09-29 14:09:28 +02:00
gluon-config-mode-mesh-vpn gluon-mesh-vpn: support ingress bandwidth shaping with tunneldigger (#1460) 2018-07-26 01:26:00 +02:00
gluon-config-mode-theme gluon-web-osm: base on OpenLayers 5, add model class 2018-09-01 11:35:33 +02:00
gluon-core gluon-core: assert WiFi driver provides 4 MAC-addresses (#1626) 2019-02-11 21:22:46 +01:00
gluon-ebtables treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-ebtables-filter-multicast treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-ebtables-filter-ra-dhcp treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-ebtables-limit-arp treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-ebtables-source-filter treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-iptables-clamp-mss-to-pmtu gluon-iptables-clamp-mss-to-pmtu: clamp mss on all mesh interfaces for all destinations to pmtu 2018-11-21 20:47:39 +01:00
gluon-l3roamd gluon-l3roamd: init: dynamically configure mesh interfaces gracefully during reload 2018-11-26 01:20:31 +01:00
gluon-lock-password treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-mesh-babel gluon-mesh-babel: remove broken log-file option from config 2018-12-05 00:21:33 +01:00
gluon-mesh-batman-adv gluon-mesh-*: do not count wifi clients/neighbours inactive for more than 60s 2018-11-18 11:45:16 +01:00
gluon-mesh-vpn-core gluon-mesh-vpn-core: add gluon-wan exec wrapper 2018-11-21 12:09:10 +01:00
gluon-mesh-vpn-fastd treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-mesh-vpn-tunneldigger gluon-mesh-vpn-tunneldigger: fix typo in description 2018-04-15 22:48:23 +02:00
gluon-neighbour-info treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-node-info treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-radv-filterd gluon-radv-filterd: Invalidate originators cache after some time (#1343) 2018-06-05 21:55:30 +02:00
gluon-radvd treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-respondd gluon-respondd: expose MemAvailable 2018-08-25 00:57:44 +02:00
gluon-setup-mode treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-site treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-status-page gluon-status-page: rebuild status-page.js after 02dfc66 2019-01-17 23:25:31 +01:00
gluon-status-page-mesh-batman-adv gluon-status-page: move neighbours-batadv wrapper to batadv-specific package 2018-06-30 16:03:13 +02:00
gluon-wan-dnsmasq gluon-wan-dnsmasq: replace nixio with luaposix 2018-07-17 20:08:15 +02:00
gluon-web gluon-web: add view helper for JSON-encoded values 2018-09-01 11:28:12 +02:00
gluon-web-admin gluon-web-admin: add site-commit to info page (#1482) 2018-07-25 22:30:29 +02:00
gluon-web-autoupdater treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-web-logging treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-web-mesh-vpn-fastd gluon-web-mesh-vpn-fastd: clarify config of default crypto method (#1502) 2018-08-06 21:36:05 +02:00
gluon-web-model gluon-web-model: add custom events for form elements 2018-09-01 11:28:12 +02:00
gluon-web-network gluon-web-network: remove legacy option for wired mesh 2018-04-27 17:48:36 +02:00
gluon-web-node-role treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-web-osm gluon-web-osm: base on OpenLayers 5, add model class 2018-09-01 11:35:33 +02:00
gluon-web-private-wifi treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00
gluon-web-wifi-config gluon-web-*: replace nixio with luaposix 2018-07-17 20:08:16 +02:00
libbatadv treewide: remove redundant definitions from package Makefiles 2018-03-07 21:23:41 +01:00
libgluonutil treewide: move package Makefile boilerplate to gluon.mk 2018-03-08 19:49:41 +01:00
features package/features: add gluon-ebtables-limit-arp to batman feature (#1516) 2018-09-05 04:45:41 +02:00
gluon.mk treewide: automatically set SECTION and CATEGORY for Gluon packages 2018-04-14 00:01:04 +02:00