Hello!
I have a problem with Debian 7.11 VM NIC under Incus 6.6. It only shows “lo” interface.
From Incus side, it is using “eth0” interface:
eth0:
nictype: bridged
parent: vlan50
type: nic
(VLAN is working, as some others instances are using it).
incus info old_deb
is showing that interface is up, but packages are not sent or received.
From VM side
**ip link show**
shows only “lo” interface
**/etc/network/interface**
includes simple configuration to just bring “eth0” up and configure ip address, network and gateway
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address
…
**lspci | grep -i eth**
05:00.0 Ethernet controller: Red Hat, Inc Device 1041 (rev 01)
**lshw -C network**
*-network UNCLAIMED
description: Ethernet controller
product: Red Hat, Inc
vendor: Red Hatm Inc
physical id: 0
bus info: pci@0000:05:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: msix pm pciexpress cap_list
configuration: latency=0
resources: iomemory:38400-383ff memory:fe0400000-fe040fff …
As it is “UNCLAIMED” it seems to be a driver issue.
When I was looking loaded “virtio” modules (lsmod | grep virtio), I saw that “virtio_net” was not loaded. So I tried to load it manually (modprobe virtio_net) and also added it to “/etc/modules”. Although the module was now loaded automatically, it did not solve the problem and network controller was still in “UNCLAIMED” status.
I upgraded linux kernel to 3.16, which should be last supported kernel for Debian 7.11 but that did not solve the problem. So I am kind of stuck here.
I know that with some other hypervisors it is sometimes necessary to change network driver (rtl / intel). I am not sure, it is the case with Incus.
It is very old Debian, but Is there a way to get Debian 7.11 vm network work under Incus 6.6?