Closed 100tomer closed 3 months ago
Does networking work on QEMU with -nic user,model=ne2k_pci
?
@SuperMaxusa @100tomer I just got my winxp instance setup, I will test this theory.
qemu networking does not work with this option.
I don't know how to get winxp internet working either.
Works for me on SP2-3 in QEMU and v86. Can you check Device Manager (Win + R -> devmgmt.msc)? There should be a device "Realtek RTL8029(AS)" as in the screenshot, if not - try to add with Add Hardware Wizard in the Control Panel or install this driver: https://github.com/copy/v86/issues/392#issuecomment-1402659862
So your saying I need to use this driver as mentioned in the post?
@SuperMaxusa but the realtek thing shows up in both qemu and v86(wait actually checking right now will report back in about five minutes)
Also, i only made an administrator account, and not a user account. Should that matter?
So your saying I need to use this driver as mentioned in the post?
It is a "out-of-the-box" driver in Windows XP, I leave a driver for 2000, if your system didn't find/install it.
Also, i only made an administrator account, and not a user account. Should that matter?
Likely no, I have tested with local and Administrator accounts too.
It detects it(I checked this morning in v86) but it is unable to ping google because DNS failed. DOes this mean I should install the driver?
but it is unable to ping google because DNS failed.
Is it on v86 or QEMU? If on v86, are you using the default proxy or fetch-based networking?
Do I need debug.html for that? because I am using the wss:// relay proxy
Confirmed, it shows up. Here is my v86 screenshot of the device manager:
Other devices are there because I canceled the install requests for those and haven't rebooted yet.
I will try running it in qemu now and see if I get the same result. I also will try the driver as well.
but it is unable to ping google because DNS failed.
Is ping 8.8.8.8
works for you?
Do I need debug.html for that?
No, not needed.
Also check ipconfig /all
, if the networking settings are correct, this should give IP address of your VM and DNS server 10.5.0.1
(on v86 with default proxy).
ok will try that.
Got this:
wait here is the ipconfig command output hold on
Should I try renewing them with ipconfig /renew all
or ipconfig /renew *
? And if so should I ipconfig /release *
first?
Yes, try ipconfig /release *
and ipconfig /renew *
, seems that your system doesn't get an IP address from DHCP server. Have you had any errors in the browser console?
I can't really check for errors because I am using a managed system right now, but I will check on a vm.
For me I got ping working but internet explorer isn't working. I'll check the driver name
I see the Realltek drive in device managment and also ping is fully working. my dsn servers, dhcp server and gateway is 10.5.0.1. It seems that something is just broken with internet explorer
I just noticed you have mozila browser, did it come with the xp? because I'm stuck with Explorer that does not work, and can't figure out how to download anything without it working
It seems that something is just broken with internet explorer
Do sites like google.com, frogfind.com, example.com and theoldnet.com work in your Internet Explorer?
I just noticed you have mozila browser, did it come with the xp?
No, I downloaded my Firefox 29 (for Windows XP SP2+) from https://ftp.mozilla.org/pub/firefox/releases/ on my host machine, then created ISO with the installer and mount this image to QEMU.
It seems that something is just broken with internet explorer
Do sites like google.com, frogfind.com, example.com and theoldnet.com work in your Internet Explorer?
I just noticed you have mozila browser, did it come with the xp?
No, I downloaded my Firefox 29 (for Windows XP SP2+) from https://ftp.mozilla.org/pub/firefox/releases/ on my host machine, then created ISO with the installer and mount this image to QEMU.
So all the websites you mentions are not working via internet explorer but I can ping them.
And about mozila sounds cool but I don't know how to do this. Is it the solution ? or is the internet explorer suppost to work?
So all the websites you mentions are not working via internet explorer but I can ping them.
On QEMU too?
And about mozila sounds cool but I don't know how to do this. Is it the solution ?
Not sure if ftp.mozilla.org can be opened with IE but worth checking. Also here are easiest ways for transfer files from host to guest OS in QEMU: https://wiki.archlinux.org/title/QEMU#QEMU's_built-in_SMB_server, https://www.qemu.org/docs/master/system/qemu-block-drivers.html#virtual-fat-disk-images
I might test some websites in IE 6 too
I don't know how to use qemu yet, so I just checking it out. I managed to run the same windows xp image using qemu cli tool locally on my computer. Internet explorer is not working there too, I tried to mount the firefox.exe as a cd drive using the UI but windows says it's not formatted or something
use ImgBurn for the image(if using wine, use windows xp in winecfg) or here is my image: https://drive.google.com/file/d/1Wn7ziWeMoH9cqJo7GFcRX8o0kbd11we3/view?usp=sharing Use this command: qemu-system-x86_64 -smp 2 -m 2G -drive file=winxp.img,format=raw -cdrom firefoxsetup\ foldercdrom.iso
also @SuperMaxusa there were no errors in the console with ipconfig, forgot to try ping, but doing now, and I still didn't connect and get an IP or dns
use ImgBurn for the image(if using wine, use windows xp in winecfg) or here is my image: https://drive.google.com/file/d/1Wn7ziWeMoH9cqJo7GFcRX8o0kbd11we3/view?usp=sharing Use this command: qemu-system-x86_64 -smp 2 -m 2G -drive file=winxp.img,format=raw -cdrom firefoxsetup\ foldercdrom.iso
Cool thanks now I can see the installation in windows xp, I'll update you if it's working. How do I save it to .img file after I install the firefox?
if you are using qemu, the .img file should be in the location of the argument here: -drive file=winxp.img
If using v86, you have to save the state of the machine.
@SuperMaxusa it still gives destination host unreachable
If using v86, you have to save the state of the machine.
Yeah I meant how to save it after I ran it and installed the firefox. Is it make sense the firefox isn't working on windows xp that runs locally using the qemu as well? I used qemu-system-x86_64 -smp 2 -m 2G -drive file=winxp.img,format=raw -cdrom firefoxsetup\ foldercdrom.iso command to run it
then the image it is saved in is that winxp.img. QEMU always saves changes to whatever drive images it uses.
then the image it is saved in is that winxp.img. QEMU always saves changes to whatever drive images it uses.
Oh I didn't know this
The firefox takes a long time to launch, just let it load.
The firefox takes a long time to launch, just let it load.
it says "server not found" does it still loading the website? also is there a imgBurn alternative for mac to create iso from a file?
it says "server not found" does it still loading the website?
That is the DNS not resolving the website IP, it is part of the internet not working that we are working on fixing in this issue
also is there a imgBurn alternative for mac to create iso from a file?
i don't think so? try wine with windows xp as the windows version in applications section after running imgburn installer(change it after running the installer), and then launch it, also make sure to use the files/folders to disc image option in the imgburn menu
of course, make sure to install the winehq package in macos
i believe https://www.embird.net/sw/embird/tutorial/wine/wine.htm should help for macos
to change winecfg run the command wine winecfg
it still gives destination host unreachable
Is nslookup example.com
also gives errors?
also is there a imgBurn alternative for mac to create iso from a file?
it still gives destination host unreachable
Is
nslookup example.com
also gives errors?
I'll try that
nslookup
didn't work.
@SuperMaxusa what should me and @100tomer try next to fix this?
Let's summarize what we have at the moment:
About not working DNS or/and DHCP:
If you get an IP address in ipconfig /all
(eg. not 0.0.0.0
), but nslookup
doesn't work and ping 8.8.8.8
works properly, you can set "Use the following DNS server" and type:
Preferred DNS server:
8.8.8.8
Alternative DNS server:8.8.4.4
It set a Google DNS if provided by relay DNS not resolving for you.
About not working sites in IE:
Hi! I followed the instruction in the windows-xp.md file and it seems there is not network inside the windows xp. Any help will be much appreciated