Discussion:
olsrd.conf
Armansah Hs
2014-03-08 17:52:08 UTC
Permalink
I have olsrd 0.6.3 installed on cubieboard (linaro ubuntu 12.10) and laptop
(ubuntu 13.10).
when olsrd started, it's ok on laptop but on cubieboard olsrd will
continuosly print "sendto(v4): Invalid Argument".

here my configuration* /etc/network/interfaces*

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

*etc/olsrd/olsrd.conf*

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
{
MaxConnetion 0
Host 127.0.0.1
}

UseHysteresis no
Pollrate 0.1
TcRedundancy 2
MprCoverage 5
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "host" "127.0.0.1"
}


---------------------------
Am I miss something on configuration file ?

I'm want to use OLSRd for sending file (document), stream video (I'm using
VLC)

Thanks before and I,m sorry for bad english :)
Ferry Huberts
2014-03-09 20:56:25 UTC
Permalink
Post by Armansah Hs
I have olsrd 0.6.3 installed on cubieboard (linaro ubuntu 12.10) and
That version is old and unmaintained.
Please try with the latest version first.
Post by Armansah Hs
laptop (ubuntu 13.10).
when olsrd started, it's ok on laptop but on cubieboard olsrd will
continuosly print "sendto(v4): Invalid Argument".
here my configuration*/etc/network/interfaces*
auto wlan0
allow-hot plug wlan0
iface wlan0 inet static
address 192.168.120.1
netmask 255.255.255.0
wireless-mode ad-hoc
wireless-channel 10
wireless-essid MESH
*etc/olsrd/olsrd.conf*
DebugLevel 2
Interface "wlan0"
{
HelloInterval1.0
HelloValidityTime600.0
TcInterval0.5
TcValidityTime300.0
MidInterval10.0
MidValidityTime300.0
HnaInterval10.0
HnaValidityTime300.0
}
LinkQualityFishEye 1
IpVersion 4
ClearScreen yes
AllowNoInt yes
willingness 7
IpcConnect
{
MaxConnetion 0
Host 127.0.0.1
}
UseHysteresis no
Pollrate 0.1
TcRedundancy 2
MprCoverage 5
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "host" "127.0.0.1"
}
---------------------------
Am I miss something on configuration file ?
I'm want to use OLSRd for sending file (document), stream video (I'm
using VLC)
Thanks before and I,m sorry for bad english :)
--
Ferry Huberts
--
Olsr-users mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-users
Henning Rogge
2014-03-11 11:24:01 UTC
Permalink
I would suggest throwing out all configuration option you don't really
need. Try with a minimal configuration file:

Interface "wlan0"
{
}

LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "host" "127.0.0.1"
}

Also, moving to the latest stable olsrd version might be a good idea.

Henning Rogge
Post by Armansah Hs
I have olsrd 0.6.3 installed on cubieboard (linaro ubuntu 12.10) and laptop
(ubuntu 13.10).
when olsrd started, it's ok on laptop but on cubieboard olsrd will
continuosly print "sendto(v4): Invalid Argument".
here my configuration /etc/network/interfaces
auto wlan0
allow-hot plug wlan0
iface wlan0 inet static
address 192.168.120.1
netmask 255.255.255.0
wireless-mode ad-hoc
wireless-channel 10
wireless-essid MESH
etc/olsrd/olsrd.conf
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
{
MaxConnetion 0
Host 127.0.0.1
}
UseHysteresis no
Pollrate 0.1
TcRedundancy 2
MprCoverage 5
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "host" "127.0.0.1"
}
---------------------------
Am I miss something on configuration file ?
I'm want to use OLSRd for sending file (document), stream video (I'm using
VLC)
Thanks before and I,m sorry for bad english :)
--
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
Armansah Hs
2014-03-13 23:21:38 UTC
Permalink
Thanks for the reply.
My Cubieboard is working perfectly with the newer version of OLSRd.

To be honest, I do not quite understand about the OLSR configuration.
therefore, I will probably ask a lot here in the future.

Thank you for helping
The newer version I tried is olsrd-0.6.6.1
Installed from the source .tar.gz
problem occurs in the sudo make all step (solved)
...Installation success
when start OLSRd
another problem occurs
???????????????????????????
???????????????????????????
???????????????????????????
File name too long
but I guess that this is not related to olsrd.conf but related to the
device itself
OLSRd 0.6.6.1 on Laptop works perfectly
Feel free to ask, the olsrd.conf is a place of a lot of confusion
because of LOTs of strange advise that is floating around the web.
The defaults should be reasonable for most people so my usual advise
is to keep it as minimal as possible.
Oh, you also forgot to send your reply to the list, maybe you want to
do so so Ferry knows that the new version resolved your problem! :)
Henning Rogge
Thanks for the reply.
My Cubieboard is working perfectly with the newer version of OLSRd.
To be honest, I do not quite understand about the OLSR configuration.
therefore, I will probably ask a lot here in the future.
Thank you for helping
Armansah Hs
Post by Henning Rogge
I would suggest throwing out all configuration option you don't really
Interface "wlan0"
{
}
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "host" "127.0.0.1"
}
Also, moving to the latest stable olsrd version might be a good idea.
Henning Rogge
Post by Armansah Hs
I have olsrd 0.6.3 installed on cubieboard (linaro ubuntu 12.10) and laptop
(ubuntu 13.10).
when olsrd started, it's ok on laptop but on cubieboard olsrd will
continuosly print "sendto(v4): Invalid Argument".
here my configuration /etc/network/interfaces
auto wlan0
allow-hot plug wlan0
iface wlan0 inet static
address 192.168.120.1
netmask 255.255.255.0
wireless-mode ad-hoc
wireless-channel 10
wireless-essid MESH
etc/olsrd/olsrd.conf
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
{
MaxConnetion 0
Host 127.0.0.1
}
UseHysteresis no
Pollrate 0.1
TcRedundancy 2
MprCoverage 5
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "port" "8080"
PlParam "host" "127.0.0.1"
}
---------------------------
Am I miss something on configuration file ?
I'm want to use OLSRd for sending file (document), stream video (I'm using
VLC)
Thanks before and I,m sorry for bad english :)
--
Olsr-users mailing list
https://lists.olsr.org/mailman/listinfo/olsr-users
Loading...