Code Monkey home page Code Monkey logo

afrimesh's People

Contributors

ithoq avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

cron410

afrimesh's Issues

Patch for /branches/unstable/package-scripts/openwrt/awesome-chilli/files/etc/init.d/chilli

1. Added restart routine that works
2. Added a line that echoes the statup options to /var/run/chilli.start
3. Fixed option for statusfile
4. Added a pile of other options
5. Provided a dirty hack for adding multiple uamdomain entries without 
implementing uci's list feature.  You might want to fix that...

Original issue reported on code.google.com by [email protected] on 27 Apr 2011 at 8:58

Attachments:

Integrate pmacct & NAGios with Dashboard

1) See if there are JSON plugins for NAGios, else figure out how to write one
2) Check out pmacct source code and look at how you would modify it to output 
JSON
3) Identify interesting data from pmacct/NAGios to display on dashboard map
4) Start pulling in data

Original issue reported on code.google.com by [email protected] on 6 Jul 2009 at 8:26

Flashing a router is difficult

The existing documentation on the web for flashing routers is not as clear as 
it could be.

Instructions that are easy to follow would include these elements:

  -> Selecting routers by photographs rather than router names
  -> Photographs showing cable connections and/or dissasembly
  -> Instructions for building/obtaining special hardware such as RS-232 voltage converters



Original issue reported on code.google.com by [email protected] on 3 Jun 2009 at 10:41

When adding new customer, type is always "flatrate" instead of selected type

1. On the dashboard's customers->manage tab, click "new"
2. Select any customer type and enter any customer name

Regardless of the customer type that was selected, the type of the newly
created customer is always "flatrate".

The problem appears to be with the selector on the interface, because the
actual parameter passed to the mysql/memcachedb helper functions is always
"flatrate".

Original issue reported on code.google.com by [email protected] on 14 Jul 2009 at 11:43

ajax-proxy dumps strangeness into the logs


Under Ubuntu:

/var/log/apache/error.log

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8257    0  8255    0     2   755k    187 --:--:-- --:--:-- --:--:-- 1007k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8325    0  8323    0     2   705k    173 --:--:-- --:--:-- --:--:--  902k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7709    0  7707    0     2   812k    215 --:--:-- --:--:-- --:--:-- 1254k

Original issue reported on code.google.com by [email protected] on 14 Jul 2009 at 11:52

Permissions Problems

There are a number of files that have permission problems from a clean install:

freeradius -> /var/log/freeradius/radutmp
openwrt -> /etc/config/afrimesh

Original issue reported on code.google.com by [email protected] on 4 Jul 2009 at 12:33

Error (debug) during Visualization: TypeError: afrimesh.villagebus.batman() is undefined

What steps will reproduce the problem?
1. Download new copy of afrimesh-svn (not updating onto an existing svn
download)
2. Make and make install.
3. Load dashboard and click on Maps. Watch the console (Firefox with
FireBug add-on installed.)

What is the expected output? What do you see instead?
[debug] Vis server unreachable due to unknown reason. TypeError:
afrimesh.villagebus.batman() is undefined 

Please use labels and text to provide additional information.

Original issue reported on code.google.com by itcl.george on 5 Aug 2009 at 5:44

Dashboard installs to WWW_ROOT by default


WIth both make install and package install the dashboard is installing to the 
web server's root 
directory by default.

This may not be a good idea as it is not necessarily where the user would like 
it to live and it could 
also overwrite existing content in that location.

Whereas the make rules are less troublesome as developers could be expected to 
know what they 
are doing we need to examine how our various binary targets manage installation 
of web apps from 
packages.

Original issue reported on code.google.com by [email protected] on 4 Jul 2009 at 7:04

Patch for /branches/unstable/package-scripts/openwrt/awesome-chilli/Makefile

Added a bunch of compile options, --enable-rtmon may be unnecessary, but the 
other three all have useful consequences: 

-enable-chilliredir: Allows regex walled garden entries, though it doesn't work 
well now

--enable-statusfile: allows a human-readable status file to be specified where 
you can see login status of users

--enable-binstatusfile: This is the bomber one.  It allows you to restart 
chilli without bumping all the logged in users!


--enable_rtmon: is supposed to check the uplink interface and bump chilli if it 
changes.  as far as I can tell, this doesn't work.

Original issue reported on code.google.com by [email protected] on 27 Apr 2011 at 8:53

Attachments:

Cache network map information


Currently the network map is redrawn from scratch on each startup using 
information queried 
live from the network. 

The downside to this is that it is not possible to track changes in the network 
over time in this 
way. 

For instance, a node which has gone missing since the last time the network map 
was drawn will 
simply not show up.

The proposed solution looks like this:

* store an object containing the last state of the map in some persistent 
storage

* Simply extending the object layout as generated by afrimesh.network.routers() 
will probably be 
the best candidate as it would require minimal changes to be made to the map 
code. 

* Fields will need to be added for node properties such as location, mac 
address etc.

* Initial map population should happen from this stored object.

* Subsequent queries to the live network will override the data within this 
object and raise 
warnings as required (e.g. coloring a node that has gone missing for longer 
than a certain period 
of time)

