Skip to main content
Topic: VMWare: Networking doesn't work (Read 147 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

VMWare: Networking doesn't work

Hi guys, pls help me, I'm trying to set up a Windows 10 VM, because there's one stupid program I need for work.
I am running Artix-runit on Linux-6.12.17-1-lts.

I installed vmware-workstation from the AUR and got the VM to start just fine, except that the networking doesn't work, I get this message: Could not connect 'Ethernet0' to virtual network '/dev/vmnet0'.
When I look into vmware.log, it says that it couldn't find the file:
VNET: MACVNetPortOpenDevice: Ethernet0: can't open vmnet device (No such file or directory)

Then I tried to run vmware-netcfg and got the Message "Network configuration is missing, ensure that /etc/vmware/networking exists." (When I touch the file, it just says that it's contents are not formatted correctly)

I the read the Arch Wiki page on VMWare and there it says that I need to run # systemctl start vmware-networks-configuration.service to generate /etc/vmware/networking. I looked in my /etc/runit/sv/ directory, but there's no vmware-folder, and there's no runit-package on the AUR.
I also tried finding vmware-networks-configuration.service online to have a look at what it does, but to no avail.

If anyone has set up vmware on their machine and could help me out here, I'd very much appreciate it! Thank you!

Re: VMWare: Networking doesn't work

Reply #1
If there are no runit services for vmware you have to create them yourself based on the systemd ones. How well it will work is hard to predict. An alternative is to use an alternative virtualization solution.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: VMWare: Networking doesn't work

Reply #2
I also tried finding vmware-networks-configuration.service online to have a look at what it does, but to no avail.
It should be on your computer as it's part of the vmware-workstation package.
It contains this:
Code: [Select]
[Unit]
Description=VMware Networks Configuration Generation
ConditionPathExists=!/etc/vmware/networking

[Service]
UMask=0077
ExecStart=/usr/bin/vmware-networks --postinstall vmware-player,0,1
Type=oneshot
RemainAfterExit=yes
So make a runit service that runs
Code: [Select]
/usr/bin/vmware-networks --postinstall vmware-player,0,1
and that should hopefully work.
In the meantime, and to test, just running that command as root before you start vmware should also work.
Quote
If anyone has set up vmware on their machine and could help me out here, I'd very much appreciate it! Thank you!
If your still having issues Oracle Virtualbox and libvirt/virt-manager are arguably better options than Vmware.

Re: VMWare: Networking doesn't work

Reply #3
I am running Artix-runit on Linux-6.12.17-1-lts.

I installed vmware-workstation from the AUR and got the VM to start just fine, except that the networking doesn't work,

https://github.com/unicatte/vmware-runit
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "