Commit Graph

1263 Commits

Author SHA1 Message Date
Jan-Tarek Butt
7d2689c0e5 gluon-geolocator: request wifi interface once per radio and via ubus 2019-09-26 23:15:04 +02:00
Jan-Tarek Butt
5ffb482705 gluon-geolocator: update to master package configuration
* drop bssid blacklist
* only allow Master mode scanned wifis for osition request.
2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
f6a533327a geolocator: rebase site_check 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
d546111280 geolocator: set default values in config 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
49cc2d85bf geolocator: set table inserts in brackes 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
df565f76b5 geolocator: ensure MAC addreses are filert by uppercase matching 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
e8f1d22e2a gluon-geolocator: fix intervall in 540-geolocator-settings
* change intervall value from seconds to minutes
2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
2ef1df3084 gluon-geolocator: refactoring and spellcheck
* rm irrelevant else states
 * fix print message for time stamp file
2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
78b4396713 geolocator: rm TODO commend after discussion wiht Neoraider 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
eb6f071730 gluon-geolocator: set uci getbool fix scan for surrounded wifis 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
6c806d77dc gluon-geolocator: fix line endings and write mode 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
aa268718b5 gluon-geolocator: rm .sh file ending 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
84c767c3bf gluon-geolocator: porting from shell to lua code 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
97c159846c gluon-geolocator: rm geolocator.sh 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
5c624e119b gluon-geolocator: upgrade script prepare for new site file 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
75748d14ab gluon-geolocator: geolocator.sh use if/fi instead of {} 2019-09-26 23:15:03 +02:00
Jan-Tarek Butt
41d936a539 gluon-geolocator: geolocator.sh rm unneeded ; 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
46cbd16a6e gluon-geolocator: geolocator.sh replace spaces with taps 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
3625d53c5c gluon-geolocator: use taps and chang val type in check_site.lua
* set geolocator.autolocation as need_boolean
 * replace spaces with taps
2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
1d3369bc80 gluon-geolocator: clean up cron file
* rm unneded semicolon
 * remove the sh
