From owner-freebsd-arm@freebsd.org Thu Nov 10 17:12:05 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 0FED5C39260 for ; Thu, 10 Nov 2016 17:12:05 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) (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 CA649CFE for ; Thu, 10 Nov 2016 17:12:04 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from fwd25.aul.t-online.de (fwd25.aul.t-online.de [172.20.26.130]) by mailout11.t-online.de (Postfix) with SMTP id 47CD54252A98 for ; Thu, 10 Nov 2016 18:11:56 +0100 (CET) Received: from [192.168.10.43] (Sx8Y-GZdYhHaOPCQkGtqHEll0cJmSQbuSUtQiWQioXsCzrcaD3BP8BknZaoeKdgZQZ@[86.56.56.128]) by fwd25.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1c4stD-0IT1eK0; Thu, 10 Nov 2016 18:11:51 +0100 From: diffusae Subject: Re: How to change MAC address on RPI-B? To: freebsd-arm@freebsd.org References: <000001d23a85$47646970$d62d3c50$@Kitz@xs4all.nl> <000001d23ad6$fce27e80$f6a77b80$@Kitz@xs4all.nl> Message-ID: Date: Thu, 10 Nov 2016 18:11:51 +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: <000001d23ad6$fce27e80$f6a77b80$@Kitz@xs4all.nl> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-ID: Sx8Y-GZdYhHaOPCQkGtqHEll0cJmSQbuSUtQiWQioXsCzrcaD3BP8BknZaoeKdgZQZ X-TOI-MSGID: 484f4e35-bb6e-44e3-8db7-db973d593e6a 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: Thu, 10 Nov 2016 17:12:05 -0000 Hi, I've tried both, but not at the same time. To override the burned-in MAC at bootime doesn't work on FreeBSD. It works on Linux, but only the promiscuous mode works as aspected with the FreeBSD RPi build. On 09.11.2016 23:16, John W. Kitz wrote: > JKi: Doesn't that depend on the sequence of events at boot time? I don't think so. The serial number is hard-coded on the RPi. As I know, you could change it, but with a parameter in CONFIG.TXT it doesn't work. That's also the reason, why I like to change it. I have used a RPI with a faulty power connector and suddenly the MAC address was changing after reboot (this happens only once). > JKi: I'm curious, are you just in the process of confirming that it can be > done or do you actually have some purpose for this and if yes, what is it? I've look into the FDT file with dtc and found the following string: mac-address = [00 00 00 00 00 00]; So, I guess it should be possible to change it. I tried it and the the auto configuration of the MAC remains. Maybe I've done something wrong. https://wiki.freebsd.org/FlattenedDeviceTree#How_to_convert_a_platform_to_FDT Regards,