[Olsr-users] trying to get olsr run on a macbook

L. Aaron Kaplan (spam-protected)
Thu Mar 18 13:59:41 CET 2010


Ulf, 

I had this problem some time ago in Mac OS X.
I found out that the sendto() syscall did not work.

Can you dtrace the olsrd binary and check if sendto() is being called (or works)?

a.


On Mar 18, 2010, at 1:45 PM, ulf kypke wrote:

> hi,
> i try to get olsrd run on my macbook,
> it is a 3 wifi device setup, a nanostation 2, a second olsr node and my macbook
> compiling and installing no problem, running with this config.
> the problem is, i do not send any olsr packets to my wifi card en1
> i tcpdump on en1 and here you will see only olsr packets from
> 104.192.159.1 and 2 which are the two embedded devices, my macbook has
> 104.192.159.3 and there is no olsr packet at all.
> so what is here the problem?
> btw, no firewall and my airport is correctly in the olsr.freifunk.net
> adhoc cell.
> 
> thanks ulf
> 
> tcpdump output:
> 13:35:18.928910 IP 104.192.159.1.698 > 255.255.255.255.698: OLSR, seq
> 0x25a0, length 676
> 13:35:19.177178 IP 104.192.159.1.698 > 255.255.255.255.698: OLSR, seq
> 0x25a1, length 68
> 13:35:19.346216 IP 104.192.159.2.698 > 255.255.255.255.698: OLSR, seq
> 0x60fb, length 32
> 13:35:19.970063 IP 104.192.159.1.698 > 255.255.255.255.698: OLSR, seq
> 0x25a2, length 1164
> 13:35:20.126463 IP 104.192.159.2.698 > 255.255.255.255.698: OLSR, seq
> 0x60fc, length 28
> 13:35:20.491292 IP 104.192.159.1.698 > 255.255.255.255.698: OLSR, seq
> 0x25a3, length 824
> 13:35:20.993674 IP 104.192.159.1.698 > 255.255.255.255.698: OLSR, seq
> 0x25a4, length 456
> 13:35:21.656394 IP 104.192.159.2.698 > 255.255.255.255.698: OLSR, seq
> 0x60fd, length 28
> ^C
> 
> 
> my version olsr.org - 0.5.6-r8 with libs
> my olsrd.conf
> 
> juniper:olsrd-0.5.6-r8 ulf$ cat /etc/olsrd.conf
> DebugLevel              2
> IpVersion               4
> AllowNoInt              yes
> Pollrate                0.1
> TcRedundancy            2
> MprCoverage             7
> LinkQualityFishEye      1
> LinkQualityWinSize      100
> LinkQualityDijkstraLimit 0 6.0
> LinkQualityLevel 2
> UseHysteresis no
> Interface "en1"
>       {
>       IPv4Multicast	255.255.255.255
>       HelloInterval           4.0
>       HelloValidityTime       72.0
>       TcInterval              3.0
>       TcValidityTime          216.0
>       MidInterval             12.0
>       MidValidityTime         216.0
>       HnaInterval             12.0
>       HnaValidityTime         72.0
>       }
> #LoadPlugin "olsrd_dyn_gw.so.0.4"
> #      {
> #           PlParam     "Interval"   "40"
> #           PlParam     "Ping"  "141.1.1.1"
> #      }
> LoadPlugin "olsrd_nameservice.so.0.3"
>       {
>       PlParam "name"          "ulfsmacbook"
>       PlParam "suffix"        ".berlin.freifunk.net"
>       PlParam "hosts-file"    "/tmp/hosts_olsr"
>       PlParam "resolv-file"   "/tmp/resolv.conf.olsr"
>       }
> LoadPlugin "olsrd_httpinfo.so.0.1"
>       {
>       PlParam     "port"   "8080"
>       PlParam     "Net"    "192.168.1.0 255.255.0.0"
>       PlParam     "Net"    "10.2.0.0 255.255.0.0"
>       }
> 
> -- 
> Olsr-users mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-users





More information about the Olsr-users mailing list