[PATCH] add wifi based geolocaion service

Christian Dresel fff at chrisi01.de
Mi Mär 29 10:45:10 CEST 2017


Hallo

Frage: Wenn ich das richtig noch im Kopf habe und richtig gesehen habe (ist
schon ein paar Tage her wo ich es mir angeguckt habe, sorry dafür), wird ein
Router versuchen hier irgendeinen Server zu erreichen (ich glaube über nen DNS
Namen oder?).

Bei uns haben Meshrouter keine v4 Adresse und auch keine routbare v6 Adresse,
sie kommen somit also nicht ins Internet.

Ich finde die Idee den Standort zumindest initial schon mal grob zu setzen
richtig toll aber es müsste dazu einfach noch einiges bei uns umgebaut werden
außer du hast dafür schon eine Lösung?

Reicht v6 oder müssen die Router auch per v4 raus können?

mfg

Christian

> 
>     Jan-Tarek Butt <tarek at ring0.de> hat am 29. März 2017 um 00:24 geschrieben:
> 
> 
>     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
>     >
> 
>     --
>     franken-dev mailing list
>     franken-dev at freifunk.net
>     http://lists.freifunk.net/mailman/listinfo/franken-dev-freifunk.net
>
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20170329/ff8a1a1c/attachment.html>


Mehr Informationen über die Mailingliste franken-dev