Page 1 of 2

Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 11:28
by isagarran
Ubuntu Trusty host / Seven Guest
Virtualbox 4.3.38.r106717

Hello ,

I'm quite new on this forum. I hope that you'll be able to help me.
I installed a seven workstation and it seems to work fine. After a while, I lots the connection to the host. Not sure if it cames after virtualbox guest addons installation. As I rebooted multiple times, I installed software (office, ...) So i had network and I lost it.
Driver Intel 1000 PRO MT desktop adapter tells me that it works fine, I updated it manually but it didn't change anything.
I've always a redcross on the rigth of the dektop "not connected - no connection is available"
ipconfig /all return nothing
the card itself is activated (deactivating/activating it doesn't change anything) . double clicking on it, details show nothing.

I am using the NAT option but I tried bridge network option whithout any effect.
I'm totally lost. I didn't see anything in virtualbox log,

could you help me? I'll appreciate greatly.

Regards.
Isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 14:33
by isagarran
Hello,

always digging ... I deactivated IPV6 on both computers (Host and guest) to be sure to use same protocol.

I've always the issue.

isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 14:54
by isagarran
Hello some screeenshots of my configuration
* VirtualBox Network guest config
Network guest config
Network guest config
Sélection_005.jpg (32.72 KiB) Viewed 5376 times
* error displayed
error
error
Sélection_007.jpg (9.14 KiB) Viewed 5376 times

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 18:52
by isagarran
Hello,
always investigating. I look around in the forums and I saw several commands that could be helpful. .. but for me not very understandable.
Some VirtualBox commands ran on host server (Ubuntu trusty):

Code: Select all

VBoxManage list natnets
This returns nothing. Not sure but it seems that it is the reason why I didn't get any network in my VM.

Code: Select all

VBoxManage list -l intnets
Name:        intnet
Not sure of the meaning ...

Code: Select all

VBoxManage list -l bridgedifs
Name:            wlan0
GUID:            6e616c77-0030-4000-8000-100ba9e86fd8
DHCP:            Disabled
IPAddress:       192.168.1.14
NetworkMask:     255.255.255.0
IPV6Address:     
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 10:0b:a9:e8:6f:d8
MediumType:      Ethernet
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-wlan0

Name:            eth0
GUID:            30687465-0000-4000-8000-f0def1dce90d
DHCP:            Disabled
IPAddress:       0.0.0.0
NetworkMask:     0.0.0.0
IPV6Address:     
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: f0:de:f1:dc:e9:0d
MediumType:      Ethernet
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-eth0
There I'm at home and I'm using Wifi to connect.

Code: Select all

VBoxManage list -l dhcpservers
NetworkName:    HostInterfaceNetworking-vboxnet0
IP:             192.168.56.100
NetworkMask:    255.255.255.0
lowerIPAddress: 192.168.56.101
upperIPAddress: 192.168.56.254
Enabled:        Yes
Not sure if it can be helpful this command.

Then here are the interfaces:

Code: Select all

ip a show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    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
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether f0:de:f1:dc:e9:0d brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 10:0b:a9:e8:6f:d8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.14/24 brd 192.168.1.255 scope global wlan0
       valid_lft forever preferred_lft forever
I uploaded also the result of showVMinfo. there is some information related to network. Is there something wrong ?
NIC 1: MAC: 0800279F994F, 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)
showVMInfo.txt
ShowVM Info
(4.21 KiB) Downloaded 5 times
I'll appreciate if someone could spend some time to read these information and give me some guidelines. Do I need to upgrade to 5.0 ? will I keep my data ? will this solve the problem ?

regards. Isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 19:28
by isagarran
Investigating ...

For test purpose, I created a NAT network

Code: Select all

VBoxManage natnetwork add --netname natjps --network "192.168.2.0/24" --enable
VBoxManage natnetwork start --netname natjps
sudo VBoxManage list -l natnets    [color=#FF0000] >>> return nothing[/color]
configuring Windows guest with NAT network and not NAT, it found natjps. But the network wasn't there in the VM.

Let me know if you have some ideas
regards.isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 20:08
by isagarran
Hello,
again, I'm there. Hope someone listen :))

I saw in some forums that it has been found a bug related to dnsmask and virtualbox. I ran several command and it seems that I'm in the configuration where virtualbox had a bug. (I don't know if this bug always exist). Perhaps it is why windows guest doesn't work.

Code: Select all

