Packages for vis server

6 views
Skip to first unread message

Antoine van Gelder

unread,
Jul 27, 2010, 11:06:18 AM7/27/10
to village-...@googlegroups.com

In the last week there have been a lot of requests for the vis server which is awesome because it means that meshes are being built!

Elektra, is it possible that you can update the batman package in the potato repository to OpenWRT trunk and build some potato packages for the vis server?

https://dev.openwrt.org/browser/packages/net/batman

Do you know who the maintainer is for the Ubuntu packaging?


Packages for generic Atheros routers can be found at:

http://downloads.afrimesh.org/stable/packages/mips/vis_r1439-1_mips.ipk

And Broadcom at:

http://downloads.afrimesh.org/stable/packages/mips/vis_r1439-1_mips.ipk


- antoine

--
http://7degrees.co.za
"Libré software for human education"

elektra

unread,
Jul 27, 2010, 6:54:58 PM7/27/10
to village-...@googlegroups.com
Hello Antoine -

do you mean a vis server package to run on the MPs? Thats a simple matter of
issuing

opkg install
http://downloads.afrimesh.org/stable/packages/mips/vis_r1439-1_mips.ipk

(ought to be one line)

The open-mesh.net server always has the latest, they are build automatically.

I can include it into the VT build system as well. Vis is also included and
running in the VTSRV installation CD.

Cheers,
Elektra

Antoine van Gelder

unread,
Jul 27, 2010, 7:27:00 PM7/27/10
to village-...@googlegroups.com

On 28 Jul 2010, at 00:54 , elektra wrote:

> Hello Antoine -
>
> do you mean a vis server package to run on the MPs? Thats a simple matter of
> issuing
>
> opkg install
> http://downloads.afrimesh.org/stable/packages/mips/vis_r1439-1_mips.ipk


Oh cool, the vis package in the afrimesh repository was built against Kamikaze 8.09_2 stable - didn't realize they'd run okay on the MP, tx Elektra!


> The open-mesh.net server always has the latest, they are build automatically.
>
> I can include it into the VT build system as well.

Please do - there are some new afrimesh-* packages coming soon with vis as a dependency.


> Vis is also included and running in the VTSRV installation CD.

Awesome! :)

Speaking of, do you know who the maintainer is for the Ubuntu packaging of B.A.T.M.A.N. that we can get a .deb for vis in there too?

Paul Gardner-Stephen

unread,
Jul 27, 2010, 8:25:28 PM7/27/10
to village-telco-dev
On a related note, what is the work required from VT's perspective to
include DNA as an option in the MP build?

We would love to get it out there and let more people start testing
it.

Paul.
> --http://7degrees.co.za

elektra

unread,
Jul 28, 2010, 5:06:49 AM7/28/10
to village-...@googlegroups.com
Hello Paul -

> On a related note, what is the work required from VT's perspective to
> include DNA as an option in the MP build?

in order to add DNA to the potato repository you can create a folder in the
"package" directory. We can move it later into a feed, but if you are in the
process of developing a package it is OK to start here. Then add a OpenWRT-
compatible Makefile to the newly created folder. As a starting point you can
use a Makefile from a existing package and customize it to your needs. When you
think it is worth a try you can start "make menuconfig", check if your package
pops up in the menu in the section you have choosen, enable it, build it.

make package/dna{clean,compile,install} V=99

For example libpcap's Makefile is not too complex:

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 12225 2008-08-06 22:10:29Z nbd $

include $(TOPDIR)/rules.mk

PKG_NAME:=libpcap
PKG_VERSION:=0.9.8
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.tcpdump.org/release/
PKG_MD5SUM:=5208f24d0328ee7c20b52c43eaa9aa0e

include $(INCLUDE_DIR)/package.mk

define Package/libpcap
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Low-level packet capture library
URL:=http://www.tcpdump.org/
endef

define Package/libpcap/description
This package contains a system-independent library for user-level network
packet capture.
endef

TARGET_CFLAGS += $(FPIC)

CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--disable-yydebug \
--enable-ipv6 \
--with-build-cc="$(HOSTCC)" \
--with-pcap=linux

define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CCOPT="$(TARGET_CFLAGS) -I$(BUILD_DIR)/linux/include" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef

define Build/InstallDev
mkdir -p $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/pcap{,-bpf,-namedb}.h \
$(1)/usr/include/
mkdir -p $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcap.{a,so*} \
$(1)/usr/lib/
endef

define Package/libpcap/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcap.so.* $(1)/usr/lib/
endef

$(eval $(call BuildPackage,libpcap))


Cheers,
Elektra

Paul Gardner-Stephen

unread,
Jul 31, 2010, 7:16:13 AM7/31/10
to village-telco-dev
Hi Elektra, Steve,

Working on this, and went to find the source code to check out again,
and it took some searching before I found:

http://wiki.villagetelco.org/index.php?title=How_to_use_the_software_build_environment#Getting_the_Village_Telco_.28Mesh_Potato.29_Software

I knew it was there somewhere, and it still took me some enthusiasm
and 10 minutes to find it.
I know that I am pretty bad at this kind of hunting, but I suspect
that other people might be, too.

Perhaps it would be helpful to have a link direct from
villagetelco.org with a link to "developers" or "source code" or
something that has a direct link to that page, or even just the
details of the svn repository?

Just my 2c worth,

Paul.

Steve Song

