[WorksForMe] network not working on Linux Mint Guest

Discussions about using Linux guests in VirtualBox.
Post Reply
harald1
Posts: 2
Joined: 19. Jul 2018, 10:24

[WorksForMe] network not working on Linux Mint Guest

Post by harald1 »

host: Win 7
guest Linux Mint 18 Sarah

I have tried everything I found on the web but it is still not working.

I tried to set autoneg to off with ethtool, but the setting is not changing. Restarted the interface (worked with ifconfig, ifup and ifdown return 'unknown interface').
With 'sudo nano /etc/rc.local' I have set autoneg to off and speed to 100. As you can see below, it says 'Link detected yes'
I have switched between NAT and bridged and rebooted a lot of times , at bridged I used the option promiscuous mode off and 'allow vms'.
I have set DNS to 8.8.8.8 and 208.67.222.222 and 208.67.220.220.

Nothing of this worked, it still does not get internet.. I have ran out of ideas and would appreciate any hints what else can be tried to get the internet working on the guest VM.


Here is information about the network interface on the guest :

/sbin/ifconfig -a

Code: Select all

enp0s3    Link encap:Ethernet  HWaddr 08:00:27:ef:d1:e4  
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::b9c4:5463:5b1:1650/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:35 errors:0 dropped:0 overruns:0 frame:0
          TX packets:165 errors:25 dropped:0 overruns:0 carrier:4
          collisions:0 txqueuelen:1000 
          RX bytes:11125 (11.1 KB)  TX bytes:49712 (49.7 KB)
          Interrupt:9 Base address:0xd020 
ethtool enp0s3:

Code: Select all

Settings for enp0s3:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Link partner advertised link modes:  10baseT/Half 10baseT/Full 
	                                     100baseT/Half 100baseT/Full 
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: yes
Last edited by socratis on 27. Jul 2018, 16:24, edited 1 time in total.
Reason: Marked as [WorksForMe].
harald1
Posts: 2
Joined: 19. Jul 2018, 10:24

Re: network not working on Linux Mint Guest

Post by harald1 »

I managed to resolve it after a lot of searching and testing. It had to do with proxy settings.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: network not working on Linux Mint Guest

Post by socratis »

Glad you got it going. Marking as [WorksForMe].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply