Gentoo Archives: gentoo-user

From: Nick Rout <nick@×××××××.nz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] qemu can't connect to internet
Date: Wed, 26 Oct 2005 08:49:35
Message-Id: 20051026214104.465fad91.nick@rout.co.nz
In Reply to: Re: [gentoo-user] qemu can't connect to internet by "赵光"
1 On Wed, 26 Oct 2005 08:12:34 +0800
2 赵光 <prolibertine@×××××.com> wrote:
3
4 > yes,
5 > I start run|winipcfg and the ip of win98 is 10.0.2.15 <http://10.0.2.15> and
6 > the gateway is 10.0.2.2 <http://10.0.2.2>
7 > but my ip is 192.168.1.102 <http://192.168.1.102> and gateway is
8 > 192.168.1.1<http://192.168.1.1>
9 > did it right?
10
11 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).
12
13 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.
14
15 pinging doesn't work well though, for reasons explained in the docs.
16
17 >
18 > 2005/10/26, Nick Rout <nick@×××××××.nz>:
19 > >
20 > > In windows did you enable the network functions?
21 > >
22 > > check the IP address with
23 > >
24 > > start|run|winipcfg
25 > > (thats in windows)
26 > >
27 > > On Tue, 25 Oct 2005 21:31:50 +0800
28 > > ÕÔ¹â wrote:
29 > >
30 > > > i am install qemu and active kqemu
31 > > > using ./configure --enable-kqemu to configure and make&& make install
32 > > > than i use a win98.img to start qemu(using NAT )
33 > > >
34 > > > qemu -hda win98.img -m 256 -localtime -enable-audio -user-net
35 > > >
36 > > > but in win98 can;t connect internet
37 > > > did i qemu need some driver to support this function
38 > > > did i need to recompile my kernel and add some new modules to support
39 > > this
40 > > > function
41 > > > thx
42 > >
43 > > --
44 > > Nick Rout <nick@×××××××.nz>
45 > >
46 > >
47 > > --
48 > > gentoo-user@g.o mailing list
49 > >
50 > >
51 >
52 --
53 gentoo-user@g.o mailing list