# HG changeset patch # User Christopher Rogers # Date 1316068486 0 # Node ID 8312679e5c8c26327a2e62d9f3986bc213669814 # Parent eb9ef0f6bbbab75d0d33dff91a643a894835bfae Update pages folder. diff -r eb9ef0f6bbba -r 8312679e5c8c pages/en/guides/pxe.txt --- a/pages/en/guides/pxe.txt Sun Sep 04 07:37:44 2011 +0000 +++ b/pages/en/guides/pxe.txt Thu Sep 15 06:34:46 2011 +0000 @@ -180,7 +180,44 @@ $ echo -n "http://mirror.slitaz.org/pxe/pxelinux.0,http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0,http: download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | dd conv=notrunc bs=1 seek=519 count=255 of=gpxe +===== Why use PXE ? The VNC example ===== + +Let's say that your company is working on some very sensitive data. +You don't want people copying anything on to removable media such as USB keys. +Only a few users can use this data. + * PXELINUX chooses a special configuration by the MAC address in //pxelinux.cfg/// + * It checks the md5 (or sha256) password of the user boot entry with menu.c32 + * It sends a kernel and an initramfs with a **fbvnc** package built by http://tiny.slitaz.org/ (total size < 1.44MB) + * The client boots in 1 to 5 seconds with a VNC framebuffer client + * The VNC server can send any OS display + * The client has no media driver and can use 10 year old hardware + * The target OS can run in a VM : more scalable and easier to maintain than multiple desktops + * 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... + +==== Increase security a bit ==== + +The VNC listens to the network without a password +(fbvnc has no authentication support) and the VNC traffic is not encrypted on +the network. + + * Build an initramfs with a **fbvnc-ssh** package on http://tiny.slitaz.org/ + * On the server, VNC should listen on localhost only + * The SSH public key of the client is installed in //$HOME/.ssh/authorized_keys// on the VNC server + +==== A quick demo ==== + +The menu //Tiny SliTaz// -> //Tiny VNC// of the [[http://boot.slitaz.org/|SliTaz Web Boot]] launches the VNC client without ssh +(you need a VNC server running on your network...). +You can directly download the [[http://mirror.slitaz.org/pxe/tiny/vnc/bzImage.gz|kernel]] +and then the [[http://mirror.slitaz.org/pxe/tiny/vnc/rootfs.gz|initramfs]] and test it +on your network or with qemu + +Try with the cmdline argument **vga=ask** first. This will find the best +VESA mode to use (example **vga=0x33B**) + + ---- \\ ^ Page Review Section ^^ diff -r eb9ef0f6bbba -r 8312679e5c8c pages/en/guides/uncommoninst.txt --- a/pages/en/guides/uncommoninst.txt Sun Sep 04 07:37:44 2011 +0000 +++ b/pages/en/guides/uncommoninst.txt Thu Sep 15 06:34:46 2011 +0000 @@ -190,7 +190,7 @@ You need to mount the target subdirectory (say /slitaz) with posixovl **before** installing the files. # mkdir /mnt/slitaz - # posixovl /mnt/slitaz + # mount.posixovl /mnt/slitaz # unlzma -c /media/cdrom/boot/rootfs.gz | ( cd /mnt/slitaz ; cpio -idmu ) ==== Boot setup ==== @@ -199,7 +199,7 @@ The partition (say /dev/hda1) and the path into the partition are defined by the mount, subroot and **posixovl** arguments: title SliTaz cooking - map (hd0,0)/boot/slitaz-preinit.iso (hd1) + map --mem --heads=0 --sectors-per-track=0 (hd0,0)/boot/slitaz-preinit.iso (hd1) map --hook kernel (hd1)/boot/bzImage mount=/dev/hda1 subroot=slitaz posixovl initrd (hd1)/boot/rootfs.gz