vm网络连接错误信息:failed to connect virtual device ethernet

本文记录了一次升级VMware Workstation后遇到的网络连接问题及解决过程。通过重新安装并配置网络组件,最终实现了虚拟机与宿主机之间的正常网络通信。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

vm网络连接错误信息:failed to connect virtual device ethernet

 

可以试着重新装一次vm,估计重新装过后还是这样(。。)

那你照下边说的做。

去下载个vm的安装程序,比如:VMware-workstation-5.5.2-29772.exe

然后把他放到c盘根目录

运行cmd

cd /

到c盘根目录

执行命令:

VMware-workstation-5.5.2-29772.exe /c

接着会问你一些问题,都是些稀松平常的问题。

当光标闪烁在c:/下边,运行VMware-workstation-5.5.2-29772.exe安装vm

这个过程中你可以选择网络链接设置(比如nat链接),选择你需要的,然后就可以拉


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


Home » VMTN Discussion Forums » Desktop and Hosted Products Archives » VMware Workstation Archives

Topic: Updated VM to 5.5 lost network

Welcome, Guest Help
LoginLogin
Guest Settings Guest Settings
This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 17 - Pages: 1 - Last Post: Sep 14, 2006 5:35 PM by: KevinG  
CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Updated VM to 5.5 lost network
Posted: Sep 13, 2006 9:22 AM
 
 Click to reply to this topic Reply

I have been using VM Workstation for years. I just upgraded my version from 4 to 5.5.2. All of my sessions came across.

My host machine has network connection. But my VM sessions do not. My individual session show "Local area connection network cable unplugged".

Now, I had problems upgrading my VM. It would not allow me to upgrade or uninstall my old version. So I went into the registry and helped. Then I could install. But I am sure my "help" caused the network connection between my VM and workstation to not become re-created.

So, any suggestions other than rebuild my machine and then re-install VM?

Thanks
Carl

dmair  

Posts: 3,107
Registered: 1/5/05
 Re: Updated VM to 5.5 lost network
Posted: Sep 13, 2006 12:14 PM   in response to: CarlWeber
 
 Click to reply to this topic Reply

What type of network connection do the VMs have (bridged, NAT, Host Only or custom)? What type of network connection does the host have?

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 13, 2006 12:20 PM   in response to: dmair
 
 Click to reply to this topic Reply

I have tried them all.

The sessions from the old VM version was bridged and they worked up until I upgraded VM.

Please remember, I am pretty sure that when I had to go into the registry to be able to un-install the old version of VM, that I messed something up. So that when I did install VM 5.5.2, it did not install the network portion.

By the way. There was not any VMWARE left in the registry before I began the VMWare workstation install.

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 6:39 AM   in response to: CarlWeber
 
 Click to reply to this topic Reply

Any idea? I am still trying to figure out how to set up my netowrk connection inside the VM session.

telfred  

Posts: 1,216
From: Europe
Registered: 8/12/05
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 6:52 AM   in response to: CarlWeber
 
 Click to reply to this topic Reply

In the VM Settings of the VM Guest, is the ethernet Device status Connected (ticked) and Connect at power on (ticked) ?

I have had the same problem when VM guests in a Team were on a host only LAN segment but had no VM Ware network setting ticked.

Hope that helps

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 8:40 AM   in response to: telfred
 
 Click to reply to this topic Reply

It is when it is not in session (powered on). But during initial power up, it gives me this error message {The network bridge on device VMnet0 is not running.... Failed to connect to virtual device Ethernet0} and unchecks that box. When I check that box, it gives me that message again.

I think the error is that when the VM workstation 5.5 was installed, it did not create the bridged network pieces on my host workstation.

Carl

telfred  

Posts: 1,216
From: Europe
Registered: 8/12/05
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 8:45 AM   in response to: CarlWeber
 
 Click to reply to this topic Reply

Sorry to be a nuisance when you say "All of my sessions came across" does that mean that you upgraded the Virtual machine for each guest ?

Having read your response to another posting I think the way that uninstalled VM Ware explains the problem you are experiencing.

Message was edited by:
telfred

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 9:09 AM   in response to: telfred
 
 Click to reply to this topic Reply

no way are you a nuisance, I just want to understand how to fix where I am at. I also feel that when I did the registry hack, I caused this problem. I made this hole and now I am trying to figure out how to get out of it.

I had about twenty different VMware sessions created in VM 4. (9x, NT4, 2K, XP, Linux SLED9 and SLED10 and NW6.5). Many of those had different combinations of applications and drivers. All of those came across with the upgrade. I see each of them as old VM versions. When I choose one of the sessions, I am asked if I want to upgrade it to the current version of VM or leave it. I have both upgraded the session and left it at the current version but each have not been able to connect to the network through the host machine.

My host machine is XP. I have been using it for about a year with VM 4. I create application objects with it. Or at least I created application objects until I did the upgrade that is.

I have not experienced any other problems with this machine. Everything else functions normal (as far as I can tell). Even VMware 5.5 installed normally after that. I even built a new session (virtual machine) and it has the same problem.

Carl

dmair  

