Page 1 of 2

Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 14. May 2016, 20:42
by redsoft
I have Windows 10 host + Ubuntu guest. VirtualBox # 5.0.20.
Today I installed some scheduled updates on the Ubuntu and after this have entered to strange unstable state. Tried to recovery it by uninstalling/installing again the Guest Addition CD. Finally, I installed stable Guest Additions # 5.0.16.
As result, some functionality in the guest machine was returned back. But I lost the Network interface at all. Ifconfig doesn’t show eth0, only ifconfig -a does show (but VirtualBox on Windows shows the interface is up).
On several discussions I saw the decision is to edit/delete file

Code: Select all

/etc/udev/rules.d/70-persistent-net.rules
But it is absent on my guest Ubuntu. Please Help!
Thanks.

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 14. May 2016, 21:08
by Perryg
Reboot the host and guest and then post the guests log file as an attachment.

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 14. May 2016, 21:31
by redsoft
Attached are the logs.

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 14. May 2016, 21:50
by Perryg

Code: Select all

00:07:38.705618 supR3HardenedErrorV: supR3HardenedScreenImage/LdrLoadDll: cached rc=VERR_SUP_VP_NOT_OWNED_BY_TRUSTED_INSTALLER fImage=1 fProtect=0x0 fAccess=0x0 cHits=8192 \Device\HarddiskVolume8\Programs\~Utils\Punto Switcher\pshook64.dll
00:07:38.705740 supR3HardenedErrorV: supR3HardenedMonitor_LdrLoadDll: rejecting 'C:\Programs\~Utils\Punto Switcher\PSHook64.dll' (C:\Programs\~Utils\Punto Switcher\PSHook64.dll): rcNt=0xc0000190
It appears to be caused by the yanex program Punto Switcher. Could be a virus or was installed/updated by you and is not signed.

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 14. May 2016, 22:31
by redsoft
Punto switcher is good keyboard utility I am using many years. It is working together with VirtuaBox on same PC 3 monthes.
The problem with eth0 apeared today after some Ubuntu apgrade. Ubuntu guest stopped to work in 3d accelaration mode. I have downloaded test build VBoxGuestAdditions_5.0.21-107164.iso and installed it. The problem that its uninstaller.sh was empty. Then I tried to install again GuestAdditions 5.0.16. Then I have noticed the network has stopped working.
It seems this GuestAdditions 5.0.21 when installing changed some impotant configuration on the Guest...

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 14. May 2016, 22:39
by Perryg
Remove the guest additions and boot the guest to see if the network comes back, but I can tell you that the post I added above needs to be addressed. These things can cause a lot of issues.

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 16. May 2016, 12:50
by redsoft
Hi,
I removed this program Punto, and rebooted. No changes. The logs are attached.
Concerning your advice to uninstall the guest additions: it was the 1st thing I did before opening this topic. It doesn't help.

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 16. May 2016, 14:37
by Perryg
Thank you, now post the following:

Code: Select all

VBoxManage list bridgedifs

Code: Select all

From the hosts terminal/command window type [b]VBoxManage showvminfo <VM Name> --details [/b] and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.

Note if the host is Windows you need to be in the directory that has VBoxManage.exe for the command to work.
From the guest terminal run and post the following:

Code: Select all

lspci | grep Eth

Code: Select all

ifconfig -a

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 16. May 2016, 17:11
by redsoft

Code: Select all

C:\Programs\~Tools\VirtualBox>VBoxManage list bridgedifs
Name:            Intel(R) Ethernet Connection (2) I218-V
GUID:            76abfd81-e3f0-4fc1-984b-d972064841ac
DHCP:            Enabled
IPAddress:       10.0.0.100
NetworkMask:     255.255.255.0
IPV6Address:     fe80:0000:0000:0000:4d74:4927:ff55:ab45
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: fc:aa:14:2a:7f:76
MediumType:      Ethernet
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-Intel(R) Ethernet Connection (2) I218-V


