Commit Graph

1271 Commits

Author SHA1 Message Date
Jan-Tarek Butt
1350b85e62 package/gluon-geolocator: geolocator remove timestamp intervall due to use only cron intervall
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-09-26 23:15:04 +02:00
Jan-Tarek Butt
8346abd9da package/gluon-geolocator: micrond change to default 12h intervall
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-09-26 23:15:04 +02:00
Jan-Tarek Butt
2391a0289e package/gluon-geolocator: only write on flash if position has change significantly.
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-09-26 23:15:04 +02:00
Jan-Tarek Butt
22b221a8fb gluon-geolocator: geolocator drop dep on nixio & use posix lockfile
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-09-26 23:15:04 +02:00
Jan-Tarek Butt
791dfe0a2f gluon-geolocator: geolocator replace spaces with taps
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
2019-09-26 23:15:04 +02:00
Jan-Tarek Butt
20661a2356 gluon-geolocator: use a volatile lock file 2019-09-26 23:15:04 +02:00
Jan-Tarek Butt
cd1f2b6910 gluon-geolocator: remove fix conf entrys otherwise site values can not be set. 2019-09-26 23:15:04 +02:00
Jan-Tarek Butt
3a7e63e7f2 gluon-geolocator: use call BuildPackageGluon instead of BuildPackage 2019-09-26 23:15:04 +02:00
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