[OLSR-users] olsrd can't find the main address of an interface
Fri May 19 09:38:56 CEST 2006
Olsrd will not run on "alias" interfaces such as wlan0:1 because it binds
to the interface using the somewhat hackish SO_BINDTODEVICE setsockopt.
This socket option cannot be used on alias interfaces. Ofcause one could
consider binding to the real device(wlan0 in this case), but I'm not sure
how that would work with different IF states on wlan0 vs. wlan0:1 etc.
Anyways, if you just need some special olsrd code for running on the 770
not using more than one interface then you can apply the attatched patch
to the current cvs version. Note that olsrd will not be able to disable
the IP spoof filter og disable ICMP redirects when using this code.
> just started working on olsrd and Nokia 770 device (Debian/ARM).
> I got olsrd running on the device, where I've got a WLAN network set up
> between a couple of those devices in an ad hoc mode.
> ifconfig lists interfaces "wlan0" and "wlan0:1", where the first one does
> not have an IP address, but the latter does. In the olsrd.conf I only have
> "wlan0" listed as one can't use "wlan0:1" (can't find the reference
> this anymore, but hopefully I remember this right). When starting olsrd,
> prints (for wlan0) "Wireless interface detected" and "Could not get
> of interface - skipping it".
> I tried to search the olsr.org and the archives of these mailing lists on
> how to configure this kind of interface, but couldn't find any.
> Unfortunately I'm novice both in olsrd and Linux, so I'm kind of stuck
> For a reference, if I connect the device to a WLAN access point (in
> to an ad hoc network), the first interface (wlan0) gets an IP address. In
> this situation olsrd starts up nicely. But I'm interested in the ad hoc
> mode, so this doesn't help...
> Any help or pointers to right place to start finding information is
> Best regards,
> Tommi Halonen
> olsr-users mailing list
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 891 bytes
Desc: not available
More information about the Olsr-users