There are a couple of options for storage backend, including memcachedb, but 
the initial 
implementation should simply use the afrimesh.storage interface with the key:

  network.routers

Original issue reported on code.google.com by [email protected] on 11 Aug 2009 at 9:26

Afrimesh login on MP doesn't work on Firefox 2.0.0.2

What steps will reproduce the problem?
1. Attempt to login to a MP, http://192.168.1.20
2. Enter the passwd "admin", hit OK

What is the expected output? What do you see instead?

Expect to login to Afrimesh, instead the login screen is re-preseneted

What version of the product are you using? On what operating system?

Firefox 2.0.0.2 on Ubuntu 6.06 (Yeah I know, I know).

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 29 Mar 2010 at 3:27

Code review request

Added uci_util.c (and uci_util.h) with functions to access uci option values 
from config file. Please review.

Updated Makefile and village-bus-radius/Makefile
Added radius config file

Original issue reported on code.google.com by [email protected] on 3 Jul 2009 at 11:58

Scripts to generate a locally hosted map server

1) Figure out how to pull the .osm data for a given bounding box with 
co-ordinates specified
         as:  left-longitude, bottom-latitude, right-longitude, top-latitude
         or:  center-longitude, center-latitude, extent-degrees
         or:  center-longitude, center-latitude, extent-kilometres
       . Write a script to automate the retrieval
       . Read:  http://wiki.openstreetmap.org/wiki/Getting_Data
  2) Figure out how to do a Mapnik render of .png tiles from the .osm data
       . Write a script to render the data retrieved above
       . Read: http://wiki.openstreetmap.org/wiki/Rendering
               http://wiki.openstreetmap.org/wiki/Mapnik
           http://wiki.openstreetmap.org/wiki/Pyrender
  3) Figure out how to serve rendered .png tiles from the dashboard server
  4) Figure out how to do a CycleMap render
       . Read: http://www.opencyclemap.org/
  5) Put all the pieces together

Original issue reported on code.google.com by [email protected] on 6 Jul 2009 at 8:24

write a memcachedb backend for freeradius

1) Research memcachedb
2) Check out memcachedb trunk
3) Install dependencies: libmemcached, libevent, BerkeleyDB.47
4) configure/make/make install memcachedb
5) Research writing a freeradius authentication module
6) Hack code

Original issue reported on code.google.com by [email protected] on 6 Jul 2009 at 8:29

villagetelco-device broken on OpenWRT Backfire

What steps will reproduce the problem?
1.  install villagetelco-device_1.0pre-r1046-1_mips.ipk on NS2 running OpenWRT 
Backfire
2.
3.

What is the expected output? What do you see instead?

Expect the node to talk to Afrimesh but nothing happens.

What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 24 Oct 2010 at 7:58

Safari does not open Google Earth when exporting the mesh map

What steps will reproduce the problem?
1. Network->Map->Export KML

What is the expected output?
Google Earth opens with the mesh map

What do you see instead?
Safari saves the file to the Downloads folder.

Google Earth opens and displays correctly when double clicking the downloaded 
file.

Original issue reported on code.google.com by [email protected] on 14 Jul 2009 at 9:43

Not workin on iOS

What steps will reproduce the problem?
1.Use an iPad
2.Use an iPhone
3. No login page is presented

What is the expected output? What do you see instead?
Login prompt

What version of the product are you using? On what operating system?
OpenWRT

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 8 Jul 2011 at 7:30

New Afrimesh nodes do not register

What steps will reproduce the problem?
1.  install afrimesh 1046 on Mesh Potato
2.  reboot Mesh Potato
3.  load Afrimesh in browser
4.  click on bouncing ball and enter user info
5.  attempt to save


What is the expected output? What do you see instead?

It should save the new node.  But instead I get the error

"Could not link person to device: SyntaxError: Unexpected token <" 

What version of the product are you using? On what operating system?

MP  rev 233

opkg install ./netcat_0.7.1-1_mips.ipk
opkg install --force-maintainer ./villagetelco-device_1.0pre-r1046-1_mips.ipk
/etc/init.d/provision enable
chmod -R a+rw /etc/config
uci set system.@system[0].log_ip=192.168.130.2
uci set afrimesh.settings.root=192.168.130.2
uci set batmand.general.routing_class=3
uci set batmand.general.visualisation_srv=10.130.1.1
uci commit

As far as Afrimesh on the server goes, it is unclear to me how to determine the 
version number.  Perhaps some version info in the config page would be a good 
idea.

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 24 Oct 2010 at 7:42

Nodes not displaying on network map

What steps will reproduce the problem?
1. checkout the source
2. type make & and make install
3. go to http://localhost

What is the expected output? 
     Seeing mesh nodes on the map.

What do you see instead?
     No mesh nodes on the map.

Firefox error console gives: 
Error: afrimesh.villagebus.batman() is undefined
Source File: http://localhost/javascript/afrimesh.network.js
Line: 31


Original issue reported on code.google.com by [email protected] on 30 Jun 2009 at 2:27

