Commit Graph

11 Commits

Author SHA1 Message Date
Matthias Schiffer
e795f61252 Reorganize MAC addresses, always explicitly set address for private WLAN
Fixes #842
2016-09-09 00:22:00 +02:00
Matthias Schiffer
0b3af14bf8 gluon-core: migrate custom batadv interfaces to gluon_mesh proto
Users may have defined additional mesh interfaces. Properly migrate these
to avoid subtly breaking the network config (and make them ready for new
mesh protocols).
2016-09-09 00:21:59 +02:00
Matthias Schiffer
2c3da87f7c gluon-mesh-batman-adv-core: move config not specific to batman-adv to gluon-core 2016-09-09 00:21:59 +02:00
Matthias Schiffer
58bd1f5979 Use a "pretty" hostname where possible
Fixes #414
2016-09-09 00:21:35 +02:00
kb-light
bd4368d784 gluon-core: make wifi rates configurable by site.conf
and add documentation
2016-09-09 00:21:35 +02:00
Linus Lüssing
8047684be0 gluon-core: reenable multicast snooping on WAN side
Just like we enabled multicast snooping on the batman-adv client bridge
again, let's do the same for the WAN side.

With one exception: The IGMP/MLD querier is kept disabled to avoid
becoming too "bossy"/"noisy" on a foreign network. The main router on
the WAN side should perform querying and by that enable
IGMP/MLD/snooping if it considers this appropriate there.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-09-09 00:21:35 +02:00
Matthias Schiffer
04ed2ecea7 gluon-core: allow setting PoE passthrough default setting from site.conf 2016-09-09 00:21:33 +02:00
Matthias Schiffer
4fcf5e73dd gluon-core: split get_wlan_mac_from_driver() out of get_wlan_mac() 2016-09-09 00:21:33 +02:00
Matthias Schiffer
3595c8eb57 Use MAC addresses provided by WLAN drivers by default
Some drivers (mt76) don't support arbitrary MAC addresses. Use the
addresses provided by the driver (avoiding the primary address) by default,
but fall back to our has-based scheme when the driver doesn't provide
(enough) addresses.
2016-09-09 00:20:37 +02:00
Matthias Schiffer
ca1b03b29e gluon-core: unify indentation in gluon/util.lua 2016-09-09 00:20:37 +02:00
Jan-Tarek Butt
13286d3768 Minify all Lua code 2016-09-09 00:20:36 +02:00