Re: [gentoo-user] qemu can't connect to internet

2005-10-26 Thread 赵光
yes,
I start run|winipcfg and the ip of win98 is 10.0.2.15 and the gateway is 10.0.2.2
but my ip is 192.168.1.102 and gateway is 192.168.1.1
did it right?2005/10/26, Nick Rout [EMAIL PROTECTED]:
In windows did you enable the network functions?check the IP address withstart|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 [EMAIL PROTECTED]--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] qemu can't connect to internet

2005-10-26 Thread Nick Rout
On Wed, 26 Oct 2005 08:12:34 +0800
赵光 [EMAIL PROTECTED] 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.1http://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 [EMAIL PROTECTED]:
 
  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 [EMAIL PROTECTED]
 
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] qemu can't connect to internet

2005-10-25 Thread 赵光
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



Re: [gentoo-user] qemu can't connect to internet

2005-10-25 Thread Willie Wong
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



Re: [gentoo-user] qemu can't connect to internet

2005-10-25 Thread Willie Wong
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