Date: Mon, 22 Jul 2002 13:52:10 -0400 (EDT) From: Joe O <joeo@cracktown.com> To: Glenn Johnson <gjohnson@srrc.ars.usda.gov> Cc: emulation@FreeBSD.ORG Subject: Re: linux binary looking for eth0 Message-ID: <20020722134751.Q47732-100000@clubfoot.cracktown.com> In-Reply-To: <200207221710.g6MHAK9C046154@node1.cluster.srrc.usda.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020722134751.Q47732-100000>