GithubHelp home page GithubHelp logo

libremap-agent-openwrt's People

Contributors

altergui avatar andrenarchy avatar nicoechaniz avatar p4u avatar rogerpueyo avatar tahini avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

libremap-agent-openwrt's Issues

libremap-agent fails due to missing luci.fs dependency

Hi,

libremap-agent fails to run on recent compilations of the package:

root@openwrt:~# /usr/sbin/libremap-agent 
/usr/bin/lua: module 'luci.fs' not found:
    no field package.preload['luci.fs']
    no file './luci/fs.lua'
    no file '/usr/share/lua/luci/fs.lua'
    no file '/usr/share/lua/luci/fs/init.lua'
    no file '/usr/lib/lua/luci/fs.lua'
    no file '/usr/lib/lua/luci/fs/init.lua'
    no file './luci/fs.so'
    no file '/usr/lib/lua/luci/fs.so'
    no file '/usr/lib/lua/loadall.so'
    no file './luci.so'
    no file '/usr/lib/lua/luci.so'
    no file '/usr/lib/lua/loadall.so'
stack traceback:
    [C]: in function 'require'
    ?: in main chunk
    [C]: in function 'require'
    /usr/sbin/libremap-agent:4: in main chunk
    [C]: ?    

The file was dropped from LuCI on the 15th January 2015 (openwrt/luci@e91b603).

Maybe it could be added to libremap-agent package.

Make old doc from db available to plugins

The document that is already present in the db (if there is one) can contain vital information. For example, it's possible that the location is not stored in the router itself so a plugin could simply copy the location from the existing data.

lua dependency

I've to recheck this, but i remember, that the openwrt gets a host-dependency to luac when the agent is build in openwrt.

luasrc/Makefile uses luac; not sure how openwrt should check those calls.

MAC addresses are considered as different interfaces if they are uppercase or lowercase

Links between qMp nodes are not shown in Libremap (see for instancehttp://libremap.net/#bbox/41.32381345581024,2.0822417736053467,41.33096789744496,2.097691297531128). In this area, nodes http://libremap.net/api/router/43606c1dda7bb9f887b3b624c0189927 and http://libremap.net/api/router/bfae24c7abc7f08144fb146717b2700d are linked but the map does not show so.

I've seen that if I force MAC addresses to be published in uppercase (see nodes in area http://libremap.net/#bbox/41.37529501839182,2.161785364151001,41.38244380449015,2.1772348880767822) links magically appear on the map. I guess that libremap-agent should consistently publish all MAC addresses either in uppercase or lowercase, but also libremap api should treat MAC addresses as case insensitive strings.

Thanks!

add community route

something like:

libremap.net/#community/quintanalibre.org.ar

so a community can use that link to show "their" map (using the existing filter).

The view should also auto-zoom to the area containing the community nodes.

sys.sysinfo() call in system plugin gives a warning

When running "libremap-agent" on recent OpenWrt-based devices (e.g. Chaos Calmer 15.05.1), the following warning is logged:

Thu Sep  1 14:59:25 2016 user.warn libremap-agent[23499]: unable to execute plugin "system"; ?:0: attempt to call field 'sysinfo' (a nil value)
Thu Sep  1 14:59:26 2016 user.info libremap-agent[23499]: success: submitted to http://libremap.net/api/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.