Posts: 3,107
Registered: 1/5/05
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 10:12 AM   in response to: CarlWeber
 
 Click to reply to this topic Reply

Carl, Is this the same problem as you are discussing in another thread where I've been anwering? If so, let's end the discusion there and continue it here.

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 11:40 AM   in response to: dmair
 
 Click to reply to this topic Reply

Here is my ipconfig. Please note I do not have the normal VM configurations I expected (like I had in VM 4).

Windows IP Configuration
Host Name . . . . . . . . . . . . : 4FTITD52669-VM
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Peer-Peer
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : networkz.ws

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : networkz.ws
Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet
Physical Address. . . . . . . . . : 00-12-79-6C-3E-7B
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.10.81.40
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . : 10.10.1.1
DHCP Server . . . . . . . . . . . : 10.10.50.202
DNS Servers . . . . . . . . . . . : 10.20.4.72
10.10.50.1
10.10.50.3
Primary WINS Server . . . . . . . : 10.10.50.176
Secondary WINS Server . . . . . . : 10.10.50.171
Lease Obtained. . . . . . . . : Thursday, September 14, 2006 5:20:15 AM
Lease Expires . . . . . . . . . . : Friday, September 15, 2006 5:20:15 AM

KevinG    

Posts: 11,706
From: VCP Palo Alto, CA USA
Registered: 1/8/04
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 12:20 PM   in response to: CarlWeber
 
 Click to reply to this topic Reply

Post the .vmx file

Do you see the VMware Bridge protocol on the physical adapter properties?

What type of virtual networking are you currently trying to use in the virtual machine?

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 12:56 PM   in response to: KevinG
 
 Click to reply to this topic Reply

My *.vmx file is listed below.

I do not have VMware bridge protocol on my host machine physical adapter properties. When I installed 5.5, they were not created. I assumed that this is my problem. But I do not know how to create them.

I ONLY have the option of Bridged (that does not work) and Custom. NAT and Host-only are grayed out.

Please remember that I did remove everything I could find in the registry that was listed as VMware. Then I installed VM 5.5 workstation. I did this after my first attempt to install VM 5.5 ended in a abnormal end (BSD) and my machine auto rebooted. When my machine was back up, I could not install or un-install VM 5.5. So I went into the registry.

Thanks for your help.
__________________________
*.VMX file

config.version = "7"
virtualHW.version = "3"
scsi0.present = "TRUE"
memsize = "500"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "E:/My Virtual Machines/Build machine w NWclient/standard.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.present = "FALSE"
Ethernet0.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
displayName = "standard 2K"
guestOS = "win2000Pro"
priority.grabbed = "normal"
priority.ungrabbed = "normal"
powerType.powerOff = "default"
powerType.powerOn = "default"
powerType.suspend = "default"
powerType.reset = "default"

Ethernet0.addressType = "generated"
uuid.location = "56 4d eb 34 84 aa 6c 52-fc 31 e1 61 f4 3d 5c 85"
uuid.bios = "56 4d eb 34 84 aa 6c 52-fc 31 e1 61 f4 3d 5c 85"
tools.remindInstall = "TRUE"
ethernet0.generatedAddress = "00:0c:29:3d:5c:85"
ethernet0.generatedAddressOffset = "0"

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 2:40 PM   in response to: CarlWeber
 
 Click to reply to this topic Reply

I was able to work out a combination to get my VM machines (sessions) to see the host network.

1- I went into the global Edit - virtual network - Host Virtual Adapters and added my VMNet0 interface. Then went to Edit - virtual network - DHCP and added VMNet0. Then I had to shut down VMware. Bring it back up and I had this in the summery.

2- I went into the VM session and changed the settings - ethernet - to custom, VMNet0 (NAT)

3- then started the session and it connected.

I have to assume that something is still broken with my VM. Though I have a work around, I can't live with it. I will probably end up rebuilding this machine and re-installing all of my software including VM.

Next time I will think twice before I try and force a program to un-install by cleaning the registry. Next time when a program does not un-install, I will not upgrade until I have time to rebuild if I need to.

Carl

KevinG    

Posts: 11,706
From: VCP Palo Alto, CA USA
Registered: 1/8/04
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 2:45 PM   in response to: CarlWeber
 
 Click to reply to this topic Reply

Hi Carl,

The install of VMware workstation failed to install any of the network components. You really need to try a reinstall of the product

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 3:01 PM   in response to: KevinG
 
 Click to reply to this topic Reply

I will uninstall with the /c option. Then re-install. I would rather have it work than have to rebuild my entire machine.

Carl

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 3:15 PM   in response to: CarlWeber
 
 Click to reply to this topic Reply

YEAH !!!

There is life !!!

I put the file VMware-workstation-5.5.2-29772.exe on the root of my c: drive. I then opened a dos shell with CMD. I ran VMware-workstation-5.5.2-29772.exe /c. This asked me a number of questions that i accepted all the defaults.

Then, while still on the root of c:, I ran VMware-workstation-5.5.2-29772.exe. This went through the install once more. But this time I have the option to NAT my ethernet connection. I selected the option then I started the session (virtual machine) and it connected to my network.

