I just set up a QEMU image with Ubuntu on ARM64 as per the instructions described here. However, ifconfig -a does not seem to show me an eth0 or eth1 interface as I'd expect. Why is that?

root@localhost:~# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Because your kernel lacks the appropriate driver for your network device (virtio-net, in this case) or for some reason your system image is broken and the driver is not being autoloaded.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy