From nobody Wed Jul 06 00:04:08 2022 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 3EA051D07406 for ; Wed, 6 Jul 2022 00:04:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (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 4Ld0Bz28yvz4lP5 for ; Wed, 6 Jul 2022 00:04:11 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657065850; bh=6aRcrTmwjpRg5HU+rOPhrIvAOt8aDviQFMlSO6T3xy4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=W6yHhOrl/zX+mMDCXMLHYDFsXtOaLdy1IQxk51pE2M6J+Hfcdw7F2n7NGv19iM2bB+UF4ySxErDpBmaR8oAxK3SPJEbvQBgxwkmQXyAPEttFwpRH/B52MnqnWMOs8ddliLlnx/poAIjgRI7satrqK2DL3g4/d+ZOnguQBstnwPiRdn0gdYlD9Z7cxK9hPVZ5eMSagajza2ePVI79FLPS5/zfU9QUSUXOG6CHRceAo9sXP6L0LrtAIA9VnqtymVRbFSuEM2+Wc7/Td7wNPXj5tzIbidoprYo1nE5pAi/LKo+Fhbm39j5LeLO+i2PUXZadYY236POibYF9xXzu2j+j0g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657065850; bh=K7mcRdnmQ5P9/I7JNcghO0vXheXDIgdbyZYvOKzEveT=; h=X-Sonic-MF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slbbtC tVLeOpE66p3zpbomiuHmvHy5IDIXLEDeBtlOohuC3AUIjCFQ9GEjcwo.zSaZgq7YSjE3YQnyxhmK a5SsYiuYwwG8WLiWv9RM5a9wEItNYZTzut2a5jEanDOT91q3FEL7l9rjKAKoFuHLn3fC4AshNFmw mVeBEpVSUZTFABA39JTHkG5b68eKR7LNsr7l1G82VRBTSPfgDvTEj0uTj0OqQyNBQpFPODfkaw85 k7sf8PUbA7.U_vUia6yvL8ruFmvNOMnfmWYQ2HlmutjybrWnwt0sKoKyHDQ7qCjBr3Tq8WQVmN0L cBcsyeZi310jM1amGg59hIUebkbQ9v2YbUqEldNf63veBhs6YXqa.tA7jLAGB52b57s2aVic7NHM 1MsNs_xHPpkb_VwKTF.9pem23wa626hlDeuGVEjBgv_CqoHshN0AM1pzVjw6YHnp.cGMusaAamhz Ndvgq7czZQxtXwV6at4Re0YWonL9CMhT6TgLwbGYb8bO2sBy.CiDe3x8430ZRlIYjBsWAdGgSztY Oschajw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Wed, 6 Jul 2022 00:04:10 +0000 Received: by hermes--production-gq1-56bb98dbc7-gxlbk (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID db3844267180b8f08eb1b12f625fe76d; Wed, 06 Jul 2022 00:04:09 +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 14.0 \(3654.120.0.1.13\)) Subject: Re: duplicate MAC - Re: 13.1R problems on Pi3 From: Mark Millard In-Reply-To: <20220705233440.GA9228@www.zefox.net> Date: Tue, 5 Jul 2022 17:04:08 -0700 Cc: Ronald Klop , Karl Denninger , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6E65607C-C8DF-445A-A000-5553D9BDBC70@yahoo.com> References: <20220704003639.GA1165@www.zefox.net> <8820A9EC-A25E-4D0A-9F8F-52114E58B66F@yahoo.com> <6c377413-9430-54d2-3f92-1215055ca30a@denninger.net> <20220704152834.GA1771@www.zefox.net> <7ce87eef-ded5-8b00-3f11-14407b8af78d@denninger.net> <20220704182526.GB1771@www.zefox.net> <212C86C0-17DB-45F5-A59D-8BDC1932378E@yahoo.com> <1645012198.135.1657014956867@localhost> <6B24FF55-7010-40ED-B32B-AA46F0E7ED80@yahoo.com> <20220705233440.GA9228@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Ld0Bz28yvz4lP5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=W6yHhOrl; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.32:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.32:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-5, at 16:34, bob prohaska wrote: > On Tue, Jul 05, 2022 at 07:02:18AM -0700, Mark Millard wrote: >>=20 >>> So for you I would guess: >>>=20 >>> ifconfig_ue0=3D"ether ??:??:??:??:??:?? inet 50.1.20.28 netmask = 255.255.255.0" >>>=20 >>>=20 >=20 > I tried a few variants, all produced a dead connection.=20 >=20 > Using one like you suggested: >=20 > # ethernet address increased by 1 in the last digit > ifconfig ue0=3D"ether b8:27:eb:71:46:4f inet 50.1.20.28 netmask = 255.255.255.0" >=20 > produced a flood of errors during boot: > ifconfig: interface ue0=3Dether b8:27:eb:71:46:4f inet 50.1.20.28 = netmask 255.255.255.0 does not exist >=20 > There was clearly no network connectivity, but the serial console > remained responsive. The host sharing the same MAC address exhibited > no connectivity problems.=20 >=20 >=20 > Another suggestion was found in an old forum post, assigning the IP > in the usual fashion but adding an alias: >=20 > ifconfig_ue0=3D"inet 50.1.20.28 netmask 255.255.255.0"=20 > ifconfig_ue0_alias0=3D"link b8:27:eb:71:46:4f" > (trading ether for link had no effect) >=20 > resulted in the gateway (and everything else) being unreachable.=20 I also later sent notes about using the RPi* firmware's config.txt to assign a MAC address to an RPi* . Have you tried that? It is not in the main RPi* documentation but RPi* engineers talk about it in the forums. QUOTE I've found references to an undocumented control in config.txt : force_mac_address=3D??:??:??:??:??:?? See, for example, https://forums.raspberrypi.com/viewtopic.php?t=3D327562 Apparently, force_mac_address controls what value shows up in the device tree for what the ethernet0 alias points to in the device tree. Note that having a odd .dtb file could lead to force_mac_address not working. (The RPi* firmware reads the file and then makes a device tree with some modifications applied.) END QUOTE =3D=3D=3D Mark Millard marklmi at yahoo.com