Date: Mon, 22 Sep 2008 15:25:00 +0200 From: John Hay <jhay@meraka.org.za> To: freebsd-mobile@freebsd.org Subject: setting bssid in adhoc mode Message-ID: <20080922132500.GA25677@zibbi.meraka.csir.co.za>
next in thread | raw e-mail | index | archive | help
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. John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080922132500.GA25677>