Activation of Network connection failed

Discussions about using Linux guests in VirtualBox.
Post Reply
hatzisn
Posts: 2
Joined: 19. Sep 2022, 12:24

Activation of Network connection failed

Post by hatzisn »

I had created a Debian 11 guest in my Windows 10 computer which I formated some months ago. The VM was saved in an external disk. Installing again Windows 10 the computer got a new name and I had remounted the VM but had not tried to open it until today. Today that I did so I got this error again and again. I tried to trouble shoot it looking in forum posts and the internet and here is the result of what it is often asked. Attached you will also find the logs in a rar file. Some help would be highly appreciated.


C:\Program Files\Oracle\VirtualBox>VBoxManage list hostonlyifs

Name: VirtualBox Host-Only Ethernet Adapter
GUID: e11c4cb7-b785-4843-8119-d63f516dea23
DHCP: Disabled
IPAddress: 192.168.56.1
NetworkMask: 255.255.255.0
IPV6Address: fe80::295d:ac50:a3f7:ffe4
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:13
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter


C:\Program Files\Oracle\VirtualBox>VBoxManage list dhcpservers

NetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter
Dhcpd IP: 192.168.56.100
LowerIPAddress: 192.168.56.101
UpperIPAddress: 192.168.56.254
NetworkMask: 255.255.255.0
Enabled: Yes
Global Configuration:
minLeaseTime: default
defaultLeaseTime: default
maxLeaseTime: default
Forced options: None
Suppressed opts.: None
1/legacy: 255.255.255.0
Groups: None
Individual Configs: None
Attachments
Logs.rar
(28.63 KiB) Downloaded 4 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Activation of Network connection failed

Post by scottgus1 »

Your posted command outputs are about the Host-Only network. But the log shows that the VM is Bridged:
00:00:04.853183 [/Devices/e1000/0/LUN#0/] (level 4)
00:00:04.853184 Driver <string> = "IntNet" (cb=7)
00:00:04.853185
00:00:04.853185 [/Devices/e1000/0/LUN#0/Config/] (level 5)
00:00:04.853185 IfPolicyPromisc <string> = "deny" (cb=5)
00:00:04.853186 IgnoreConnectFailure <integer> = 0x0000000000000000 (0)
00:00:04.853186 Network <string> = "HostInterfaceNetworking-Realtek PCIe GbE Family Controller" (cb=59)
(IntNet attached to a Host Interface is how the log shows Bridged.)

I also do not recognize the error:
hatzisn wrote:I got this error again and again.
I assume the error is the topic title "Activation of Network connection failed"? If so, this seems to be a Linux error message, according to my web-searches, not a Virtualbox error message. A Virtualbox error message would have had a Copy button in the box which you could use to copy the rather-technical-sounding Virtualbox error message to the forum.

Also the VM log does not log any errors about the network that I have seen.

This said, I believe this error is inside the VM OS, not in Virtualbox. I got some Linux troubleshooting steps web-searching "Activation of Network connection failed". Maybe such a search could help you get going.
hatzisn
Posts: 2
Joined: 19. Sep 2022, 12:24

Re: Activation of Network connection failed

Post by hatzisn »

The VM does not create any errors in the logs because I had turned off the network to try to reboot it and set it on again myself in order to try several solutions I read in several sites.

I Googled for a solution and if I set the Network Adapter of the VM to host only, the network connects and I can access it only locally with ftp from the host. Inside the Debian VM though I cannot access the internet.
if I set the Network Adapter of the VM to NAT, the network connects again and I have internet inside the VM but I cannot access it locally with ftp obviously. Do this information rings any bells to you on what might be happening?
Post Reply