Making legacy Linux networking work in Hyper-V
- Launch Virtual Machine Settings
- Remove Network Adapter.
- Add Legacy Network Adapter.
- Make sure Legacy Network Adapter is conected to a live network.
- Boot your Virtual Machine. A lot of linux systems will work at this stage or automatic script will kick in and help you configure new adapter. If not proceed further.
- Ensure that your system detects Legacy network card. Login into the legacy system and run lspci . One of the lines should contain Ethernet controller: Digital Equipment Corporation DECchip 21140 [FasterNet] (rev 20) . If the line is not there then either you did not add the legacy network adapter or virtual OS system is extremely old. Lets assume the Legacy Network Adapter was found and we can proceed. If you don't have lspci in your legacy system proceed anyway.
- Login as root to the system and edit depending on linux kernel version (to check linux version use uname -a )
- /etc/modprobe.conf (kernel 2.6)
- /etc/modules.conf (kernel 2.4)
- (or for older systems: /etc/conf.modules)
If everything goes well you will have a Linux VM with working network access.
Hopefully, this helps.