I have a PCI Cisco Aironet card that I use in ad-hoc mode. dmesg
reports the card as follows:
an0 at pci0 dev 14 function 0 "Aironet PC4800 Wireless" rev 0x01: irq
11: address xx:xx:xx:xx:xx:xx
In OpenBSD 3.8 and older, I used the card in ad-hoc mode by running:
/sbin/ancontrol an0 -o 0 -n MySSID
Unfortunately, I haven't been able to make the card work with recent
(3.9) kernels. I'm trying commands like:
/sbin/ifconfig an0 nwid MySSID mediaopt ibss
But the interface still doesn't work. "ifconfig an0" reports:
an0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr xx:xx:xx:xx:xx:xx
media: IEEE802.11 autoselect ibss (DS11)
status: no network
ieee80211: nwid MySSID
inet 172.31.253.1 netmask 0xffffff00 broadcast 172.31.253.255
inet6 fe80::xxxx:xxxx:xxxx:xxxx%an0 prefixlen 64 scopeid 0x3
If I run "tcpdump -ni an0" and try to ping 173.31.253.2, I don't see
any ARPs going out, and don't see any packets coming in either, even
broadcast packets. The card worked fine in ad-hoc mode with OpenBSD
3.8.
I'm not sure if this is a bug, or if I'm just not using the right
ifconfig arguments now that ancontrol has been eliminated. I'd
appreciate any suggestions on how to make this work.
Thanks,
David