From owner-freebsd-net@FreeBSD.ORG Sat May 3 07:43:36 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31C0C37B401 for ; Sat, 3 May 2003 07:43:36 -0700 (PDT) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C88643FCB for ; Sat, 3 May 2003 07:43:35 -0700 (PDT) (envelope-from mike@sentex.net) Received: from house (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.12.9/8.12.6) with SMTP id h43EhaRK083879; Sat, 3 May 2003 10:43:36 -0400 (EDT) (envelope-from mike@sentex.net) From: Mike Tancsa To: Vincent Jardin Date: Sat, 03 May 2003 10:43:38 -0400 Message-ID: <09l7bv4bp8vvngc0j85tgqob0u3b0vl7pr@4ax.com> References: <_MzYgD.A.O9P._h8s-@coal.sentex.ca> In-Reply-To: <_MzYgD.A.O9P._h8s-@coal.sentex.ca> X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable cc: freebsd-net@freebsd.org Subject: Re: Howto rename an interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 14:43:36 -0000 It sounds a bit messy to maintain. Perhaps it would be easier to just write wrapper programs around those that you use if really need be. e.g.= a local copy of netstat,ifconfig and route and have those executed first in your path. =20 ---Mike On Sat, 3 May 2003 15:47:34 +0200, in sentex.lists.freebsd.net you wrote: >I would like to rename the network interfaces. More particularly, I = would like=20 >to control the numbers in the name and to remove the constraints. > >For example, what are the issues about renaming my 'vr0' interface to = eth1-3=20 >or DSL-WAN that does not have a ifunit within its name ? > >I think about the following issues, what am I forgetting ? > - update all the sockaddr_dl > - many drivers, in fact all of them, log with %s%d, ifname, ifunit > - (add a message on the routing socket) > >Regards, > Vincent >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" Mike Tancsa (mike@sentex.net)=09 http://www.sentex.net/mike