From owner-freebsd-arm@freebsd.org Sat Nov 12 15:46:30 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 1D114C3D3AE for ; Sat, 12 Nov 2016 15:46:30 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from lb3-smtp-cloud3.xs4all.net (lb3-smtp-cloud3.xs4all.net [194.109.24.30]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AE82813DF for ; Sat, 12 Nov 2016 15:46:28 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from picard ([82.95.89.208]) by smtp-cloud3.xs4all.net with ESMTP id 73lE1u0084VixDu013lF1x; Sat, 12 Nov 2016 16:45:16 +0100 Reply-To: From: "John W. Kitz" To: References: <001301d23cd9$5775bf70$06613e50$@Kitz@xs4all.nl> In-Reply-To: Subject: RE: How to change MAC address on RPI-B? Date: Sat, 12 Nov 2016 16:45:20 +0100 Message-ID: <001401d23cfb$c6c6f070$5454d150$@Kitz@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdI884OdiwMqWZkYQJKvTS8ptzY4JgAAVHHg Content-Language: en-us 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: Sat, 12 Nov 2016 15:46:30 -0000 Reiner, > "How-To-Repeat: /etc/rc.conf > ifconfig_re0="inet 192.168.0.2/24" > ifconfig_re0_alias0="ether 00:02:1a:2b:3c:4d" That's another way you can set the MAC in /etc/rc.conf > Did you try this command-by-command through the CLI and have the > output of that? Yes, but I can't use alias or add parameter with the ether, lladdr or link options. JKi: As per the man-pages of ifconfig ether, lladdr and link may be used interchangeably and are all interpreted to mean one and the same thing. Than it says: ifconfig: ether: bad value. JKi: That was exactly what I tried to convey in my previous email. As per the man pages of ifconfig 'alias' and '-alias' are intended to respectively add and remove a, what in Cisco terminology is referred to as a, secondary IP address to or from an interface. Since both 'ether' and the notation of the address in "ifconfig_re0_alias0="ether 00:02:1a:2b:3c:4d" pertain to a MAC address this is behavior that one IMHO would expect as per the man-pages, assuming 'alias' in 'ifconfig_re0_alias0' is interpreted as a command parameter rather than as a mere label. My hands-on experience in the area of UNIX is limited and dated, so these were my 5 cents worth of suggestions. Sorry I can't help you any further at this time. Regards, Jk.