Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For about two weeks, my guest OS Manjaro has no more internet access. Host is Windows 7, connected via WiFi. So far I've used a network bridge but that wont work anymore. None of the other modes work either.
What has changed? Did you do a pacman -Syu on manjaro? Did network modules get updated? Look at /var/log/pacman.log if that's where manjaro keeps it. What network manager are you using with manjaro? I really don't know about the microsoft side of it. Did microsoft do an update?
The error must be on the host side. The problem persists within other VMs, including recently created ones. Internet access on the host itself works fine. Recently there has been an update of Virtualbox but even downgrading to the old version didn't solve the issue.
When using a bridged adapter make sure the virtual adapter is connected the physical wifi adapter and not the wired adapter although that should be selected by default. Make sure the virtual adapter is enabled. What happens when you use NAT?
On my laptop I have seen a bridged adapter stop working which seems to happen if it goes to sleep. Never had a problem with using a NAT adapter.
Just trying to cover all the basis. The default virtual adapter i.e. Intel PRO/1000 MT Desktop (82540DM) has always been recognized by guest. In addition verify the cable connected box is selected.
From the guest point of view what is the output of the ip a command.
Just launched a backup of my VM to check out its network settings and whether they still work. Turns out they didnt.
Well here's a screenshot of the settings as they used to work:
Quote:
Originally Posted by michaelk
From the guest point of view what is the output of the ip a command.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 08:00:27:49:31:2c brd ff:ff:ff:ff:ff:ff
inet6 fe80::e9e5:b99f:8f70:ca50/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Last edited by Leviathan42; 01-30-2020 at 04:53 PM.
In bridged adapter mode the guest will appear on the LAN just like the host. If the guest's networking is configured for DHCP then it should get an IP address from your router or other device running a DHCP server. I believe Manjaro uses Network Manager so is it running and how is it configured? You could try manually adding an IP address just to see if you can ping the host.
ip addr add 192.168.x.y/24 dev enp0s3 (use su or sudo as necessary to run the command as root)
replace 192.168.x.y/24 with whatever subnet your LAN is configure.
On the other hand switching to NAT would cause the guest to use the Virtualbox internal DHCP server. We still do not know how your guest is configured.
I just read back through the entire thread and noticed that the OP never mentioned what virtualization was being used! I ASSUMED Virtualbox from some of what WAS said, but it might be good to nail this down.
What virtualization are you using on Win7 to support these guests?
I believe Manjaro uses Network Manager so is it running and how is it configured?
Yep, Network Manager is preinstalled, but I've never used it. Never configured anything.
Quote:
ip addr add 192.168.x.y/24 dev enp0s3
Problem persists after that.
Quote:
I just read back through the entire thread and noticed that the OP never mentioned what virtualization was being used! I ASSUMED Virtualbox from some of what WAS said, but it might be good to nail this down.
Yes, I use VirtualBox 6.1.2.
PS: None of the Virtual Machines, that used to work, won't work anymore. No more internet access on any of them. This can only mean the problem is solely on the host and on none of the guests.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.