2019-09-26 23:15:02 +02:00
Tata
a8afdf8f7a gluon-geolocator: change lua require
540-geolocator-settings: change lua require 'gluon.site_config' to 'gluon.site'
2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
44cdcbe6ae gluon-geolocator: rm ffnw spec stuff and add site array to geolocator.sh 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
84832705ec gluon-geolocator: change check_site.lua 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
03606b2ac5 gluon-geolocator: add luaminifyer 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
f96e72d919 add 540-geolocator-settings 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
749b942288 mv to 540-geolocator-settings 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
82792fc65e gluon-geolocator: add upgrade script for intervall 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
50f42cea92 gluon-geolocator: add cron file 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
942027ac23 gluon-geolocator: add geolocator.sh 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
f08b0c6c46 gluon-geolocator: add config geolocator 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
d377f5a350 gluon-geolocator: add check_site.lua 2019-09-26 23:15:02 +02:00
Jan-Tarek Butt
37bff434f8 add new pkg gluon-geolocator 2019-09-26 23:15:01 +02:00
Matthias Schiffer
5b97d36c7e gluon-mesh-batman-adv: remove gluon-mesh-batman-adv-14 2019-09-25 21:57:52 +02:00
Tata
6742584e12 gluon-config-mode-geo-location: allow to set location independently from sharing it (#1537)
also properly delete location data when a user disables
the location option after re-entering config-mode.
2019-09-24 09:56:40 +02:00
Christof Schulze
6aee8e95e8 gluon-mmfd: add package (#1802) 2019-09-23 21:34:53 +02:00
Linus Lüssing
302a795189 Revert "gluon-mesh-batman-adv: reenable batman-adv multicast optimizations"
This reverts commit 9b1eb40fe7.

With the batman-adv v2019.2 upgrade reverted (c1a7733956), the batman-adv
multicast-to-multi-unicast feature is not available yet. Without that it is
going to be very unlikely of the batman-adv multicast optimizations to
take effect. E.g. some outdated nodes would disable it.

To avoid confusion and diversion with a few communities having it enabled
and most implicitly deactivated, just deactivate it for all for now
until batman-adv is updated to v2019.2 or greater again.
2019-09-21 23:28:12 +02:00
Christof Schulze
a3fd203e13 gluon-mesh-babel: add dependency: gluon-l3roamd
gluon-mesh-babel conigures babeld and thus the mesh. This mesh is only usable
with routes to the clients which are discovered by l3roamd.
2019-09-14 00:32:55 +02:00
Christof Schulze
d5a4f4fd8c gluon-mesh-babel: distribute routes to 2000::/3 2019-09-14 00:32:55 +02:00
Christof Schulze
59b7625e54 gluon-l3roamd: utilize node_client_prefix6 from site, add checks
* add check_site.lua to validate required field from site
* make use of node_client_prefix6 if defined in site
2019-09-14 00:32:55 +02:00
Matthias Schiffer
b2f5f71c43
gluon-web-wifi-config: fix incorrect UCI call
Fixes #1809

Fixes: bf55249159 ("gluon-core: add outdoor support for 5 ghz radios")
2019-09-06 20:37:37 +02:00
Christof Schulze
bd543db86b gluon-core: enhance mac_to_ip() beyond RFC 4291 (#1798)
mac_to_ip() calculates an ipv6 address from a mac address according to
RFC 4291. For wireguard we have to use specially crafted addresses that
must be unique. This allows calculating such unique mac-based addresses
by allowing to optionally specifying the bytes to be inserted into the
address.
2019-08-23 20:42:23 +02:00
Linus Lüssing
cb899874dc
gluon-mesh-batman-adv: allow installing mesh-batman-adv-14 and -15 at the same time
The new routing_algo site.conf value BATMAN_IV_LEGACY is introduced. With
these changes, the routing_algo setting becomes mandatory.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2019-08-22 20:09:10 +02:00
Linus Lüssing
f9e68be4e0
gluon-mesh-batman-adv: respondd: determine compat version from release version
We cannot add the same file (here: /lib/gluon/mesh-batman-adv/compat) to
two, installed packages. Therefore, instead of determining the compat
version number from this file, infer it from the batman-adv release
version number instead.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2019-08-22 20:09:10 +02:00
Matthias Schiffer
dcb18e6efe
features: include gluon-radvd by default
Fixes #1775
2019-08-21 19:34:12 +02:00
Chrissi^
dc8149abc4
gluon-mesh-vpn-core: Add dependency for KERNEL_NET_ACT_POLICE
This is a fix for the broken ingress traffic-shaping in gluon v2018.2.2
and possibly earlier.

For ingress traffic shaping the kernel option NET_ACT_POLICE is needed.
Before this patch there was no dependency to this. Neither in
gluon_core, gluon-mesh-vpn-core nor in the package.

This patch adds this dependency.

[Matthias Schiffer: move dependency from GLUON_CORE to gluon-mesh-vpn-core]

Fixes #1790
2019-08-21 18:37:53 +02:00
Martin Weinelt
eeb745d717 gluon-web-network: fix variable shadowing
package/gluon-web-network/luasrc/lib/gluon/config-mode/model/admin/network.lua:122:16: (W431) shadowing upvalue f on line 19

Fixes: bab4af01e ("gluon-web-network: improve PoE GPIO name translation
handling")
2019-08-13 17:49:02 +02:00
Simon Terzenbach
c124f6f410 mcp85xx-p1020: add support for Aerohive HiveAP 330 2019-08-13 13:25:20 +02:00
Simon Terzenbach
c37644e004
ar71xx-nand: add support for Aerohive HiveAP 121 2019-08-02 00:37:26 +02:00
Matthias Schiffer
bab4af01eb
gluon-web-network: improve PoE GPIO name translation handling
- Replace string concat for i18n key with an explicit list to make the code
  compatible with i18n-scan.pl
- Improve fallback string
2019-07-20 20:56:58 +02:00
Sven Eckelmann
2eb15bac0e gluon-authorized-keys: Force installation of gluon-lock-password
The gluon-authorized-keys is usually installed to use SSH keys to
authenticate a user against the device. To make this useful, it is also
required to disable passwordless SSH access to the device.

This new dependency is only required when the user doesn't have
gluon-setup-mode enabled already.

Fixes: #1777
Reported-by: yanosz <github@yanosz.net>
Fixes: a753fa79e3 ("gluon-authorized-keys: add keys from site.conf")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-07-02 12:34:55 +02:00