From owner-freebsd-questions Fri Oct 31 20:44:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA29821 for questions-outgoing; Fri, 31 Oct 1997 20:44:03 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA29801 for ; Fri, 31 Oct 1997 20:43:57 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.7) with SMTP id UAA19987; Fri, 31 Oct 1997 20:42:26 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Fri, 31 Oct 1997 20:42:26 -0800 (PST) From: Doug White Reply-To: Doug White To: Yury Yaroshevsky cc: freebsd-questions@FreeBSD.ORG Subject: Re: UPS. In-Reply-To: <199710302346.BAA12426@info.dgtu.donetsk.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 31 Oct 1997, Yury Yaroshevsky wrote: > My hosts running under FreeBSD 2.1-Stable and 2.2-Stables. > This hosts connected at Net-UPS 700 from EXIDE Electronics. Exide makes UPSs now? Freaky. > On the CDROM not present software under FreeBSD, but present > software under Linux, SCO, etc ... Of course. > How I can uses this software under FreeBSD? > I can not run Linux binary. > After load lkm and run simply programm, > statically compiled on Linux, FreeBSD 2.1-STABLE say me: > > ./prog: Exec format error. Wrong Architecture. > > Can I manage NetUPS under FreeBSD? Which software may be used for this goal? 1. You need to enable Linux emulation. 2. You may need to run `brandelf -t Linux prog' to mark it as a Linux ELF binary. Run `file prog' first and make sure it's an ELF type binary first tho. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major