From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 8 22:27:28 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A8F616A401 for ; Sat, 8 Apr 2006 22:27:28 +0000 (UTC) (envelope-from ahebert@pubnix.net) Received: from mail.pubnix.net (Mail.pubnix.net [192.172.250.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E028643D45 for ; Sat, 8 Apr 2006 22:27:27 +0000 (GMT) (envelope-from ahebert@pubnix.net) Received: from [10.0.1.2] (aal.pubnix.net [64.235.216.13]) (authenticated bits=0) by mail.pubnix.net (8.13.6/8.13.6) with ESMTP id k38MRQZT035022 for ; Sat, 8 Apr 2006 18:27:26 -0400 (EDT) (envelope-from ahebert@pubnix.net) Message-ID: <443838CE.2020002@pubnix.net> Date: Sat, 08 Apr 2006 18:27:26 -0400 From: Alain Hebert Organization: PubNIX, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060130 X-Accept-Language: en-us, en MIME-Version: 1.0 References: <20060407225742.GA21619@odin.ac.hmc.edu> <20060407230247.GH16344@submonkey.net> <4437C9F6.5000008@samsco.org> <17463.65076.117616.563302@bhuda.mired.org> <443811EF.2020509@samsco.org> <17464.8074.937742.701480@bhuda.mired.org> <44383346.2030207@samsco.org> In-Reply-To: <44383346.2030207@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: Using any network interface whatsoever X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ahebert@pubnix.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 22:27:28 -0000 ...lazy... Not all problems can be fixed by somebody else. Work a little for a change. If you wish to name your interfaces switch to Windows. ifconfig -a | awk '/^[a-z0-9^]*:/ {i=$1} /inet / {ip=$2;net=$4;} /status/ {print i" "ip" - "net" - "$2}' em0: 10.0.1.1 - 0xff000000 - active em1: 69.x.x.x - 0xfffffff8 - active em2: 64.x.x.x - 0xfffffff8 - active em3: 192.168.3.1 - 0xffffff00 - active em4: 206.x.x.x - 0xfffffff0 - active Scott Long wrote: > Mike Meyer wrote: > >> In <443811EF.2020509@samsco.org>, Scott Long typed: >> >> Please trim the text you are repling to. >> > > Please, I'm tired of arbitrary email etiquette. > >> But where do you put the label on an ethernet interface? >> >> > > It sounds like your message is, "don't be like Linux." Fine, what do > you want instead? How does having 2 em devices in my system, named em0 > and em1, tell me by name which one is connected to which LAN? > > Scott > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > -- Alain Hebert ahebert@pubnix.net PubNIX Inc. P.O. Box 175 Beaconsfield, Quebec H9W 5T7 tel 514-990-5911 http://www.pubnix.net fax 514-990-9443