Changes between Version 1 and Version 2 of reporting
- Timestamp:
- 10/27/09 03:14:06 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
reporting
v1 v2 1 [[TOC]] 2 1 3 == Reporting functionality == 2 4 … … 5 7 ==== Testing via Qemu ==== 6 8 9 ===== Overview ===== 7 10 The 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. 11 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. 8 12 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 15 To create a bridge, replace the entry in {{{/etc/network/interfaces}}} for your existing network card (e.g. {{{eth0}}}). 10 16 11 17 {{{ … … 26 32 }}} 27 33 28 In case you are using a static IP :34 In case you are using a static IP address 29 35 30 36 {{{ … … 53 59 Restart 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. 54 60 55 Replace Qemu default networking script {{{/etc/qemu-ifup}}} by61 Replace now Qemu default networking script {{{/etc/qemu-ifup}}} by 56 62 57 63 {{{ … … 81 87 -net tap -net nic 82 88 }}} 89 90 ===== Using Qemu built-in tftp server with the bridge ===== 91 92 The 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 97 The 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 103 For example 104 105 {{{ 106 qemu \ 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 }}}
