LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-19-2017, 06:16 PM   #1
battles
Member
 
Registered: Apr 2014
Distribution: Debian GNU/Linux 7.5 (wheezy)
Posts: 258

Rep: Reputation: Disabled
Unable to get Slackware to connect to network (VMware)


I think I see what the problem is. The VMware Network Adapter is set to Bridge.

I got this error from the VMware log:

VNET: MACVNetPort_Connect: Ethernet0: can't open vmnet device (2)
2017-10-19T15:53:09.428-05:00| vcpu-0| I125: Msg_Post: Warning
2017-10-19T15:53:09.429-05:00| vcpu-0| I125: [msg.vnet.connectvnet] Could not connect 'Ethernet0' to virtual network 'VMnet0'. More information can be found in the vmware.log file.
2017-10-19T15:53:09.429-05:00| vcpu-0| I125: [msg.device.startdisconnected] Virtual device 'Ethernet0' will start disconnected.

It seems that Ethernet0 is failing to connect to VMnet0. In the VMware Network Adapter settings, there is an option to 'Custom: Specific virtual network', but it is showing the name to be VMnet1. Does the Slackware system need to be changed to point to VMnet1? If so, where would this change be made?

Thanks.
 
Old 10-19-2017, 06:38 PM   #2
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
battles --

Q1: What VMWare Host Application are you running ?

Q2: What are you trying to do with your Guest Systems ?

-- kjh
 
Old 10-20-2017, 01:15 AM   #3
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
What is your host OS? (M$Win? Ubuntu?)
I'll assume slackware is guest. What net devices does it see?

Try www-searching the error messages!!! They return lots
Explain the setup a bit further (simpler&clearer): I use VBox (so I may not understand VmWare)
I'm wild-guessing "specificVnet1" may be what VBox calls "Internal net", to be manually created

