From owner-freebsd-current@FreeBSD.ORG Tue Mar 29 07:33:13 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEE57106564A for ; Tue, 29 Mar 2011 07:33:13 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 18D928FC15 for ; Tue, 29 Mar 2011 07:33:12 +0000 (UTC) Received: by wwc33 with SMTP id 33so4580174wwc.31 for ; Tue, 29 Mar 2011 00:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=lWpbB96RF4Wu18XJLoMzlVpqk1fJ4X1MiE7CRUQjtvI=; b=riZLWTt1wQqk0FM/Tm5ouiqu3w+W7iiJCvr7W5miSqVNrYPh1hfrdpmOeKBAZ0xn/h SvLTOmujAzZVvYnbX4v3qmakjkNbsoaAulgMkxT05swWp8zd8rjFU6QSvfnUyvXl4rKX W2AgIp/pgHV3Jzp4FFPZGXljGRDhfGo6aBiOA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=qEYSAkhE/XDcRQCLpSOU3s0EsA33STIpunI53JqakdXtyfFO4o+wukUTWSRMiHeKO6 jmjwY/p2wU8EMq5bmInt6VNpSviOdOLIa62giMKUPIVLJM6preU4lLL8cBG6PYpsCcjT ZojzCzsnH9VzRFodJ+GsZyO5/JBhBxOwRJTDQ= MIME-Version: 1.0 Received: by 10.227.180.77 with SMTP id bt13mr4539942wbb.93.1301383991837; Tue, 29 Mar 2011 00:33:11 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.135.137 with HTTP; Tue, 29 Mar 2011 00:33:11 -0700 (PDT) In-Reply-To: <4D917E73.9080809@FreeBSD.org> References: <4D917E73.9080809@FreeBSD.org> Date: Tue, 29 Mar 2011 15:33:11 +0800 X-Google-Sender-Auth: 4KJ9JsRAt1HFu-ViuVgoQEhGRkU Message-ID: From: Adrian Chadd To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: How can I clone a mac address on wlan0? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 07:33:13 -0000 The way I'd debug this (without being a developer) is: * get another laptop with say an ath card; * put that interface into monitor mode; * tcpdump -vveni wlan0 -y IEEE802_11_RADIO | grep -v Beacon Then try associating to the access point and see what station MAC it's sending in its packets. adrian On 29 March 2011 14:38, Doug Barton wrote: > For a variety of boring reasons I need to clone a mac address on wlan0. The > documented way to do this: > > ifconfig wlan0 create wlandev wpi0 wlanaddr 00:11:22:33:44:55:66 > > works in the sense that it sets up the interface with that mac, but then > the wlan0 interface never associates. Doing everything the same but omitting > the wlanaddr argument (which causes wlan0 to use the mac of the wpi0 device) > works. > > This also doesn't work in 8.2-RELEASE, so either we've got a long-standing > bug, or I'm doing something very wrong. The wpi0 card is an intel 3945abg, I > also have a couple of ath cards I can try (although so far they haven't > worked either). > > > Doug > > -- > > Nothin' ever doesn't change, but nothin' changes much. > -- OK Go > > Breadth of IT experience, and depth of knowledge in the DNS. > Yours for the right price. :) http://SupersetSolutions.com/ > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >