You are not logged in.
Hello,
I need to do some tests using OpenWrt and I chose to run it on a virtual machine (using qemu).
Once downloaded the Attitude Adjustment version (12.09) (here) I've run it simply by
qemu -hda openwrt-x86-generic-combined-ext4.img
that correcly (I think ...) returns a virtual machine running OpenWrt.
Though I'm connected from my laptop (the host?), if I try to ping any address from the guest (right?) I can't get any useful result. Indeed
ping -c1 www.google.com
ping: bad address `www.google.com'
Probably there are tons of article out there, but I'm pretty a newbie with networks and I can't make myself in comfort among all that documentation.
Thanks,
Giuseppe
Post scriptum: I'm appending the /etc/config/network here
configure interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
configure interface lan
option ifname eth0
option type bridge
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
Offline
Then let's start with the local wiki: https://wiki.archlinux.org/index.php/Qemu#Networking
Offline
If you do not want to set up the network by yourself, you can use the GUI, like virt-manager, it's very useful.
Offline