I think we might be mixing up what net=Vswitch-box the Vcable from the VM Vnic is Vplugged-into
(sorry, I can't describe it well)
 
Old 10-20-2017, 06:59 AM   #4
battles
Member
 
Registered: Apr 2014
Distribution: Debian GNU/Linux 7.5 (wheezy)
Posts: 258

Original Poster
Rep: Reputation: Disabled
I am not into networking too much, so don't know how to answer too well.

I am using VMware. I desire to use the internet.

I do have VirtualBox installed, so I'll try using it. I do like using VMware better though.

Thanks for answering.
 
Old 10-20-2017, 09:42 AM   #5
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
battles --

EDIT: If all you need is internet access then go with NAT and DHCP in your Guest.

Are you running VMWare Workstation or VMWare Player or VMWare eSXi ?

If Workstation or Player, what is your Host OS ( i.e. what OS do you run the VMWare Host Application on ) ?

I run VMWare Workstation on Slackware64 14.2 + Multilib. i.e. Slackware64 14.2 is my VMWare Host.

I use NAT Networking and DHCP for my Win7 VMWare Guest because all I want is to be able to read Outlook Email and to run GoTo Meeting in Win7.

I also use NAT Networking and Static IP Addresses for Slackware and CentOS 6 and CentOS 7 guests to occasionally mess around with various flavors of Linux.

NAT'ed Network Traffic is routed thru the vmnet8 interface on my Slackware64 14.2 VMWare Host.

And the vmnet8 interface was assigned IP Addr 172.16.162.1 when I installed VMWare Workstation on my Host ( !!! Yours will be different !!! )

VMWare Workstation includes an internalDHCP Server and DHCP Guests are auto-assigned an IP Address via DHCP in the range: 172.16.162.128 172.16.162.254

This is configurable for each of the three interfaces ... look in Host:/etc/vmware/vmnet8/dhcpd/dhcpd.conf

For my NAT Network, the VMWare DHCP Server automatically created for my Windows guest:

Code:
* an internal Gateway   ( 172.16.162.2 ), 
* a private DHCP Server ( 172.16.162.254 ), 
* a DNS Server          ( 172.16.162.1 ) and 
* a Primary WINS Server ( 172.16.162.2 )
See below.

I suggest you read the Documentation for your VMWare Application, decide on what kind of network you need and go from there.

HTH and good luck

-- kjh

Code:
C:\Users\konrad>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : win7u
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : localdomain

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : localdomain
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
   Physical Address. . . . . . . . . : XX-XX-XX ...
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : xx xx xx xx xx(Preferred)
   IPv4 Address. . . . . . . . . . . : 172.16.162.138(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Wednesday, October 18, 2017 6:49:00 PM
   Lease Expires . . . . . . . . . . : Friday, October 20, 2017 9:18:31 AM
   Default Gateway . . . . . . . . . : 172.16.162.2
   DHCP Server . . . . . . . . . . . : 172.16.162.254
   DHCPv6 IAID . . . . . . . . . . . : 234884137
   DHCPv6 Client DUID. . . . . . . . : XX XX XX ...

   DNS Servers . . . . . . . . . . . : 172.16.162.1
                                       8.8.8.8
   Primary WINS Server . . . . . . . : 172.16.162.2
   NetBIOS over Tcpip. . . . . . . . : Enabled

Last edited by kjhambrick; 10-20-2017 at 09:44 AM. Reason: add edit
 
Old 10-20-2017, 12:39 PM   #6
battles
Member
 
Registered: Apr 2014
Distribution: Debian GNU/Linux 7.5 (wheezy)
Posts: 258

Original Poster
Rep: Reputation: Disabled
Running VMWare Player.
OS: Windows 7 x64

I tried selecting NAT, but still doesn't connect.

"Could not connect 'EthernetO' to virtual network 'VMnet8'.
More information can be found in the vmwareJog file.
Virtual device 'EthernetO' will start disconnected."

Here is my VMware ipconfig vmnet(s):

Ethernet adapter VMware Network Adapter VMnet1 & 8:


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : JCBlocal
Description . . . . . . . . . . . : Intel(R) 82567LM-3 Gigabit Network Connection
Physical Address. . . . . . . . . : 00-22-19-FF-14-42
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::d5bc:1d04:c0ae:7ea3%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Friday, October 20, 2017 5:46:26 AM
Lease Expires . . . . . . . . . . : Friday, October 20, 2017 1:46:26 PM
Default Gateway . . . . . . . . . : fe80::1:1%11
192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DHCPv6 IAID . . . . . . . . . . . : 184558105
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1E-1C-9A-25-00-22-19-FF-14-42
DNS Servers . . . . . . . . . . . : 127.0.0.1
127.0.0.2
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VirtualBox Host-Only Network:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 0A-00-27-00-00-0E
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::e565:ce3a:1906:f539%14(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 269090855
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1E-1C-9A-25-00-22-19-FF-14-42
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::5489:290b:1fb2:a2d%16(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.10.45(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 268456022
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1E-1C-9A-25-00-22-19-FF-14-42
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::60c9:9ecb:a5c5:b910%17(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.185.16(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 285233238
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1E-1C-9A-25-00-22-19-FF-14-42
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Last edited by battles; 10-20-2017 at 01:40 PM.
 
Old 10-20-2017, 03:11 PM   #7
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by battles View Post
Running VMWare Player.
OS: Windows 7 x64

I tried selecting NAT, but still doesn't connect.

"Could not connect 'EthernetO' to virtual network 'VMnet8'.
More information can be found in the vmwareJog file.
Virtual device 'EthernetO' will start disconnected."
battles --

Which system reports that error ?

The Windows Host ... or ...
The Slackware Guest ?

-- kjh
 
Old 10-20-2017, 03:21 PM   #8
battles
Member
 
Registered: Apr 2014
Distribution: Debian GNU/Linux 7.5 (wheezy)
Posts: 258

Original Poster
Rep: Reputation: Disabled
When I Click 'Play virtual machine' in VMware, the message immediately pops up in the bottom right corner of the window that appears. I guess that would be the 'Windows Host'.
 
Old 10-20-2017, 03:47 PM   #9
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
battles --

I can't help you with your VMWare Player Installation on Windows because:

I don't run VMWare Player on Windows, I run VMWare Workstation on Slackware Linux

You need to get that going first ... maybe: The VMware Workstation Player Page ?

Once you can start up VMWare Player without errors, the Network Intefaces in your Guest OS will look like a 'real' Network .Interface.

Linux Example: look for eth0, etc.

HTH.

-- kjh
 
Old 10-20-2017, 04:45 PM   #10
battles
Member
 
Registered: Apr 2014
Distribution: Debian GNU/Linux 7.5 (wheezy)
Posts: 258

Original Poster
Rep: Reputation: Disabled
This turned out to be a relatively easy fix. I googled "Could not connect 'EthernetO' to virtual network" and found the answer in superuser.com.
Went to control panel/right clicked on VMware/Change and then simply did a Repair from the VMware dialog.

Did the same Restore on VirtualBox, but didn't fix it.

Thanks for all the help, it made me see what to look at.

Last edited by battles; 10-20-2017 at 06:00 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect to Internet in the Guest Machine on VMware Workstation jcvd_1 Linux - Networking 1 05-30-2013 12:40 PM
[SOLVED] Host OS unable to connect to Guest OS (virtual machines) in VMware vikas027 Linux - Virtualization and Cloud 18 08-16-2012 08:15 AM
[SOLVED] VMware - Fedora Core 10 - Unable to connect to Internet pratyush Linux - Virtualization and Cloud 6 05-21-2010 04:19 PM
Network: Able to connect to encrypted, but unable to connect to open. WalterGL Linux - Newbie 1 09-16-2009 04:17 PM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:11 PM.

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