Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2008 08:48:22 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        John Hay <jhay@meraka.org.za>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: setting bssid in adhoc mode
Message-ID:  <48D7BE46.10306@freebsd.org>
In-Reply-To: <20080922132500.GA25677@zibbi.meraka.csir.co.za>
References:  <20080922132500.GA25677@zibbi.meraka.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
John Hay wrote:
> Hi
>
> I'm trying out the new ath/wlan stuff in current. Should one still be
> able to set the bssid in adhoc mode? We normally lock the bssid in
> an adhoc network because of problems that the network split and does
> not merge, if you do not do it.
>
> What I have done is this:
>
> # ifconfig wlan0 create wlandev ath0 wlanmode adhoc
> # ifconfig wlan0 ssid ptamesh up
>
> Up to here works well. It will scan and if it finds another node with the
> same ssid, it will "lock" on that channel and use the correct bssid.
>
> If it does not find another node with the same ssid, it will start it
> own thing on channel 10. But it looks like one cannot set the bssid.
>
> # ifconfig wlan0 bssid 02:07:ca:fe:ba:be
> ifconfig: 02:07:ca:fe:ba:be: bad value
>
> So should it work or should I do it in a different way? I saw a
> wlanbssid command in the ifconfig man page, but it does not seem to
> do anything. I tried it like this:
>
> # ifconfig wlan0 create wlandev ath0 wlanmode adhoc wlanbssid 02:07:ca:fe:ba:be
>
> It did not give an error, but also did not lock the bssid.
>
>   
It should be possible to alter the bssid.  wlanbssid  is used to fix the 
bssid/mac address of the vap at create.

    Sam





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