Discussion:
Problem Installing OLSRd 0.6.6.1
arman hs
2014-03-13 13:10:31 UTC
Permalink
Hello everyone ,

I have a little problem installing OLSRd 0.6.6.1 on 12.04 Linaro Ubuntu
installed in cubieboard

sudo apt - get install olsrd olsrd - plugin , it works but it is an old
version and has bugs . I was advised to install a newer version

I followed the tutorial and I'm stuck on a problem

I download the file .tar.gz

# cp olsrd-0.6.6.1.tar.gz /usr/local/src
# tar xzyf olsrd-0.6.6.1.tar.gz
# cd olsrd-0.6.6.1
# make all

I get this error :

[ CC ] src /common/autobuf.c
In file included from src/common.autobuf.h : 47:0 ,
from src/common/autobuf.c : 42
src/defs.h:46:22 : fatal error : sys/time.h : No such file or directory
complilation terminated
make: *** [ src / common / autobuf.o ] Error 1

Is there a way to install the latest version with apt -get ?
Am I missing an Important step ?

please help

screenshot attached

Regards
Surya Axa Y
arman hs
2014-03-13 19:32:51 UTC
Permalink
Problem Solved....
----------------------------
Now olsrd 0.6.6.1 installed on cubieboard but another problem occurs.


my config

DebugLevel 2
Interface "wlan0"
{

HelloInterval 1.0
HelloValidityTime 600.0
TcInterval 0.5
TcValidityTime 300.0
MidInterval 10.0
MidValidityTime 300.0
HnaInterval 10.0
HnaValidityTime 300.0
}

LinkQualityFishEye 1
IpVersion 4
ClearScreen yes
AllowNoInt yes
Willingness 7

IpcConnect
{
MaxConnections 0
Host 127.0.0.1
}

UseHysteresis no
LinkQualityLevel 2
Pollrate 0.1
TcRedundancy 2
MprCoverage 5

---------------------------
network/interfaces

iface lo inet loopback

auto wlan0
allow-hot plug wlan0
iface wlan0 inet static
address 192.168.1.201
netmask 255.255.255.0
wireless-mode ad-hoc
wireless-channel 10
wireless-essid MESH

-----------------------------

when I start olsrd
sudo olsrd

???????????????????????????????????????????????????
???????????????????????????????????????????????????
???????????????????????????????????????????????????
??????: File name too long

when i scroll up, i can't get the first

when I type olsrd without sudo

\377\377\377\377\377\377\377\377\377\377\377\377\377\377
\377\377\377\377\377\377\377\377\377\377\377\377\377\377
\377\377\377\377\377\377\377\377\377\377\377\377\377\377
\377 : command not found

any ideas ?
Post by arman hs
Hello everyone ,
I have a little problem installing OLSRd 0.6.6.1 on 12.04 Linaro Ubuntu
installed in cubieboard
sudo apt - get install olsrd olsrd - plugin , it works but it is an old
version and has bugs . I was advised to install a newer version
I followed the tutorial and I'm stuck on a problem
I download the file .tar.gz
# cp olsrd-0.6.6.1.tar.gz /usr/local/src
# tar xzyf olsrd-0.6.6.1.tar.gz
# cd olsrd-0.6.6.1
# make all
[ CC ] src /common/autobuf.c
In file included from src/common.autobuf.h : 47:0 ,
from src/common/autobuf.c : 42
src/defs.h:46:22 : fatal error : sys/time.h : No such file or directory
complilation terminated
make: *** [ src / common / autobuf.o ] Error 1
Is there a way to install the latest version with apt -get ?
Am I missing an Important step ?
please help
screenshot attached
Regards
Surya Axa Y
Henning Rogge
2014-03-15 08:34:55 UTC
Permalink
This looks like you have a problem with your basic linux system, maybe
with the shell. There is no code in olsrd that produce a lot of "?" or
"\377".

Henning Rogge
Post by arman hs
Problem Solved....
----------------------------
Now olsrd 0.6.6.1 installed on cubieboard but another problem occurs.
my config
DebugLevel 2
Interface "wlan0"
{
HelloInterval 1.0
HelloValidityTime 600.0
TcInterval 0.5
TcValidityTime 300.0
MidInterval 10.0
MidValidityTime 300.0
HnaInterval 10.0
HnaValidityTime 300.0
}
LinkQualityFishEye 1
IpVersion 4
ClearScreen yes
AllowNoInt yes
Willingness 7
IpcConnect
{
MaxConnections 0
Host 127.0.0.1
}
UseHysteresis no
LinkQualityLevel 2
Pollrate 0.1
TcRedundancy 2
MprCoverage 5
---------------------------
network/interfaces
iface lo inet loopback
auto wlan0
allow-hot plug wlan0
iface wlan0 inet static
address 192.168.1.201
netmask 255.255.255.0
wireless-mode ad-hoc
wireless-channel 10
wireless-essid MESH
-----------------------------
when I start olsrd
sudo olsrd
???????????????????????????????????????????????????
???????????????????????????????????????????????????
???????????????????????????????????????????????????
??????: File name too long
when i scroll up, i can't get the first
when I type olsrd without sudo
\377\377\377\377\377\377\377\377\377\377\377\377\377\377
\377\377\377\377\377\377\377\377\377\377\377\377\377\377
\377\377\377\377\377\377\377\377\377\377\377\377\377\377
\377 : command not found
any ideas ?
Post by arman hs
Hello everyone ,
I have a little problem installing OLSRd 0.6.6.1 on 12.04 Linaro Ubuntu
installed in cubieboard
sudo apt - get install olsrd olsrd - plugin , it works but it is an old
version and has bugs . I was advised to install a newer version
I followed the tutorial and I'm stuck on a problem
I download the file .tar.gz
# cp olsrd-0.6.6.1.tar.gz /usr/local/src
# tar xzyf olsrd-0.6.6.1.tar.gz
# cd olsrd-0.6.6.1
# make all
[ CC ] src /common/autobuf.c
In file included from src/common.autobuf.h : 47:0 ,
from src/common/autobuf.c : 42
src/defs.h:46:22 : fatal error : sys/time.h : No such file or directory
complilation terminated
make: *** [ src / common / autobuf.o ] Error 1
Is there a way to install the latest version with apt -get ?
Am I missing an Important step ?
please help
screenshot attached
Regards
Surya Axa Y
--
Olsr-users mailing list
https://lists.olsr.org/mailman/listinfo/olsr-users
--
Olsr-users mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-users
Loading...