Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Aug 2011 11:12:59 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        geoff@apro.com.au
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: SPAM-LOW: Re: Atheros 5212 based card causing system freeze - suggested replacement?
Message-ID:  <CAJ-VmonTK8ox4tG_fUrorAx2aNFfq1txLoON11s-=LLKW7DQCg@mail.gmail.com>
In-Reply-To: <201108291308.30442.geoff@apro.com.au>
References:  <201108290134.50561.geoff@apro.com.au> <CAJ-VmokY0nRd3JTyJsxcnwyCiBxN-_T9jJcL-rtRakOQok7BUw@mail.gmail.com> <201108291308.30442.geoff@apro.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 August 2011 11:08, Geoff Roberts <geoff@apro.com.au> wrote:
> Hi Adrian,
>
> Thanks very much for getting back.

No problem!

> On Mon, 29 Aug 2011 02:06:22 am you wrote:
>> Were you always running a 64 bit kernel? Are you able to please try
>> booting a 32 bit kernel?
>
> Yes, it was always a 64 bit kernel. I'll download the i386 8.2 R CD and give
> that a go.

Thanks, please let me know how that goes.
There's a bug in the RELENG_8 ath driver that makes running multiple
VAPs a bit unpredictable. But it should at least attach. :)

>> > I need a card capable of running Multiple Base Stations or Virtual Access
>> > Points (VAP) - another reason for looking for a newer card.
>>
>> The NIC you have will do that just fine.
>
> Sorry I didn't explain that very well. I wanted to use hostapd to manage the
> access points. hostapd seems to need different MAC addresses for each virtual
> access point. I couldn't find a way to assign different MAC addresses for each
> virtual access point for hostapd with this particular card. Have I understood
> that correctly? I wasn't 100% sure of my reading of the hostap config file.
>
> Are there any Atheros based cards you know of that work with hostapd in this
> way?

The driver should be able to do this. The NIC should be able to do this too.
Basically, when you create multiple hostap interfaces, each wlanX
interface should get a "new" MAC address.
The hardware has a "filter" which can be programmed to allow a set of
local addresses; typically what happens is that the last two bits get
masked off and so your (four) VAP interfaces get one of those four MAC
addresses. The hardware then will happily pass on packets for them.

The AR5212 series hardware should support this stuff.

Please let me know if this isn't happening. :)


>> Are you able to boot things on the older hardware and see what the
>> above debugging gives?
>> Eg what the attach line is on your amd64 box?
>
> I think I'll be lucky. The display system completely went on the old system -
> trying PCI or AGP graphics cards didn't make any difference. I'll see if I can
> rig a serial cable to another machine to watch the boot process.
>
> I'll try the i386 8.2 R download first and see if I have any luck with the old
> system before it goes out for permanent retirement (that'll take a few days).

Thanks. Let's first try 32 bit on that system of yours. I hope it's
something simple/subtle that I can reproduce locally.


Adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonTK8ox4tG_fUrorAx2aNFfq1txLoON11s-=LLKW7DQCg>