Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2010 18:15:14 -0430
From:      Alberto Mijares <amijaresp@gmail.com>
To:        Maciej Milewski <milu@dat.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: wlan0 + hostap + rc.conf
Message-ID:  <286906751003161545u5bb97fadh3215303f193cb452@mail.gmail.com>
In-Reply-To: <201003162307.58748.milu@dat.pl>
References:  <286906751003161350k31a6286bld97defd3711edd62@mail.gmail.com> <201003162307.58748.milu@dat.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 16, 2010 at 5:37 PM, Maciej Milewski <milu@dat.pl> wrote:
> Dnia wtorek, 16 marca 2010 o 21:50:05 Alberto Mijares napisa=C5=82(a):
>> ifconfig_sis0=3D"up"
>> wlans_ath0=3D"wlan0"
>> create_args_wlan0=3D"wlanmode ap"
>> ifconfig_wlan0=3D"ssid nombre channel X mode 11g up"
>> cloned_interfaces=3D"bridge0"
>> ifconfig_bridge0=3D"addm wlan0 addm sis0 inet A.B.C.D netmask W.X.Y.Z up=
"
>>
>> However, when I run /etc/rc.d/netif restart, an error says:
>> ifconfig: create: bad value
>> the create command fails and everything related to the AP initialization=
.
>> When I run the command in the CLI it works fine
>> # ifconfig wlan0 create wlandev ath0 wlanmode ap
>> What could be wrong?
> Try putting channel and mode definition in create_args_wlan0 not in
> ifconfig_wlan0.


I did, but doesn't work either.

ifconfig_sis0=3D"up"
ifconfig_wlan0=3D"up"
wlans_ath0=3D"wlan0"
create_args_wlan0=3D"wlanmode ap channel x mode 11g ssid kraken2"
cloned_interfaces=3D"bridge0"
ifconfig_bridge0=3D"addm wlan0 addm sis0 inet xxxx netmask xxxx up"

Any other suggestion?


Alberto Mijares



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