[OLSR-users] OLSR on FreeBSD

Karsten Rothemund (spam-protected)
Mon Sep 18 17:05:16 CEST 2006


Hello olsr-list,

I have a problem using olsr on FreeBSD 6: the default route is changed
after a time (in the order of some minutes).

More detailed: I want to use my laptop in an ad-hoc WLAN-net
(stationary and maybe some mobile knots) here in Rostock. Routing in
this net is done by olsrd (last version 0.4.10 I think). 

There are some (around 3) gateways to the web and the traffic between
the gateways and the (stationary[1] and the mobile) user is sent
through an OpenVPN tunnel. 

When I want to take part in the net with the laptop (WLAN-card is
inserted, interface is wi0) I start the olsrd and the openvpn tunnel.
Both are starting without any trouble (regarding the logs).

Right after that the default route points to the tunnel tun0 and the
traffic to internet is going through the tunnel (at the same time all
traffic to the WLAN-knots is passed directly to the wi0 interface).
Good, exactly what I want.

But after some minutes (around 5, maybe 10) the default route is
deleted (or points to wi0, NOT to tun0). The tunnel still exists and
the log files do not show anything special: everything seems to be OK
(and is - except the routing). The traffic is not routed to the
internet (it passes besides the tunnel and maybe reaches gateway - but
the gateways are configured to only route traffic coming through the
tunnel to the internet).

I can of course provide you with the config files (olsrd.conf ond
maybe openvpn.conf). But they are quite equal (identical with my
specific passwords/phases/numbers) to the ones other people in the
community here use with their Linux-laptops.

My question is: is there someone out there in the list, who knows more
about olsrd and FreeBSD? Is there is something special in the communication
between olsrd and the FreeBSD system? 

What I have tried already: "changing routes" made me think of dhcp and
I killed all dhcpd-s. I also killed (deactivated at boot time) devd,
because it seems to start dhcp-processes later (maybe caused by
changes at an interface). Both didn't help. 

Is there something (probably very simple) I've forgotten? 


[1] The stationary knots are Access Points running a modified OpenWRT
with olsrd and OpenVPN.


Hope, someone can help,

Karsten

-- 
                                                       
Karsten Rothemund <(spam-protected)>     /"\
PGP-Key:     0x7019CAA5                   \ /
Fingerprint: E752 C759 B9B2 2057 E42F      \  ASCII Ribbon Campaign
             50EE 47AC A7CE 7019 CAA5     / \ Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20060918/8985560e/attachment.sig>


More information about the Olsr-users mailing list