Skip to contentSkip to conversation

in win32 how can i use network in Full system emulation?

Qemu-devel 이한길 3 participants 4 messages Jul 19, 2004 – Jul 20, 2004

lore
Share & tools
lore

이한길

author
#0 lore raw

in win32 platform how can i use network in Full system emulation? i wonder how to work tun/tap in win32 binary.
thanks

Signature · 1 line
http://hangulee.nahome.org
#1 lore raw

Le Tue, 20 Jul 2004 00:14:21 +0900, vous avez écrit :

Quoted 2 lines

in win32 platform how can i use network in Full system emulation? i wonder how to work tun/tap in win32 binary. thanks

you must use slirp, add -user-net to your command line ex.: qemu -L . -m 32 -user-net C:\path\to\img

Screenshot?
http://daimon55.free.fr/winonwin.png (Ares is the guest)

#2 lore raw
Quoted 12 lines · Ronald

Le Tue, 20 Jul 2004 00:14:21 +0900, vous avez ?crit?:

Quoted 2 lines

in win32 platform how can i use network in Full system emulation? i wonder how to work tun/tap in win32 binary. thanks

you must use slirp, add -user-net to your command line ex.: qemu -L . -m 32 -user-net C:\path\to\img

Screenshot?
http://daimon55.free.fr/winonwin.png (Ares is the guest)

That's not entirely accurate. I was told that it is indeed possible to access the host network from qemu, but that you needed Administrator privilieges. (So, unless that person was lying, there is a way to do it. Just no one seems to remember. :)

Under Bochs (which doesnt have an equivilent of user-mode networking) you can do this via libpcap, which plays with ethernet frames to get the desired effect. Not sure how to use libpcap w/ qemu tho ...

Quoted 6 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
author
#3 lore raw

if i use slirp and '-user-net' then can i use internet at qemu?

Quoted 42 lines · Jim C. Brown
Quoted 12 lines · Ronald

Le Tue, 20 Jul 2004 00:14:21 +0900, vous avez ?crit?:

Quoted 2 lines

in win32 platform how can i use network in Full system emulation? i wonder how to work tun/tap in win32 binary. thanks

you must use slirp, add -user-net to your command line ex.: qemu -L . -m 32 -user-net C:\path\to\img

Screenshot?
http://daimon55.free.fr/winonwin.png (Ares is the guest)

That's not entirely accurate. I was told that it is indeed possible to access the host network from qemu, but that you needed Administrator privilieges. (So, unless that person was lying, there is a way to do it. Just no one seems to remember. :)

Under Bochs (which doesnt have an equivilent of user-mode networking) you can do this via libpcap, which plays with ethernet frames to get the desired effect. Not sure how to use libpcap w/ qemu tho ...

Quoted 6 lines

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 2 lines
먼저 알게 된 것을 알려주는 것은 즐거운 일이다!
http://hangulee.nahome.org