[SOLVED] Qemu kvm : No eth0 inside a Slackware-13.0 guest, although listed in lspci and lsmod
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
maybe you got to use a different -net option when launching qemu.
in my enviroment I launch it with option "-net user": this is the full string I use for launching a vm
qemu -nographic -net nic,model=e1000 -smp 2 -net user -hda /spazio/qemu_images/slackcurrent.raw -m 1024 -redir tcp:5052:10.0.2.108:22 -boot c
in this example I gave the vm 2 cpus and, to use it with console login in nographic mode, I redirected connection to port 5052 to the internal ssh port of the vm to which I gave address 10.0.2.108 (default -net user gives you a gateway on 10.0.0.2, a dns server on 10.0.2.3 and a working dhcp server for that virtual lan), then I connect to the vm with
ssh -p 5052 user@localhost
(it should work also with the ip address of your host)
I'm using 13.0 32 bit stable as guest.
Indeed, it's strange that the wrong module is loaded by default.
I installed all except X related stuff (KDE, fltk, x, xap ...) and kernel sources. I didn't installed TeX too.