Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:guides:pxe [2011/09/11 21:35] – [Why using PXE ? The VNC example] bellard | en:guides:pxe [2020/09/20 14:51] (current) – old revision restored (2018/03/05 16:48) hgt | ||
|---|---|---|---|
| Line 50: | Line 50: | ||
| append initrd=/ | append initrd=/ | ||
| * Example of a PXE server configuration: | * Example of a PXE server configuration: | ||
| + | \\ | ||
| + | ==== Test the PXE server with QEMU ==== | ||
| + | |||
| + | * Install qemu < | ||
| + | * Launch the VM < | ||
| \\ | \\ | ||
| ===== PXE Client Set-Up ===== | ===== PXE Client Set-Up ===== | ||
| Line 181: | Line 186: | ||
| download.tuxfamily.org/ | download.tuxfamily.org/ | ||
| - | ===== Why using | + | ===== Why use PXE ? The VNC example ===== |
| - | Let's say that your company is working on very sensitive data. | + | Let's say that your company is working on some very sensitive data. |
| - | You don't want that people | + | You don't want people |
| - | Only few users could use these datas. | + | Only a few users can use this data. |
| - | * PXELINUX chooses a special configuration by MAC address in // | + | * PXELINUX chooses a special configuration by the MAC address in // |
| - | * It send a kernel and a initramfs | + | * It checks the md5 (or sha256) password of the user boot entry with menu.c32 |
| - | * the client boots in 1 to 5 seconds with a VNC framebuffer client | + | * It sends a kernel and an initramfs with a **fbvnc** package built by http:// |
| - | * the VNC server can send any OS display | + | * The client boots in 1 to 5 seconds with a VNC framebuffer client |
| - | * the client has no media driver and can have a 10 years old hardware | + | * The VNC server can send any OS display |
| - | * the target OS can run into a VM : more scalable and easier to maintain than mutliple | + | * The client has no media driver and can use 20 year old hardware |
| - | * No data are stored on the client machine. It may have no disk. It only needs an ethernet card. | + | * The target OS can run in a VM : more scalable and easier to maintain than multiple |
| + | * No data is stored on the client machine. It may also have no disk. It only needs an ethernet card | ||
| * Of course, the sessions in the target OS must have a connection timeout and need a username and a password... | * Of course, the sessions in the target OS must have a connection timeout and need a username and a password... | ||
| - | ==== Increase security a bit ==== | ||
| - | The VNC listen | + | ==== Increase security a bit ==== |
| + | |||
| + | The VNC listens | ||
| (fbvnc has no authentication support) and the VNC traffic is not encrypted on | (fbvnc has no authentication support) and the VNC traffic is not encrypted on | ||
| the network. | the network. | ||
| - | * Build initramfs with **fbvnc-ssh** package on http:// | + | * Build an initramfs with a **fbvnc-ssh** package on http:// |
| * On the server, VNC should listen on localhost only | * On the server, VNC should listen on localhost only | ||
| - | * The SSH public key of the client is installed | + | * The SSH public key of the client is installed |
| + | * The VNC traffic can be compressed in the SSH tunnel (fbvnc supports raw frames only) | ||
| ==== A quick demo ==== | ==== A quick demo ==== | ||
| - | The menu //Tiny SliTaz// -> //Tiny VNC// of the [[http:// | + | The menu //Tiny SliTaz// -> //Tiny VNC// of the [[http:// |
| - | Your need a VNC server running on your network... | + | (you need a VNC server running on your network...). |
| - | <note tip>You can download | + | <note tip>You can directly |
| - | and then [[http:// | + | and then the [[http:// |
| - | on your network or with qemu. | + | on your network or with qemu |
| </ | </ | ||
| - | <note tip>Try with the cmdline argument **vga=ask** first. | + | <note tip>Try with the cmdline argument **vga=ask** first. |
| VESA mode to use (example **vga=0x33B**) | VESA mode to use (example **vga=0x33B**) | ||
| </ | </ | ||