Skip to content

Instantly share code, notes, and snippets.

@jimmont
Created March 12, 2025 01:15
Show Gist options
  • Save jimmont/ab1afa0d03d139a050411d39842f14ff to your computer and use it in GitHub Desktop.
Save jimmont/ab1afa0d03d139a050411d39842f14ff to your computer and use it in GitHub Desktop.
utm debian network working-fix (wifi, phone tethering, etc)
# sudo edit /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces (5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# allow hotplug
allow-hotplug enpos1 iface enposi inet dhep
# fallbacks
allow-hotplug etho iface ethe inet dhep
VM -> Settings -> Network
Network Mode: Shared Network
Emulated Network Card: virtio-net-pci
MAC Address: DE:33:C4:0B:12:0A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment