Serval Project with Raspberry pi 3.

38 views
Skip to first unread message

Muhammad Ahmad Shaukat

unread,
Aug 25, 2017, 12:09:16 PM8/25/17
to Serval Project Announce
HI,
Is there any way I can install it on my raspberry pi 3? As a matter of fact i tried commotion but it didn't go well. I couldn't access the configuration page.
Thanks.

Kim Hawtin

unread,
Aug 25, 2017, 7:19:13 PM8/25/17
to serval-proj...@googlegroups.com
On Sat, Aug 26, 2017 at 1:39 AM, Muhammad Ahmad Shaukat <ahma...@gmail.com> wrote:
HI,
Is there any way I can install it on my raspberry pi 3? As a matter of fact i tried commotion but it didn't go well. I couldn't access the configuration page.

Which operating system are you installing on your raspberrypi3?

regards,

Kim
--
"Art without engineering is dreaming; engineering without art is calculating."  --SKR

Muhammad Ahmad Shaukat

unread,
Aug 25, 2017, 7:30:22 PM8/25/17
to serval-proj...@googlegroups.com
Its Raspian jessie.
Thanks

--
You received this message because you are subscribed to a topic in the Google Groups "Serval Project Announce" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/serval-project-announce/c4DeywGPmI4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to serval-project-announce+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kim Hawtin

unread,
Aug 25, 2017, 7:45:26 PM8/25/17
to serval-proj...@googlegroups.com
On Sat, Aug 26, 2017 at 9:00 AM, Muhammad Ahmad Shaukat <ahma...@gmail.com> wrote:
Its Raspian jessie. 

Can you point me to the documentation that you used to build and configure it?
 
regards,

Muhammad Ahmad Shaukat

unread,
Aug 25, 2017, 8:17:43 PM8/25/17
to serval-proj...@googlegroups.com
http://trendblog.net/install-raspbian-sd-card-os-x-windows/
Its not that hard to install raspian jessie on raspberry pi 3.

--

Kim Hawtin

unread,
Aug 25, 2017, 8:23:44 PM8/25/17
to serval-proj...@googlegroups.com
On Sat, Aug 26, 2017 at 9:47 AM, Muhammad Ahmad Shaukat <ahma...@gmail.com> wrote:
http://trendblog.net/install-raspbian-sd-card-os-x-windows/
Its not that hard to install raspian jessie on raspberry pi 3

So how about the documentation you are using to build and install serval on your RPi ?

Also what is commotion in this context ?

Muhammad Ahmad Shaukat

unread,
Aug 25, 2017, 8:34:22 PM8/25/17
to serval-proj...@googlegroups.com
https://commotionwireless.net/blog/2014/06/12/commotion-pi-build-rpi-mesh-node
As commotion is your partner in several projects. Using above guide I couldn't install it. I even tried to contact commotion but it seems they are not quite active on replying to queries.
And with serval, I dont know any guide to make it work on raspbery pi 3. i was wondering is there any guide released by you guys to install serval on raspberry pi 3. As android and raspian are linux derivative.
thanks

--

Kim Hawtin

unread,
Aug 25, 2017, 9:25:59 PM8/25/17
to serval-proj...@googlegroups.com
On Sat, Aug 26, 2017 at 10:04 AM, Muhammad Ahmad Shaukat <ahma...@gmail.com> wrote:
https://commotionwireless.net/blog/2014/06/12/commotion-pi-build-rpi-mesh-node
As commotion is your partner in several projects. Using above guide I couldn't install it. I even tried to contact commotion but it seems they are not quite active on replying to queries.
And with serval, I dont know any guide to make it work on raspbery pi 3. i was wondering is there any guide released by you guys to install serval on raspberry pi 3. As android and raspian are linux derivative.

I'll go check it out and see if I can build it and get back to you.

Muhammad Ahmad Shaukat

unread,
Aug 25, 2017, 9:28:04 PM8/25/17
to serval-proj...@googlegroups.com
Thanks Kim.
On your developer forum someone is talking about issue with servald on raspberry pi.

