[Olsr-users] trying to get olsr run on a macbook
L. Aaron Kaplan
(spam-protected)
Thu Mar 18 14:16:52 CET 2010
Sure I can tell you, here is how to trace in Mac OS X:
(CCed to the list so that the answer stays in the ML archive)
ultrastabil:olsrd aaron$ sudo dtruss ./olsrd -d 1 -i en1
You then should see something like this:
select(0xB, 0x7FFF5FBFF410, 0x0, 0x0, 0x7FFF5FBFF490) = 0 0
sendto(0x6, 0x100800000, 0x14) = 20 0
select(0x0, 0x0, 0x0, 0x0, 0x7FFF5FBFF470) = 0 0
select(0xB, 0x7FFF5FBFF410, 0x0, 0x0, 0x7FFF5FBFF490) = 0 0
select(0xB, 0x7FFF5FBFF410, 0x0, 0x0, 0x7FFF5FBFF490) = 0 0
select(0x0, 0x0, 0x0, 0x0, 0x7FFF5FBFF470) = 0 0
select(0xB, 0x7FFF5FBFF410, 0x0, 0x0, 0x7FFF5FBFF490) = 0 0
write_nocancel(0x1, "-\r\0", 0x2) = 2 0
select(0x0, 0x0, 0x0, 0x0, 0x7FFF5FBFF470) = 0 0
select(0xB, 0x7FFF5FBFF410, 0x0, 0x0, 0x7FFF5FBFF490) = 0 0
sendto(0x8, 0x100800600, 0x14) = 20 0
select(0x0, 0x0, 0x0, 0x0, 0x7FFF5FBFF470) = 0 0
select(0xB, 0x7FFF5FBFF410, 0x0, 0x0, 0x7FFF5FBFF490) = 2 0
recvmsg(0x5, 0x7FFF5FBFE150, 0x80) = 20 0
recvmsg(0x7, 0x7FFF5FBFE150, 0x80) = 20 0
select(0x0, 0x0, 0x0, 0x0, 0x7FFF5FBFF470) = 0 0
select(0xB, 0x7FFF5FBFF410, 0x0, 0x0, 0x7FFF5FBFF490) = 0 0
select(0x0, 0x0, 0x0, 0x0, 0x7FFF5FBFF470) = 0 0
select(0x0, 0x0, 0x0, 0x0, 0x7FFF5FBFF470) = 0 0
select(0xB, 0x7FFF5FBFF410, 0x0, 0x0, 0x7FFF5FBFF490) = 0 0
(...) etc
One more thing which could be a slight problem for you:
Make sure that the IP4Broadcast is *not* set to 255.255.255.255.
All BSD derived systems do not simply accept this setting. Unfortunately.
from my config file:
#Ip4Broadcast 255.255.255.255
You can see it is commented out.
On Mar 18, 2010, at 2:05 PM, ulf kypke wrote:
> hi aaron,
>
>
> 2010/3/18 L. Aaron Kaplan <(spam-protected)>:
>> 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)?
> fine, i can do this, if you tell me how to to do this,
> ulf
More information about the Olsr-users
mailing list