[Olsr-users] Olsrd delete the routes and seems to stop after a ifconfig down/up. I really need to restart?

Markus Kittenberger (spam-protected)
Thu Aug 27 20:40:36 CEST 2009


Am 27.08.2009, 18:53 Uhr, schrieb Douglas Diniz <(spam-protected)>:

> Hi, I'm using the olsrd 0.5.6-r3 in a ppc terminal. I have 2 terminal in
> adhoc mode and 2 laptops plugged in each terminal:
>
> laptop1 <------> terminal1  ~~~~~~ terminal2 <------> laptop2
>
> I configured the olsr to divulge the laptop's networks, so the laptops  
> ping
> each other and I can see the routes in the routing tables of each  
> terminal.
>
> The problem is that I have a program that change the wifi configuration,  
> but
> to do so the program first do a "ifconfig ath0 down" and after a  
> "ifconfig
usually your operating system will delete all routes (so olsr does not  
have to do it)

i supsect following, the interface is taken up/down so fast that olsr does  
not detect it (it polls the interfaces and has no callbak from the kernel  
to get notified instanttly)

so if the interface is up too fast, olsr doesn`t detect that it went  
down/came up

so it will not reinsert the routes the operating system dumped when taking  
the interface down
> ath0 up", but after the ifconfig down the routes are deleted by olsr and
> after the ifconfig up the routes aren't redone.
> Seems that after a ifconfig down the olsr stops  the work in this  
> interface,
> even after a ifconfig up.
>
> This a known effect?
It used to be a known effect, but should be fixed since around 9 months,...
but (i just read your email again) olsr-0.5.6-r3 it that old that it could  
still suffer from this bug,.
so use a newer olsr (0.5.6 r5 or r6 (next week))

> I dont want to restart olsrd, so there is something I
> could do?
remove/replace the other program,..

or delay its operation

i suggest to test following:

start olsr
check if you have routes
take the inteerface down by hand
wait 5 seconds
take it up again
check if the routes come back,..
>
> Thanks......


-- 
lg Markus




More information about the Olsr-users mailing list