[PATCH] add wifi based geolocaion service
Jan-Tarek Butt
tarek at ring0.de
Mi Mär 29 00:24:46 CEST 2017
minder*
On 02/17/17 11:28, Jan-Tarek Butt wrote:
> Add WIFI location service.
> Usage:
>
> //prints lon and lat
> lwtrace
>
> // -b for blacklist, list of bssids ther shoud be blacklistded
> // I recomended to blacklist all mesh BSSIDs to get a propper position
> lwtrace -b 02:00:0A:12:98:00 02:CA:FF:EE:BA:BF 02:00:0A:12:80:00
>
> cheers
> Tarek
>
> Signed-off-by: Jan-Tarek Butt <tarek at ring0.de>
> ---
> bsp/ar71xx/.config | 3 +++
> bsp/archerc7/.config | 3 +++
> bsp/wdr4900/.config | 3 +++
> buildscript | 8 +++++++-
> 4 files changed, 16 insertions(+), 1 deletion(-)
>
> diff --git a/bsp/ar71xx/.config b/bsp/ar71xx/.config
> index e827685..19f2178 100644
> --- a/bsp/ar71xx/.config
> +++ b/bsp/ar71xx/.config
> @@ -26,7 +26,10 @@ CONFIG_PACKAGE_kmod-ledtrig-netdev=y
> # CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
> # CONFIG_PACKAGE_kmod-ppp is not set
> CONFIG_PACKAGE_kmod-sched-connmark=y
> +CONFIG_PACKAGE_libiw=y
> CONFIG_PACKAGE_libugpio=y
> +CONFIG_PACKAGE_libwlocate=y
> +CONFIG_PACKAGE_lwtrace=y
> # CONFIG_PACKAGE_odhcpd is not set
> # CONFIG_PACKAGE_opkg is not set
> # CONFIG_PACKAGE_ppp is not set
> diff --git a/bsp/archerc7/.config b/bsp/archerc7/.config
> index 0ae3062..3a61f1d 100644
> --- a/bsp/archerc7/.config
> +++ b/bsp/archerc7/.config
> @@ -28,7 +28,10 @@ CONFIG_PACKAGE_kmod-ledtrig-netdev=y
> # CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
> # CONFIG_PACKAGE_kmod-ppp is not set
> CONFIG_PACKAGE_kmod-sched-connmark=y
> +CONFIG_PACKAGE_libiw=y
> CONFIG_PACKAGE_libugpio=y
> +CONFIG_PACKAGE_libwlocate=y
> +CONFIG_PACKAGE_lwtrace=y
> # CONFIG_PACKAGE_odhcpd is not set
> # CONFIG_PACKAGE_opkg is not set
> # CONFIG_PACKAGE_ppp is not set
> diff --git a/bsp/wdr4900/.config b/bsp/wdr4900/.config
> index 0bc72e4..a02045f 100644
> --- a/bsp/wdr4900/.config
> +++ b/bsp/wdr4900/.config
> @@ -26,7 +26,10 @@ CONFIG_PACKAGE_kmod-ledtrig-netdev=y
> # CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
> # CONFIG_PACKAGE_kmod-ppp is not set
> CONFIG_PACKAGE_kmod-sched-connmark=y
> +CONFIG_PACKAGE_libiw=y
> CONFIG_PACKAGE_libugpio=y
> +CONFIG_PACKAGE_libwlocate=y
> +CONFIG_PACKAGE_lwtrace=y
> # CONFIG_PACKAGE_odhcpd is not set
> # CONFIG_PACKAGE_opkg is not set
> # CONFIG_PACKAGE_ppp is not set
> diff --git a/buildscript b/buildscript
> index 7e56ba7..f68799a 100755
> --- a/buildscript
> +++ b/buildscript
> @@ -39,10 +39,16 @@ ROUTING=(routing
> 899235a4a6370e86ad3674c38c3f95d23c8f3dc8)
> ROUTING_PKGS="alfred"
>
> +FFNW=(ffnw
> + https://git.ffnw.de/ffnw-firmware/packages.git
> + bf842fb2592c8f67bb6729c700c16d8064aecc07)
> +FFNW_PKGS="libwlocate lwtrace"
> +
> +
> FFF=(fff)
> FFF_PKGS="-a"
>
> -FEEDS=(OPENWRT ROUTING GLUON FFF)
> +FEEDS=(OPENWRT ROUTING GLUON FFF FFNW)
>
> checkout_git(){
> local DIRECTORY=$1
>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 833 bytes
Beschreibung: OpenPGP digital signature
URL : <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20170329/b24014e1/attachment.sig>
Mehr Informationen über die Mailingliste franken-dev