Date: Sun, 9 Mar 2008 12:35:01 +0100 (CET) From: Peter Ulrich Kruppa <ulrich@pukruppa.net> To: Per Hedeland <per@hedeland.org> Cc: freebsd-emulation@freebsd.org Subject: Re: Qemu: bridging on FreeBSD 7.0-STABLE Message-ID: <20080309122956.O1562@pukruppa.net> In-Reply-To: <200803091120.m29BKFbG077855@pluto.hedeland.org> References: <200803091120.m29BKFbG077855@pluto.hedeland.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Mar 2008, Per Hedeland wrote: > 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:-) Actually: no :-( > (you do > realize that the above runs /usr/bin/true *instead* of /etc/qemu-ifup, I > hope). Actually: no (since I am no big shell script hacker). Old simple that I am, I believed it said, "Yes there is a script at the default place /etc/qemu-ifup. Do use it." > 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 > Greetings, Uli. ------------------------------------- Peter Ulrich Kruppa Wuppertal Germany
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080309122956.O1562>