From owner-freebsd-emulation Thu Mar 21 6: 1:21 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mail7.nc.rr.com (fe7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id 4BDA337B400 for ; Thu, 21 Mar 2002 06:01:03 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Thu, 21 Mar 2002 09:00:32 -0500 Received: by i8k.babbleon.org (Postfix, from userid 111) id D0F1ABB39; Thu, 21 Mar 2002 09:00:23 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Sean Harding , Andrew Gallatin Subject: Re: Possible bug with mkdir() in linux emulation? Date: Thu, 21 Mar 2002 09:00:23 -0500 X-Mailer: KMail [version 1.3] Cc: freebsd-emulation@FreeBSD.ORG References: <20020311192804.GE7788@dogcow.org> <15503.28152.181832.704801@grasshopper.cs.duke.edu> <20020314072933.GJ19578@dogcow.org> In-Reply-To: <20020314072933.GJ19578@dogcow.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020321140023.D0F1ABB39@i8k.babbleon.org> 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 On Thursday 14 March 2002 02:29 am, Sean Harding wrote: | On Wed Mar 13 at 10:19:20 AM, Andrew Gallatin wrote: | > as to be able to find linux shared libs & config files. So your | > program is trying to make /compat/linux/home, which doesn't exist & | > which you do not have permission to create. | | Ahhh! Indeed. A symlink from /home to /compat/linux/home made it work. | | So, I guess my question is whether this is a bug or a feature. Obviously, | it's necessary in order for some things to work (shared libraries, | etc.). However, as the Mozilla bug demonstrates, it also breaks some | things that assume that /home is /home is /home. Does $HOME get | /compat/linux prepended to it when Linux binaries try to get my home | directory? I thought that the emulation algorithm was to use, upon receiving a request to open /foo, /compat/linux/foo if it existed, but otherwise to use /foo. In this case, /compat/linux/home did not exist (right?), so I don't see why it should have been using it. So either: a) I am confused, or b) It is indeed a bug. My money's on (a), but could anyhbody explain *how* I'm confused? | | sean -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) ME --> http://www.babbleon.org http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Mar 22 18:36:18 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id C704A37B417 for ; Fri, 22 Mar 2002 18:36:15 -0800 (PST) Received: from randy by rip.psg.com with local (Exim 4.00) id 16obOB-000HmW-00 for freebsd-emulation@freebsd.org; Fri, 22 Mar 2002 18:36:15 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd emulator list Subject: vmware nat windoze services Message-Id: Date: Fri, 22 Mar 2002 18:36:15 -0800 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 freebsd 4.5-stable host system running vmware2 with a virtual windows 98se under it other windoze systems can not 'see' the sharables etc. on the virtualized win98se. i suspect i need to nat win's ports or something. any clues? randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Mar 22 20:11:21 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id 01A7637B400 for ; Fri, 22 Mar 2002 20:11:19 -0800 (PST) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id g2N4BDi16648; Sat, 23 Mar 2002 05:11:13 +0100 Received: (nullmailer pid 4327 invoked by uid 1000); Sat, 23 Mar 2002 04:11:13 -0000 Date: Sat, 23 Mar 2002 05:11:13 +0100 From: Mark Santcroos To: Randy Bush Cc: freebsd emulator list Subject: Re: vmware nat windoze services Message-ID: <20020323051113.D384@laptop.6bone.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from randy@psg.com on Fri, Mar 22, 2002 at 06:36:15PM -0800 X-Handles: MS6-6BONE, MS18417-RIPE 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 On Fri, Mar 22, 2002 at 06:36:15PM -0800, Randy Bush wrote: > freebsd 4.5-stable host system running > vmware2 with a virtual > windows 98se under it > > other windoze systems can not 'see' the sharables etc. on the virtualized > win98se. i suspect i need to nat win's ports or something. any clues? I think you need bridging for that. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Mar 22 23:17:43 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 07DE437B41A for ; Fri, 22 Mar 2002 23:17:40 -0800 (PST) Received: from max ([12.254.136.195]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020323071739.YBFR1214.rwcrmhc54.attbi.com@max>; Sat, 23 Mar 2002 07:17:39 +0000 Message-ID: <02f701c1d23a$d4be6c30$0900a8c0@max> From: "John Nielsen" To: "Randy Bush" , "freebsd emulator list" References: Subject: Re: vmware nat windoze services Date: Sat, 23 Mar 2002 00:17:45 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 ----- Original Message ----- From: "Randy Bush" To: "freebsd emulator list" Sent: Friday, March 22, 2002 7:36 PM Subject: vmware nat windoze services > freebsd 4.5-stable host system running > vmware2 with a virtual > windows 98se under it > > other windoze systems can not 'see' the sharables etc. on the virtualized > win98se. i suspect i need to nat win's ports or something. any clues? When you install the VMware port, answer "yes" when it asks if you want to use netgraph bridging. Compile a kernel with bridging support (options BRIDGE). The VMnet module is by default initialized to use 192.168.0.1. It should use an address on a network that is NOT IN USE. If you use the 192.168.0.0/24 network then change this address in /usr/local/etc/vmware/config. Configure your virtual machine to use "host-only" networking. This merely tells VMware not to worry about bridging, since the FreeBSD host is doing that for you. Configure the guest as if it were another node on your real network. If you've already done all this then post again with more details. JN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Mar 23 7:31:15 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 1CD0737B400 for ; Sat, 23 Mar 2002 07:31:13 -0800 (PST) Received: from randy by rip.psg.com with local (Exim 4.00) id 16onU5-0008Yz-00; Sat, 23 Mar 2002 07:31:09 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "John Nielsen" Cc: freebsd emulator list Subject: Re: vmware nat windoze services References: <02f701c1d23a$d4be6c30$0900a8c0@max> Message-Id: Date: Sat, 23 Mar 2002 07:31:09 -0800 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 >> freebsd 4.5-stable host system running >> vmware2 with a virtual >> windows 98se under it >> >> other windoze systems can not 'see' the sharables etc. on the >> virtualized win98se. i suspect i need to nat win's ports or >> something. any clues? > > When you install the VMware port, answer "yes" when it asks if you want > to use netgraph bridging. Compile a kernel with bridging support > (options BRIDGE). The VMnet module is by default initialized to use > 192.168.0.1. It should use an address on a network that is NOT IN USE. > If you use the 192.168.0.0/24 network then change this address in > /usr/local/etc/vmware/config. > > Configure your virtual machine to use "host-only" networking. This > merely tells VMware not to worry about bridging, since the FreeBSD host > is doing that for you. Configure the guest as if it were another node > on your real network. > > If you've already done all this then post again with more details. i did not use netgraph, but otherwise pretty much the same. networking works, i can see shares on other hosts and do other net things. it's just that other hosts can not see my shares. i would think, possibly incorrectly, that netgrapgh should not make any difference here. randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Mar 23 9:25:12 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 38D0D37B41B for ; Sat, 23 Mar 2002 09:24:56 -0800 (PST) Received: from randy by rip.psg.com with local (Exim 4.00) id 16opGB-000BpH-00; Sat, 23 Mar 2002 09:24:55 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "John Nielsen" Cc: freebsd emulator list Subject: Re: vmware nat windoze services References: <02f701c1d23a$d4be6c30$0900a8c0@max> Message-Id: Date: Sat, 23 Mar 2002 09:24:55 -0800 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 >>> freebsd 4.5-stable host system running >>> vmware2 with a virtual >>> windows 98se under it >>> >>> other windoze systems can not 'see' the sharables etc. on the >>> virtualized win98se. i suspect i need to nat win's ports or >>> something. any clues? >> >> When you install the VMware port, answer "yes" when it asks if you want >> to use netgraph bridging. Compile a kernel with bridging support >> (options BRIDGE). The VMnet module is by default initialized to use >> 192.168.0.1. It should use an address on a network that is NOT IN USE. >> If you use the 192.168.0.0/24 network then change this address in >> /usr/local/etc/vmware/config. >> >> Configure your virtual machine to use "host-only" networking. This >> merely tells VMware not to worry about bridging, since the FreeBSD host >> is doing that for you. Configure the guest as if it were another node >> on your real network. >> >> If you've already done all this then post again with more details. > > i did not use netgraph, but otherwise pretty much the same. networking > works, i can see shares on other hosts and do other net things. it's > just that other hosts can not see my shares. i would think, possibly > incorrectly, that netgrapgh should not make any difference here. btw, i is my *guess that it is a problem with nat translation of broadcasts or some other combo of strange windows and nat bad habits. i am running natd as /sbin/natd -dynamic -u -n wi0 and ipfw.rules is the simple flush add divert natd all from any to any via wi0 add pass all from any to any randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message