Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2012 16:24:35 +0200
From:      Bernhard Schmidt <bschmidt@techwires.net>
To:        Kim Culhan <w8hdkim@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: ath not working with r238290
Message-ID:  <CAAgh0_YMgxMUwYq9bBhYAaUb5PMK7E0CLHNuFSgGcOBAxkJJ4g@mail.gmail.com>
In-Reply-To: <CAKZxVQX9jn6G618oGSpNaQ4XbffytqOiywu9d7GTKV6h2h8m3A@mail.gmail.com>
References:  <CAKZxVQXSLOpOry53tjiF2uiWTYMo3THQaDh4gbFmVkEGWyy11g@mail.gmail.com> <CAJ-VmomZn2u9gCQH_PtiUeik0N-3ktyJmJaq=CYO%2B50o2_q_Vw@mail.gmail.com> <CAKZxVQU7hHwmNZvs0FRAJ5xY_fjT7JmrUQggy0WUP5OGZt4dGQ@mail.gmail.com> <CAJ-VmonKtYMjVvQsTLba7Fzj8kW5BpWhN--_RbCsY6tsieN6aw@mail.gmail.com> <CAKZxVQUJG0sgWrda-sTA1V-Myr4vx9EmfztBPYEOVBJCBG=zLQ@mail.gmail.com> <CAJ-Vmon=ZbvYJ=06Oy-u914Lcytxbkc2hvVrqUjL4nGFx1tQvg@mail.gmail.com> <CAKZxVQW7X%2BpBaenjuuggT9gXbDSjwmO5=-wk37HM4BwYmGh3Gw@mail.gmail.com> <CAAgh0_YPic0HOHOOUN0qq3=AKq4gTK9gXx_fEvHPq6cRAcKJjg@mail.gmail.com> <CAKZxVQX9jn6G618oGSpNaQ4XbffytqOiywu9d7GTKV6h2h8m3A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 11, 2012 at 1:16 PM, Kim Culhan <w8hdkim@gmail.com> wrote:
> On Wed, Jul 11, 2012 at 2:36 AM, Bernhard Schmidt
> <bschmidt@techwires.net> wrote:
>> On Wed, Jul 11, 2012 at 3:59 AM, Kim Culhan <w8hdkim@gmail.com> wrote:
>>> On Tue, Jul 10, 2012 at 9:53 PM, Adrian Chadd <adrian@freebsd.org> wrote:
>>>> Erm, I'm confused.
>>>>
>>>> Try this:
>>>>
>>>> ifconfig wlan0 create wlandev hostap
>>
>> You are missing the parent's interface name I guess, wlandev takes a
>> interface name as an argument not a mode.
>>
>> ifconfig wlan0 create wlandev *ath0 wlanmode* hostap
>>
>> Make sure the wlan0 interface does not exist, check with ifconfig -l
>
> ifconfig wlan0 create wlandev ath0 wlanmode hostap
>
> returns:
>
> ifconfig: create: bad value

That error messages indicates the interface already exists, try to do
ifconfig wlan0 destroy
before running the create command.

-- 
Bernhard



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