dnsmasq listens on 127.0.1.1
sudo netstat -nl46p | grep :53
tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN      1788/dnsmasq    
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      1406/dnsmasq    
tcp6       0      0 ::1:53                  :::*                    LISTEN      1406/dnsmasq    
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           6132/libpepflashpla
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1232/avahi-daemon: 
udp        0      0 127.0.1.1:53            0.0.0.0:*                           1788/dnsmasq    
udp        0      0 127.0.0.1:53            0.0.0.0:*                           1406/dnsmasq    
udp6       0      0 :::5353                 :::*                                1232/avahi-daemon: 
udp6       0      0 ::1:53                  :::*                                1406/dnsmasq    
/etc/hosts

Code: Select all

more /etc/hosts
127.0.0.1	localhost
127.0.1.1	HanaYori
resolv.conf

Code: Select all

more /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
What do you think ?
Isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 20:16
by isagarran
Alas,
bad news. I ran the workaround given for this issue : VBoxManage modifyvm VMNAME --natdnshostresolver1 on
and this didn't solve the issue.
I need help .
regards.Isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 20:55
by Perryg
Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.
  • From the hosts terminal window type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.
As well as the following from the hosts terminal:
  • VBoxManage list bridgedifs
    VBoxManage list hostonlyifs
    VBoxManage list natnets

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 22:16
by isagarran
Thanks for the reply,

Please find them here:
showvminfo.txt
(4.17 KiB) Downloaded 15 times
bridgeifs.txt
(671 Bytes) Downloaded 17 times
VBoxManage list hostonlyifs returns empty

this nat network has been defined previously (a test done to check if something changed. Nothing in the behavior except that instead having an empty list on the command, I have this below)
natnets.txt
(204 Bytes) Downloaded 17 times
I gave above the commands used tto create the NAT network.

Thanks for your help.Isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 17. May 2016, 22:32
by Perryg
Did you edit the original NAT network or did you create a new one yourself?
  • Your guest settings show you are connected to NIC 1: MAC: 0800279F994F, Attachment: NAT,
    But your network you created is named NetworkName: natjps
Verify that you are actually using the right one.

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 18. May 2016, 10:12
by isagarran
Hello,

I did several tests. What I tried to use is a NAT configuration. It is what was working for a while and do no longer work.
As connection doesn longer work, I tried, "host only, bridge, .... " without any success. I discovered "NAT network" configuration that is a new one for me.
I found commands to create a NAT network (I posted them above in the post). I created natjps NAT network. This configuration also doesn't work.
So I go back on my original configuration which was simply "NAT" configuration
Output of command vboxmanage list natnets show the NAT network I created but I think, I do no longer use now.

regards. Isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 18. May 2016, 11:10
by isagarran
Hello,

Just in order to be accurate. This is my VB guest configuration
Sélection_016.jpg
Sélection_016.jpg (30.38 KiB) Viewed 5335 times
t is NAT and not "NAT network" and you can find the macaddress, you show.

Regards, Isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 18. May 2016, 13:55
by isagarran
Hello,

for test purpose, I installed an old Windows XP I had. I got the network.
I did showvminfo on this VM and the only difference with Windows seven is on the IO/APIC that was off. I set them off but my Windows seven but it always not working fine from a network point of view.
Where the problem com from ? I've an error with Symantec (SEP). It can't install virus definitions but I don't think it will block the Windows seven.
Is there a way to check if the problem come from Windows itself or Virtualbox ?

regards.Isagarran

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 18. May 2016, 14:24
by Perryg
I've an error with Symantec (SEP)
Virus software has been know to effect the network.

If you could think back to when the guest was working and what you installed between there and the time it stopped, I believe you will find the cause.
Also it is not a good idea to disable IO-APIC on a Windows guest after you install with it on. This can lead to a corrupt guest.

Re: Network not working (Ubuntu Host - Windows 7 Guest ]

Posted: 18. May 2016, 14:48
by isagarran
Hello,

Yes I understand. I just build the VM, Symantec was installed just after installation (firewall, threats protect, ...) . I've an error I think due to the fact that I don't have any network

I stop Symantec process in order to be sure that it is not involved in the problem. Then I deactivated the card and activated it
Sélection_019.jpg
Sélection_019.jpg (7.79 KiB) Viewed 5322 times
each time, it activates it ... it does it but just before it tells me that the cable is not connected.
Sélection_019.jpg
Sélection_019.jpg (7.79 KiB) Viewed 5322 times
In the VB network configuration, I checked "cable connected" but it seems that it doesn't detect it.


Regards. Isagarran