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
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 51 (20 by maintainers)
@SuperOkazaki you can also put BOTH interfaces into the netplan file so it will work in both console and GUI mode without issue.
Yes, can be closed. In future if you have network problems running
ifconfigand seeing if yourenp*oreth*interface (not thelointerface) hasstate DOWNis probably the first thing to do.@SuperOkazaki So it’s exactly what osy was saying. In console mode you have
enp0s8but in full graphics mode you haveenp0s9. So change theenp0s8toenp0s9in/etc/netplan/00-installer-config.yamland reboot.Yes, I will also check the
netplanfiles@SuperOkazaki No need to test with the desktop iso anymore
@osy Here you are:
fullgraphics.txt console.txt
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!