* [gentoo-user] qemu can't connect to internet
@ 2005-10-25 13:31 赵光
2005-10-25 13:54 ` Willie Wong
2005-10-25 20:08 ` Nick Rout
0 siblings, 2 replies; 7+ messages in thread
From: 赵光 @ 2005-10-25 13:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 406 bytes --]
i am install qemu and active kqemu
using ./configure --enable-kqemu to configure and make&& make install
than i use a win98.img to start qemu(using NAT )
qemu -hda win98.img -m 256 -localtime -enable-audio -user-net
but in win98 can;t connect internet
did i qemu need some driver to support this function
did i need to recompile my kernel and add some new modules to support this
function
thx
[-- Attachment #2: Type: text/html, Size: 1461 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] qemu can't connect to internet
2005-10-25 13:31 [gentoo-user] qemu can't connect to internet 赵光
@ 2005-10-25 13:54 ` Willie Wong
2005-10-25 14:10 ` 赵光
2005-10-25 20:08 ` Nick Rout
1 sibling, 1 reply; 7+ messages in thread
From: Willie Wong @ 2005-10-25 13:54 UTC (permalink / raw
To: gentoo-user
On Tue, Oct 25, 2005 at 09:31:50PM +0800, ???? wrote:
> i am install qemu and active kqemu
> using ./configure --enable-kqemu to configure and make&& make install
> than i use a win98.img to start qemu(using NAT )
>
> qemu -hda win98.img -m 256 -localtime -enable-audio -user-net
>
> but in win98 can;t connect internet
> did i qemu need some driver to support this function
> did i need to recompile my kernel and add some new modules to support this
> function
> thx
If you are running on gentoo, why not just set the "kqemu" USE flag
and "emerge qemu"?
I have successively ran WinXP under qemu with the kernel accelerator
that way.
You WON'T need drivers or kernel modules. User-Net means exactly that:
the network is in user mode. Qemu connects to the network like any
other userland program on your host computer, and AFAIK qemu emulates
a fairly basic ethernet card, so Win98 should have built-in support
for it.
Now:
What do you mean by win98 cannot connect to the internet? Is your
host computer on a network? Did you set the Win98 system to use
DHCP? Does the Windows system running under the VM detect the
(virtual) Network Card?
W
--
Nothing is fool-proof to sufficiently talented fools.
Sortir en Pantoufles: up 3 days, 5:55
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] qemu can't connect to internet
2005-10-25 13:54 ` Willie Wong
@ 2005-10-25 14:10 ` 赵光
2005-10-25 18:42 ` Willie Wong
0 siblings, 1 reply; 7+ messages in thread
From: 赵光 @ 2005-10-25 14:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]
now,i use qemu to emulate arch linux,and set arch to use dhcp
but always can;t connect to internet
my host system was on net,can connect to internet,thx
did qemu have some configure argument to enable or disable net?
thx
2005/10/25, Willie Wong <wwong@princeton.edu>:
>
> On Tue, Oct 25, 2005 at 09:31:50PM +0800, ???? wrote:
> > i am install qemu and active kqemu
> > using ./configure --enable-kqemu to configure and make&& make install
> > than i use a win98.img to start qemu(using NAT )
> >
> > qemu -hda win98.img -m 256 -localtime -enable-audio -user-net
> >
> > but in win98 can;t connect internet
> > did i qemu need some driver to support this function
> > did i need to recompile my kernel and add some new modules to support
> this
> > function
> > thx
>
> If you are running on gentoo, why not just set the "kqemu" USE flag
> and "emerge qemu"?
>
> I have successively ran WinXP under qemu with the kernel accelerator
> that way.
>
> You WON'T need drivers or kernel modules. User-Net means exactly that:
> the network is in user mode. Qemu connects to the network like any
> other userland program on your host computer, and AFAIK qemu emulates
> a fairly basic ethernet card, so Win98 should have built-in support
> for it.
>
> Now:
> What do you mean by win98 cannot connect to the internet? Is your
> host computer on a network? Did you set the Win98 system to use
> DHCP? Does the Windows system running under the VM detect the
> (virtual) Network Card?
>
> W
>
> --
> Nothing is fool-proof to sufficiently talented fools.
> Sortir en Pantoufles: up 3 days, 5:55
> --
> gentoo-user@gentoo.org mailing list
>
>
[-- Attachment #2: Type: text/html, Size: 2117 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] qemu can't connect to internet
2005-10-25 14:10 ` 赵光
@ 2005-10-25 18:42 ` Willie Wong
0 siblings, 0 replies; 7+ messages in thread
From: Willie Wong @ 2005-10-25 18:42 UTC (permalink / raw
To: gentoo-user
On Tue, Oct 25, 2005 at 10:10:40PM +0800, ???? wrote:
> now,i use qemu to emulate arch linux,and set arch to use dhcp
> but always can;t connect to internet
> my host system was on net,can connect to internet,thx
>
> did qemu have some configure argument to enable or disable net?
> thx
>
Shouldn't be. According to Fabrice Bellard, if you are compiling by
hand, ./configure should suffice. But since it doesn't work for you,
maybe you need to look into the makeFile to see?
W
--
Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd
be sitting around in darkened rooms munching pills and listening to repetitive
music.
Sortir en Pantoufles: up 3 days, 10:49
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] qemu can't connect to internet
2005-10-25 13:31 [gentoo-user] qemu can't connect to internet 赵光
2005-10-25 13:54 ` Willie Wong
@ 2005-10-25 20:08 ` Nick Rout
2005-10-26 0:12 ` 赵光
1 sibling, 1 reply; 7+ messages in thread
From: Nick Rout @ 2005-10-25 20:08 UTC (permalink / raw
To: gentoo-user
In windows did you enable the network functions?
check the IP address with
start|run|winipcfg
(thats in windows)
On Tue, 25 Oct 2005 21:31:50 +0800
ÕÔ¹â wrote:
> i am install qemu and active kqemu
> using ./configure --enable-kqemu to configure and make&& make install
> than i use a win98.img to start qemu(using NAT )
>
> qemu -hda win98.img -m 256 -localtime -enable-audio -user-net
>
> but in win98 can;t connect internet
> did i qemu need some driver to support this function
> did i need to recompile my kernel and add some new modules to support this
> function
> thx
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] qemu can't connect to internet
2005-10-25 20:08 ` Nick Rout
@ 2005-10-26 0:12 ` 赵光
2005-10-26 8:41 ` Nick Rout
0 siblings, 1 reply; 7+ messages in thread
From: 赵光 @ 2005-10-26 0:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]
yes,
I start run|winipcfg and the ip of win98 is 10.0.2.15 <http://10.0.2.15> and
the gateway is 10.0.2.2 <http://10.0.2.2>
but my ip is 192.168.1.102 <http://192.168.1.102> and gateway is
192.168.1.1<http://192.168.1.1>
did it right?
2005/10/26, Nick Rout <nick@rout.co.nz>:
>
> In windows did you enable the network functions?
>
> check the IP address with
>
> start|run|winipcfg
> (thats in windows)
>
> On Tue, 25 Oct 2005 21:31:50 +0800
> ÕÔ¹â wrote:
>
> > i am install qemu and active kqemu
> > using ./configure --enable-kqemu to configure and make&& make install
> > than i use a win98.img to start qemu(using NAT )
> >
> > qemu -hda win98.img -m 256 -localtime -enable-audio -user-net
> >
> > but in win98 can;t connect internet
> > did i qemu need some driver to support this function
> > did i need to recompile my kernel and add some new modules to support
> this
> > function
> > thx
>
> --
> Nick Rout <nick@rout.co.nz>
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
[-- Attachment #2: Type: text/html, Size: 1457 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] qemu can't connect to internet
2005-10-26 0:12 ` 赵光
@ 2005-10-26 8:41 ` Nick Rout
0 siblings, 0 replies; 7+ messages in thread
From: Nick Rout @ 2005-10-26 8:41 UTC (permalink / raw
To: gentoo-user
On Wed, 26 Oct 2005 08:12:34 +0800
赵光 <prolibertine@gmail.com> wrote:
> yes,
> I start run|winipcfg and the ip of win98 is 10.0.2.15 <http://10.0.2.15> and
> the gateway is 10.0.2.2 <http://10.0.2.2>
> but my ip is 192.168.1.102 <http://192.168.1.102> and gateway is
> 192.168.1.1<http://192.168.1.1>
> did it right?
That looks right. The guest machine gets something in 10.0.2.x and the host machine gets a "dummy" interface of 10.0.2.2 every time. Try looking at the qemu docs (some in the man page, some online on the qemu web site).
With things set up as you describe you should just be able to open a browser in the windows gueat and type an address like www.google.com and it should work.
pinging doesn't work well though, for reasons explained in the docs.
>
> 2005/10/26, Nick Rout <nick@rout.co.nz>:
> >
> > In windows did you enable the network functions?
> >
> > check the IP address with
> >
> > start|run|winipcfg
> > (thats in windows)
> >
> > On Tue, 25 Oct 2005 21:31:50 +0800
> > ÕÔ¹â wrote:
> >
> > > i am install qemu and active kqemu
> > > using ./configure --enable-kqemu to configure and make&& make install
> > > than i use a win98.img to start qemu(using NAT )
> > >
> > > qemu -hda win98.img -m 256 -localtime -enable-audio -user-net
> > >
> > > but in win98 can;t connect internet
> > > did i qemu need some driver to support this function
> > > did i need to recompile my kernel and add some new modules to support
> > this
> > > function
> > > thx
> >
> > --
> > Nick Rout <nick@rout.co.nz>
> >
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-10-26 8:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-25 13:31 [gentoo-user] qemu can't connect to internet 赵光
2005-10-25 13:54 ` Willie Wong
2005-10-25 14:10 ` 赵光
2005-10-25 18:42 ` Willie Wong
2005-10-25 20:08 ` Nick Rout
2005-10-26 0:12 ` 赵光
2005-10-26 8:41 ` Nick Rout
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox