From: Joe Menola <menola@sbcglobal.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] tun interface
Date: Thu, 26 Aug 2004 19:02:27 -0500 [thread overview]
Message-ID: <200408261902.28000.menola@sbcglobal.net> (raw)
In-Reply-To: <200408271137.23491.andrej@paradise.net.nz>
On Thu August 26 2004 6:37 pm, Andrej wrote:
> It is present, but qemu doesn't create anything under
> /dev/net/tun even with tun pre-loaded. Do I need to
> make the executable SUID or something?
By default qemu looks for /etc/qemu-ifup. This can be over ridden using -n
<path to network script>.
In either case this script needs to run as root. I use sudo for this.
My /etc/qemu-ifup
#!/bin/sh
sudo /sbin/ifconfig $1 <ip address>
script also needs to be executable.
This is only my understanding of the tun concept, and it works. :)
-jm
next prev parent reply other threads:[~2004-08-27 0:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-26 20:30 [Qemu-devel] tun interface Andrej
2004-08-26 21:20 ` Joe Menola
2004-08-26 23:37 ` Andrej
2004-08-26 23:44 ` Jim C. Brown
2004-08-26 23:52 ` Andrej
2004-08-27 0:02 ` Joe Menola [this message]
2004-08-27 6:43 ` Renzo Davoli
2004-08-27 23:15 ` Andrej
2004-08-28 5:37 ` Joe Menola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200408261902.28000.menola@sbcglobal.net \
--to=menola@sbcglobal.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).