C:\Programs\~Tools\VirtualBox>VBoxManage showvminfo Ubuntu14 --details
Name:            Ubuntu14
Groups:          /
Guest OS:        Ubuntu (64-bit)
UUID:            2ab89d9d-e37a-4590-8b47-719577646a4f
Config file:     C:\VirtualBox\Ubuntu14\Ubuntu14.vbox
Snapshot folder: C:\VirtualBox\Ubuntu14\Snapshots
Log folder:      C:\VirtualBox\Ubuntu14\Logs
Hardware UUID:   2ab89d9d-e37a-4590-8b47-719577646a4f
Memory size:     2560MB
Page Fusion:     off
VRAM size:       16MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  2
PAE:             on
Long Mode:       on
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
Time offset:     0ms
RTC:             UTC
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
State:           powered off (since 2016-05-16T10:30:22.996000000)
Monitor count:   1
3D Acceleration: on
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0):            IDE
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
Storage Controller Name (1):            SATA
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      1
Storage Controller Bootable (1):        on
IDE (0, 0): Empty
SATA (0, 0): C:\VirtualBox\Ubuntu14\Ubuntu14.vdi (UUID: b37ebfed-b1e2-4e3f-9160-cd143d571adf)
NIC 1:           MAC: 0800270D2B2F, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: DSOUND, Controller: AC97, Codec: AD1980)
Clipboard Mode:  Bidirectional
Drag and drop Mode: disabled
VRDE:            disabled
USB:             enabled
EHCI:            enabled
XHCI:            disabled

USB Device Filters:

<none>

Bandwidth groups:  <none>

Shared folders:

Name: 'LW', Host path: 'C:\LW' (machine mapping), writable

Video capturing:    not active
Capture screens:    0
Capture file:       C:\VirtualBox\Ubuntu14\Ubuntu14.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB

-------------------------------------------------------------------------------------------------------------

sergeyk@RED-H-VLIN:~$ lspci | grep Eth
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)

sergeyk@RED-H-VLIN:~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 08:00:27:0d:2b:2f  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:352 errors:0 dropped:0 overruns:0 frame:0
          TX packets:352 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:28016 (28.0 KB)  TX bytes:28016 (28.0 KB)


Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 16. May 2016, 17:46
by Perryg

Code: Select all

NIC 1:           MAC: 0800270D2B2F, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
  • Host bridged address = IPAddress: 10.0.0.100
    guest is using the hosts range = NAT: DNS#0: 10.0.0.1
    log shows NAT link up
So it looks like the link is being provided to the guest ( link up ) but the guest is not accepting it for some reason. If you still have the live CD can you create a new guest and boot to the Live CD function and see if it can get a network connection?

I should note that the guest additions have nothing to do with the network, host or guest, so I believe that to be a red herring.

You can also try the following in the guest to see if it will help:
edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 16. May 2016, 18:13
by redsoft
I can create new VM - it will work. Something happened in my concrete VM. Unfortunately, I didn't create its backup. It contains many stuff I installed previously!
/etc/udev/rules.d - I think this is the problem. There was not 70-persistent-net.rules file here! And it is not created at boot! I even tried to add such empty file, it doesn't help. This /etc/udev/rules.d now contains only some 60-vboxadd.rules file.

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 16. May 2016, 18:19
by Perryg
What is the exact version of the guest?

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 16. May 2016, 18:22
by redsoft
Ubuntu 14.04 LTS

Code: Select all

uname -a
Linux RED-H-VLIN 4.2.0-36-generic #41~14.04.1-Ubuntu SMP Tue Apr 19 17:03:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 16. May 2016, 18:29
by Perryg
OK give me some time to check this all out and get back to you.

One thing I would like for you to test while I am doing this though.
  • shut the guest down and go to the settings. Change the adapter from Intel to VirtIO and start the guest.

Re: Missed eth0 interface after Ubuntu and Guest Addition upgrades

Posted: 16. May 2016, 19:03
by Perryg
Ubuntu has changed the way they do the network stack and you probably will not have the rule but look at the following and post the information there.
  • /etc/network/interfaces