utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.75k stars 1.34k forks source link

Win11 doesn't seem to connect to any internet services or sharing drives #3245

Open gonewithharshwinds opened 2 years ago

gonewithharshwinds commented 2 years ago

Describe the issue I got my win11 working seriously well, but then I am facing two issues now. "No internet + shared drive ain't working" and the moment I try to plug in a usb drive, my macOS desktop (UTM containing multitask window) crashes, but the virtual machine doesn't nor do any other window of my macOS.

Configuration

Crash log App doesn't crash, my macOS cursor does for the particular multitask window wherever UTM recides.

Anyone else facing such issues? Also, I have tried installing and deleting the Win11 for like 6 times, and I faced these issues everytime. The cursor going invisible issue actually did not occur on my 4th and 6th installation.

conath commented 2 years ago

The cursor problem is unfortunately a known problem, and a fix is not yet available. #2628 (you seem to have discovered this yourself)

Have you tried switching the Network to Bridge Mode #3033 ? This is in the VM config → Network tab.

conath commented 2 years ago

As far as the "my macOS desktop (UTM containing multitask window) crash" please attach a screen recording. Thank you.

gonewithharshwinds commented 2 years ago

unfortunately, I can't right now. Removed it... will set it up on external ssd soon tho (memory issues, I'm already low on memory and had to install a heavy application for college purpose) I can describe the cursor issue as, which ever tab(multitask window/desktop#) UTM.app is placed/stays in, the cursor of macOS for that particular tab gets stuck. Non unfunctional unless I switch to another MacOS tab. This occurs while I run win11.

Did not encounter this issue with Ubuntu / Debian / arch .

alexgfaria commented 2 years ago

https://user-images.githubusercontent.com/7568075/159358571-77f4df97-5852-46f7-8963-b1deb52806ac.mp4

I think it's the same error. I can't install it because there's no network

conath commented 2 years ago

@alexgfaria your issue is likely that the network card in use is not compatible with Windows out of the box. Edit your VM to choose a different network card. (like the first choice, e1000e)

Curtisspope commented 2 years ago

Same issue.

conath commented 2 years ago

@Curtisspope Please save the debug log according to these instructions. Then make a new comment here and attach the log file.

jvkranenburg commented 2 years ago

Same issue over here. Please find attached the requested log with the default network adapter (virtue-net-pci) WithDefaultNetworkAdapter.log

With the suggested e1000e I have the same issue, please see this log: Withe1000enetwork.log

Note I have a MacBook Pro M1 16" with a wifi connection. (no network cable attached through dongle)

Hope this helps. Is more data is needed please let me know.

conath commented 2 years ago

@jvkranenburg Please switch your VM from "Shared" to "Bridged" network. From my experience the "Shared" does not work with Windows guest (but works fine with Linux guest).

If you don't want to use "Bridged" because your host's network device changes frequently, you can also choose "Emulated VLAN" but it might create DNS problems in the Windows guest.

jvkranenburg commented 2 years ago

@conath In Bridged mode I have the same issue for both network connectors (virtue-net-pci and e1000e)

BridgeMode.log BridgedWithe1000eNetwork.log

conath commented 2 years ago

@jvkranenburg Can you access 1.1.1.1 in a web browser in the guest?

jvkranenburg commented 2 years ago
image

Yes I can.

conath commented 2 years ago

@jvkranenburg I meant to try to access that website inside your Windows VM.

jvkranenburg commented 2 years ago

@conath No, because I cannot install Windows 11 as shown in the video from @alexgfaria.

PhaseAngle commented 2 years ago

Try pressing Shift + F10 when it wants internet during install and run OOBE\BYPASSNRO it will restart and this time you can click I don't have internet

alxalbu commented 2 years ago

NOT WORKING WITH YOUR COMMAND OOBE.... Screenshot 2022-03-24 at 20 05 11

PhaseAngle commented 2 years ago

you put the wrong \

jvkranenburg commented 2 years ago

@PhaseAngle Tnx! That works. After installing Spice network is working as expected!

alexgfaria commented 2 years ago

@PhaseAngle

pressing Shift + F10 does nothing for me :/

jvkranenburg commented 2 years ago

@alexgfaria I had to do Shift + fn + F10. Maybe that helps.

mau1991 commented 2 years ago

I have the same problem

caiisen commented 2 years ago

@jvkranenburg I successfully skip the internet check during installation win11. But after installing Spice, the network still not working. Which mode (bridged or shared) and emulated network card you choose?

jvkranenburg commented 2 years ago

@jvkranenburg I successfully skip the internet check during installation win11. But after installing Spice, the network still not working. Which mode (bridged or shared) and emulated network card you choose?

I used the bridged mode with virtue-net-pci adapter.

caiisen commented 2 years ago

@jvkranenburg I successfully skip the internet check during installation win11. But after installing Spice, the network still not working. Which mode (bridged or shared) and emulated network card you choose?

I used the bridged mode with virtue-net-pci adapter.

It work, thank you so much!

Danos0100 commented 2 years ago

Try pressing Shift + F10 when it wants internet during install and run OOBE\BYPASSNRO it will restart and this time you can click I don't have internet

Thanks! This should definitely go into the setup tutorial at https://mac.getutm.app/gallery/windows-11-arm

TusharChanchlani commented 2 years ago

Try pressing Shift + F10 when it wants internet during install and run OOBE\BYPASSNRO it will restart and this time you can click I don't have internet

Thanks, this helps

NeAr132 commented 2 years ago

Sem.nome-2-2.mp4

I think it's the same error. I can't install it because there's no network

here is the solution for the wifi problem https://www.youtube.com/watch?v=jPsrI5fS8zc

MoPaMo commented 2 years ago

This worked for me: https://www.reddit.com/r/mac/comments/tktihx/comment/i3puy58/?utm_source=share&utm_medium=web2x&context=3

hawaiian-brian commented 2 years ago

Running UTM 3.1.5 Mac OS 12.3.1 M1 proc

Not able to get UTM to connect over WiFi. ETH NIC is listed in Device Manager. I've installed spicetools, tried Bridge mode, and still not working.

EDIT: I changed the network setting (VM options with VM powered off) to VLAN emulater mode, and it's now working.

LDemo23 commented 2 years ago

Using a m1 mac on Mac OS 12.4 I have got the windows to open but am completely usure about how to get the wifi working. I have installed spicetools.

als698 commented 2 years ago

Launch normally the windows and mount the spice guest (https://mac.getutm.app/support/) Press Shift + F10 (FN need be press too, if you see mute icon) Now you see a cmd and you have to write: D: [press Enter] spice-guest-tools-0.164.exe [press enter]

An install window will show up, complete the installation and reboot, after this, the network need to work.

mistercorea commented 1 year ago

You can add name server(DNS) under network then it works. I am not sure why the nameserver was not set up automatically.

Screen Shot 2023-01-05 at 9 44 34 AM Screen Shot 2023-01-05 at 9 44 39 AM

HaaniMirza commented 1 year ago

@mistercorea this completely solved my issue after searching for an entire week. Thank you so much!

riozakirahman commented 1 year ago

@jvkranenburg Please switch your VM from "Shared" to "Bridged" network. From my experience the "Shared" does not work with Windows guest (but works fine with Linux guest).

If you don't want to use "Bridged" because your host's network device changes frequently, you can also choose "Emulated VLAN" but it might create DNS problems in the Windows guest.

Thank you...its work for me

mikklfr commented 1 year ago

https://github.com/utmapp/UTM/issues/3245#issuecomment-1077443198

Also had issues with both shared / bridged modes, solved the installation using cmd open and bypass command. Thanks. Macbook Pro M2 Pro

UniLordextreme commented 1 year ago

use this method it will fix the Network

Make sure u enabled spice tool

then at setup in this page

Untitled 2

then D:

AND THEN dir

then spice-guest-tool-0.164.exe

then after restart u are connected

UniLordextreme commented 1 year ago

before that do Fn+Shift+F10

UniLordextreme commented 1 year ago

Try pressing Shift + F10 when it wants internet during install and run OOBE\BYPASSNRO it will restart and this time you can click I don't have internet

Thanks! This should definitely go into the setup tutorial at https://mac.getutm.app/gallery/windows-11-arm

use my method it will work

conornee07 commented 1 year ago

Hello I am having this problem whereby in the setup page it wants me to connect to WiFi but the networks don’t connect and i cannot click next I am on 2021 MacBook Pro m1

conornee07 commented 1 year ago

I have gotten into Windows via the I don’t have WiFi but I cannot configure the wifi in settings either does anybody have a solution for this

oligriffiths commented 12 months ago

Emulated VLAN and "virtue-net-pci" adapter worked for me.

Rubyvivian commented 10 months ago

I have gotten into Windows via the I don’t have WiFi but I cannot configure the wifi in settings either does anybody have a solution for this

hello i think this video may be help you solve the problem https://www.youtube.com/watch?v=GyvKJjS3m5M or https://www.youtube.com/watch?v=Ub3gHDBQuAI

eresfavolosx commented 2 weeks ago

@conath In Bridged mode I have the same issue for both network connectors (virtue-net-pci and e1000e)

BridgeMode.log BridgedWithe1000eNetwork.log

Changing my network interface setting to this one solved to issue for me!