UTM icon indicating copy to clipboard operation
UTM copied to clipboard

networking doesn't recover after macbook was on sleep

Open meox opened this issue 3 years ago • 8 comments

Describe the issue
Start a VM with a bridge network adapter, close the macbook, wait a little bit, reopen the macbook the networking doesn't works anymore

Configuration

  • UTM Version: 4.0.1
  • macOS Version: ventura
  • Mac Chip M1 Pro

Workaround Close VMs & UTM and start it again

meox avatar Oct 27 '22 10:10 meox

I‘v encountered the same issue, have you solved it?

miku-fan avatar Sep 27 '23 02:09 miku-fan

Same with https://github.com/utmapp/UTM/issues/4221

I'm experiencing two issues.

  1. MAC -> VM route configuration disappear when I change network on mac. I have to do this on mac
sudo ip route add 192.168.65.0/24 dev bridge100
  1. VM -> internet Don't know why, must close vm and restart.

aca avatar Nov 09 '23 05:11 aca

I am also experiencing this. Existing SSH connections freeze and new SSH connections hang when attempting to make them after sleeping (as well as other TCP connections). Apple M2 Pro, macOS Ventura 13.6, UTM 4.4.4 (92), Ubuntu Server for ARM 22.04.3. Unfortunately this may make UTM unusable for my use case.

gretchenfrage avatar Dec 20 '23 18:12 gretchenfrage

#5986 might be related

disintegrator avatar Dec 29 '23 12:12 disintegrator

I'm checking to see whether this is solved by simply switching from Ubuntu to Debian. A basic test I tried to do with sleeping for 5 minutes didn't encounter any problems, so hopefully that just works, but I'll have to see if it comes up again with time.

gretchenfrage avatar Jan 03 '24 16:01 gretchenfrage

Switching to debian in the VM has fixed this entirely.

gretchenfrage avatar Jan 11 '24 16:01 gretchenfrage

Switching to debian in the VM has fixed this entirely.

I don't particularly want to migrate my entire ubuntu installation to debian just to fix this issue, but I think I might have to if this doesn't get fixed soon.

Is there any news on a fix for this problem? Is there anything UTM can even do to fix it, or is it entirely reliant on Ubuntu fixing it given that switching to debian is a workaround?

Really annoying bug that basically renders my headless ubuntu server running on a remote mac mini completely useless for the tasks I set it up to do (such as logging etc).

eccgecko avatar May 17 '24 12:05 eccgecko

I have the same issue with Debian. Mac mini M2. The thing is the ip address inside the VM is missing like the Linux install has received some signal.

ralphmason avatar Jul 04 '24 15:07 ralphmason