From owner-freebsd-questions@FreeBSD.ORG Sun May 8 23:21:35 2005 Return-Path: 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 319B916A4E6 for ; Sun, 8 May 2005 23:21:35 +0000 (GMT) Received: from web60719.mail.yahoo.com (web60719.mail.yahoo.com [209.73.178.207]) by mx1.FreeBSD.org (Postfix) with SMTP id AD3C743D3F for ; Sun, 8 May 2005 23:21:34 +0000 (GMT) (envelope-from uservr@yahoo.com) Received: (qmail 19604 invoked by uid 60001); 8 May 2005 23:21:34 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=CUdosm86JOPR/hT6hQv1F+vYBGqylSxqOjvz9PyixzpcuBDrfNr+WLepCbre6Jfo3u+ppRPEiZMhXuydxcrXrYSo5pT0HptOEUSSdEmt2Rt4jmkHmh25Lv6tmqeiux6yxPSgmbfDYhfnRG1ku3R9/xLe4YIN98kpohTCgD2UBaM= ; Message-ID: <20050508232134.19602.qmail@web60719.mail.yahoo.com> Received: from [66.95.21.165] by web60719.mail.yahoo.com via HTTP; Sun, 08 May 2005 16:21:34 PDT Date: Sun, 8 May 2005 16:21:34 -0700 (PDT) From: User vr To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: scripting sysinstall / how to get NIC name in config file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2005 23:21:35 -0000 hi, i'm trying to customize a CD for remote office installations and one of the problems I need to figure out is how to get the name for the first network interface to stick it in install.cfg. In linux it will always be eth0. In my case I am dealing with either xl, fxp, rl or ed interfaces, but I don't know what hardware will be used before hand. Is there a way to reference the first ethernet interface in sysinstall config file without knowing what its exact name will be? thanks in advance, slava. Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html