OPNsense Forum
Archive => 19.1 Legacy Series => Topic started by: RomanLeBg on February 19, 2019, 02:54:08 pm
-
Hi all, i recently installed OPNsense and ntopng but the Maxmind database can't be used by ntopng i don't know why so i downloaded the GeoLite2 ASN in maxmind db format (https://dev.maxmind.com/geoip/geoip2/geolite2/)
and restarted opnsense but it doesn't worked so i asked on the ntopng telegram if they can help me so they said that i needted to install libmaxminddb but its already installed so they ask me to do ntopng ./configure but as i'm not building from source the output say that ./configure can't be found so they asked me to ask you. can you help me ? by the way i also tried to extract the tar.gz archive following this tutorial https://docs.zeek.org/en/stable/frameworks/geoip.html but it didn't give me a .mmdb file just a file without .mmdb so i tried to rename it but it didn't worked.
-
up ;D
-
any help ?
-
please
-
Did you search the forums? I remember about a hack discussed in here
-
Hi, thank you for your responses unfortunately i've tried to update /usr/local/bin/geoipupdate.sh from this post https://forum.opnsense.org/index.php?topic=10733 (https://forum.opnsense.org/index.php?topic=10733) but it didn't change anything on ntopng webpage, i just have 2 .mmdb file in the geoip folder but when i do a ls -l /usr/local/share/ntopng/httpdocs/geoip/GeoLite2-ASN.mmdb it reply :
-r--r--r-- 1 root wheel 0 Feb 23 13:23 /usr/local/share/ntopng/httpdocs/geoip/GeoLite2-ASN.mmdb
so i don't know why because at the download time it say xx% of 27Mo
-
i think i will let like it is nobody can help me here thanks anyway
-
fo me i find the script not useful , i just download the databases manually and scp them into the proper directory. make sure the files actually get copied, with the script i noticed it would copy into the tmp directory but never actually fully copy the file.