* [Qemu-devel] Internet access from qemu
@ 2005-11-14 17:47 Dave Feustel
2005-11-14 18:18 ` André Braga
0 siblings, 1 reply; 7+ messages in thread
From: Dave Feustel @ 2005-11-14 17:47 UTC (permalink / raw)
To: qemu-devel
I've got qemu 6.1 running on OpenBSD 3.7.
I'm running the OpenBSD 3.7 image file which
I got from free.oszoo.net.
I want to be able to access the internet from qemu.
I am now able to access the apache website on the host
I have set up pf+nat for the private address of 10.0.0.2
used by qemu, but I cannot make contact with the internet.
Here is my pf ruleset, adapted from the example on page 141
of Artymiak's _Building Firewalls..._, 2nd ed.
How do I fix it to enable ip traffic between qemu and the internet?
Thanks,
Dave Feustel
---my pf ruleset-----
scrub fragment reassemble
scrub reassemble tcp
NoRouteIPs = "{ 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12 }"
ExtIF = "xl0"
ext_ad = "(xl0)"
prv_ad = "10.0.0.0/24"
nat_proto = "{tcp, udp, icmp}"
nat on $ExtIF inet proto $nat_proto \
from $prv_ad to any -> $ext_ad
block in quick on $ExtIF from $NoRouteIPs to any
block out quick on $ExtIF from any to $NoRouteIPs
--
Tired of having to defend against Malware?
You know: trojans, viruses, SPYWARE, ADWARE,
KEYLOGGERS, rootkits, worms and popups.
Then Switch to OpenBSD with a KDE desktop!!!
***NOW with Virtual PC OS support via QEMU!***
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Internet access from qemu
2005-11-14 17:47 [Qemu-devel] Internet access from qemu Dave Feustel
@ 2005-11-14 18:18 ` André Braga
2005-11-14 18:44 ` Dave Feustel
0 siblings, 1 reply; 7+ messages in thread
From: André Braga @ 2005-11-14 18:18 UTC (permalink / raw)
To: dfeustel, qemu-devel
Dear Dave,
The list you are posting your messages to is a developer's list. It's
not supposed to be a toubleshooting list for anything else than real
undesired behaviour (i.e., software bugs).
If you need assistance to configure QEMU on your operating system,
please visit the QEMU Users Forum:
http://qemu.dad-answers.com/
I'm positive you'll find there experienced users willing devote much
more time to assist you then the QEMU developers are able to.
Best wishes,
André
--
"The user-friendly computer is a red herring. The user-friendliness of
a book just makes it easier to turn pages. There's nothing
user-friendly about learning to read."
-Alan Kay
On 11/14/05, Dave Feustel <dfeustel@verizon.net> wrote:
> I've got qemu 6.1 running on OpenBSD 3.7.
> I'm running the OpenBSD 3.7 image file which
> I got from free.oszoo.net.
> I want to be able to access the internet from qemu.
>
> I am now able to access the apache website on the host
> I have set up pf+nat for the private address of 10.0.0.2
> used by qemu, but I cannot make contact with the internet.
>
> Here is my pf ruleset, adapted from the example on page 141
> of Artymiak's _Building Firewalls..._, 2nd ed.
> How do I fix it to enable ip traffic between qemu and the internet?
>
> Thanks,
> Dave Feustel
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Internet access from qemu
2005-11-14 18:18 ` André Braga
@ 2005-11-14 18:44 ` Dave Feustel
2005-11-14 19:08 ` André Braga
2005-11-14 20:19 ` Paul Brook
0 siblings, 2 replies; 7+ messages in thread
From: Dave Feustel @ 2005-11-14 18:44 UTC (permalink / raw)
To: André Braga; +Cc: qemu-devel
On Monday 14 November 2005 13:18, André Braga wrote:
>It's not supposed to be a toubleshooting list for anything else than real
>undesired behaviour (i.e., software bugs).
Thanks for the friendly advice - I aim to please.
Here's a real (but minor) bug -
When I boot the 3.7 openbsd image file from free.os.zoo.net
on my OpenBSD 3.7 system and start qemu 6.1,
everything works well *except* for the fact that the keyboard
keys are not all properly mapped. In particular, I have found
*no* keys which generate ":" or "#" in console mode. These
missing codes make using vi hard. Also, several keys map to
codes not indicated on the keys. the key marked "/" maps to "-"
and the "&" key maps to "/". Other keys map to British currency
symbol, etc which make me wonder if the qemu-simulated Openbsd
thinks I have a European keyboard (I have a U.S. keyboard).
I deal with these errors by starting up XWindows right away.
All the keycode problems seem to disappear in XWindows.
Getting qemu to run on OpenBSD was a Big Event for me. I hope to become
a qemu developer after I figure out how to get the internet access
issue resolved. I expect to write up some qemu how-to documents
almost immediately. I will be putting them up on my website unless
you have other suggestions.
Thanks again,
Dave Feustel
--
Tired of having to defend against Malware?
You know: trojans, viruses, SPYWARE, ADWARE,
KEYLOGGERS, rootkits, worms and popups.
Then Switch to OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Internet access from qemu
2005-11-14 18:44 ` Dave Feustel
@ 2005-11-14 19:08 ` André Braga
2005-11-14 20:07 ` Dave Feustel
2005-11-14 20:19 ` Paul Brook
1 sibling, 1 reply; 7+ messages in thread
From: André Braga @ 2005-11-14 19:08 UTC (permalink / raw)
To: dfeustel, qemu-devel
This was fixed in the 0.7 series with the addition of keymaps support.
I don't know what's the status of the OpenBSD port of QEMU, but I know
the one from FreeBSD works perfectly as long as you compile it from
the ports collection. You might want to use the port tarball
(http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/qemu/qemu.tar.gz?tarball=1)
to see what was needed to compile QEMU under FreeBSD and adapt the
necessary changes to OpenBSD.
I highly recommend this, because AFAICT the 0.6 series are no longer supported.
Best wishes,
André
--
"The user-friendly computer is a red herring. The user-friendliness of
a book just makes it easier to turn pages. There's nothing
user-friendly about learning to read."
-Alan Kay
On 11/14/05, Dave Feustel <dfeustel@verizon.net> wrote:
> On Monday 14 November 2005 13:18, André Braga wrote:
>
> >It's not supposed to be a toubleshooting list for anything else than real
> >undesired behaviour (i.e., software bugs).
>
> Thanks for the friendly advice - I aim to please.
> Here's a real (but minor) bug -
>
> When I boot the 3.7 openbsd image file from free.os.zoo.net
> on my OpenBSD 3.7 system and start qemu 6.1,
> everything works well *except* for the fact that the keyboard
> keys are not all properly mapped. In particular, I have found
> *no* keys which generate ":" or "#" in console mode. These
> missing codes make using vi hard. Also, several keys map to
> codes not indicated on the keys. the key marked "/" maps to "-"
> and the "&" key maps to "/". Other keys map to British currency
> symbol, etc which make me wonder if the qemu-simulated Openbsd
> thinks I have a European keyboard (I have a U.S. keyboard).
>
> I deal with these errors by starting up XWindows right away.
> All the keycode problems seem to disappear in XWindows.
>
> Getting qemu to run on OpenBSD was a Big Event for me. I hope to become
> a qemu developer after I figure out how to get the internet access
> issue resolved. I expect to write up some qemu how-to documents
> almost immediately. I will be putting them up on my website unless
> you have other suggestions.
>
> Thanks again,
> Dave Feustel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Internet access from qemu
2005-11-14 19:08 ` André Braga
@ 2005-11-14 20:07 ` Dave Feustel
0 siblings, 0 replies; 7+ messages in thread
From: Dave Feustel @ 2005-11-14 20:07 UTC (permalink / raw)
To: André Braga; +Cc: qemu-devel
On Monday 14 November 2005 14:08, André Braga wrote:
> This was fixed in the 0.7 series with the addition of keymaps support.
qemu 0.7.1 (or .2) is included in OpenBSD 3.8, but I have not got a cdrom
copy of 3.8 yet, so I am making do with 3.7 and .6.1 for the time being.
Physical booting from cdrom is broken in the OpenBSD port of qemu 0.6.1,
but booting from an iso image works.
> I don't know what's the status of the OpenBSD port of QEMU, but I know
> the one from FreeBSD works perfectly as long as you compile it from
> the ports collection. You might want to use the port tarball
> (http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/qemu/qemu.tar.gz?tarball=1)
I tried building the qemu source code from the qemu site on OpenBSD, but
the make stopped because, among other issues, there is no libutils.h on my system.
I googled a bit but did not find the file. I was informed via email that libutils.h is a
"linux thingie". I haven't gone any further with the qemu build since. I have been
instead concentrating on learning how to use qemu. The internet access problem is
hopefully my last hurdle. Then I start working on some how-to's and maybe get
serious about building qemu at home.
> to see what was needed to compile QEMU under FreeBSD and adapt the
> necessary changes to OpenBSD.
>
> I highly recommend this, because AFAICT the 0.6 series are no longer supported.
I want to get qemu to compile on OpenBSD so I can keep up with the latest version.
Thanks,
Dave
> Best wishes,
> André
--
Tired of having to defend against Malware?
You know: trojans, viruses, SPYWARE, ADWARE,
KEYLOGGERS, rootkits, worms and popups.
Then Switch to OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Internet access from qemu
2005-11-14 18:44 ` Dave Feustel
2005-11-14 19:08 ` André Braga
@ 2005-11-14 20:19 ` Paul Brook
2005-11-14 20:42 ` Dave Feustel
1 sibling, 1 reply; 7+ messages in thread
From: Paul Brook @ 2005-11-14 20:19 UTC (permalink / raw)
To: qemu-devel, dfeustel
On Monday 14 November 2005 18:44, Dave Feustel wrote:
> start qemu 6.1,
That's your first mistake. You're unlikely to get any particularly helpful
answers if you're still using such an old version of qemu. There have been
an awful lot of bugs fixed since 0.6.1
Paul
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] Internet access from qemu
2005-11-14 20:19 ` Paul Brook
@ 2005-11-14 20:42 ` Dave Feustel
0 siblings, 0 replies; 7+ messages in thread
From: Dave Feustel @ 2005-11-14 20:42 UTC (permalink / raw)
To: Paul Brook; +Cc: qemu-devel
On Monday 14 November 2005 15:19, Paul Brook wrote:
> On Monday 14 November 2005 18:44, Dave Feustel wrote:
> > start qemu 6.1,
>
> That's your first mistake.
That was not a mistake; that was (and still is) a start
until I can upgrade to OpenBSD 3.8 and its relatively
current version of qemu. I have started porting open
source software directly to my computer to get around
the 6-month upgrade cycle of OpenBSD. Some projects
KDE especially, are just too big for me to tackle. But
Qemu and QT are well within my capabilities. I expect
to get real busy with qemu since I have a long, long, *long*
held interest in simulators. Qemu is going to be a big
part of my life since it will make easy trying out on OpenBSD
all those Linux distros that come with each issue of Linux Format, etc.
I may even come up with some interesting enhancements
to qemu. We'll see in time.
> You're unlikely to get any particularly helpful
> answers if you're still using such an old version of qemu. There have been
> an awful lot of bugs fixed since 0.6.1
Glad to hear it! I really want to upgrade, I just can't right now.
Dave
--
Tired of having to defend against Malware?
You know: trojans, viruses, SPYWARE, ADWARE,
KEYLOGGERS, rootkits, worms and popups.
Then Switch to OpenBSD with a KDE desktop!!!
NOW with Virtual PC OS support via QEMU!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-11-14 20:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-14 17:47 [Qemu-devel] Internet access from qemu Dave Feustel
2005-11-14 18:18 ` André Braga
2005-11-14 18:44 ` Dave Feustel
2005-11-14 19:08 ` André Braga
2005-11-14 20:07 ` Dave Feustel
2005-11-14 20:19 ` Paul Brook
2005-11-14 20:42 ` Dave Feustel
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).