Happy day, happy day, I am pleased to be happy today.

Thanks

Carl

CarlWeber  

Posts: 17
From: Boise Idaho
Registered: 9/13/06
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 3:56 PM   in response to: CarlWeber
 
 Click to reply to this topic Reply

Thanks for all the help.

Now on to better topics.

KevinG    

Posts: 11,706
From: VCP Palo Alto, CA USA
Registered: 1/8/04
 Re: Updated VM to 5.5 lost network
Posted: Sep 14, 2006 5:35 PM   in response to: CarlWeber
 
 Click to reply to this topic Reply

Hi Carl,

I am glad the uninstall worked for you. :-)

It was the best solution since you had too many network components that did not get installed.

Legend
Guru: 20001 - 50000 pts
Champion: 10001 - 20000 pts
Virtuoso: 5001 - 10000 pts
Master: 2001 - 5000 pts
Expert: 751 - 2000 pts
Hot Shot: 251 - 750 pts
Enthusiast: 51 - 250 pts
Novice: 6 - 50 pts
Lurker: 0 - 5 pts





Powered by Jive Software

<think>好的,用户的问题是关于无法连接到PulseAudio服务器以更新数据的解决方案。首先,我需要回忆一下PulseAudio的基本知识。PulseAudio是Linux系统中常用的声音服务,负责管理音频设备和应用程序之间的通信。当出现连接问题时,可能的原因有很多,比如服务未运行、权限问题、配置错误或网络设置问题(特别是在使用虚拟机或远程连接时)。 接下来,我应该逐步列出可能的解决方案。首先检查PulseAudio服务是否正在运行,因为有时候服务可能意外停止。用户可以通过systemctl命令来查看和启动服务。如果服务已经运行,可能需要重启它。 然后,检查用户权限。PulseAudio有时会因为用户权限问题而无法连接,尤其是在多用户环境或使用sudo时。确保用户属于audio和pulse-access组可能会有帮助。 配置文件的问题也可能导致连接失败。删除用户特定的配置目录(~/.config/pulse)并重启服务可以重置配置,解决潜在的配置错误。 网络或虚拟机环境中的问题也不容忽视。如果用户是在虚拟机(如VirtualBox或VMware)中运行,可能需要检查音频设置是否正确,或者启用MSI中断(如引用[2]提到的)。此外,检查环境变量如PULSE_SERVER是否正确设置,特别是在远程连接时。 另外,查看日志文件是诊断问题的重要步骤。通过journalctl或直接查看PulseAudio的日志,可以获取更详细的错误信息,帮助定位问题根源。 最后,如果以上方法都无效,可能需要考虑重新安装PulseAudio软件包,或者寻找替代方案如PipeWire,特别是在较新的Linux发行版中,PipeWire逐渐取代了PulseAudio。 在整理这些步骤时,需要确保语言简洁明了,结构清晰,让用户能够一步步跟随操作。同时,需要引用提供的参考资料,特别是在提到虚拟机设置时,引用[2]中的MSI中断设置可能相关。不过要注意,引用[1]关于电源管理的部分可能与当前问题无关,可能不需要包含在回答中。 还需要生成相关问题,帮助用户进一步了解PulseAudio的常见问题和使用方法,比如检查状态、与ALSA的关系、虚拟机配置以及调试方法等。这些问题应该自然延伸,覆盖用户可能遇到的后续疑问。 确保整个回答符合格式要求:使用正确的中文,LaTeX公式正确应用(虽然这个问题可能不涉及数学公式,但如果有提及相关参数或方程,需正确格式化),代码块使用适当的语法高亮,引用标识正确添加。最后检查是否有遗漏的步骤或可能的错误,确保解决方案的准确性和实用性。</think>### PulseAudio无法连接服务器的解决方案 要解决PulseAudio无法连接服务器的问题,请按以下步骤排查: 1. **检查服务状态** ```bash systemctl --user status pulseaudio ``` 如果服务未运行,执行: ```bash systemctl --user start pulseaudio ``` 若存在残留进程,可先终止: ```bash pulseaudio -k ``` 2. **验证用户权限** - 确保当前用户属于音频组: ```bash groups | grep -E 'audio|pulse-access' ``` - 添加用户到必要组: ```bash sudo usermod -aG audio,pulse-access $USER ``` 3. **重置配置文件**(会清除个性化设置) ```bash rm -r ~/.config/pulse && pulseaudio -k && pulseaudio --start ``` 4. **虚拟机特殊设置**(若适用) - 在VM设置中启用MSI中断[^2] - 检查音频设备直通模式 - 验证共享剪贴板/拖放功能是否干扰 5. **网络配置检查** ```bash echo $PULSE_SERVER # 应为空或本地地址 ``` 远程连接时需配置: ```bash export PULSE_SERVER=tcp:服务器IP:4713 ``` 6. **查看详细日志** ```bash journalctl -xe | grep -i pulse ``` 或启动调试模式: ```bash pulseaudio -vvv ``` **注意**:部分系统已默认使用PipeWire替代PulseAudio,可通过`pactl info`查看服务端信息。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值