villagetelco / spud

Spud Mesh Monitoring software
Other
2 stars 0 forks source link

Spud install problem #1

Open stevesong opened 9 years ago

stevesong commented 9 years ago

When I install spud I get these errors:

File does not exist: /var/www/spud< [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico [Tue Oct 28 16:35:41 2014] [error] [client 127.0.0.1] File does not exist: /var/www/spud/css, referer: http://localhost/spud/

stevesong commented 9 years ago

Can you post a directory listing of /var/www ? Specifically the output of

cd /var/www ls -lR

vusy-nathan commented 9 years ago
 root@vusy-ms-7529:/var/www# ls -IR

index.html nfsen nfsen-1.3.6p1.tar.gz spud

stevesong commented 9 years ago

Really? The spud directory is empty? Did you issues the commands:

cd /var/www
git clone https://github.com/villagetelco/spud.git
vusy-nathan commented 9 years ago

yes root@vusy-ms-7529:/var/www# git clone https://github.com/villagetelco/spud.git fatal: destination path 'spud' already exists and is not an empty directory. root@vusy-ms-7529:/var/www#

stevesong commented 9 years ago
cd /var/www/spud
ls -lR

and post the output please. If the output is long (it should be), post it to http://pastebin.com/ and post the link to the pastebin file. Actually I think I see the problem above, you wrote

ls -IR (el ess minus eye ARE) 

when you should have written

ls -lR (el ess minus el ARE)

Did you follow all the instructions in https://github.com/villagetelco/spud/blob/master/INSTALL Did all of them complete without error?

vusy-nathan commented 9 years ago

oops i am sorry i my eyes. here is the output ./spud/cake/tests/test_app/locale/rule_6_mo: LC_MESSAGES

./spud/cake/tests/test_app/locale/rule_6_mo/LC_MESSAGES: core.mo default.mo

./spud/cake/tests/test_app/locale/rule_6_po: LC_MESSAGES

./spud/cake/tests/test_app/locale/rule_6_po/LC_MESSAGES: core.po default.po

./spud/cake/tests/test_app/locale/rule_7_mo: LC_MESSAGES

./spud/cake/tests/test_app/locale/rule_7_mo/LC_MESSAGES: core.mo default.mo

./spud/cake/tests/test_app/locale/rule_7_po: LC_MESSAGES

./spud/cake/tests/test_app/locale/rule_7_po/LC_MESSAGES: core.po default.po

./spud/cake/tests/test_app/locale/rule_8_mo: LC_MESSAGES

./spud/cake/tests/test_app/locale/rule_8_mo/LC_MESSAGES: core.mo default.mo

./spud/cake/tests/test_app/locale/rule_8_po: LC_MESSAGES

./spud/cake/tests/test_app/locale/rule_8_po/LC_MESSAGES: core.po default.po

./spud/cake/tests/test_app/locale/rule_9_mo: LC_MESSAGES

./spud/cake/tests/test_app/locale/rule_9_mo/LC_MESSAGES: core.mo default.mo

./spud/cake/tests/test_app/locale/rule_9_po: LC_MESSAGES

./spud/cake/tests/test_app/locale/rule_9_po/LC_MESSAGES: core.po default.po

./spud/cake/tests/test_app/locale/time_test: LC_TIME

./spud/cake/tests/test_app/models: behaviors comment.php datasources persister_one.php persister_two.php post.php

./spud/cake/tests/test_app/models/behaviors: empty persister_one_behavior.php persister_two_behavior.php

./spud/cake/tests/test_app/models/datasources: test test2_other_source.php test2_source.php

./spud/cake/tests/test_app/models/datasources/test: test_local_driver.php

./spud/cake/tests/test_app/plugins: plugin_js test_plugin test_plugin_two

./spud/cake/tests/test_app/plugins/plugin_js: webroot

./spud/cake/tests/test_app/plugins/plugin_js/webroot: js

./spud/cake/tests/test_app/plugins/plugin_js/webroot/js: one plugin_js.js

./spud/cake/tests/test_app/plugins/plugin_js/webroot/js/one: plugin_one.js

./spud/cake/tests/test_app/plugins/test_plugin: config controllers libs locale models test_plugin_app_controller.php test_plugin_app_model.php vendors views webroot

./spud/cake/tests/test_app/plugins/test_plugin/config: load.php more.load.php schema

./spud/cake/tests/test_app/plugins/test_plugin/config/schema: schema.php

./spud/cake/tests/test_app/plugins/test_plugin/controllers: components test_plugin_controller.php tests_controller.php

./spud/cake/tests/test_app/plugins/test_plugin/controllers/components: other_component.php plugins_component.php test_plugin_component.php test_plugin_other_component.php

./spud/cake/tests/test_app/plugins/test_plugin/libs: cache log test_plugin_library.php

./spud/cake/tests/test_app/plugins/test_plugin/libs/cache: test_plugin_cache.php

./spud/cake/tests/test_app/plugins/test_plugin/libs/log: test_plugin_log.php

./spud/cake/tests/test_app/plugins/test_plugin/locale: po

./spud/cake/tests/test_app/plugins/test_plugin/locale/po: LC_MESSAGES LC_MONETARY

./spud/cake/tests/test_app/plugins/test_plugin/locale/po/LC_MESSAGES: test_plugin.po

./spud/cake/tests/test_app/plugins/test_plugin/locale/po/LC_MONETARY: test_plugin.po

./spud/cake/tests/test_app/plugins/test_plugin/models: behaviors datasources test_plugin_authors.php test_plugin_auth_user.php test_plugin_comment.php test_plugin_post.php

./spud/cake/tests/test_app/plugins/test_plugin/models/behaviors: test_plugin_persister_one.php test_plugin_persister_two.php

./spud/cake/tests/test_app/plugins/test_plugin/models/datasources: dbo test test_other_source.php test_source.php

./spud/cake/tests/test_app/plugins/test_plugin/models/datasources/dbo: dbo_dummy.php

./spud/cake/tests/test_app/plugins/test_plugin/models/datasources/test: test_driver.php

./spud/cake/tests/test_app/plugins/test_plugin/vendors: sample shells welcome.php

./spud/cake/tests/test_app/plugins/test_plugin/vendors/sample: sample_plugin.php

./spud/cake/tests/test_app/plugins/test_plugin/vendors/shells: example.php tasks templates

./spud/cake/tests/test_app/plugins/test_plugin/vendors/shells/tasks: empty

./spud/cake/tests/test_app/plugins/test_plugin/vendors/shells/templates: empty

./spud/cake/tests/test_app/plugins/test_plugin/views: elements helpers layouts tests

./spud/cake/tests/test_app/plugins/test_plugin/views/elements: plugin_element.ctp test_plugin_element.ctp

./spud/cake/tests/test_app/plugins/test_plugin/views/helpers: other_helper.php plugged_helper.php test_plugin_app.php

./spud/cake/tests/test_app/plugins/test_plugin/views/layouts: default.ctp

./spud/cake/tests/test_app/plugins/test_plugin/views/tests: index.ctp scaffold.edit.ctp

./spud/cake/tests/test_app/plugins/test_plugin/webroot: css flash img js pdfs root.js

./spud/cake/tests/test_app/plugins/test_plugin/webroot/css: test_plugin_asset.css theme_one.htc unknown.extension

./spud/cake/tests/test_app/plugins/test_plugin/webroot/flash: plugin_test.swf

./spud/cake/tests/test_app/plugins/test_plugin/webroot/img: cake.icon.gif

./spud/cake/tests/test_app/plugins/test_plugin/webroot/js: test_plugin

./spud/cake/tests/test_app/plugins/test_plugin/webroot/js/test_plugin: test.js

./spud/cake/tests/test_app/plugins/test_plugin/webroot/pdfs: plugin_test.pdf

./spud/cake/tests/test_app/plugins/test_plugin_two: vendors

./spud/cake/tests/test_app/plugins/test_plugin_two/vendors: shells

./spud/cake/tests/test_app/plugins/test_plugin_two/vendors/shells: example.php tasks templates welcome.php

./spud/cake/tests/test_app/plugins/test_plugin_two/vendors/shells/tasks: empty

./spud/cake/tests/test_app/plugins/test_plugin_two/vendors/shells/templates: empty

./spud/cake/tests/test_app/tmp: dir_map

./spud/cake/tests/test_app/vendors: css img sample shells somename Test welcome.php

./spud/cake/tests/test_app/vendors/css: test_asset.css

./spud/cake/tests/test_app/vendors/img: test.jpg

./spud/cake/tests/test_app/vendors/sample: configure_test_vendor_sample.php

./spud/cake/tests/test_app/vendors/shells: sample.php tasks templates

./spud/cake/tests/test_app/vendors/shells/tasks: empty

./spud/cake/tests/test_app/vendors/shells/templates: test

./spud/cake/tests/test_app/vendors/shells/templates/test: classes

./spud/cake/tests/test_app/vendors/shells/templates/test/classes: test_object.ctp

./spud/cake/tests/test_app/vendors/somename: some.name.php

./spud/cake/tests/test_app/vendors/Test: hello.php MyTest.php

./spud/cake/tests/test_app/views: elements errors helpers layouts pages posts scaffolds tests_apps themed

./spud/cake/tests/test_app/views/elements: email empty html_call.ctp nocache session_helper.ctp test_element.ctp type_check.ctp

./spud/cake/tests/test_app/views/elements/email: html text

./spud/cake/tests/test_app/views/elements/email/html: custom.ctp default.ctp nested_element.ctp

./spud/cake/tests/test_app/views/elements/email/text: custom.ctp default.ctp wide.ctp

./spud/cake/tests/test_app/views/elements/nocache: contains_nocache.ctp plain.ctp sub1.ctp sub2.ctp

./spud/cake/tests/test_app/views/errors: empty

./spud/cake/tests/test_app/views/helpers: banana.php empty

./spud/cake/tests/test_app/views/layouts: ajax2.ctp ajax.ctp cache_empty_sections.ctp cache_layout.ctp default.ctp email flash.ctp js multi_cache.ctp rss xml

./spud/cake/tests/test_app/views/layouts/email: html text

./spud/cake/tests/test_app/views/layouts/email/html: default.ctp thin.ctp

./spud/cake/tests/test_app/views/layouts/email/text: default.ctp

./spud/cake/tests/test_app/views/layouts/js: default.ctp

./spud/cake/tests/test_app/views/layouts/rss: default.ctp

./spud/cake/tests/test_app/views/layouts/xml: default.ctp

./spud/cake/tests/test_app/views/pages: empty extract.ctp home.ctp

./spud/cake/tests/test_app/views/posts: cache_empty_sections.ctp cache_form.ctp helper_overwrite.ctp index.ctp multiple_nocache.ctp nocache_multiple_element.ctp scaffold.edit.ctp sequencial_nocache.ctp test_nocache_tags.ctp

./spud/cake/tests/test_app/views/scaffolds: empty

./spud/cake/tests/test_app/views/tests_apps: index.ctp

./spud/cake/tests/test_app/views/themed: test_theme

./spud/cake/tests/test_app/views/themed/test_theme: elements layouts plugins posts webroot

./spud/cake/tests/test_app/views/themed/test_theme/elements: test_element.ctp

./spud/cake/tests/test_app/views/themed/test_theme/layouts: default.ctp

./spud/cake/tests/test_app/views/themed/test_theme/plugins: test_plugin

./spud/cake/tests/test_app/views/themed/test_theme/plugins/test_plugin: layouts tests

./spud/cake/tests/test_app/views/themed/test_theme/plugins/test_plugin/layouts: plugin_default.ctp

./spud/cake/tests/test_app/views/themed/test_theme/plugins/test_plugin/tests: index.ctp

./spud/cake/tests/test_app/views/themed/test_theme/posts: index.ctp scaffold.index.ctp

./spud/cake/tests/test_app/views/themed/test_theme/webroot: css flash img js pdfs

./spud/cake/tests/test_app/views/themed/test_theme/webroot/css: test_asset.css theme_webroot.css

./spud/cake/tests/test_app/views/themed/test_theme/webroot/flash: theme_test.swf

./spud/cake/tests/test_app/views/themed/test_theme/webroot/img: cake.power.gif test.jpg

./spud/cake/tests/test_app/views/themed/test_theme/webroot/js: one theme.js

./spud/cake/tests/test_app/views/themed/test_theme/webroot/js/one: theme_one.js

./spud/cake/tests/test_app/views/themed/test_theme/webroot/pdfs: theme_test.pdf

./spud/cake/tests/test_app/webroot: theme

./spud/cake/tests/test_app/webroot/theme: test_theme

./spud/cake/tests/test_app/webroot/theme/test_theme: css img

./spud/cake/tests/test_app/webroot/theme/test_theme/css: theme_webroot.css webroot_test.css

./spud/cake/tests/test_app/webroot/theme/test_theme/img: cake.power.gif test.jpg

./spud/cron: crontab.spud

./spud/installation: 1_spud_install.sh

./spud/plugins: empty

./spud/vendors: shells

./spud/vendors/shells: tasks templates

./spud/vendors/shells/tasks: empty

./spud/vendors/shells/templates: empty root@vusy-ms-7529:/var/www#

stevesong commented 9 years ago

Edit the file

 /etc/apache2/sites-enabled/000-default.conf 

Look for the line

  DocumentRoot /var/www/html

and change it to

  DocumentRoot /var/www

Then restart apache with

sudo service apache2 restart

You should then be able to browse to http://localhost/spud

vusy-nathan commented 9 years ago

the file is ok but geting the sam error.

stevesong commented 9 years ago

the more information you can provide, the easier it is to help. Have you verified that the apache server is working. Can you create a test html file in the root directory of the server and view it in your web browser?

vusy-nathan commented 9 years ago

should i be connected to the wireless radio which is the gateway?

stevesong commented 9 years ago

no, right now we are just verifying that your web server is working. create a file called test.html in the web server root and put some simple text in it. then browse to http://localhost/test.html if you can see the file you created then your webserver is working

and please, please provide as much detail as you can when asking a question. it will make it easier and shorted to help you solve your problem.

vusy-nathan commented 9 years ago

HI Steve sorry for taking to long had a bad day yesterday.i have nagios installed and is up and running when. so my web server is running. i think i am struggling on vis server. i changed to trunk, batman-adv, port 2005 and host 192.168.102. the village telco webpage showing internal error

On Mon, Nov 3, 2014 at 9:27 PM, Steve Song notifications@github.com wrote:

no, right now we are just verifying that your web server is working. create a file called test.html in the web server root and put some simple text in it. then browse to http://localhost/test.html if you can see the file you created then your webserver is working

and please, please provide as much detail as you can when asking a question. it will make it easier and shorted to help you solve your problem.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-61533319.

stevesong commented 9 years ago

The spud server should be pointed at the MP that you have configured to be the vis server on the network, that is the MP that collects the batman-adv data. 192.168.102. is not a full IP address.

You also need to ensure that that MP is set up in vis server mode. To do this, add the following line:

option 'vis_mode' 'server' 

to the file /etc/config/batman-adv

and then reboot. You should then be able to ssh into that MP and issue the command:

batctl vd json

Try that and report back what output you get.

vusy-nathan commented 9 years ago

here is the output of batcl vd json root@UB-10:~# batctl vd json { "router" : "6a:72:51:04:78:03", "neighbor" : "6a:72:51:04:78:19", "label" : "1.094" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.175" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.536" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.363" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.294" } { "router" : "6a:72:51:04:78:03", "gateway" : "74:86:7a:0f:84:7a", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "40:61:86:0a:9a:eb", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "00:22:b0:de:42:35", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "00:22:6b:3f:a4:24", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "aa:84:30:22:aa:47", "label" : "TT" } { "primary" : "6a:72:51:04:78:03" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "6a:72:51:04:78:19", "label" : "1.028" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.015" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "6a:72:51:04:78:03", "label" : "1.045" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.011" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.036" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.071" } { "router" : "26:a4:3c:f8:81:bf", "gateway" : "24:a4:3c:f9:81:bf", "label" : "TT" } { "router" : "26:a4:3c:f8:81:bf", "gateway" : "aa:54:bc:ea:85:0e", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:bf" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.085" } { "router" : "6a:72:51:04:78:19", "neighbor" : "6a:72:51:04:78:03", "label" : "1.066" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.564" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.175" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.393" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.328" } { "router" : "6a:72:51:04:78:19", "gateway" : "22:f5:b3:df:6b:da", "label" : "TT" } { "primary" : "6a:72:51:04:78:19" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "6a:72:51:04:78:19", "label" : "1.062" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.153" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "6a:72:51:04:78:03", "label" : "1.094" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.301" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.049" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.378" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "ac:81:12:0b:a9:5b", "label" : "TT" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "24:a4:3c:f9:81:28", "label" : "TT" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "2a:28:41:b9:1c:40", "label" : "TT" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "74:de:2b:b1:20:88", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:28" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "6a:72:51:04:78:19", "label" : "1.015" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "6a:72:51:04:78:03", "label" : "1.089" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.143" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.011" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.003" } { "router" : "26:a4:3c:f8:81:c2", "gateway" : "d2:cf:8f:d4:9c:b6", "label" : "TT" } { "router" : "26:a4:3c:f8:81:c2", "gateway" : "24:a4:3c:f9:81:c2", "label" : "TT" } { "router" : "26:a4:3c:f8:81:c2", "gateway" : "1c:3e:84:3a:43:6f", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:c2" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "6a:72:51:04:78:19", "label" : "1.094" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "6a:72:51:04:78:03", "label" : "1.186" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.416" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.148" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.186" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.356" } { "router" : "26:a4:3c:f8:81:5c", "gateway" : "8e:09:69:ed:16:35", "label" : "TT" } { "router" : "26:a4:3c:f8:81:5c", "gateway" : "24:a4:3c:f9:81:5c", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:5c" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "6a:72:51:04:78:19", "label" : "1.011" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.075" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "6a:72:51:04:78:03", "label" : "1.036" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.108" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.024" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.250" } { "router" : "26:a4:3c:f8:83:9c", "gateway" : "ce:e2:4e:07:81:ef", "label" : "TT" } { "router" : "26:a4:3c:f8:83:9c", "gateway" : "24:a4:3c:f9:83:9c", "label" : "TT" } { "primary" : "26:a4:3c:f8:83:9c" } root@UB-10:~#

On Wed, Nov 5, 2014 at 8:03 PM, Steve Song notifications@github.com wrote:

The spud server should be pointed at the MP that you have configured to be the vis server on the network, that is the MP that collects the batman-adv data. 192.168.102. is not a full IP address.

You also need to ensure that that MP is set up in vis server mode. To do this, add the following line:

option 'vis_mode' 'server'

to the file /etc/config/batman-adv

and then reboot. You should then be able to ssh into that MP and issue the command:

batctl vd json

Try that and report back what output you get.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-61852907.

creym commented 9 years ago

Hi Vusy,

I think what you are missing is the configuration of the /etc/bathosts so those MAC addresses appear as IP addresses.

best,

carlos

On 5 November 2014 23:05, vusy-nathan notifications@github.com wrote:

here is the output of batcl vd json root@UB-10:~# batctl vd json { "router" : "6a:72:51:04:78:03", "neighbor" : "6a:72:51:04:78:19", "label" : "1.094" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.175" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.536" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.363" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.294" } { "router" : "6a:72:51:04:78:03", "gateway" : "74:86:7a:0f:84:7a", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "40:61:86:0a:9a:eb", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "00:22:b0:de:42:35", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "00:22:6b:3f:a4:24", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "aa:84:30:22:aa:47", "label" : "TT" } { "primary" : "6a:72:51:04:78:03" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "6a:72:51:04:78:19", "label" : "1.028" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.015" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "6a:72:51:04:78:03", "label" : "1.045" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.011" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.036" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.071" } { "router" : "26:a4:3c:f8:81:bf", "gateway" : "24:a4:3c:f9:81:bf", "label" : "TT" } { "router" : "26:a4:3c:f8:81:bf", "gateway" : "aa:54:bc:ea:85:0e", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:bf" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.085" } { "router" : "6a:72:51:04:78:19", "neighbor" : "6a:72:51:04:78:03", "label" : "1.066" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.564" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.175" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.393" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.328" } { "router" : "6a:72:51:04:78:19", "gateway" : "22:f5:b3:df:6b:da", "label" : "TT" } { "primary" : "6a:72:51:04:78:19" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "6a:72:51:04:78:19", "label" : "1.062" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.153" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "6a:72:51:04:78:03", "label" : "1.094" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.301" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.049" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.378" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "ac:81:12:0b:a9:5b", "label" : "TT" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "24:a4:3c:f9:81:28", "label" : "TT" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "2a:28:41:b9:1c:40", "label" : "TT" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "74:de:2b:b1:20:88", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:28" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "6a:72:51:04:78:19", "label" : "1.015" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "6a:72:51:04:78:03", "label" : "1.089" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.143" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.011" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.003" } { "router" : "26:a4:3c:f8:81:c2", "gateway" : "d2:cf:8f:d4:9c:b6", "label" : "TT" } { "router" : "26:a4:3c:f8:81:c2", "gateway" : "24:a4:3c:f9:81:c2", "label" : "TT" } { "router" : "26:a4:3c:f8:81:c2", "gateway" : "1c:3e:84:3a:43:6f", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:c2" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "6a:72:51:04:78:19", "label" : "1.094" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "6a:72:51:04:78:03", "label" : "1.186" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.416" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.148" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.186" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.356" } { "router" : "26:a4:3c:f8:81:5c", "gateway" : "8e:09:69:ed:16:35", "label" : "TT" } { "router" : "26:a4:3c:f8:81:5c", "gateway" : "24:a4:3c:f9:81:5c", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:5c" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "6a:72:51:04:78:19", "label" : "1.011" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.075" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "6a:72:51:04:78:03", "label" : "1.036" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.108" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.024" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.250" } { "router" : "26:a4:3c:f8:83:9c", "gateway" : "ce:e2:4e:07:81:ef", "label" : "TT" } { "router" : "26:a4:3c:f8:83:9c", "gateway" : "24:a4:3c:f9:83:9c", "label" : "TT" } { "primary" : "26:a4:3c:f8:83:9c" } root@UB-10:~#

On Wed, Nov 5, 2014 at 8:03 PM, Steve Song notifications@github.com wrote:

The spud server should be pointed at the MP that you have configured to be the vis server on the network, that is the MP that collects the batman-adv data. 192.168.102. is not a full IP address.

You also need to ensure that that MP is set up in vis server mode. To do this, add the following line:

option 'vis_mode' 'server'

to the file /etc/config/batman-adv

and then reboot. You should then be able to ssh into that MP and issue the command:

batctl vd json

Try that and report back what output you get.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-61852907.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-61880669.

Carlos Rey-Moreno Research Assistant Office 1.28 Department of Computer Science University of the Western Cape Private Bag X17 - Bellville, 7535 Cape Town - South Africa Tel: +27 (0) 21 959 2562 Cel: +27 (0) 76 986 3633 Skype: carlos.reymoreno Twitter: Creym

vusy-nathan commented 9 years ago

ok creamy i have created and i got

Warning - unrecognized bat-host definition:

Warning - unrecognized bat-host definition:

Warning - unrecognized bat-host definition:

Warning - unrecognized bat-host definition:

Warning - unrecognized bat-host definition:

Warning - unrecognized bat-host definition:

Warning - unrecognized bat-host definition:

Warning - unrecognized bat-host definition:

{ "router" : "10.130.1.13", "neighbor" : "6a:72:51:04:78:19", "label" : "1.032" }

{ "router" : "10.130.1.13", "neighbor" : "10.130.1.15", "label" : "1.036" }

{ "router" : "10.130.1.13", "neighbor" : "6a:72:51:04:78:03", "label" : "1.058" }

{ "router" : "10.130.1.13", "neighbor" : "10.130.1.14", "label" : "1.028" }

{ "router" : "10.130.1.13", "neighbor" : "10.130.130.16", "label" : "1.053" }

{ "router" : "10.130.1.13", "neighbor" : "10.130.1.12", "label" : "1.000" }

{ "router" : "10.130.1.13", "gateway" : "24:a4:3c:f9:81:bf", "label" : "TT" }

{ "router" : "10.130.1.13", "gateway" : "aa:54:bc:ea:85:0e", "label" : "TT" }

{ "primary" : "10.130.1.13" }

{ "router" : "6a:72:51:04:78:19", "neighbor" : "10.130.1.15", "label" : "1.169" }

{ "router" : "6a:72:51:04:78:19", "neighbor" : "6a:72:51:04:78:03", "label" : "1.243" }

{ "router" : "6a:72:51:04:78:19", "neighbor" : "10.130.1.13", "label" : "1.328" }

{ "router" : "6a:72:51:04:78:19", "neighbor" : "10.130.1.14", "label" : "1.085" }

{ "router" : "6a:72:51:04:78:19", "neighbor" : "10.130.130.16", "label" : "1.356" }

{ "router" : "6a:72:51:04:78:19", "gateway" : "22:f5:b3:df:6b:da", "label" : "TT" }

{ "primary" : "6a:72:51:04:78:19" }

{ "router" : "10.130.1.14", "neighbor" : "6a:72:51:04:78:19", "label" : "1.053" }

{ "router" : "10.130.1.14", "neighbor" : "10.130.1.15", "label" : "1.000" }

{ "router" : "10.130.1.14", "neighbor" : "6a:72:51:04:78:03", "label" : "1.099" }

{ "router" : "10.130.1.14", "neighbor" : "10.130.1.13", "label" : "1.491" }

{ "router" : "10.130.1.14", "neighbor" : "10.130.130.16", "label" : "1.094" }

{ "router" : "10.130.1.14", "neighbor" : "10.130.1.12", "label" : "1.268" }

{ "router" : "10.130.1.14", "gateway" : "ac:81:12:0b:a9:5b", "label" : "TT" }

{ "router" : "10.130.1.14", "gateway" : "24:a4:3c:f9:81:28", "label" : "TT" }

{ "router" : "10.130.1.14", "gateway" : "2a:28:41:b9:1c:40", "label" : "TT" }

{ "router" : "10.130.1.14", "gateway" : "74:de:2b:b1:20:88", "label" : "TT" }

{ "primary" : "10.130.1.14" }

{ "router" : "6a:72:51:04:78:03", "neighbor" : "6a:72:51:04:78:19", "label" : "1.080" }

{ "router" : "6a:72:51:04:78:03", "neighbor" : "10.130.1.15", "label" : "1.036" }

{ "router" : "6a:72:51:04:78:03", "neighbor" : "10.130.1.13", "label" : "1.491" }

{ "router" : "6a:72:51:04:78:03", "neighbor" : "10.130.1.14", "label" : "1.007" }

{ "router" : "6a:72:51:04:78:03", "neighbor" : "10.130.130.16", "label" : "1.003" }

{ "router" : "6a:72:51:04:78:03", "gateway" : "6e:e4:53:ad:a5:ef", "label" : "TT" }

{ "router" : "6a:72:51:04:78:03", "gateway" : "40:61:86:0a:9a:eb", "label" : "TT" }

{ "router" : "6a:72:51:04:78:03", "gateway" : "00:22:b0:de:42:35", "label" : "TT" }

{ "router" : "6a:72:51:04:78:03", "gateway" : "00:22:6b:3f:a4:24", "label" : "TT" }

{ "router" : "6a:72:51:04:78:03", "gateway" : "1c:3e:84:3a:43:6f", "label" : "TT" }

{ "primary" : "6a:72:51:04:78:03" }

{ "router" : "10.130.1.12", "neighbor" : "6a:72:51:04:78:19", "label" : "1.085" }

{ "router" : "10.130.1.12", "neighbor" : "10.130.1.15", "label" : "1.045" }

{ "router" : "10.130.1.12", "neighbor" : "6a:72:51:04:78:03", "label" : "1.036" }

{ "router" : "10.130.1.12", "neighbor" : "10.130.1.13", "label" : "1.281" }

{ "router" : "10.130.1.12", "neighbor" : "10.130.1.14", "label" : "1.024" }

{ "router" : "10.130.1.12", "neighbor" : "10.130.130.16", "label" : "1.058" }

{ "router" : "10.130.1.12", "gateway" : "40:f0:2f:ac:24:29", "label" : "TT" }

{ "router" : "10.130.1.12", "gateway" : "d2:cf:8f:d4:9c:b6", "label" : "TT" }

{ "router" : "10.130.1.12", "gateway" : "24:a4:3c:f9:81:c2", "label" : "TT" }

{ "primary" : "10.130.1.12" }

{ "router" : "10.130.1.15", "neighbor" : "6a:72:51:04:78:19", "label" : "1.148" }

{ "router" : "10.130.1.15", "neighbor" : "6a:72:51:04:78:03", "label" : "1.191" }

{ "router" : "10.130.1.15", "neighbor" : "10.130.1.13", "label" : "1.473" }

{ "router" : "10.130.1.15", "neighbor" : "10.130.1.14", "label" : "1.133" }

{ "router" : "10.130.1.15", "neighbor" : "10.130.130.16", "label" : "1.094" }

{ "router" : "10.130.1.15", "neighbor" : "10.130.1.12", "label" : "1.554" }

{ "router" : "10.130.1.15", "gateway" : "8e:09:69:ed:16:35", "label" : "TT" }

{ "router" : "10.130.1.15", "gateway" : "24:a4:3c:f9:81:5c", "label" : "TT" }

{ "primary" : "10.130.1.15" }

{ "router" : "10.130.130.16", "neighbor" : "6a:72:51:04:78:19", "label" : "1.094" }

{ "router" : "10.130.130.16", "neighbor" : "10.130.1.15", "label" : "1.075" }

{ "router" : "10.130.130.16", "neighbor" : "6a:72:51:04:78:03", "label" : "1.214" }

{ "router" : "10.130.130.16", "neighbor" : "10.130.1.13", "label" : "1.613" }

{ "router" : "10.130.130.16", "neighbor" : "10.130.1.14", "label" : "1.000" }

{ "router" : "10.130.130.16", "gateway" : "ce:e2:4e:07:81:ef", "label" : "TT" }

{ "router" : "10.130.130.16", "gateway" : "24:a4:3c:f9:83:9c", "label" : "TT" }

{ "primary" : "10.130.130.16" }

On Thu, Nov 6, 2014 at 7:32 AM, creym notifications@github.com wrote:

Hi Vusy,

I think what you are missing is the configuration of the /etc/bathosts so those MAC addresses appear as IP addresses.

best,

carlos

On 5 November 2014 23:05, vusy-nathan notifications@github.com wrote:

here is the output of batcl vd json root@UB-10:~# batctl vd json { "router" : "6a:72:51:04:78:03", "neighbor" : "6a:72:51:04:78:19", "label" : "1.094" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.175" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.536" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.363" } { "router" : "6a:72:51:04:78:03", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.294" } { "router" : "6a:72:51:04:78:03", "gateway" : "74:86:7a:0f:84:7a", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "40:61:86:0a:9a:eb", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "00:22:b0:de:42:35", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "00:22:6b:3f:a4:24", "label" : "TT" } { "router" : "6a:72:51:04:78:03", "gateway" : "aa:84:30:22:aa:47", "label" : "TT" } { "primary" : "6a:72:51:04:78:03" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "6a:72:51:04:78:19", "label" : "1.028" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.015" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "6a:72:51:04:78:03", "label" : "1.045" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.011" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.036" } { "router" : "26:a4:3c:f8:81:bf", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.071" } { "router" : "26:a4:3c:f8:81:bf", "gateway" : "24:a4:3c:f9:81:bf", "label" : "TT" } { "router" : "26:a4:3c:f8:81:bf", "gateway" : "aa:54:bc:ea:85:0e", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:bf" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.085" } { "router" : "6a:72:51:04:78:19", "neighbor" : "6a:72:51:04:78:03", "label" : "1.066" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.564" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.175" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.393" } { "router" : "6a:72:51:04:78:19", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.328" } { "router" : "6a:72:51:04:78:19", "gateway" : "22:f5:b3:df:6b:da", "label" : "TT" } { "primary" : "6a:72:51:04:78:19" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "6a:72:51:04:78:19", "label" : "1.062" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.153" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "6a:72:51:04:78:03", "label" : "1.094" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.301" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.049" } { "router" : "26:a4:3c:f8:81:28", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.378" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "ac:81:12:0b:a9:5b", "label" : "TT" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "24:a4:3c:f9:81:28", "label" : "TT" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "2a:28:41:b9:1c:40", "label" : "TT" } { "router" : "26:a4:3c:f8:81:28", "gateway" : "74:de:2b:b1:20:88", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:28" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "6a:72:51:04:78:19", "label" : "1.015" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "6a:72:51:04:78:03", "label" : "1.089" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.143" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.011" } { "router" : "26:a4:3c:f8:81:c2", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.003" } { "router" : "26:a4:3c:f8:81:c2", "gateway" : "d2:cf:8f:d4:9c:b6", "label" : "TT" } { "router" : "26:a4:3c:f8:81:c2", "gateway" : "24:a4:3c:f9:81:c2", "label" : "TT" } { "router" : "26:a4:3c:f8:81:c2", "gateway" : "1c:3e:84:3a:43:6f", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:c2" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "6a:72:51:04:78:19", "label" : "1.094" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "6a:72:51:04:78:03", "label" : "1.186" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.416" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.148" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:83:9c", "label" : "1.186" } { "router" : "26:a4:3c:f8:81:5c", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.356" } { "router" : "26:a4:3c:f8:81:5c", "gateway" : "8e:09:69:ed:16:35", "label" : "TT" } { "router" : "26:a4:3c:f8:81:5c", "gateway" : "24:a4:3c:f9:81:5c", "label" : "TT" } { "primary" : "26:a4:3c:f8:81:5c" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "6a:72:51:04:78:19", "label" : "1.011" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:5c", "label" : "1.075" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "6a:72:51:04:78:03", "label" : "1.036" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:bf", "label" : "1.108" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:28", "label" : "1.024" } { "router" : "26:a4:3c:f8:83:9c", "neighbor" : "26:a4:3c:f8:81:c2", "label" : "1.250" } { "router" : "26:a4:3c:f8:83:9c", "gateway" : "ce:e2:4e:07:81:ef", "label" : "TT" } { "router" : "26:a4:3c:f8:83:9c", "gateway" : "24:a4:3c:f9:83:9c", "label" : "TT" } { "primary" : "26:a4:3c:f8:83:9c" } root@UB-10:~#

On Wed, Nov 5, 2014 at 8:03 PM, Steve Song notifications@github.com wrote:

The spud server should be pointed at the MP that you have configured to be the vis server on the network, that is the MP that collects the batman-adv data. 192.168.102. is not a full IP address.

You also need to ensure that that MP is set up in vis server mode. To do this, add the following line:

option 'vis_mode' 'server'

to the file /etc/config/batman-adv

and then reboot. You should then be able to ssh into that MP and issue the command:

batctl vd json

Try that and report back what output you get.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-61852907.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-61880669.

Carlos Rey-Moreno Research Assistant Office 1.28 Department of Computer Science University of the Western Cape Private Bag X17 - Bellville, 7535 Cape Town - South Africa Tel: +27 (0) 21 959 2562 Cel: +27 (0) 76 986 3633 Skype: carlos.reymoreno Twitter: Creym

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-61929555.

stevesong commented 9 years ago

You appear to have an error in your /etc/bat-hosts file. It should be of the format:

MAC address followed by a space then the IP address e.g.

02:09:45:57:a8:e6 192.168.1.10
02:09:45:57:a8:08 192.168.1.11
82:82:87:01:19:9a 192.168.1.12
00:09:45:57:a8:e6 192.168.1.13
02:09:45:57:a8:e6 192.168.1.14

If you have long errors or logs to report, try putting them in http://pastebin.com/ and then just posting the link here. Makes the discussion easier to follow.

vusy-nathan commented 9 years ago

Hi

Steve sorry for taking to long i had a hectic week. there is a single space between the mac address and the ip address but the output is provided in the link below.

Regards Vusi

http://pastebin.com/xQETAC3y

On Thu, Nov 6, 2014 at 10:33 PM, Steve Song notifications@github.com wrote:

You appear to have an error in your /etc/bat-hosts file. It should be of the format:

MAC address followed by a space then the IP address e.g.

02:09:45:57:a8:e6 192.168.1.10 02:09:45:57:a8:08 192.168.1.11 82:82:87:01:19:9a 192.168.1.12 00:09:45:57:a8:e6 192.168.1.13 02:09:45:57:a8:e6 192.168.1.14

If you have long errors or logs to report, try putting them in http://pastebin.com/ and then just posting the link here. Makes the discussion easier to follow.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-62046505.

stevesong commented 9 years ago

Please post the contents of /etc/bat-hosts

vusy-nathan commented 9 years ago

68:72:51:04:78:19 10.130.1.11 26:a4:3c:f8:81:c2 10.130.1.12 26:a4:3c:f8:81:bf 10.130.1.13 26:a4:3c:f8:81:28 10.130.1.14 26:a4:3c:f8:81:5c 10.130.1.15 26:a4:3c:f8:83:9c 10.130.1.16

On Fri, Nov 14, 2014 at 5:21 PM, Steve Song notifications@github.com wrote:

Please post the contents of /etc/bat-hosts

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-63078783.

stevesong commented 9 years ago

Not sure whether this got converted in the posting of the message but your file should look like

68:72:51:04:78:19 10.130.1.11
26:a4:3c:f8:81:c2 10.130.1.12
26:a4:3c:f8:81:bf 10.130.1.13
26:a4:3c:f8:81:28 10.130.1.14
26:a4:3c:f8:81:5c 10.130.1.15
26:a4:3c:f8:83:9c 10.130.1.16 

I am a little curious about those MAC addreses. The first is from an Ubiquiti device but I can't work out what company the others are from.

vusy-nathan commented 9 years ago

yes they are ubiquity device the first one is nanostation m2 and the rest are picostation m2hp

On Fri, Nov 14, 2014 at 9:02 PM, Steve Song notifications@github.com wrote:

Not sure whether this got converted in the posting of the message but your file should look like

68:72:51:04:78:19 10.130.1.11 26:a4:3c:f8:81:c2 10.130.1.12 26:a4:3c:f8:81:bf 10.130.1.13 26:a4:3c:f8:81:28 10.130.1.14 26:a4:3c:f8:81:5c 10.130.1.15 26:a4:3c:f8:83:9c 10.130.1.16

I am a little curious about those MAC addreses. The first is from an Ubiquiti device but I can't work out what company the others are from.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-63112551.

stevesong commented 9 years ago

might be worth checking whether this is correct as it doesn't list under Ubiquiti's known MAC prefixes. See http://www.macvendorlookup.com/search/Ubiquiti

However 24:A4:3C:etc does.

vusy-nathan commented 9 years ago

Hi

Steve on the secn web page under status the mesh nodes appear to start with 26 instead of 24. I edited the 26 with 24 in /etc/bat-hosts

68:72:51:04:78:03 10.130.1.10 (gateway)

68:72:51:04:78:19 10.130.1.11

24:a4:3c:f8:81:c2 10.130.1.12

24:a4:3c:f8:81:bf 10.130.1.13

24:a4:3c:f8:81:28 10.130.1.14

24:a4:3c:f8:81:5c 10.130.1.15

24:a4:3c:f8:83:9c 10.130.1.16

you can see also the screen shot

On Fri, Nov 14, 2014 at 10:15 PM, Steve Song notifications@github.com wrote:

might be worth checking whether this is correct as it doesn't list under Ubiquiti's known MAC prefixes. See http://www.macvendorlookup.com/search/Ubiquiti

However 24:A4:3C:etc does.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-63122723.

vusy-nathan commented 9 years ago

also you can see for the nanostation ,2 it start with 6a instead of 68.

On Sat, Nov 15, 2014 at 4:19 PM, Vusumzi Ndzengu ndzenguv@gmail.com wrote:

Hi

Steve on the secn web page under status the mesh nodes appear to start with 26 instead of 24. I edited the 26 with 24 in /etc/bat-hosts

68:72:51:04:78:03 10.130.1.10 (gateway)

68:72:51:04:78:19 10.130.1.11

24:a4:3c:f8:81:c2 10.130.1.12

24:a4:3c:f8:81:bf 10.130.1.13

24:a4:3c:f8:81:28 10.130.1.14

24:a4:3c:f8:81:5c 10.130.1.15

24:a4:3c:f8:83:9c 10.130.1.16

you can see also the screen shot

On Fri, Nov 14, 2014 at 10:15 PM, Steve Song notifications@github.com wrote:

might be worth checking whether this is correct as it doesn't list under Ubiquiti's known MAC prefixes. See http://www.macvendorlookup.com/search/Ubiquiti

However 24:A4:3C:etc does.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-63122723.

vusy-nathan commented 9 years ago

have a look at the interfaces those mac address are not the same check this linkhttp://pastebin.com/Vb9uBXVT

On Sat, Nov 15, 2014 at 7:18 PM, Vusumzi Ndzengu ndzenguv@gmail.com wrote:

also you can see for the nanostation ,2 it start with 6a instead of 68.

On Sat, Nov 15, 2014 at 4:19 PM, Vusumzi Ndzengu ndzenguv@gmail.com wrote:

Hi

Steve on the secn web page under status the mesh nodes appear to start with 26 instead of 24. I edited the 26 with 24 in /etc/bat-hosts

68:72:51:04:78:03 10.130.1.10 (gateway)

68:72:51:04:78:19 10.130.1.11

24:a4:3c:f8:81:c2 10.130.1.12

24:a4:3c:f8:81:bf 10.130.1.13

24:a4:3c:f8:81:28 10.130.1.14

24:a4:3c:f8:81:5c 10.130.1.15

24:a4:3c:f8:83:9c 10.130.1.16

you can see also the screen shot

On Fri, Nov 14, 2014 at 10:15 PM, Steve Song notifications@github.com wrote:

might be worth checking whether this is correct as it doesn't list under Ubiquiti's known MAC prefixes. See http://www.macvendorlookup.com/search/Ubiquiti

However 24:A4:3C:etc does.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-63122723.

vusy-nathan commented 9 years ago

HI Steve

its seems i am not winning i want ask you a question . can i monitor the mesh network with munin with the nanostations m2?

Regards Vusi

stevesong commented 9 years ago

Yes, Munin is a better choice as it is more actively maintained. Have a look at http://wiki.villagetelco.org/Monitoring_your_Mesh_Potato_Network_with_Munin and let me know if you have questions.

vusy-nathan commented 9 years ago

Hi Steve i followed and found the error [client 127.0.0.1] File does not exist [client 127.0.0.1] File does not exist: /var/www/villagetelco/web/monitoring/Nanostation M2

On Fri, Nov 21, 2014 at 8:10 PM, Steve Song notifications@github.com wrote:

Yes, Munin is a better choice as it is more actively maintained. Have a look at http://wiki.villagetelco.org/Monitoring_your_Mesh_Potato_Network_with_Munin and let me know if you have questions.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-64012533.

vusy-nathan commented 9 years ago

Hi Steve

i dont know for spud i got wrong from this file /etc/apache2/sites-enabled/0000-default <VirtualHost *:80> ServerAdmin webmaster@localhost

    DocumentRoot /var/www
    <Directory /var/www/spud/>
             Options Indexes FollowSymLinks MultiViews
             AllowOverride All
    </Directory>
    <Directory /var/www/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None
            Order allow,deny
            allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
            AllowOverride None
            Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
            Order allow,deny
            Allow from all
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

On Sat, Nov 22, 2014 at 4:34 AM, Vusumzi Ndzengu ndzenguv@gmail.com wrote:

Hi Steve i followed and found the error [client 127.0.0.1] File does not exist [client 127.0.0.1] File does not exist: /var/www/villagetelco/web/monitoring/Nanostation M2

On Fri, Nov 21, 2014 at 8:10 PM, Steve Song notifications@github.com wrote:

Yes, Munin is a better choice as it is more actively maintained. Have a look at http://wiki.villagetelco.org/Monitoring_your_Mesh_Potato_Network_with_Munin and let me know if you have questions.

— Reply to this email directly or view it on GitHub https://github.com/villagetelco/spud/issues/1#issuecomment-64012533.