Qemu: bridging on FreeBSD 7.0-STABLE
Per Hedeland
per at hedeland.org
Sun Mar 9 11:20:18 UTC 2008
Peter Ulrich Kruppa <ulrich at 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
More information about the freebsd-emulation
mailing list