copy / v86

x86 PC emulator and x86-to-wasm JIT, running in the browser
https://copy.sh/v86/
BSD 2-Clause "Simplified" License
19.71k stars 1.39k forks source link

no internet in windows xp #1131

Closed 100tomer closed 1 month ago

100tomer commented 2 months ago

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

FunnyCorgi commented 1 month ago

@SuperMaxusa What do I do if it isn't showing up in network connections as a connection, but it registers it as a device with the built-in driver in the device manager and it shows up in ipconfig /all and device manager says it is working properly.

FunnyCorgi commented 1 month ago

@SuperMaxusa but it also only has my DNS and IP as 0.0.0.0

FunnyCorgi commented 1 month ago

@SuperMaxusa here is a screenshot: download

SuperMaxusa commented 1 month ago

What do I do if it isn't showing up in network connections as a connection

Try "Create a new connection" -> "Connect to the Internet" (or "Set up a home or small office network") -> "Set up my connection manually" -> "Connect using a broadband" "connection that is always on"

By default it should be created on startup, check if services "DNS Client", "DHCP Client" and "Network Connections" are running and have "Automatic" startup type (run services.msc)

FunnyCorgi commented 1 month ago

Ok, I'll try that.

FunnyCorgi commented 1 month ago

I just found out that all the mentioned services dont start when using qemu or v86. As soon as I started one, v86 showed in the column that network traffic was going on.

FunnyCorgi commented 1 month ago

I just did ipconfig /all, and I had an IP address and a DNS server!

FunnyCorgi commented 1 month ago

I still am yet to try websites though. I will do it now.

FunnyCorgi commented 1 month ago

Websites do work now! Also, sorry about the wait, had other work to do =)

FunnyCorgi commented 1 month ago

@SuperMaxusa & @100tomer I believe that this issue can be closed now? But first, @SuperMaxusa I would like help making a bat script or something which will start the DNS, Network Connections, and DHCP services, because they don't start on their own.

SuperMaxusa commented 1 month ago

I would like help making a bat script or something which will start the DNS, Network Connections, and DHCP services, because they don't start on their own.

Hmm, did you set on all of them in right-click -> Properties -> Startup type: Automatic and these services are selected in msconfig? On https://smallvoid.com/articles/windows-xp/services/ mentioned the services that are enabled by default.

About bat script, you can run the services via net start:

net start "Network Connections"
net start "DHCP Client"
net start "DNS Client"
ipconfig /release *
ipconfig /renew *
FunnyCorgi commented 1 month ago

@SuperMaxusa I litterally just noticed just now that network connections service is set to manual oops =). I will try fixing that and see if it will fix the other services starting on their own, on it's own.