From owner-freebsd-emulation@FreeBSD.ORG Sat Jun 2 14:21:38 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EC7C16A421 for ; Sat, 2 Jun 2007 14:21:38 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mx1.freebsd.org (Postfix) with ESMTP id D027413C480 for ; Sat, 2 Jun 2007 14:21:37 +0000 (UTC) (envelope-from per@hedeland.org) Received: from pluto.hedeland.org (localhost [127.0.0.1]) by pluto.hedeland.org (8.13.6/8.13.1) with ESMTP id l52Dte2M025182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Jun 2007 15:55:40 +0200 (CEST) (envelope-from per@pluto.hedeland.org) Received: (from per@localhost) by pluto.hedeland.org (8.13.6/8.13.1/Submit) id l52DtdDj025181; Sat, 2 Jun 2007 15:55:39 +0200 (CEST) (envelope-from per) Date: Sat, 2 Jun 2007 15:55:39 +0200 (CEST) From: Per Hedeland Message-Id: <200706021355.l52DtdDj025181@pluto.hedeland.org> To: scottro@nyc.rr.com In-Reply-To: <20070602123424.GA8977@mail.scottro.net> X-Scanned-By: MIMEDefang 2.48 on 10.1.1.1 Cc: emulation@freebsd.org Subject: Re: Running "Windows Emulation" headless ... possible? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 14:21:38 -0000 Scott Robbins wrote: > >On Sat, Jun 02, 2007 at 01:03:37PM +0200, Per Hedeland wrote: >> >> Hm? If you mean that it is required to give it an IP address in CURRENT, >> that's hardly a feature:-) - and I still believe you're wrong about that >> requirement, see below. It's certainly *possible* to do it in 6.x too. > >(You're right, see below). > >I should have added, also NOT using the suggestions in the acidos howto, >as the sysctl variables he gives are no longer available in CURRENT. And good riddance, as far as I'm concerned.:-) But we were talking about things that were only possible in CURRENT... Anyway, the point is that the ifconfig method works at least from 6.1 onwards - I can say for sure that it doesn't in 5.3, as that is what the box I'm writing this on runs, and I think it's a pretty safe bet to say that it works in 6.0 but not earlier. >> So does mine - of course, that's the line that is causing the error >> message - but it doesn't cause any actual problems. > >Now, in my case, and there may be something (else) that I've missed, if >tap is open I get that device exists error and qemu won't start. Humm, earlier you said that the networking failed... If qemu fails altogether, I think I see the reason: I actually have an 'exit 0' at the end of my qemu-ifup script, forgot to mention that before... - try it, I think you'll like it.:-) Without that, the non-zero exit code from 'ifconfig addm' becomes the exit code of the script, and qemu probably concludes that the network setup failed altogether. (Which is probably the reason I added that 'exit 0', but I have no memory of that...:-) --Per Hedeland