From owner-freebsd-emulation Mon Jul 22 10:38:46 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1B6F37B400 for ; Mon, 22 Jul 2002 10:38:44 -0700 (PDT) Received: from clubfoot.cracktown.com (clubfoot.cracktown.com [66.152.21.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F6BB43E3B for ; Mon, 22 Jul 2002 10:38:40 -0700 (PDT) (envelope-from joeo@cracktown.com) Received: from clubfoot.cracktown.com (localhost [127.0.0.1]) by clubfoot.cracktown.com (8.12.4/8.12.2) with ESMTP id g6MHqCaR047881; Mon, 22 Jul 2002 13:52:12 -0400 (EDT) (envelope-from joeo@cracktown.com) Received: from localhost (joeo@localhost) by clubfoot.cracktown.com (8.12.5/8.12.2/Submit) with ESMTP id g6MHqBNH047878; Mon, 22 Jul 2002 13:52:11 -0400 (EDT) X-Authentication-Warning: clubfoot.cracktown.com: joeo owned process doing -bs Date: Mon, 22 Jul 2002 13:52:10 -0400 (EDT) From: Joe O To: Glenn Johnson Cc: emulation@FreeBSD.ORG Subject: Re: linux binary looking for eth0 In-Reply-To: <200207221710.g6MHAK9C046154@node1.cluster.srrc.usda.gov> Message-ID: <20020722134751.Q47732-100000@clubfoot.cracktown.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Perhaps create a shell script called "ifconfig" in /compat/linux/sbin that calls the FreeBSD native ifconfig with the propper first argument... (not sure if child processes of linux binaries are allowed to run native binaries though) On Mon, 22 Jul 2002, Glenn Johnson wrote: > I have a Linux binary that I am trying to evaluate on a FreeBSD system, > using linux_base-7. The program is looking for eth0, which of course > does not exist. Here is the output I get when I try to run it: > > ifconfig: interface eth0 does not exist > ifconfig: interface eth0 does not exist > STOP 20 statement executed > > The program is calling ifconfig. Is there any way I can work around > this? Should I install the linux networking rpm(s)? > > Thanks. > > -- > Glenn Johnson > USDA, ARS, SRRC Phone: (504) 286-4252 > New Orleans, LA 70124 e-mail: gjohnson@srrc.ars.usda.gov > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message