Changes between Version 1 and Version 2 of reporting

Show
Ignore:
Timestamp:
10/27/09 03:14:06 (8 years ago)
Author:
pierre
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • reporting

    v1 v2  
     1[[TOC]] 
     2 
    13== Reporting functionality == 
    24 
     
    57==== Testing via Qemu ==== 
    68 
     9===== Overview ===== 
    710The virtual machine needs access to the internet. If you don't have a PXE/tftp server on you network, you can use the one bundled with Qemu. 
     11In order for the guest to have access to the built-in PXE server and be on the network as well, you need to create a bridge. 
    812 
    9 In order for the guest to have access to the built-in PXE server and be on the network as well, you need to create a bridge. To do so, replace the entry in {{{/etc/network/interfaces}}} for your existing network card (e.g. {{{eth0}}}). 
     13===== Creating the bridge ===== 
     14 
     15To create a bridge, replace the entry in {{{/etc/network/interfaces}}} for your existing network card (e.g. {{{eth0}}}). 
    1016 
    1117{{{ 
     
    2632}}} 
    2733 
    28 In case you are using a static IP: 
     34In case you are using a static IP address 
    2935 
    3036{{{ 
     
    5359Restart your network ({{{/etc/init.d/networking restart}}}). The physical interface ({{{eth0}}}) should be 'UP' but without an IP address assigned to it. {{{br0}}} should be 'UP' and have an IP address. 
    5460 
    55 Replace Qemu default networking script {{{/etc/qemu-ifup}}} by 
     61Replace now Qemu default networking script {{{/etc/qemu-ifup}}} by 
    5662 
    5763{{{ 
     
    8187-net tap -net nic 
    8288}}} 
     89 
     90===== Using Qemu built-in tftp server with the bridge ===== 
     91 
     92The following options makes the guest boot from its networking card and fetches {{{pxelinux.0}}} via tftp (data directory located at {{{~/pxe}}}) 
     93{{{ 
     94-tftp /pxelinux.0 -bootp ~/pxe -boot n 
     95}}} 
     96 
     97The following ones bring up both the bridge and the internal tftp server ({{{-net user}}}) 
     98 
     99{{{ 
     100-net user -net nic -net tap 
     101}}} 
     102 
     103For example 
     104 
     105{{{ 
     106qemu \ 
     107    -net user \ 
     108    -net nic -net tap \ 
     109    -boot n \ 
     110    -bootp /pxelinux.0 -tftp ~/pxe \ 
     111    -hda debian_etch_i386_small.qcow \ 
     112    -serial stdio 
     113}}}