From owner-freebsd-questions@FreeBSD.ORG Tue Aug 1 16:27:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0A2616A4DF for ; Tue, 1 Aug 2006 16:27:57 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 560BA43D6E for ; Tue, 1 Aug 2006 16:27:52 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.143] (helo=anti-virus02-10) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1G7x5z-0000QH-I2; Tue, 01 Aug 2006 17:27:51 +0100 Received: from [82.41.35.166] (helo=[192.168.0.2]) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1G7x5w-0007eC-Tt; Tue, 01 Aug 2006 17:27:48 +0100 Message-ID: <44CF8104.6080909@dial.pipex.com> Date: Tue, 01 Aug 2006 17:27:48 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: User Freebsd References: <20060728164526.E27679@ganymede.hub.org> <87slklj9hu.fsf@photon.homelinux.org> <20060729021007.F27679@ganymede.hub.org> <44CD41EC.6030605@freebsd.org> <20060730233839.I27679@ganymede.hub.org> <44CDAA98.3030702@freebsd.org> <44CDE02F.4090604@dial.pipex.com> <44CE7DD0.9070902@childeric.freeserve.co.uk> <871ws1v261.fsf@photon.homelinux.org> <20060731220830.B27679@ganymede.hub.org> <20060801120058.O27679@ganymede.hub.org> In-Reply-To: <20060801120058.O27679@ganymede.hub.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Gotta start somewhere ... how many of us are really out there? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2006 16:27:58 -0000 User Freebsd wrote: > Actually, using ifconfig wouldn't work ... it would give unique, but > as soon as you add another IP (ie. alias), the ID would change ... > you'd need to do something like: > > ifconfig | grep ether | sha256 | md5 > > since the 'ether' would never change ... I think you'd want ifconfig | grep ether | head -1 | sha256 | md5 otherwise you are reliant on *none* of the ethernet cards changing rather than just the first not changing. Also s/never/rarely/. I don't change my ethernet cards every day, but every once in a while it will happen. But I would have said that was good enough. --Alex