From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 25 14:41:31 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1EC610656D7 for ; Thu, 25 Sep 2008 14:41:31 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id B5B518FC8E for ; Thu, 25 Sep 2008 14:41:31 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so405532rvf.43 for ; Thu, 25 Sep 2008 07:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=x1Ll6d91K43JHKmNIuYy2hw/e7YtVUInOPCcuH2IpGw=; b=g8cc9qoCUB/U/W+NRI7J91YFsY8I6LPNnlsOO1pSJIl9W0IdWoAnhmMtI1nVk0I5sj oAVzweK+NzeQyWl5rm0KPwDJH/TAbNafWRjgI6VdPARqNcvvJgfDFL851C+DVMKsYmyi OqIKQcGd+vh8dW7WJn7kaH5bV0X2lRbofRr5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=rShiiTG+l+whRf46TzjYvA+o+oNIWRC4zFF4zOCRARKKjEdnKT0BxJP49rrSnVmk3/ 4WmMYUa7/lSZ3MoJ2NweAB/IUTbRzQbf9nYFBcunD5BTAuZrfwrxhjAqRjpudpngyeGV 5DqmFPwJkJQZiAHutgb1DqE6sksu/vHsn14rU= Received: by 10.141.37.8 with SMTP id p8mr4141325rvj.256.1222353690505; Thu, 25 Sep 2008 07:41:30 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Thu, 25 Sep 2008 07:41:30 -0700 (PDT) Message-ID: <3a142e750809250741j7b9003e4q539618d1c9407def@mail.gmail.com> Date: Thu, 25 Sep 2008 16:41:30 +0200 From: "Paul B. Mahol" To: "John Hay" In-Reply-To: <20080922132500.GA25677@zibbi.meraka.csir.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080922132500.GA25677@zibbi.meraka.csir.co.za> Cc: freebsd-mobile@freebsd.org Subject: Re: setting bssid in adhoc mode X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 14:41:32 -0000 On 9/22/08, 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 I had similar experience with STA mode, instead I use ap (ap is alias for bssid, at least it works in STA mode) I never bothered is this bug in manual page, ifconfig or in something else ...