--

Kim Hawtin

unread,
Aug 25, 2017, 9:32:58 PM8/25/17
to serval-proj...@googlegroups.com
On Sat, Aug 26, 2017 at 10:55 AM, Kim Hawtin <kimh...@gmail.com> wrote:

On Sat, Aug 26, 2017 at 10:04 AM, Muhammad Ahmad Shaukat <ahma...@gmail.com> wrote:
https://commotionwireless.net/blog/2014/06/12/commotion-pi-build-rpi-mesh-node
As commotion is your partner in several projects. Using above guide I couldn't install it. I even tried to contact commotion but it seems they are not quite active on replying to queries.
And with serval, I dont know any guide to make it work on raspbery pi 3. i was wondering is there any guide released by you guys to install serval on raspberry pi 3. As android and raspian are linux derivative.

I'll go check it out and see if I can build it and get back to you.

Their repository is 404.

Have you tried building serval directly from source?
 
regards,

Muhammad Ahmad Shaukat

unread,
Aug 25, 2017, 9:34:04 PM8/25/17
to serval-proj...@googlegroups.com
No. I dont know how to do that..

--

Muhammad Ahmad Shaukat

unread,
Aug 25, 2017, 10:29:37 PM8/25/17
to serval-proj...@googlegroups.com
Can you guide me how to do this?

To unsubscribe from this group and all its topics, send an email to serval-project-announce+unsubscr...@googlegroups.com.

Jeremy Lakeman

unread,
Aug 25, 2017, 10:35:34 PM8/25/17
to serval-proj...@googlegroups.com
The Install instructions are a pretty good place to start;
https://github.com/servalproject/serval-dna/blob/development/INSTALL.md


You received this message because you are subscribed to the Google Groups "Serval Project Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to serval-project-announce+unsub...@googlegroups.com.

Kim Hawtin

unread,
Aug 25, 2017, 10:50:28 PM8/25/17
to serval-proj...@googlegroups.com
On Sat, Aug 26, 2017 at 11:04 AM, Muhammad Ahmad Shaukat <ahma...@gmail.com> wrote:
No. I dont know how to do that..

if you start by installing the required build tools on your RPi;
 apt-get update
 apt-get -yu dist-upgrade
 apt-get install build-essential

then you can look at the git repository to build. i recently built this on debian/stable, debian/oldstable and macos;
  https://github.com/servalproject/serval-dna

can not see any reason why it would not build on rasbian. this is something i need to do again soon.

once you have that build, you will need to get the config files sorted.

regards,

Kim Hawtin

unread,
Aug 25, 2017, 10:53:01 PM8/25/17
to serval-proj...@googlegroups.com
On Sat, Aug 26, 2017 at 12:05 PM, Jeremy Lakeman <jer...@servalproject.org> wrote:
The Install instructions are a pretty good place to start;
https://github.com/servalproject/serval-dna/blob/development/INSTALL.md


the only thing i had trouble with was getting libsodium installed on the mac.
now there is a script in the repository you can use to build it =) works fine.

regards,

Kim

Muhammad Ahmad Shaukat

unread,
Aug 25, 2017, 10:55:30 PM8/25/17
to serval-proj...@googlegroups.com
Thats really great. And how about configuring the Pis I mean IP settings and security keys and find other neighbor nodes.
Thanks.

--
You received this message because you are subscribed to a topic in the Google Groups "Serval Project Announce" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/serval-project-announce/c4DeywGPmI4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to serval-project-announce+unsub...@googlegroups.com.

Muhammad Ahmad Shaukat

unread,
Aug 25, 2017, 11:54:05 PM8/25/17
to serval-proj...@googlegroups.com
HI,
These following commands are not working.
$ autoreconf -f -i -I m4
$ ./configure
 Thanks.

To unsubscribe from this group and all its topics, send an email to serval-project-announce+unsubscr...@googlegroups.com.

Jeremy Lakeman

unread,
Aug 26, 2017, 12:27:04 AM8/26/17
to serval-proj...@googlegroups.com
"not working" is not a great bug report.