unread,
Jul 31, 2010, 1:36:24 PM7/31/10
to village-...@googlegroups.com
Hi Paul,

You're dead right. The website has been in need of an improved
structure for finding information for some time now and not just for
developers. Unfortunately it has been pushed out of the way by other
issues but is reaching the point where it can't be ignored.

Thanks for the gentle prod. A better section for developers is a good
place to start.

A couple of questions for everyone. 1) Is there other information
you have searched for on the VT site that you have found to be a pain
to locate? 2) Are there things that should obviously be on the home
page or within 1-2 clicks that aren't there?

Thanks... Steve

On 31 July 2010 13:16, Paul Gardner-Stephen

> --
> You received this message because you are subscribed to the Google Groups "village-telco-dev" group.
> To post to this group, send email to village-...@googlegroups.com.
> To unsubscribe from this group, send email to village-telco-...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/village-telco-dev?hl=en.
>
>

--
Steve Song
Telecommunications Fellow, Shuttleworth Foundation

email:   steve...@shuttleworthfoundation.org
work:    +27 21 970 1220
mobile:  +27 83 482 2088
skype:   steve_l_song
blog:    http://manypossibilities.net
twitter: stevesong

David Rowe

unread,
Jul 31, 2010, 4:13:58 PM7/31/10
to village-...@googlegroups.com
> A couple of questions for everyone. 1) Is there other information
> you have searched for on the VT site that you have found to be a pain
> to locate?

Nope, I know where everything is :-)

Seriously, yes the wiki was built in layers over time as we worked on
one project after another. It now needs a re-org with respect to
current needs. Old stuff needs to be filed away with contextual notes,
i.g. "this page documented MP Phase 2 in 2009 and is no longer up to
date but is provided for historical reasons".

> 2) Are there things that should obviously be on the home
> page or within 1-2 clicks that aren't there?

Yes I have that problem. A lot of stuff seems to need several redundant
clicks to get to.

- David

thierno BAH

unread,
Aug 1, 2010, 5:16:24 PM8/1/10
to village-...@googlegroups.com
Hi all
I rembermer have seen an financial simulation for a VTE but can`t find it anymore

regards
thierno


De : Steve Song <steve...@shuttleworthfoundation.org>
À : village-...@googlegroups.com
Envoyé le : Sam 31 juillet 2010, 17h 36min 24s
Objet : Re: Packages for DNA ?
> To unsubscribe from this group, send email to village-telco-dev+unsub...@googlegroups.com.

> For more options, visit this group at http://groups.google.com/group/village-telco-dev?hl=en.
>
>



--
Steve Song
Telecommunications Fellow, Shuttleworth Foundation

email:   steve...@shuttleworthfoundation.org
work:    +27 21 970 1220
mobile:  +27 83 482 2088
skype:   steve_l_song
blog:    http://manypossibilities.net
twitter: stevesong

--
You received this message because you are subscribed to the Google Groups "village-telco-dev" group.
To post to this group, send email to village-...@googlegroups.com.
To unsubscribe from this group, send email to village-telco-dev+unsub...@googlegroups.com.

Steve Song

unread,
Aug 2, 2010, 6:28:24 AM8/2/10
to village-...@googlegroups.com
We did have a discussion early last year on the business model and I
have attached the spreadsheet related to it. You can also view the
discussion at

http://groups.google.com/group/village-telco-dev/browse_thread/thread/8964eb0f50591fe0/ad1b00922d7ea8d1

There are some challenging assumptions about sustainability in the
spreadsheet that are worth exploring.

My own take on this is that there are currently so many variables
that, at the moment, any VT business model is at best speculative.
Our chief goal now is to get some networks into technical AND
financial operation in order to iterate the business model as quickly
as possible based on real world scenarios.

Cheers... Steve

>> village-telco-...@googlegroups.com.


>> For more options, visit this group at
>> http://groups.google.com/group/village-telco-dev?hl=en.
>>
>>
>
>
>
> --
> Steve Song
> Telecommunications Fellow, Shuttleworth Foundation
>
> email:   steve...@shuttleworthfoundation.org
> work:    +27 21 970 1220
> mobile:  +27 83 482 2088
> skype:   steve_l_song
> blog:    http://manypossibilities.net
> twitter: stevesong
>
> --
> You received this message because you are subscribed to the Google Groups
> "village-telco-dev" group.
> To post to this group, send email to village-...@googlegroups.com.
> To unsubscribe from this group, send email to

> village-telco-...@googlegroups.com.


> For more options, visit this group at
> http://groups.google.com/group/village-telco-dev?hl=en.
>
>
> --

> You received this message because you are subscribed to the Google Groups
> "village-telco-dev" group.
> To post to this group, send email to village-...@googlegroups.com.
> To unsubscribe from this group, send email to

> village-telco-...@googlegroups.com.

Village_Telco_business_model_sep2009.xls

Paul Gardner-Stephen

unread,
Aug 2, 2010, 5:12:12 PM8/2/10
to village-telco-dev
Hi Elektra,

I am building under VirtualBox with CentOS 5, but it continually
claims that:

make: "package/dna" is up to date.

But clearly this is not the case.
I do get some other general build errors, such as with the json_rpc
build process.

What flavour of linux do you build on? Should it make a difference?

Paul.


On Jul 28, 6:06 pm, elektra <onelek...@gmx.net> wrote:
Reply all
Reply to author
Forward
0 new messages