LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This 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


Reply
  Search this Thread
Old 01-30-2020, 09:57 AM   #1
Leviathan42
Member
 
Registered: Dec 2019
Distribution: Manjaro
Posts: 51

Rep: Reputation: Disabled
No internet access on Guests


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.
 
Old 01-30-2020, 11:59 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
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?

You need to give a lot more info.

https://wiki.archlinux.org/index.php...ips_and_tricks
 
Old 01-30-2020, 12:24 PM   #3
Leviathan42
Member
 
Registered: Dec 2019
Distribution: Manjaro
Posts: 51

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-30-2020, 02:48 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
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.
 
Old 01-30-2020, 03:48 PM   #5
Leviathan42
Member
 
Registered: Dec 2019
Distribution: Manjaro
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
When using a bridged adapter make sure the virtual adapter is connected the physical wifi adapter and not the wired adapter
I already knew that and that didnt solve my problem. I also tried out different adapter types. No success.
Quote:
Originally Posted by michaelk View Post
What happens when you use NAT?
literally nothing at all. That's why I used the bridge.
 
Old 01-30-2020, 04:11 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
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.
 
Old 01-30-2020, 04:50 PM   #7
Leviathan42
Member
 
Registered: Dec 2019
Distribution: Manjaro
Posts: 51

Original Poster
Rep: Reputation: Disabled
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 View Post
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.
 
Old 01-30-2020, 05:07 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Well the adapter is recognized but no IP4 IP address. So how is networking configured? Are you using network manager?
 
Old 01-30-2020, 05:36 PM   #9
Leviathan42
Member
 
Registered: Dec 2019
Distribution: Manjaro
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
So how is networking configured? Are you using network manager?
My host is Windows 7, so: No.
 
Old 01-30-2020, 06:09 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
No, I am referring to the guest.

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.
 
Old 02-01-2020, 07:01 AM   #11
Leviathan42
Member
 
Registered: Dec 2019
Distribution: Manjaro
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post

replace 192.168.x.y/24 with whatever subnet your LAN is configure.
How can I find out the subnet?
 
Old 02-01-2020, 07:06 AM   #12
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,763

Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
Quote:
Originally Posted by Leviathan42 View Post
How can I find out the subnet?
One easy way is to examine the LAN subnet used on the Win7 host. Your guests should match that network.
 
Old 02-01-2020, 07:10 AM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Post the output of

https://support.microsoft.com/en-us/...our-ip-address

For W7
https://support.microsoft.com/en-us/...-pc-ip-address

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.

Last edited by michaelk; 02-01-2020 at 07:20 AM.
 
Old 02-02-2020, 06:56 AM   #14
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,763

Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
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?
 
Old 02-02-2020, 11:02 AM   #15
Leviathan42
Member
 
Registered: Dec 2019
Distribution: Manjaro
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do use VNC to remote access VM guests running under a KVM? Usalabs Linux - Virtualization and Cloud 6 12-03-2011 02:02 AM
vmware guests not being able to reache the Internet 0p3r4 Linux - Networking 6 09-11-2006 04:18 AM
To All Filpino LQ Members/Guests: Use/Test Bayanihan! bongski55 Linux - Distributions 1 03-25-2004 12:00 PM
Samba guests and changes in /etc/passwd krajzega Linux - Networking 1 03-08-2004 07:53 AM
Search problem for guests Winno LQ Suggestions & Feedback 4 09-09-2003 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration