Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2008 12:20:15 +0100 (CET)
From:      Per Hedeland <per@hedeland.org>
To:        ulrich@pukruppa.net
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Qemu: bridging on FreeBSD 7.0-STABLE
Message-ID:  <200803091120.m29BKFbG077855@pluto.hedeland.org>
In-Reply-To: <20080309074218.K1562@pukruppa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Ulrich Kruppa <ulrich@pukruppa.net> wrote:
>>
>> 3. now start qemu as user:
>> 	qemu-system-x86_64 -m 256 -cdrom
>> 		7.0-RELEASE-amd64-livefs.iso -net nic -net
>> 		tap,ifname=tap0,script=/usr/bin/true -boot d
>                                 ^^^^^^^^^^^^^^^^^^^^
>That's it: I need
> 	-net tap,script=/usr/bin/true
>
>I never had thought about that. I have tried
> 	script=/etc/qemu-ifup
>but to set it to true ... !?!

Well, 'exit 0' in the script would then have worked too:-) (you do
realize that the above runs /usr/bin/true *instead* of /etc/qemu-ifup, I
hope). It would have been somewhat interesting to know why the
(redundant, in your case) ifconfig in the script failed though - maybe
it was just that /sbin wasn't in $PATH at that point.

--Per



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803091120.m29BKFbG077855>