Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The issue is to connect to internet the Devil Linux using qemu.
I start with this:
- install qemu
- download Devil Linux iso
- start qemu with Devil Linux
Code:
qemu-system-x86_64 -boot d -cdrom ~/devil-linux-1.8.0-rc2-x86_64/bootcd.iso -m 512
- I try to use setup from Devil Linux but not working ( test with lynx browser)
Configuration of network
- internet - router (DHCP ipv4) - Fedora distro - qemu virtualization of Devil Linux -
The ifconfig command:
If you know how to solve this issue just post it. Any help with Devil Linux and hardware , configuration and update - just send me one message. Any help with Fedora configuration and development - just send me one message.
VM's like qemu use one of two (or more) default ways to connect. Common are bridged and nat. I haven't use qemu on a system with predictive nameing of nics but I think your example from from host?? http://wiki.qemu-project.org/Documentation/Networking is a sort of good example. From your start command line there is no mention of using any sort of networking so I'd think the default would be that you should be using a virtual router in the vm. The subnet is shown in drawing in link.
VM's like qemu use one of two (or more) default ways to connect. Common are bridged and nat. I haven't use qemu on a system with predictive nameing of nics but I think your example from from host?? http://wiki.qemu-project.org/Documentation/Networking is a sort of good example. From your start command line there is no mention of using any sort of networking so I'd think the default would be that you should be using a virtual router in the vm. The subnet is shown in drawing in link.
Yes I think is need to add the net args , please refer to my example.
(I try also some args but the main reason is: what is wrong? the qemu args or setting of this Devil Linux I'm not very good with english and I don't build the Enterprise station with all features:smb ...)
There are many web pages on how to set up qemu. If you tell me which one you are using then I could look at it to see if that is right.
There are three parts to this question.
Host, VM and client. Each one has settings to allow connection. Every version of qemu is slightly different so you'd have to use the documentation for that version. I'd assume it should use NAT by default as I pointed out in link.
I don't use Devil linux so I really can't guess that. OK, looked it up. It's a one of a kind distro so not sure what way to go.
I'd think that you should consider making two nics in the command line at least. Normally in a firewall distro you use two nic's. One for wan and one for lan. So in this case you could look up other firewalls meant to run in a VM to protect home systems.
Might be worth it to use an easier gui front end or use VirtualBox instead of qemu.
I understand your args , but the problem is not solve by Devil Linux and briged connection:
- this linux come with setup tool interface (cmd : setup);
- the ping to 127.0.0.1 working well, not for another ip - Network is unreachable;
- I try settings for NIC and network is not working with setup tool:
* the autodetect module not work /lib/modules/4.8.15 with modprobe autoselect;
* the DHCP is set to yes ( save-config -s to save it);
* want to set manually the network interface (over DHCP into setup tool);
module network and config ip's over network.
(maybe the old FreeBSD / BSD linux tutorials can help me)
i also could get it done until someone give me command i posted. way dont try with libvirt virt-manager it will defenitly work, you can still use qemu emulator.
virsh --connect qemu:///system start isoname
in virtmanager display options change spice to vnc.
vncviewer 127.0.0.1:0
i reed on arch documents that ping whont work when using host based network (default) if you dont setup interface. check this maybe giv you some ideas
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.