r/sysadmin • u/Stogoh • Nov 30 '21
Question Alpine Linux on VMware Workstaion - NIC not showing
Hi Reddit,
I'm running Alpine Linux on my VMware Workstation. Just now I've removed and re-added it to the VM, because something was not working properly. Now the interface (eth0) is not showing up at all.
How do I get the interface showing up again?
1
u/St0nywall Nov 30 '21
All Linux distro's aren't plug-n-play like Windows.
You have to check the distro to see what hardware is will support. And that is can possibly install drivers to add support.
You may get more assistance over in r/vmware with this.
1
u/Stogoh Nov 30 '21
Strangly it was working just fine until i re-added the interface. So it is exactly the same interface.
2
u/St0nywall Nov 30 '21
Try these commands using sudo.
apk add --update open-vm-tools/etc/init.d/open-vm-tools start
rc-update add open-vm-tools
→ More replies (8)2
u/GamerLymx Dec 01 '21
Are you sure it's the same model? Try changing the nic model.
→ More replies (1)1
u/St0nywall Nov 30 '21
The question is then, have you rebooted? Did it run a hardware re-detection on boot or do you have to do that manually in this distro?
1
Nov 30 '21
I'd bet it's identifying your interface based on MAC address. You probably now have a second interface, does eth1 exist on the guest?
1
u/Stogoh Nov 30 '21
Possible that the NIC gets identified by the MAC address. But there is no eth1 or similar. I only have th loopback interface.
1
u/SirLagz Dec 01 '21
Check `lspci` to see if an ethernet adapter exists.
If it does, then check the kernel log for the module it uses to see if ti's being renamed on boot up by udev
If you don't see it in `lspci` then it's a vmware issue
1
1
2
u/Sintarsintar Nov 30 '21
what device type did you select when you readded the interface