a modular framework for creating OpenWrt-based firmwares for wireless mesh nodes
Go to file
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
.github/ISSUE_TEMPLATE meta: add template for bug reports (#1637) 2019-02-05 01:22:55 +01:00
contrib contrib: update i18n-scan.pl script 2018-02-23 13:39:56 +01:00
docs docs: multidomain: add missing uci commit in gluon-reconfigure example 2019-02-11 16:06:23 +01:00
package gluon-core: assert WiFi driver provides 4 MAC-addresses (#1626) 2019-02-11 21:22:46 +01:00
patches ath10k/ath10k-ct: support multicast and management rate control 2019-02-11 01:22:22 +01:00
scripts scripts: include binaries in patch 2018-07-16 01:39:36 +02:00
targets ramips-mt7620: add support for ASUS RT-AC51U (#1642) 2019-02-09 23:31:58 +01:00
.gitignore Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
CONTRIBUTING.md docs: update some old urls (#1598) 2018-12-07 21:40:55 +01:00
LICENSE Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
Makefile Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
modules modules: update OpenWrt 2019-02-03 01:29:57 +01:00
README.md docs: improve references to the IRC chatroom (#1643) 2019-02-07 01:53:18 +01:00

Documentation (incomplete at this time, contribute if you can!) may be found at https://gluon.readthedocs.io/.

If you're new to Gluon and ready to get your feet wet, have a look at the Getting Started Guide.

Gluon's developers frequent an IRC chatroom at #gluon on hackint. There is also a webchat that allows for access from within your browser.

Issues & Feature requests

Before opening an issue, make sure to check whether any existing issues (open or closed) match. If you're suggesting a new feature, drop by on IRC or our mailinglist to discuss it first.

We maintain a Roadmap for the future development of Gluon.

Use a release!

Please refrain from using the master branch for anything else but development purposes! Use the most recent release instead. You can list all releases by running git tag and switch to one by running git checkout v2018.2 && make update.

If you're using the autoupdater, do not autoupdate nodes with anything but releases. If you upgrade using random master commits the nodes will break eventually.

Mailinglist

To subscribe to the list, send a message to:

gluon+subscribe@luebeck.freifunk.net

To remove your address from the list, just send a message to the address in the List-Unsubscribe header of any list message. If you haven't changed addresses since subscribing, you can also send a message to:

gluon+unsubscribe@luebeck.freifunk.net