From owner-freebsd-emulation Tue Jun 12 8:28:16 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from ambrisko.com (adsl-64-174-51-42.dsl.snfc21.pacbell.net [64.174.51.42]) by hub.freebsd.org (Postfix) with ESMTP id BC5A437B408 for ; Tue, 12 Jun 2001 08:28:10 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.11.3/8.11.3) id f5CFQsp46243 for freebsd-emulation@FreeBSD.ORG; Tue, 12 Jun 2001 08:26:54 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200106121526.f5CFQsp46243@ambrisko.com> Subject: FYI, multiple vmwares is possible but is a hack To: freebsd-emulation@FreeBSD.ORG Date: Tue, 12 Jun 2001 08:26:53 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 I have 2 vmwares running. I got the second one running by creating another vmmon with a different name but same number of characters: a21p% ls -l /compat/linux/dev/vmmo* crw-r--r-- 1 root wheel 200, 1 Jun 11 11:00 /compat/linux/dev/vmmo2 crw-r--r-- 1 root wheel 200, 0 May 9 14:32 /compat/linux/dev/vmmon a21p% Then I ran this Perl script to patch the "vmmo2" in places of "vmmon": #!/usr/local/bin/perl open(VMWARE,"/usr/local/lib/vmware/bin/vmware") || die; open(DUP,">/usr/local/lib/vmware/bin/vmware.dup") || die; while(){ s,/dev/vmmon,/dev/vmmo2,; print DUP; } close VMWARE; close DUP; system("chmod 4555 /usr/local/lib/vmware/bin/vmware.dup"); Then I modified the vmware script to fire up: /usr/local/lib/vmware/bin/vmware.dup Now I have 2 vmwares running with networking etc. I define non-conflicting devices and use netgraph to tie the various networks together. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message