Commit Graph

2361 Commits

Author SHA1 Message Date
Matthias Schiffer
e45c30330d
gluon-mesh-batman-adv: refactor interface management
We now create bat0 and primary0 independently of the lower mesh interfaces,
making the whole setup a lot more robust. In particular:

- we can't accidentially destroy primary0 because of concurrent setup and
  teardown runs of different interfaces
- bat0 will always exist, even when no mesh interfaces are up (e.g. no link
  on wired mesh)
- interfaces going down and up again will never tear down the whole of
  batman-adv
- we can enable and disable bat0 independently of the lower interface
  states
2017-04-12 19:23:08 +02:00
Matthias Schiffer
4ca67dcca5
gluon-mesh-batman-adv-*: unify into a single source package
For simplicity, we don't use different MTUs for compat 14 and 15 anymore,
there's no harm in using 1532 for batman-adv-legacy as well.
2017-04-12 04:22:45 +02:00
Matthias Schiffer
a502295eaf
gluon-core: gluon_mesh: make transitive and fixed_mtu available as interface data, add post-setup.d
In addition, transitive and fixed_mtu now default to 0 instead of an empty string.
2017-04-12 03:44:45 +02:00
Matthias Schiffer
d967d58abc
netifd: ubus: add interface method to trigger renew event 2017-04-12 03:43:31 +02:00
Matthias Schiffer
872784cf15
modules: update LEDE 2017-04-11 02:08:42 +02:00
Matthias Schiffer
c4641d47fd
gluon-mesh-batman-adv-core: dont' call 'ip' to check if primary0 exists 2017-04-11 02:01:38 +02:00
Matthias Schiffer
02f2d8796c
gluon-core: don't call 'ip' to check if an interface exists 2017-04-11 02:01:21 +02:00
Matthias Schiffer
c4613c4e8d
gluon-core: gluon.util: pass UCI cursor to get_wlan_mac(), get rid of local UCI context 2017-04-11 01:48:11 +02:00
Matthias Schiffer
f48d10bdde
gluon-core: gluon.util: pass UCI cursor as argument to iterate_radios() instead of using local context 2017-04-11 01:48:11 +02:00
Julian Labus
901b122d83
gluon-web-wifi-config: use find_phy from gluon.util 2017-04-11 01:48:11 +02:00
Julian Labus
734d1925de
gluon-core: gluon.util: fix PHY detection for radios addressed by PCIe address 2017-04-11 01:48:10 +02:00
Matthias Schiffer
da22c5cf8e
gluon-core: gluon.util: change find_phy argument to config table and make public 2017-04-11 01:48:10 +02:00
Julian Labus
9d5c551166 docs: restructure index for better readability in readthedocs theme 2017-04-10 16:32:37 +02:00
Julian Labus
4cf977485a docs: add missing link to gluon-ebtables-source-filter 2017-04-10 16:32:37 +02:00
Matthias Schiffer
6499658b52
gluon-mesh-batman-adv-core: don't print error message when no_rebroadcast is not supported
batman-adv 2017.0 doesn't need (or support) no_rebroadcast anymore. Don't
fail when the file doesn't exist.
2017-04-10 01:32:30 +02:00
Matthias Schiffer
9e487f3104
docs, README: Gluon v2016.2.5 2017-04-09 21:44:07 +02:00
Matthias Schiffer
9ae5fd3723
docs: add Gluon v2016.2.5 release notes 2017-04-09 21:43:02 +02:00
kb-light
eefd2ef8db Add package gluon-ebtables-source-filter (#1015) 2017-04-09 18:18:51 +02:00
Julian
13c61d9394 gluon-core: fix pattern %v in opkg URLs (#1087) 2017-04-07 14:24:13 +02:00
Cyrus
6a0ca58fc3 gluon-core: Fixed bug which kept legacy VLAN interface definitions (#1085) 2017-04-03 20:48:42 +02:00
Christof Schulze
2e1f1211d4 modules: update Gluon packages (#1082) 2017-03-27 23:03:41 +02:00
Matthias Schiffer
57070a56be
ipq806x: add new target and support for TP-Link Archer C2600
Completely untested for now.

Closes #835
2017-03-27 11:44:07 +02:00
bobcanthelpyou
eae359c961 docs: features/monitoring: update alfred README and alfred-json links (#1081) 2017-03-26 23:54:43 +02:00
Cyrus
540d0ff0a3 gluon-mesh-vpn-core: Fixed conditions for migration code (#1080)
VPN daemons were always disabled
2017-03-26 10:26:33 +02:00
Matthias Schiffer
efec1fc319
modules: update LEDE 2017-03-25 14:57:45 +01:00
hexa-
adf3b91557 docs: user/site.rst: add peer with ip addresses and mention resilience benefit (#1073) 2017-03-23 17:35:50 +01:00
Cyrus Fox
aa17e3e86e
gluon-mesh-vpn-tunneldigger: ignore default config when checking for legacy configs 2017-03-23 12:51:41 +01:00
Tarnatos
d3d1059149 ar71xx: more consistent image file names for TP-Link TL-WR940N (#1071)
The TL-WR940N doesn't have detachable antennas. Make v1-v3 match v4.
2017-03-23 12:40:46 +01:00
Matthias Schiffer
e13f1b2c5b
docs, README: Gluon v2016.2.4 2017-03-13 15:25:30 +01:00
lrnzo
54e271ad99 docs: dev/web/i18n: fix typo (#1068) 2017-03-12 00:49:56 +01:00
lrnzo
e01f4f14aa docs: features/wired-mesh.rst: fix typo (#1067) 2017-03-11 14:20:41 +01:00
Matthias Schiffer
5e369fb352
mac80211: revert upstream change breaking AP+11s VIF combinations
Fixes meshing over 802.11s.
2017-03-11 06:37:41 +01:00
Matthias Schiffer
da19961188
gluon-web: javascript: don't use global RegExp.$x matches, fix "this" for parameterized validators
Doing so caused broken validations, as different validators were affecting
each other.
2017-03-10 22:25:00 +01:00
Matthias Schiffer
ca5e1f8b75
docs: site-example: update mesh VPN configuration 2017-03-10 20:17:41 +01:00
Matthias Schiffer
e6d0b58d91
docs: user/site: add information on gluon-mesh-vpn-tunneldigger configuration 2017-03-10 19:49:11 +01:00
Matthias Schiffer
b016cf18b4
gluon-mesh-vpn-core: add code for migration of enabled state between fastd and tunneldigger
Based-on-patch-by: Cyrus Fox <cyrus@lambdacore.de>
2017-03-10 19:45:35 +01:00
Matthias Schiffer
a49ef70c53
gluon-config-mode-mesh-vpn: add tunneldigger support
Based-on-patch-by: Cyrus Fox <cyrus@lambdacore.de>
2017-03-10 19:45:34 +01:00
Cyrus Fox
ad7a36fdce
gluon-mesh-vpn-tunneldigger: add package for tunneldigger L2TP support 2017-03-10 19:45:34 +01:00
Matthias Schiffer
be88eba07f
Refactor common parts of gluon-mesh-vpn-fastd into a gluon-mesh-vpn-core package
The fastd_mesh_vpn site.conf section is renamed to mesh_vpn.fastd.
2017-03-10 19:45:34 +01:00
hexa-
1c9b0ced00 bcm2708: prevent wpad-mini from conflicting with hostapd-mini (#1065) 2017-03-10 15:31:20 +01:00
Matthias Schiffer
f2dabed13d
modules: update routing packages
Updates batman-adv to 2017.0.1.
2017-03-10 02:57:09 +01:00
Matthias Schiffer
b6b76b0596
netifd: update to git HEAD version 2017-03-10 02:00:57 +01:00
Matthias Schiffer
c54ac85c29
modules: update OpenWrt packages 2017-03-10 01:53:57 +01:00
Matthias Schiffer
4a81373989
modules: update LEDE 2017-03-10 01:53:42 +01:00
Matthias Schiffer
41a9f9b06c
gluon-mesh-batman-adv-core: fix ARP resolution of next-node IPv4 address
The ebtables rules were not adjusted when switching from macvlan to veth.
2017-03-08 22:52:25 +01:00
Matthias Schiffer
9a33b4ce79
overlay/opkg.mk: add explanatory comment 2017-03-02 22:53:40 +01:00
Matthias Schiffer
3115aa5640
Update Gluon packages 2017-03-02 16:32:27 +01:00
Matthias Schiffer
7222fc07d1
gluon-web-private-wifi: fix default value of "enabled" setting 2017-03-02 15:09:49 +01:00
0x4A6F
ebeefa1747 ar71xx-generic: add support for Ubiquiti Rocket M Titanium (#968) 2017-03-01 13:21:28 +01:00
Matthias Schiffer
8245e77218
gluon-status-page: fix browser compatiblity of language selection 2017-02-26 20:55:31 +01:00