« Return to Thread: Qemu: bridging on FreeBSD 7.0-STABLE

Re: Qemu: bridging on FreeBSD 7.0-STABLE

by Per Hedeland :: Rate this Message:

Reply to Author | View in Thread

Peter Ulrich Kruppa <ulrich@...> 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
_______________________________________________
freebsd-emulation@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@..."

 « Return to Thread: Qemu: bridging on FreeBSD 7.0-STABLE