Afrimesh fails to build

What steps will reproduce the problem?
1. svn checkout http://afrimesh.googlecode.com/svn/trunk/ afrimesh-read-only
2. Type make
3.

What is the expected output? What do you see instead?
I expected a successful build.
BUT.....this is what I saw:
In file included from modules/mod_config.c:33:
modules/mod_config.h:35:18: error: uci.h: No such file or directory
In file included from modules/mod_config.c:33:
modules/mod_config.h:67: warning: ‘struct uci_option’ declared inside 
parameter list
modules/mod_config.h:67: warning: its scope is only this definition or 
declaration, which is probably not what you want
modules/mod_config.c: In function ‘config_evaluate’:
modules/mod_config.c:78: warning: assignment makes pointer from integer without 
a cast
modules/mod_config.c: In function ‘config_val’:
modules/mod_config.c:205: error: storage size of ‘ptr’ isn’t known
modules/mod_config.c:208: warning: initialization from incompatible pointer type
modules/mod_config.c:209: error: ‘UCI_OK’ undeclared (first use in this 
function)


What version of the product are you using? On what operating system?
Linux twilight 2.6.32-34-generic-pae #77-Ubuntu SMP Tue Sep 13 21:16:18 UTC 
2011 i686 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 17 May 2012 at 12:59

afrimesh-memcachedb packaging


We're working against memcachedb trunk so there are some issues:

* Make packages for all platforms from trunk

* We need rget support so we also need to include the patched libmemcached as 
discussed at:
     http://memcachedb.googlecode.com/svn/trunk/doc/rget.txt

Original issue reported on code.google.com by [email protected] on 13 Jul 2009 at 8:31

Legend, bouncing ball, et al not displaying in Firefox or Chrome

What steps will reproduce the problem?
1.  Open http://41.223.35.110/afrimesh/
2.  Legend does not display
3.  Attempt to view image separately in browser e.g. 
http://41.223.35.110/afrimesh/images/network-map-legend.png

produces the error The image 
"http://41.223.35.110/afrimesh/images/network-map-legend.png" cannot be 
displayed because it contains errors"

I downloaded the png file and attempted to load it in an image viewer.  Image 
view claimed it was not a png file.

Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 8:13

Trouble installing afrimesh dashboard package

What steps will reproduce the problem?
1.Download Ubuntu 10.4 LTS
2.follow instructions for afrimesh installation using ubuntu sudo 
apt-add-repository "deb http://ppa.launchpad.net/afrimesh/ppa/ubuntu hardy 
main" 
3.sudo apt-get install afrimesh-dashboard  

What is the expected output? install afrimesh dashboard What do you see 
instead? dashboard package not found?


What version of the product are you using? latest On what operating system? 
Ubuntu 10.4 LTS and or 10.10


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 2 Nov 2010 at 3:18

Clean up remote call error handling


We want semantics like this across the whole stack:

var foo = afrimesh.some.remote.call.sync();
if (foo.error) {
  // handle error
}

afrimesh.some.remote.call.async(function(foo) {
    if (foo.error) {
      // handle error
    }
  });


Original issue reported on code.google.com by [email protected] on 4 Jul 2009 at 10:39

Empty configs in /etc/config produce faulty JSON output

What steps will reproduce the problem?
1. touch /etc/config/some-config-section on router. 
2. http://router.address/cgi-bin/village-bus-uci
3. Inspection will reveal a ", ," between the section immediately preceding and 
immediately 
following the config section you created.


Original issue reported on code.google.com by [email protected] on 12 Jun 2009 at 12:23

Set map server url as well as address


Currently the map will look for tiles at:

  http://afrimesh.settings.map.server/tiles

It would be nice to be able to set a different suffix to that url for servers 
where the tiles are stored 
in a different location.

Original issue reported on code.google.com by [email protected] on 15 Jul 2009 at 6:11

Google Earth Export for Dashboard map

1) install google earth
2) read up about the google earth file format
3) create link on the network map
4) create an eventhandler for the link
5) write a function that outputs some html to the browser when clicked
6) extend function to output some data in google earth file format 
7) extend function to output router information in google earth file format

Original issue reported on code.google.com by [email protected] on 6 Jul 2009 at 8:32

Disable enter on settings page

Hitting enter on an input on the settings page will submit the form.

Trap the key event handler and disable submission on enter, instead calling the 
function to save the 
configuration.

Original issue reported on code.google.com by [email protected] on 15 Jul 2009 at 6:16

Code review request

Added uci_util.c (and uci_util.h) with functions to access uci config options
Created radius config file in config/radius with default values
Added abovementioned files to Makefile and village-bus-radius/Makefile where 
relevant

Original issue reported on code.google.com by [email protected] on 3 Jul 2009 at 10:46

Firmware defaults to open telnet access

Freshly flashed routers allow telnet access on all interfaces with no login 
password.

While a strong argument could be made for leaving this as the default setting 
on the lan interface it 
is certainly not a good idea for the wireless interface!

Original issue reported on code.google.com by [email protected] on 1 Apr 2009 at 11:32

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.