From owner-freebsd-arm@freebsd.org Tue Nov 15 22:25:51 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F64EC44204 for ; Tue, 15 Nov 2016 22:25:51 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2345C1D35 for ; Tue, 15 Nov 2016 22:25:50 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from fwd16.aul.t-online.de (fwd16.aul.t-online.de [172.20.26.243]) by mailout09.t-online.de (Postfix) with SMTP id 7D85142727AD; Tue, 15 Nov 2016 23:25:47 +0100 (CET) Received: from [192.168.10.43] (bLQ5o8ZrwhiJ+0jzHewaAdZdj3bRXHzLMNbrx2f2jycBvTbziBtEuzcTXixgK1tZb0@[86.56.56.128]) by fwd16.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1c6mAl-20jbTE0; Tue, 15 Nov 2016 23:25:47 +0100 Subject: Re: How to change MAC address on RPI-B? To: Hans Petter Selasky , freebsd-arm@freebsd.org References: <005701d23a7d$71400630$53c01290$@Kitz@xs4all.nl> <20161110065105.77a19e3b@X220.alogt.com> <000c01d23b3a$c06e1ef0$414a5cd0$@Kitz@xs4all.nl> <20161111094930.46f55a60@X220.alogt.com> <000f01d23c14$da3a6c00$8eaf4400$@Kitz@xs4all.nl> <445c56a4-2c35-cb4c-f729-950d4e758d8d@selasky.org> <8cc9d3c6-1c70-c9ac-a3a2-29f73e5ea9c3@t-online.de> <471aebe5-b890-4277-3269-977f8a8fefd4@selasky.org> From: diffusae Message-ID: <80880af2-b1cd-5ff9-d089-2722ee8c3bca@t-online.de> Date: Tue, 15 Nov 2016 23:25:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <471aebe5-b890-4277-3269-977f8a8fefd4@selasky.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-ID: bLQ5o8ZrwhiJ+0jzHewaAdZdj3bRXHzLMNbrx2f2jycBvTbziBtEuzcTXixgK1tZb0 X-TOI-MSGID: 25e0a2fe-d26e-41bf-ab3f-23866c763011 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2016 22:25:51 -0000 Hi! Thanks again for your patch. Sorry for the delay. You don't have to hurry. I've started a "buildword" on RPI-B and it tooks 3.5 days until it was finished. :-) I've revert the previous patch and applied the new one. Build the the new kernel and modules and copied the kernel and the relevant driver to /boot/kernel. It works on the fly. Now you can change the MAC address at boot. So settings in /etc/rc.conf: ifconfig_ue0="ether 00:11:22:33:44:55" or in /etc/start_if.ue0: /sbin/ifconfig $1 lladdr 00:11:22:33:44:55 works for me. With IPv6 you better have to use /etc/start_if.name. I am not sure, but do you like to commit the patch to head, so it will be available in FreeBSD 12? That would be great. Best regards, On 13.11.2016 08:42, Hans Petter Selasky wrote: > On 11/12/16 23:45, diffusae wrote: >> So, unfortunately it doesn't solve the problem. Or maybe I did something >> wrong? > > I patched the wrong IOCTL, sorry. I have a RPI2 myself, and will fix > this issue later today. Stay tuned. Meanwhile, can you test the new > attached patch and revert the previous one? > > --HPS