Subject: IBSS mode between Cisco Aironet and Lucent Orinoco: no play
To: None <firstname.lastname@example.org>
From: Johan Ihren <email@example.com>
Date: 03/27/2001 23:40:08
Some weeks ago Angrew Gillham (thanks!) tried to help me get this
working, but then I lost access to the Orinoco card for a while, so
I'm coming back to this first now.
> > did you get this to work? I've poked at it a bit, but no success
> > sofar. I.e. if you've got an an0 to talk to a wi0 without any AP in
> > the middle, please tell me exactly what you did...
> Yes it works. I have a recent version of WaveLAN firmware (6.x?) which
> is required to get the two to interoperate.
> On my wi() machine, in /etc/netstart.local I have:
> /usr/sbin/wiconfig wi0 -n "NetBSD IBSS" -p 1 -c 1
> In /etc/ifconfig.wi0:
> inet x.x.x.x netmask 255.255.255.0 nwkey 12345
If I do exactly this on a desktop machine and then plug an
Orinoco/Lucent card into my laptop everything works like a charm:
bash# ifconfig wi0
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
nwid "NetBSD IBSS"
media: IEEE802.11 autoselect adhoc
inet 192.168.31.50 netmask 0xffffff00 broadcast 192.168.31.255
inet6 fe80::202:2dff:fe03:ada6%wi0 prefixlen 64 scopeid 0x5
But if I unplug the Lucent card and replace it with a Cisco Aironet
(without even touching the Lucent card in the desktop machine):
bash# ifconfig an0
an0: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
nwid "NetBSD IBSS"
media: IEEE802.11 autoselect
status: no network
The only interesting thing that differs is that the wi0 claims media
to be "autoselect adhoc" while the an0 is just "autoselect". I don't
know why this is, but I've had no success trying to fix it:
bash# ifconfig an0 media adhoc
ifconfig: unknown IEEE802.11 media subtype: adhoc
This could of course be me not parsing the ifconfig grammar...
The firmware in the Lucent cards is either v6.16 or v7.28 (doesn't
matter which) and in the Aironet it's v3.93.
The cards probe like this:
pcmcia0: CIS version PC Card Standard 5.0
pcmcia0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01,
pcmcia0: Manufacturer code 0x156, product 0x2
pcmcia0: function 0: network adapter, ccr addr 3e0 mask 1
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, iospace 0-3f; io16 irqpulse irqlevel
wi0 at pcmcia0 function 0: Lucent Technologies, WaveLAN/IEEE, Version 01.01,
wi0: 802.11 address 00:02:2d:03:ad:a6
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: Cisco Systems, 340 Series Wireless LAN Adapter
pcmcia0: Manufacturer code 0x15f, product 0x7
pcmcia0: function 0: network adapter, ccr addr 3e0 mask 7
pcmcia0: function 0, config table entry 5: I/O card; irq mask ffff; iomask 6, iospace 0-3f; io16 irqlevel
an0 at pcmcia0 function 0: Cisco Systems, 340 Series Wireless LAN Adapter
an0: 802.11 address: 00:40:96:34:bc:64
When I use the Aironet with an AccessPoint I have no trouble at all
except for occational bursts of:
an0: RID 0x%04x record length mismatch -- expected 132, got 8192
that have seemingly not caused any severe harm.