Qemu: How-To Share Network Access with the Ghest OS

Qemu Network Sharing

Create a file /etc/qemu-ifup that contain:

sudo modprobe tun
sudo /sbin/ifconfig $1 up netmask broadcast

# IP masquerade
sudo echo "1" > /proc/sys/net/ipv4/ip_forward
sudo /sbin/iptables -N nat
sudo /sbin/iptables -t …
‚ěü Read more

Qemu commands

Some useful command to help running and setup qemu…

  • Create an empty compressed 10 Go disk image (in qcow2 format):

    $ qemu-img create -f qcow2 /home/kevin/qemu-disk-image.qcow 10G
  • Boot on your machine‚Äôs CD-Rom in qemu with previous disk image as primary HDD:

    $ qemu -cdrom /dev/cdrom -hda …
‚ěü Read more

Remote Backup with rsync

This little article describe how to setup an automatic backup procedure to a remote machine via the rsync tool.


  • A distant server, where backup will be stored ( in this¬†case),

  • A user account on this server (mine was kevin),

  • A ssh deamon running on the server that ‚Ķ

‚ěü Read more