You received this message because you are subscribed to the Google Groups "Serval Project Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to serval-project-announce+unsub...@googlegroups.com.

Muhammad Ahmad Shaukat

unread,
Aug 26, 2017, 12:33:58 AM8/26/17
to serval-proj...@googlegroups.com
Sorry, can you please let me know simplified steps to install serval mesh on raspberry pi
Thanks.

To unsubscribe from this group and stop receiving emails from it, send an email to serval-project-announce+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Serval Project Announce" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/serval-project-announce/c4DeywGPmI4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to serval-project-announce+unsub...@googlegroups.com.

RussellMc

unread,
Aug 26, 2017, 1:29:58 AM8/26/17
to serval-proj...@googlegroups.com, ahma...@gmail.com
Google search: serval on raspberry pi 3


Most seem to be pre Pi 3 but may be useful.

Using:  serval on raspberry +"pi 3"

produces far fewer relevant hits.



       Russell 








Jeremy Lakeman

unread,
Aug 26, 2017, 3:10:56 AM8/26/17
to serval-proj...@googlegroups.com
No, but if you could attach the command output I might be able to tell you which dependencies are missing.

To unsubscribe from this group and stop receiving emails from it, send an email to serval-project-announce+unsub...@googlegroups.com.

Muhammad Ahmad Shaukat

unread,
Aug 27, 2017, 10:58:19 AM8/27/17
to serval-proj...@googlegroups.com
Hi,
I am trying to follow the steps from this following guideline
https://github.com/servalproject/serval-dna/blob/development/INSTALL.md
Below these two works fine.
git clone -q git://github.com/servalproject/serval-dna.git
cd serval-dna

When I did (autoreconf -f -i -I m4) I got error of command not found
then i found out that we need to install "autoreconf"
sudo apt-get install dh-autoreconf
git clone -q git://github.com/servalproject/serval-dna.git
cd serval-dna

autoreconf -f -i -I m4

this time i got this error.
checking for sodium.h... no
configure: error: missing sodium.h
*** If your platform provides a libsodium development package, then
*** install it and try again, eg, on Debian/Ubuntu:
***     sudo apt-get install libsodium-dev
*** If using a libsodium built locally from source, ensure that the
*** C_INCLUDE_PATH environment variable is set, eg, with the command:
***     . libsodium/settings.sh
*** See INSTALL.md and doc/Development.md for more information.

Then I installed "libsodium"
sudo apt-get install libsodium-dev
./configure

But when i entered (make && make check)
I got this error Now i couldnt figuring it out. The error is below:
overlay_mdp.c:470:7: error: implicit declaration of function ‘crypto_box_open_easy_afternm’ [-Werror=implicit-function-declaration]
       if (crypto_box_open_easy_afternm(ob_ptr(plaintext), cipher_text, cipher_len, nonce, k)) {
       ^
overlay_mdp.c: In function ‘encrypt_payload’:
overlay_mdp.c:779:3: error: implicit declaration of function ‘crypto_box_easy_afternm’ [-Werror=implicit-function-declaration]
   if (crypto_box_easy_afternm(cipher_text, buffer, msg_len, nonce, k)) {
   ^
cc1: all warnings being treated as errors
Makefile:240: recipe for target 'objs_servald/overlay_mdp.o' failed
make: *** [objs_servald/overlay_mdp.o] Error 1

Can you helps me out in this.??

To unsubscribe from this group and all its topics, send an email to serval-project-announce+unsub...@googlegroups.com.

Jeremy Lakeman

unread,
Aug 27, 2017, 11:47:44 AM8/27/17
to serval-proj...@googlegroups.com
Because you need version 1.0.2 or greater

To unsubscribe from this group and stop receiving emails from it, send an email to serval-project-announce+unsub...@googlegroups.com.

Muhammad Ahmad Shaukat

unread,
Aug 27, 2017, 11:49:37 AM8/27/17
to serval-proj...@googlegroups.com
So, where would i get this??

To unsubscribe from this group and all its topics, send an email to serval-project-announce+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages