UTM: All network interfaces broken on v2.2.1 (Beta) (Ubuntu 20.04.3)

Describe the issue Using UTM v2.2.1 (Beta), a fresh installation of Ubuntu Server for ARM is not detecting any network interfaces. I am unable to try to manually change settings because the YAML files in cd /etc/netplan are empty and I cannot get any kind of Desktop Environment installed to troubleshoot with a GUI, since there is no network access for apt.

I have tried nearly every setting in the Network pane, including the new Bridged network mode. After going through several GitHub issues, it seems that virtio-net-pci and rtl8139 are the correct emulated network card, but they also produce no results under any Network Mode.

Running dig @1.1.1.1 [any url] times out.

Configuration

  • UTM Version: v2.2.1 (Beta)
  • OS Version: macOS Big Sur 11.5.2
  • Apple Silicon

debug.log config.plist.zip

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 51 (20 by maintainers)

Most upvoted comments

@SuperOkazaki you can also put BOTH interfaces into the netplan file so it will work in both console and GUI mode without issue.

Anyway, regarding the issue here itself, I’m unsure whether it should be closed? Since it’s technically not a UTM bug, but rather Ubuntu?

Yes, can be closed. In future if you have network problems running ifconfig and seeing if your enp* or eth* interface (not the lo interface) has state DOWN is probably the first thing to do.

@SuperOkazaki So it’s exactly what osy was saying. In console mode you have enp0s8 but in full graphics mode you have enp0s9. So change the enp0s8 to enp0s9 in /etc/netplan/00-installer-config.yaml and reboot.

Can you send ifconfig when in console mode (working internet)?

Yes, I will also check the netplan files

@SuperOkazaki No need to test with the desktop iso anymore

Did you check if the setting Console Only “fix” the network for you? I know it’s not a fix but something I stumbled uppon, maybe the issue #3094 I created is related.

@SuperOkazaki ,

I’ve had trouble periodically with different UTM versions and VMs with internet access. What seems to work consistently when I have internet VM issues is to change the settings in the VM from DHCP to using the following static Internet address:

IP Address: 10.0.2.15 Netmask 24 Gateway 10.0.2.2 DNS 1.1.1.1

I’m a linux novice so not sure if this is the best or correct fix, but has consistently worked for me.

Fyi and good luck!