From owner-freebsd-current@FreeBSD.ORG Tue Mar 29 06:38:53 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 3FFB41065680 for ; Tue, 29 Mar 2011 06:38:53 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id ED898154AB3 for ; Tue, 29 Mar 2011 06:38:44 +0000 (UTC) Message-ID: <4D917E73.9080809@FreeBSD.org> Date: Mon, 28 Mar 2011 23:38:43 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110319 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-current@FreeBSD.org X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 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 06:38:53 -0000 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/