[Olsr-users] Dual Mode Operation: One WLAN interface for both 801.11 infrastructure & OLSR?
Sven-Ola Tuecke
(spam-protected)
Wed Sep 5 09:25:42 CEST 2007
Hello,
fiddeling with the multi-bss feature of madwifi will cost you devel time and
you may need some kernel hacker skills too (especially ibss and ap
concurrently). If you don't know how to debug kernel drivers you will not
have much success I fear. Nothing you can blame olsrd for...
You may try nbd's patchset (on top of an upcoming newer hal version - maybe
avail in madwifi-0.9.4++ if they think it's stable). Which can be found in
the openwrt/kamikaze source repo. Kernel oopses and matching patchsets are
welcome there - or on madwifi bugtrack.
Tip: the init sequence (first ad-hoc then ap) is more a bug than a feature.
Check out the beacon handling on chip level - which is a bit dirty if you
dig in <ggg>
// Sven-Ola
Rajesh Narayanan wrote:
> hi,
>
> Here are some notes from trying to mess with dual mode operation.
>
> Got the dual mode operation partly working.
> 1. ath0 in adhoc mode
> 2. ath1 in ap mode
>
> Note that the adhoc mode interface needs to be created before the ap. If
> you do the other way around, the hardware does not allow you to add it.
> (sorry
> im not geeky enough to figure that out :-( ). I just tried this on an
> intuition (and a couple of caffeine shots) and it seemed to do the trick.
>
> I got OLSR running on the ath0 and seems to work ok. But still have not
> figured the ap mode as yet on ath1. I do get some MAC layer exchanges
> (arps) so I know the interfaces ARE ok. But face a bummer on the IP layer.
>
> ath0 ath1
> RouterA <----------> RouterB <--------------> Laptop1
> 192.168.50.X 192.168.60.X
> OLSR
> <--- pings ok ---> <---pings not ok -->
> <-------- arps ------>
>
> Hope someone in the list can help.
>
> Thanks,
> Rajesh.
>
>
>
> On 9/2/07, Aaron Kaplan <(spam-protected)> wrote:
>>
>>
>> On Aug 31, 2007, at 2:11 AM, Rajesh Narayanan wrote:
>>
>> > Not sure what the configuration is. But I dont think its likely to
>> > work. Atheros supports multiple modes but I didnt see anything
>> > related to a dual-mode operation.
>> >
>>
>> Rajesh:
>>
>> As said, I did not try it out myself but try this:
>> http://madwifi.org/wiki/ngFeatures
>>
>> Is that what you were looking for?
>>
>> best,
>> aaron.
>>
>> > Let me know what the interfaces need to be set to. I have the
>> > configuration here and can try it quite quickly.
>> > - R
>> >
>> > On 8/22/07, Rajesh Narayanan <(spam-protected)> wrote: I would
>> > be quite interested in this as well. Will test this scenario as
>> > soon as I can get my board (montejade-platform) to behave!
>> >
>> > Do you know what the dual mode is called?
>> >
>> > Thanks,
>> > Rajesh.
>> >
>> >
>> > On 8/22/07, Aaron Kaplan <(spam-protected)> wrote:
>> > zeta,
>> >
>> > basically point 1 to remember is: olsr is more or less agnostic to
>> > what the lower levels are doing since it is level 3.
>> >
>> > That said, yes there are features in atheros based cards where you
>> > can have ad-hoc and managed mode at once in parallel on one card.
>> > However, I never tested that myself. Maybe somebody else can report
>> > on that.
>> >
>> > cheers,
>> > aaron.
>> >
>> >
>> > On Aug 22, 2007, at 4:49 PM, zeta zappa wrote:
>> >
>> > > Hi all -
>> > >
>> > > I am a new user experimenting with OLSR for laptop
>> > > internet connectivity. After reading the
>> > > documentation, is it possible to have a laptop with a
>> > > WLAN card attach to both a 802.11 network in
>> > > infrastructure mode (to connect to the Internet), and
>> > > a MANET using OLSR? Thus the laptop would be the
>> > > gateway between MANET devices and the Internet. Here
>> > > is the catch: the laptop only has one WLAN interface;
>> > > there is not the option to connect to the internet via
>> > > ethernet.
>> > >
>> > > Assuming this is possible (perhaps a big assumption),
>> > > which is the best way? Is there a way to do via HNA4
>> > > and INTERFACES in olsrd.conf? Or should I be looking
>> > > at a different olsrd.conf option?
>> > >
>> > > A related question: where is the SSID set? Or in
>> > > this scenario, will the gateway laptop propigate the
>> > > SSID of the 801.11 AP?
>> > >
>> > > Thanks for any advice!
>> > >
>> > > Zeta
>> > >
>> > >
>> > > ___________________________________________________________
>> > > Want ideas for reducing your carbon footprint? Visit Yahoo! For
>> > > Good http://uk.promotions.yahoo.com/forgood/environment.html
>> > >
>> > > --
>> > > Olsr-users mailing list
>> > > (spam-protected)
>> > > http://lists.olsr.org/mailman/listinfo/olsr-users
>> > >
>> >
>> > ---
>> > there's no place like 127.0.0.1
>> > until we found ::1 -- which is even bigger
>> >
>> >
>> >
>> >
>> > --
>> > Olsr-users mailing list
>> > (spam-protected)
>> > http://lists.olsr.org/mailman/listinfo/olsr-users
>> >
>> >
>>
>> ---
>> C.O.S.H.E.R. - Completely Open Source Headers Engineering and Research
>>
>>
>>
>>
>>
More information about the Olsr-users
mailing list