From owner-freebsd-current@FreeBSD.ORG Wed Apr 1 12:03:55 2009 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 DD33B10657E5 for ; Wed, 1 Apr 2009 12:03:55 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 427088FC08 for ; Wed, 1 Apr 2009 12:03:55 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from vhoffman.lon.namesco.net (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.3/8.14.0) with ESMTP id n31C5u1r018059 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 1 Apr 2009 13:05:57 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <49D35828.6060703@unsane.co.uk> Date: Wed, 01 Apr 2009 13:03:52 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 MIME-Version: 1.0 To: pluknet References: <1128196a0904010150v572edbd4sb9ab080e2cd8bbb1@mail.gmail.com> In-Reply-To: X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, XkuIPjIedEYT XkuIPjIedEYT Subject: Re: How can I change the MAC address of ath0? 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: Wed, 01 Apr 2009 12:04:20 -0000 On 1/4/09 09:59, pluknet wrote: > 2009/4/1 XkuIPjIedEYT XkuIPjIedEYT : > >> I'm running the FreeBSD 8.0-CURRENT r190504. >> >> # dmesg | grep ^ath0 >> ath0: mem 0xf4000000-0xf400ffff irq 18 at device 11.0 on pci0 >> ath0: [ITHREAD] >> ath0: AR2413 mac 7.9 RF2413 phy 4.5 >> >> changing the MAC address directly on ath0 didn't work: >> >> # ifconfig ath0 link 00:aa:bb:cc:dd:ee >> ifconfig: ioctl (SIOCAIFADDR): Operation not supported by device >> >> # ifconfig ath0 ether 00:aa:bb:cc:dd:ee >> ifconfig: ioctl (SIOCAIFADDR): Operation not supported by device >> > > It looks that something was changed in this area in r190508. > > I dont have a current system handy so this is conjecture, since the ath device isnt used directly and instead you use cloned wlan devices, could you instead change the MAC address assigned to that instead? Vince