Continuing from this question: Firmware analysis and file system extraction?

I am trying to run the QNap firmware using QEmu. I have basically the same firmware as is used in the question above.

My QEMU command is as follows:

sudo qemu-system-x86_64 -kernel bzImage -initrd initrd.boot -m 2048 -smp 8

This works and I get the QNap login page.

But there is one thing that I cannot get to work (I tried lots of things...), that is: How to get networking up and running? There is only the local loopback interface when I use the ifconfig command. There should be a default NIC for qemu VM's, but I only see it on startup when simply running the qemu-system-x86_64 command. What can I do to get this VM running with networking configured, so I can perform some tests with it?


1 Answer 1


Use the -net argument -net nic,model=rtl8139. Of course replace rtl8139 with your network device model (e1000, i82551, i82557b, ...)

Further explanations are found on this Wiki Documentation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.