Re: setting bssid in adhoc mode
Sam Leffler <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Organization | FreeBSD Project |
| Message-ID | <[email protected]> |
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"