Last active
December 18, 2024 12:17
-
-
Save nickboldt/ef98b41f4746e1e7b2f2475a0d78cf79 to your computer and use it in GitHub Desktop.
VBox VM loses network - workaround for Fedora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if your VM went to sleep / hibernate, and on wakeup can't find the network... | |
# switch your guest's Network settings in Virtual Box as follows: | |
Attached to: Bridged Adapter | |
Name: Intel Wifi | |
Promiscuous Mode: Allow VMs | |
[x] Cable Connected | |
# go back into the VM and run | |
sudo su | |
systemctl restart systemd-resolved.service | |
echo "nameserver 8.8.8.8" >> /etc/resolv.conf | |
echo "nameserver 8.8.4.4" >> /etc/resolv.conf | |
exit | |
# ping and chrome should work again | |
# thanks to https://www.virtualbox.org/ticket/19358 for the solution! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment