From nobody Wed Sep 20 18:25:33 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RrRmb2pQ8z4v1Gj for ; Wed, 20 Sep 2023 18:25:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-54.consmr.mail.gq1.yahoo.com (sonic316-54.consmr.mail.gq1.yahoo.com [98.137.69.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrRmb1FmNz3Rbx for ; Wed, 20 Sep 2023 18:25:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695234349; bh=rcg5++6a7+M5LHsSqB/RyMaCnrKKGbKr3zr2PBtDKLY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=rYFNmNWzyWQd4rGpGqWqU24VP3qJqcm9ZgDYyG91gn0/H5hWU6iN/GaHvKd+tcWnNdzpy98lvjwztQN+qt8tGgO3bRGqCjfZK0txU0O2X6YbPbAXR2BElWo73hzF8CN/zZhJEDb4UHFd76QJnn7gOKUglwmIYHkdvClsNfK9PjPqH1uF+M0fX6WmpYlqckEY5FwsJHYZ2eq08by1R1ihrNSag+ZuYQYlE0/oAxKRUF9Fnl//m/r7dmATGgzG6o01Gj09FG9X07DVF1nBFQeA3o/FVCYp+Au/mvQZTfwxnLo1DXympHvMI0e59lCJaDQpJmrg5WlTBXmmU6ejVrr/Fw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695234349; bh=VtoyCV1VHxGqV8FHGjYCYt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UwF1. XmieUn.zyMWue_ammKx6NL2H4iP0gWkgvnNYFjAmtS7KFY4i9vCCN49cvtmj9lZFAGiy8OjSmQ2N W0WpLPhykHBz9XLbG9Pd4ObvpqCXQ_5mPbrQIcNthjh9XDlc50ais9fFiLIkQyOLXxDydAGehTBN RXgaVypf0W_Xdf6wEKLZ_IET1hFAy0IOt.R32cZlisoTdmfZeF7oE0BAv7igy0tjssLJeqK2GMYn gMy1cpwVn8kP2PXqYLKWPCZ2TthIL.lptdECJpvGlVLdP_hVtDB5PNWkZYRUwSEGkUlB2rvR05Xl 74bT4ZPWXeMtjQQn2hFKIEJh5mYSQPnhSi9g0Jua5UoML7nUAY1nqaCMBY49lr7ieOMbDEd3lWPq bjDHHlh..kpQD.WOvigQOOivPk0X6vRI3cf.sq9JbGPvmngfK6Pay5_cvYU4W9j1Ep1au2i6l54d Xiv44GephHfUsBa4i0Ce.RPb6AKcKZLfn95BGxe4drZLnOju6X6zPw1Z0vP3WfCigCViUi3IZ6Dk e_kABWrRrvJgtMwGM.g.g7HQZXuFyJSI1zol_w3.mz7QkpcwDThiNssMMD43td6ZZkvKkmqv7 X-Sonic-MF: X-Sonic-ID: d13311f4-3cbf-40d7-8f38-d098a95ccaa6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Wed, 20 Sep 2023 18:25:49 +0000 Received: by hermes--production-ne1-6cbd549489-jfw92 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e1b0b667937df069837768bf39ebd8d7; Wed, 20 Sep 2023 18:25:45 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Getting a stable MAC address for a RPI CM3+ with ue0 interface From: Mark Millard In-Reply-To: <3C1032FF-B914-4863-8A03-759A8B4BE216@hausen.com> Date: Wed, 20 Sep 2023 11:25:33 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <77E70D30-8E7D-42DC-A041-3A783E1C6908@yahoo.com> References: <3C1032FF-B914-4863-8A03-759A8B4BE216@hausen.com> To: "Patrick M. Hausen" X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4RrRmb1FmNz3Rbx On Sep 20, 2023, at 10:53, Patrick M. Hausen wrote: Hi folks, > now that 14 is in beta and there are packages (yeah!) I try to = reactivate my > TuringPi 1 cluster. This little thing is 7 RPI CM3+ with a common = power > supply, one USB ethernet for each of them and a switch with a gigabit > uplink to the outside world. >=20 > I noticed that the MAC address changes with every reboot, which is > more than slightly annoying. I'd like to have the standard RPI MAC > address calculated like this for each of my CM3+: >=20 > 0xb827eb000000 | ( & 0xffffff) >=20 > Linux does this by default in every distribution I came accross. > Isn't this "the way" for RPIs? >=20 > The problem: whenever I try to set the MAC address via >=20 > /etc/start_if.ue0: >=20 > /sbin/ifconfig $1 line b8:27:eb:11:22:33 >=20 > I lose network connectivity. I found some older discussion (for = FreeBSD 11) > suggesting to set promisc - that would match my observation that I > see DHCP requests coming from the PI (with correct MAC address) and > answers from my OPNsense, but the latter do not seem to reach the PI. >=20 > What is the correct way to get any stable MAC address and why don't > we do it like Linux does, which for once is perfectly sensible, IMHO. Quoting a post from a "Raspberry Pi Engineer & Forum Moderator" (PhilE) from https://forums.raspberrypi.com/viewtopic.php?t=3D327562 : QUOTE Re: /boot/cmdline.txt help Thu Jan 13, 2022 8:35 am And on all Pis you can use the config.txt setting "force_mac_address": force_mac_address=3Daa:bb:cc:dd:ee:ff END QUOTE That makes the live dtb match and is the earliest assignment available, before any external visability. =3D=3D=3D Mark Millard marklmi at yahoo.com