<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://mail.knoppix.net/wiki3/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mail.knoppix.net/wiki3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Plouj</id>
		<title>Knoppix Documentation Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://mail.knoppix.net/wiki3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Plouj"/>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Special:Contributions/Plouj"/>
		<updated>2026-09-30T19:59:53Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-21T20:27:10Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: /* Updating */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX 5.1.1 (outdated) from the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a busy day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use &amp;lt;tt&amp;gt;/var/lib/tftpboot/&amp;lt;/tt&amp;gt; as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line in &amp;lt;tt&amp;gt;/etc/inetd.conf&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share-5.1.1]&lt;br /&gt;
  comment = Knoppix 5.1.1 Boot Data&lt;br /&gt;
  path = /shares/knoppix-term-5.1.1&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Temporarily mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it in the just created directory&lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot-5.1.1.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel-5.1.1&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term-5.1.1/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Cleanup the temporarily mounted directory&lt;br /&gt;
 umount /mnt/iso&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your &amp;lt;tt&amp;gt;/var/lib/tftpboot/pxelinux.cfg/default&amp;lt;/tt&amp;gt; file:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your &amp;lt;tt&amp;gt;pxelinux.cfg/default&amp;lt;/tt&amp;gt; file&lt;br /&gt;
&lt;br /&gt;
If you would like to have a text-only client terminal, then you can make a copy of the above text in the &amp;lt;tt&amp;gt;/var/lib/tftpboot/pxelinux.cfg/default&amp;lt;/tt&amp;gt; file and just add &amp;quot;2&amp;quot; to the knoppix options:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet 2 BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines to boot from PXE ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
Updating the Knoppix Terminal server to newer versions of Knoppix is difficult, but theoretically doable. In general, you have to re-do the following steps:&lt;br /&gt;
* repeat the [[#Samba Share Setup]] to create a share for storing the new Knoppix disk image&lt;br /&gt;
* re-do the [[#Setting Up Knoppix Boot files]] step in new directories&lt;br /&gt;
** this is where it gets hard. There is no updated miniroot available for CIFS network booting. Based on initial investigation, creating an updated miniroot for Knoppix 5.3.1 will be non-trivial. One could start this task by examining the differences between the vanilla 5.1.1 miniroot and the cifs 5.1.1 miniroot as follows:&lt;br /&gt;
&lt;br /&gt;
 cp /var/lib/tftpboot/knoppix/miniroot-5.1.1.gz /tmp/&lt;br /&gt;
 gunzip /tmp/miniroot-5.1.1.gz&lt;br /&gt;
 mkdir /mnt/cifs-miniroot&lt;br /&gt;
 mount -o loop /tmp/miniroot-5.1.1 /mnt/cifs-miniroot&lt;br /&gt;
 mkdir /mnt/knoppix-5.1.1-cd&lt;br /&gt;
 mount -o loop KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/knoppix-5.1.1-cd/&lt;br /&gt;
 mkdir /mnt/vanilla-5.1.1-miniroot&lt;br /&gt;
 cp /mnt/knoppix-5.1.1-cd/boot/isolinux/minirt.gz /tmp&lt;br /&gt;
 gunzip /tmp/minirt.gz&lt;br /&gt;
 mount -o loop /tmp/minirt /mnt/vanilla-5.1.1-miniroot&lt;br /&gt;
 # remove irrelevant device files&lt;br /&gt;
 rm -rf /mnt/{vanilla-5.1.1,cifs}-miniroot/dev&lt;br /&gt;
 diff -qr /mnt/vanilla-5.1.1-miniroot /mnt/cifs-miniroot&lt;br /&gt;
 diff: /mnt/vanilla-5.1.1-miniroot/bin: No such file or directory&lt;br /&gt;
 diff: /mnt/cifs-miniroot/bin: No such file or directory&lt;br /&gt;
 diff: /mnt/vanilla-5.1.1-miniroot/boot: No such file or directory&lt;br /&gt;
 diff: /mnt/cifs-miniroot/boot: No such file or directory&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/etc: init&lt;br /&gt;
 Only in /mnt/cifs-miniroot/etc: inittab.secure&lt;br /&gt;
 diff: /mnt/vanilla-5.1.1-miniroot/etc/ld.so.conf: No such file or directory&lt;br /&gt;
 diff: /mnt/cifs-miniroot/etc/ld.so.conf: No such file or directory&lt;br /&gt;
 Files /mnt/vanilla-5.1.1-miniroot/etc/mtab and /mnt/cifs-miniroot/etc/mtab differ&lt;br /&gt;
 Only in /mnt/cifs-miniroot/etc: nsswitch.conf&lt;br /&gt;
 Only in /mnt/cifs-miniroot/etc: rpc&lt;br /&gt;
 Only in /mnt/cifs-miniroot/etc: services&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/KNOPPIX: bin&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/KNOPPIX: boot&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/KNOPPIX: etc&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/KNOPPIX: lib&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/KNOPPIX: opt&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/KNOPPIX: sbin&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/KNOPPIX: usr&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/KNOPPIX: var&lt;br /&gt;
 diff: /mnt/vanilla-5.1.1-miniroot/lib: No such file or directory&lt;br /&gt;
 Files /mnt/vanilla-5.1.1-miniroot/linuxrc and /mnt/cifs-miniroot/linuxrc differ&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/media: fd0&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/media: hd&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/media: test&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: a100u2w.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: advansys.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: aic7xxx.ko&lt;br /&gt;
 Only in /mnt/cifs-miniroot/modules: aufs.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: BusLogic.ko&lt;br /&gt;
 Only in /mnt/cifs-miniroot/modules: cloop.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: dc395x.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: dtc.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: eata.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: ehci-hcd.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: fdomain.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: ff-memless.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: gdth.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: ieee1394.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: initio.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: libusual.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: loop.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: mptbase.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: mptscsih.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: NCR53c406a.ko&lt;br /&gt;
 Only in /mnt/cifs-miniroot/modules: net&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: ohci1394.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: ohci-hcd.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: pas16.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: psi240i.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: sbp2.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: sym53c8xx.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: t128.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: tmscsim.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: u14-34f.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: uhci-hcd.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: ultrastor.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: usbcore.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: usbhid.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: usb-storage.ko&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/modules: wd7000.ko&lt;br /&gt;
 diff: /mnt/vanilla-5.1.1-miniroot/opt: No such file or directory&lt;br /&gt;
 diff: /mnt/cifs-miniroot/opt: No such file or directory&lt;br /&gt;
 diff: /mnt/cifs-miniroot/sbin: No such file or directory&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/static: fusermount&lt;br /&gt;
 Only in /mnt/cifs-miniroot/static: ifconfig&lt;br /&gt;
 diff: /mnt/cifs-miniroot/static/init: No such file or directory&lt;br /&gt;
 Files /mnt/vanilla-5.1.1-miniroot/static/insmod and /mnt/cifs-miniroot/static/insmod differ&lt;br /&gt;
 Only in /mnt/cifs-miniroot/static: mount&lt;br /&gt;
 Only in /mnt/cifs-miniroot/static: mount.cifs&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/static: ntfs-3g&lt;br /&gt;
 Only in /mnt/cifs-miniroot/static: portmap&lt;br /&gt;
 Only in /mnt/cifs-miniroot/static: pump&lt;br /&gt;
 Only in /mnt/vanilla-5.1.1-miniroot/static: rmmod&lt;br /&gt;
 diff: /mnt/cifs-miniroot/static/sh: No such file or directory&lt;br /&gt;
 diff: /mnt/vanilla-5.1.1-miniroot/usr: No such file or directory&lt;br /&gt;
 diff: /mnt/cifs-miniroot/usr: No such file or directory&lt;br /&gt;
 Only in /mnt/cifs-miniroot: var&lt;br /&gt;
&lt;br /&gt;
* finally [[#Configure PXELINUX]] to add a new menu entry to point to the new boot files&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://pxe.dev.aboveaverageurl.com/index.php/PXE_Booting/Knoppix a similar, but outdated guide]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-21T15:20:39Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: /* Configure Client Machines' PXE Booting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX 5.1.1 (outdated) from the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a busy day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use &amp;lt;tt&amp;gt;/var/lib/tftpboot/&amp;lt;/tt&amp;gt; as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line in &amp;lt;tt&amp;gt;/etc/inetd.conf&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share-5.1.1]&lt;br /&gt;
  comment = Knoppix 5.1.1 Boot Data&lt;br /&gt;
  path = /shares/knoppix-term-5.1.1&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Temporarily mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it in the just created directory&lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot-5.1.1.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel-5.1.1&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term-5.1.1/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Cleanup the temporarily mounted directory&lt;br /&gt;
 umount /mnt/iso&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your &amp;lt;tt&amp;gt;/var/lib/tftpboot/pxelinux.cfg/default&amp;lt;/tt&amp;gt; file:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your &amp;lt;tt&amp;gt;pxelinux.cfg/default&amp;lt;/tt&amp;gt; file&lt;br /&gt;
&lt;br /&gt;
If you would like to have a text-only client terminal, then you can make a copy of the above text in the &amp;lt;tt&amp;gt;/var/lib/tftpboot/pxelinux.cfg/default&amp;lt;/tt&amp;gt; file and just add &amp;quot;2&amp;quot; to the knoppix options:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet 2 BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines to boot from PXE ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
Updating the Knoppix Terminal server to newer versions of Knoppix is doable. You only have to re-do the following steps:&lt;br /&gt;
* repeat the [[#Samba Share Setup]] to create a share for storing the new Knoppix disk image&lt;br /&gt;
* re-do the [[#Setting Up Knoppix Boot files]] step in new directories&lt;br /&gt;
** this actually might not work since the miniroot hasn't been updated to the latest Knoppix version, yet&lt;br /&gt;
* finally [[#Configure PXELINUX]] to add a new menu entry to point to the new boot files&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://pxe.dev.aboveaverageurl.com/index.php/PXE_Booting/Knoppix a similar, but outdated guide]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-18T16:14:50Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: /* TFTP Server Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX 5.1.1 (outdated) from the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a busy day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use &amp;lt;tt&amp;gt;/var/lib/tftpboot/&amp;lt;/tt&amp;gt; as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line in &amp;lt;tt&amp;gt;/etc/inetd.conf&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share-5.1.1]&lt;br /&gt;
  comment = Knoppix 5.1.1 Boot Data&lt;br /&gt;
  path = /shares/knoppix-term-5.1.1&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Temporarily mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it in the just created directory&lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot-5.1.1.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel-5.1.1&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term-5.1.1/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Cleanup the temporarily mounted directory&lt;br /&gt;
 umount /mnt/iso&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your &amp;lt;tt&amp;gt;/var/lib/tftpboot/pxelinux.cfg/default&amp;lt;/tt&amp;gt; file:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your &amp;lt;tt&amp;gt;pxelinux.cfg/default&amp;lt;/tt&amp;gt; file&lt;br /&gt;
&lt;br /&gt;
If you would like to have a text-only client terminal, then you can make a copy of the above text in the &amp;lt;tt&amp;gt;/var/lib/tftpboot/pxelinux.cfg/default&amp;lt;/tt&amp;gt; file and just add &amp;quot;2&amp;quot; to the knoppix options:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet 2 BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
Updating the Knoppix Terminal server to newer versions of Knoppix is doable. You only have to re-do the following steps:&lt;br /&gt;
* repeat the [[#Samba Share Setup]] to create a share for storing the new Knoppix disk image&lt;br /&gt;
* re-do the [[#Setting Up Knoppix Boot files]] step in new directories&lt;br /&gt;
** this actually might not work since the miniroot hasn't been updated to the latest Knoppix version, yet&lt;br /&gt;
* finally [[#Configure PXELINUX]] to add a new menu entry to point to the new boot files&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://pxe.dev.aboveaverageurl.com/index.php/PXE_Booting/Knoppix a similar, but outdated guide]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-18T16:14:30Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX 5.1.1 (outdated) from the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a busy day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use &amp;lt;tt&amp;gt;/var/lib/tftpboot/&amp;lt;/tt&amp;gt; as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share-5.1.1]&lt;br /&gt;
  comment = Knoppix 5.1.1 Boot Data&lt;br /&gt;
  path = /shares/knoppix-term-5.1.1&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Temporarily mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it in the just created directory&lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot-5.1.1.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel-5.1.1&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term-5.1.1/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Cleanup the temporarily mounted directory&lt;br /&gt;
 umount /mnt/iso&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your &amp;lt;tt&amp;gt;/var/lib/tftpboot/pxelinux.cfg/default&amp;lt;/tt&amp;gt; file:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your &amp;lt;tt&amp;gt;pxelinux.cfg/default&amp;lt;/tt&amp;gt; file&lt;br /&gt;
&lt;br /&gt;
If you would like to have a text-only client terminal, then you can make a copy of the above text in the &amp;lt;tt&amp;gt;/var/lib/tftpboot/pxelinux.cfg/default&amp;lt;/tt&amp;gt; file and just add &amp;quot;2&amp;quot; to the knoppix options:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet 2 BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
Updating the Knoppix Terminal server to newer versions of Knoppix is doable. You only have to re-do the following steps:&lt;br /&gt;
* repeat the [[#Samba Share Setup]] to create a share for storing the new Knoppix disk image&lt;br /&gt;
* re-do the [[#Setting Up Knoppix Boot files]] step in new directories&lt;br /&gt;
** this actually might not work since the miniroot hasn't been updated to the latest Knoppix version, yet&lt;br /&gt;
* finally [[#Configure PXELINUX]] to add a new menu entry to point to the new boot files&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://pxe.dev.aboveaverageurl.com/index.php/PXE_Booting/Knoppix a similar, but outdated guide]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-18T16:03:04Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX 5.1.1 (outdated) from the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a busy day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share-5.1.1]&lt;br /&gt;
  comment = Knoppix 5.1.1 Boot Data&lt;br /&gt;
  path = /shares/knoppix-term-5.1.1&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Temporarily mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it in the just created directory&lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot-5.1.1.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel-5.1.1&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term-5.1.1/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Cleanup the temporarily mounted directory&lt;br /&gt;
 umount /mnt/iso&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
If you would like to have a text-only client terminal, then you can make a copy of the above text in the /var/lib/tftpboot/pxelinux.cfg/default file and just add &amp;quot;2&amp;quot; to the knoppix options:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet 2 BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
Updating the Knoppix Terminal server to newer versions of Knoppix is doable. You only have to re-do the following steps:&lt;br /&gt;
* repeat the [[#Samba Share Setup]] to create a share for storing the new Knoppix disk image&lt;br /&gt;
* re-do the [[#Setting Up Knoppix Boot files]] step in new directories&lt;br /&gt;
** this actually might not work since the miniroot hasn't been updated to the latest Knoppix version, yet&lt;br /&gt;
* finally [[#Configure PXELINUX]] to add a new menu entry to point to the new boot files&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://pxe.dev.aboveaverageurl.com/index.php/PXE_Booting/Knoppix a similar, but outdated guide]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/User:Plouj</id>
		<title>User:Plouj</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/User:Plouj"/>
				<updated>2008-04-18T15:22:25Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: New page: My real name is Michael Ploujnikov.  My personal website is: http://plouj.com&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;My real name is Michael Ploujnikov.&lt;br /&gt;
&lt;br /&gt;
My personal website is: http://plouj.com&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-18T15:21:11Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: /* Preamble */ specified version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX 5.1.1 (outdated) from the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a busy day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share-5.1.1]&lt;br /&gt;
  comment = Knoppix 5.1.1 Boot Data&lt;br /&gt;
  path = /shares/knoppix-term-5.1.1&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Temporarily mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it in the just created directory&lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot-5.1.1.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel-5.1.1&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term-5.1.1/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Cleanup the temporarily mounted directory&lt;br /&gt;
 umount /mnt/iso&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
If you would like to have a text-only client terminal, then you can make a copy of the above text in the /var/lib/tftpboot/pxelinux.cfg/default file and just add &amp;quot;2&amp;quot; to the knoppix options:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet 2 BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
Updating the Knoppix Terminal server to newer versions of Knoppix is doable. You only have to re-do the following steps:&lt;br /&gt;
* repeat the [[#Samba Share Setup]] to create a share for storing the new Knoppix disk image&lt;br /&gt;
* re-do the [[#Setting Up Knoppix Boot files]] step in new directories&lt;br /&gt;
** this actually might not work since the miniroot hasn't been updated to the latest Knoppix version, yet&lt;br /&gt;
* finally [[#Configure PXELINUX]] to add a new menu entry to point to the new boot files&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-18T15:10:21Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: /* Configure PXELINUX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share-5.1.1]&lt;br /&gt;
  comment = Knoppix 5.1.1 Boot Data&lt;br /&gt;
  path = /shares/knoppix-term-5.1.1&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Temporarily mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it in the just created directory&lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot-5.1.1.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel-5.1.1&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term-5.1.1/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Cleanup the temporarily mounted directory&lt;br /&gt;
 umount /mnt/iso&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
If you would like to have a text-only client terminal, then you can make a copy of the above text in the /var/lib/tftpboot/pxelinux.cfg/default file and just add &amp;quot;2&amp;quot; to the knoppix options:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet 2 BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
Updating the Knoppix Terminal server to newer versions of Knoppix is doable. You only have to re-do the following steps:&lt;br /&gt;
* repeat the [[#Samba Share Setup]] to create a share for storing the new Knoppix disk image&lt;br /&gt;
* re-do the [[#Setting Up Knoppix Boot files]] step in new directories&lt;br /&gt;
** this actually might not work since the miniroot hasn't been updated to the latest Knoppix version, yet&lt;br /&gt;
* finally [[#Configure PXELINUX]] to add a new menu entry to point to the new boot files&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-18T15:08:25Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: made Knoppix version specific and some other minor improvements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share-5.1.1]&lt;br /&gt;
  comment = Knoppix 5.1.1 Boot Data&lt;br /&gt;
  path = /shares/knoppix-term-5.1.1&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Temporarily mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it in the just created directory&lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot-5.1.1.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel-5.1.1&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term-5.1.1/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Cleanup the temporarily mounted directory&lt;br /&gt;
 umount /mnt/iso&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix 5.1.1 CIFS&lt;br /&gt;
  KERNEL knoppix/kernel-5.1.1&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share-5.1.1 nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot-5.1.1.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
Updating the Knoppix Terminal server to newer versions of Knoppix is doable. You only have to re-do the following steps:&lt;br /&gt;
* repeat the [[#Samba Share Setup]] to create a share for storing the new Knoppix disk image&lt;br /&gt;
* re-do the [[#Setting Up Knoppix Boot files]] step in new directories&lt;br /&gt;
** this actually might not work since the miniroot hasn't been updated to the latest Knoppix version, yet&lt;br /&gt;
* finally [[#Configure PXELINUX]] to add a new menu entry to point to the new boot files&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-18T14:56:57Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share]&lt;br /&gt;
  comment = Knoppix Boot Data&lt;br /&gt;
  path = /shares/knoppix-term&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it &lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix CIFS&lt;br /&gt;
  KERNEL knoppix/linux&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
== Updating ==&lt;br /&gt;
Updating the Knoppix Terminal server to newer versions of Knoppix is doable. You only have to re-do the following steps:&lt;br /&gt;
* repeat the [[#Samba Share Setup]] to create a share for storing the new Knoppix disk image&lt;br /&gt;
* re-do the [[#Setting Up Knoppix Boot files]] step in new directories&lt;br /&gt;
** this actually might not work since the miniroot hasn't been updated to the latest Knoppix version, yet&lt;br /&gt;
* finally [[#Configure PXELINUX]] to add a new menu entry to point to the new boot files&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2008-04-18T14:41:38Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share]&lt;br /&gt;
  comment = Knoppix Boot Data&lt;br /&gt;
  path = /shares/knoppix-term&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it &lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix CIFS&lt;br /&gt;
  KERNEL knoppix/linux&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guide]]&lt;br /&gt;
[[Category:Booting]]&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2007-04-18T02:28:07Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: added links to important programs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).&lt;br /&gt;
**This page needs to be categorized.&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share]&lt;br /&gt;
  comment = Knoppix Boot Data&lt;br /&gt;
  path = /shares/knoppix-term&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it &lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix CIFS&lt;br /&gt;
  KERNEL knoppix/linux&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;br /&gt;
* [http://www.kernel.org/pub/software/network/tftp/ tftp-hpa]&lt;br /&gt;
* [http://dhcpcd.berlios.de/ dhcpcd]&lt;br /&gt;
* [http://us3.samba.org/samba/ samba]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2007-04-04T14:18:22Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: improved DHCP server section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).&lt;br /&gt;
**This page needs to be categorized.&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share]&lt;br /&gt;
  comment = Knoppix Boot Data&lt;br /&gt;
  path = /shares/knoppix-term&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
After that, we setup a DHCP server. It will provide required values that allow the client to configure its network interface, and to download a bootfile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it &lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix CIFS&lt;br /&gt;
  KERNEL knoppix/linux&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2007-04-04T03:48:43Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: more refactoring, making it easier to read, fixing formatting, adding useful descriptions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).&lt;br /&gt;
**This page needs to be categorized.&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
We start by configuring a TFTP server. It will serve the bootloader (PXELINUX) files which our client machines will load from the network and run even before starting the Linux/KNOPPIX kernel.&lt;br /&gt;
&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
For example, tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Next we need to setup a Samba share which will host the KNOPPIX CD filesystem. The network client machines will access this share as if they were accessing the files from a regular KNOPPIX Live CD.&lt;br /&gt;
&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share]&lt;br /&gt;
  comment = Knoppix Boot Data&lt;br /&gt;
  path = /shares/knoppix-term&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
The DHCP server will help our network clients configure their TCP/IP stack, and tell them which bootloader files to get and frp, where.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
&lt;br /&gt;
Example entry in the dhcpd.conf file:&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Now it's time to populate the Samba and TFTP server shares with relevant files.&lt;br /&gt;
&lt;br /&gt;
Start by downloading a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it &lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
== Configure PXELINUX ==&lt;br /&gt;
PXELINUX is a boot loader which actually loads the Linux/KNOPPIX kernel on the client machines and tell them where to find the root filesystem.&lt;br /&gt;
Thus we configure PXELINUX with relevant information.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix CIFS&lt;br /&gt;
  KERNEL knoppix/linux&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
This is a crucial step. Unless your machines can actually boot from the network,&lt;br /&gt;
none of the above is going to be of any use!&lt;br /&gt;
Unfortunately, each and every BIOS has its own way of being configured for PXE booting&lt;br /&gt;
and it's not feasible to document any of that here.&lt;br /&gt;
If you do not have this working, a good start would be to read [http://www.kegel.com/linux/pxe.html Dan Kegel's Remote Network Boot via PXE page].&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
After all the hard work, it is time to enjoy the fruits of your labor.&lt;br /&gt;
&lt;br /&gt;
*Connect a PXE enabled test machine to the 192.168.12.0 network&lt;br /&gt;
*power it on&lt;br /&gt;
*wait...&lt;br /&gt;
*enjoy!&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2007-04-04T03:01:20Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: /* Preamble */ better word choice&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).&lt;br /&gt;
**This page needs to be categorized.&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share]&lt;br /&gt;
  comment = Knoppix Boot Data&lt;br /&gt;
  path = /shares/knoppix-term&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
Example entry for dhcpd.conf below&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Download a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it &lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix CIFS&lt;br /&gt;
  KERNEL knoppix/linux&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
Making sure that your client machines actually boot from the network is an important step.&lt;br /&gt;
However, it is out of the scope of this document.&lt;br /&gt;
Consider reading [http://www.kegel.com/linux/pxe.html Dan Kegel's page] about this.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
At this point, you should be able to boot Knoppix over the network no your test machines connected to the 192.168.12.0 network. Go ahead, try it!&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2007-04-04T03:00:32Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: /* Preamble */ rephrased and fixed spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page documents how to boot KNOPPIX off the network using Samba (as opposed to NFS).&lt;br /&gt;
**This page needs to be categorized.&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share]&lt;br /&gt;
  comment = Knoppix Boot Data&lt;br /&gt;
  path = /shares/knoppix-term&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
Example entry for dhcpd.conf below&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Download a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it &lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix CIFS&lt;br /&gt;
  KERNEL knoppix/linux&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
Making sure that your client machines actually boot from the network is an important step.&lt;br /&gt;
However, it is out of the scope of this document.&lt;br /&gt;
Consider reading [http://www.kegel.com/linux/pxe.html Dan Kegel's page] about this.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
At this point, you should be able to boot Knoppix over the network no your test machines connected to the 192.168.12.0 network. Go ahead, try it!&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Booting</id>
		<title>Booting</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Booting"/>
				<updated>2007-03-30T21:17:25Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: fixed cd-rom/dvd-rom reason&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;En español [[botaje]].&lt;br /&gt;
----&lt;br /&gt;
=Introduction=&lt;br /&gt;
In computing, [[booting]] is a process that starts operating systems when the user turns on a computer system.  The origin of the word may be from the wild west in America.  The image of a cowboy pulling himself up by his [[booting | bootstraps]] after a long night drinking is the usual idea.  You may also hear [[booting]] refered to as [[booting |bootstrapping]] for this very reason.  The computer is trying to pull itself up by its [[booting | bootstraps]].&lt;br /&gt;
&lt;br /&gt;
Gnoppix during the booting shows the [[syslinux bootprompt]]:&lt;br /&gt;
 &lt;br /&gt;
 boot&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the [[syslinux bootprompt]], a user can type one or more [[Cheat Codes]].  The additional [[Cheat Codes|codes]] alter the default boot sequence.  After the [[Cheat Codes]] are entered the Enter key is used to start the [[booting|bootstrapping]] process.  If the default options are OK, then the user can press Enter without typing [[Cheat Codes]].  For example, the default keyboard in the German version of [[knoppix]] is great for German speaking individuals.  This person would hit the Enter key to take the defaults and starte [[knoppix]].  Howwever, an English speaking person would type&lt;br /&gt;
 &lt;br /&gt;
 linux lang=en&lt;br /&gt;
at the boot prompt.&lt;br /&gt;
&lt;br /&gt;
See : [http://www.wikipedia.org/wiki/booting booting on Wikipedia]&lt;br /&gt;
&lt;br /&gt;
=Different methods of boot=&lt;br /&gt;
-&amp;gt;here we describe methods that can boot knoppix as it was on cd (iso or cloop(KNOPPIX))&lt;br /&gt;
&lt;br /&gt;
==why not booting the usual way:==&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;some people do not have the cd writer&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;some people do not have a dvd writer and want to use the dvd-image&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;faster on hdd(the hdd is normaly faster than a cd/dvd drive)&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;some computers do not have a cd-rom/dvd-rom drive&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;consume less power on laptops(hdd consume less than cd)&lt;br /&gt;
&lt;br /&gt;
===limits:===&lt;br /&gt;
as it boots from hd... there are several issues with:&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;partitioning&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;fsck of the partition where reside the knoppix image&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;security reasons (booting from cd can be prevented by the bios but here if you can boot from hd you can boot knoppix)&lt;br /&gt;
&lt;br /&gt;
==CD/dvd based bootloader==&lt;br /&gt;
-&amp;gt;use the cd in order to boot an iso image&lt;br /&gt;
&lt;br /&gt;
==Hdd based boot loader==&lt;br /&gt;
-&amp;gt;boot from the hd&lt;br /&gt;
===On Linux system===&lt;br /&gt;
this method is caled &amp;quot;linux&amp;quot; because it needs&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;grub,lilo or another linux bootloader installed&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;a filesystem readeable by grub/lilo/others (ext2/reiserfs...)&lt;br /&gt;
====Grub====&lt;br /&gt;
&lt;br /&gt;
====Lilo====&lt;br /&gt;
====Others boot loaders====&lt;br /&gt;
&lt;br /&gt;
==Others boot methods==&lt;br /&gt;
===Pxe===&lt;br /&gt;
[[KNOPPIX_Terminal_Server]]&lt;br /&gt;
===floppy===&lt;br /&gt;
-&amp;gt;works by storing the boot loader on a floppy&lt;br /&gt;
&lt;br /&gt;
[[Category:Booting|*]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Booting</id>
		<title>Booting</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Booting"/>
				<updated>2007-03-30T21:15:59Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: added link to KNOPPIX_Terminal_Server&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;En español [[botaje]].&lt;br /&gt;
----&lt;br /&gt;
=Introduction=&lt;br /&gt;
In computing, [[booting]] is a process that starts operating systems when the user turns on a computer system.  The origin of the word may be from the wild west in America.  The image of a cowboy pulling himself up by his [[booting | bootstraps]] after a long night drinking is the usual idea.  You may also hear [[booting]] refered to as [[booting |bootstrapping]] for this very reason.  The computer is trying to pull itself up by its [[booting | bootstraps]].&lt;br /&gt;
&lt;br /&gt;
Gnoppix during the booting shows the [[syslinux bootprompt]]:&lt;br /&gt;
 &lt;br /&gt;
 boot&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the [[syslinux bootprompt]], a user can type one or more [[Cheat Codes]].  The additional [[Cheat Codes|codes]] alter the default boot sequence.  After the [[Cheat Codes]] are entered the Enter key is used to start the [[booting|bootstrapping]] process.  If the default options are OK, then the user can press Enter without typing [[Cheat Codes]].  For example, the default keyboard in the German version of [[knoppix]] is great for German speaking individuals.  This person would hit the Enter key to take the defaults and starte [[knoppix]].  Howwever, an English speaking person would type&lt;br /&gt;
 &lt;br /&gt;
 linux lang=en&lt;br /&gt;
at the boot prompt.&lt;br /&gt;
&lt;br /&gt;
See : [http://www.wikipedia.org/wiki/booting booting on Wikipedia]&lt;br /&gt;
&lt;br /&gt;
=Different methods of boot=&lt;br /&gt;
-&amp;gt;here we describe methods that can boot knoppix as it was on cd (iso or cloop(KNOPPIX))&lt;br /&gt;
&lt;br /&gt;
==why not booting the usual way:==&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;some people do not have the cd writer&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;some people do not have a dvd writer and want to use the dvd-image&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;faster on hdd(the hdd is normaly faster than a cd/dvd drive)&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;can use the cd-rom/dvd-rom drive&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;consume less power on laptops(hdd consume less than cd)&lt;br /&gt;
&lt;br /&gt;
===limits:===&lt;br /&gt;
as it boots from hd... there are several issues with:&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;partitioning&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;fsck of the partition where reside the knoppix image&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;security reasons (booting from cd can be prevented by the bios but here if you can boot from hd you can boot knoppix)&lt;br /&gt;
&lt;br /&gt;
==CD/dvd based bootloader==&lt;br /&gt;
-&amp;gt;use the cd in order to boot an iso image&lt;br /&gt;
&lt;br /&gt;
==Hdd based boot loader==&lt;br /&gt;
-&amp;gt;boot from the hd&lt;br /&gt;
===On Linux system===&lt;br /&gt;
this method is caled &amp;quot;linux&amp;quot; because it needs&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;grub,lilo or another linux bootloader installed&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;a filesystem readeable by grub/lilo/others (ext2/reiserfs...)&lt;br /&gt;
====Grub====&lt;br /&gt;
&lt;br /&gt;
====Lilo====&lt;br /&gt;
====Others boot loaders====&lt;br /&gt;
&lt;br /&gt;
==Others boot methods==&lt;br /&gt;
===Pxe===&lt;br /&gt;
[[KNOPPIX_Terminal_Server]]&lt;br /&gt;
===floppy===&lt;br /&gt;
-&amp;gt;works by storing the boot loader on a floppy&lt;br /&gt;
&lt;br /&gt;
[[Category:Booting|*]]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2007-03-30T17:34:37Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: major renovation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page will be used to document and describe how to boot KNOPPIX off the network using Samba as opposed to NFS.&lt;br /&gt;
**This page needs to be catagorized.&lt;br /&gt;
*The original author of this document, [[User:Rjent|Rjent]], moved his efforts to working on http://live.debian.net/ .&lt;br /&gt;
*You are still welcome to contact him about the model however (please bare with him since he has a day job).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net&lt;br /&gt;
&lt;br /&gt;
== TFTP Server Setup ==&lt;br /&gt;
For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory.&lt;br /&gt;
How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other)&lt;br /&gt;
and how you run it (inetd, xinetd, init daemon, ...).&lt;br /&gt;
&lt;br /&gt;
tftp-hpa can be started from inetd with this line:&lt;br /&gt;
 tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot&lt;br /&gt;
&lt;br /&gt;
== Samba Share Setup ==&lt;br /&gt;
Samba provides the CIFS services out of the box. All we have to do is configure a share.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share]&lt;br /&gt;
  comment = Knoppix Boot Data&lt;br /&gt;
  path = /shares/knoppix-term&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
'''Note1:''' you need 'security = share' for (passwordless) guest access to work&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)&lt;br /&gt;
&lt;br /&gt;
'''Note3:''' After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
== DHCP Server Setup ==&lt;br /&gt;
'''Note:''' This guide will assume that your server machine has an IP of 192.168.12.253&lt;br /&gt;
Example entry for dhcpd.conf below&lt;br /&gt;
 subnet 192.168.12.0 netmask 255.255.255.0 {&lt;br /&gt;
  range 192.168.12.251 192.168.12.252;&lt;br /&gt;
  option broadcast-address 192.168.12.255;&lt;br /&gt;
  filename &amp;quot;/pxelinux.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
'''Note2:''' Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.&lt;br /&gt;
&lt;br /&gt;
'''Note2:''' After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
== Setting Up Knoppix Boot files ==&lt;br /&gt;
Download a [http://www.knopper.net/knoppix-mirrors/index-en.html KNOPPIX 4.0.2 (or newer) iso]&lt;br /&gt;
&lt;br /&gt;
Mount it (or burn it on a CD)&lt;br /&gt;
 mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso&lt;br /&gt;
&lt;br /&gt;
Setup a Knoppix terminal pxeboot subdirectory&lt;br /&gt;
 mkdir /var/lib/tftpboot/knoppix&lt;br /&gt;
&lt;br /&gt;
Download miniroot.gz from http://knoppix.manty.net and put it &lt;br /&gt;
 wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot.gz&lt;br /&gt;
&lt;br /&gt;
Copy the kernel from the Knoppix CD to the pxeboot subdirectory&lt;br /&gt;
 cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel&lt;br /&gt;
&lt;br /&gt;
Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server&lt;br /&gt;
 rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term/KNOPPIX&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:&lt;br /&gt;
  LABEL Knoppix CIFS&lt;br /&gt;
  KERNEL knoppix/linux&lt;br /&gt;
  APPEND secure nfsdir=//192.168.12.253/knoppix_share nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
== Configure Client Machines' PXE Booting ==&lt;br /&gt;
Making sure that your client machines actually boot from the network is an important step.&lt;br /&gt;
However, it is out of the scope of this document.&lt;br /&gt;
Consider reading [http://www.kegel.com/linux/pxe.html Dan Kegel's page] about this.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
At this point, you should be able to boot Knoppix over the network no your test machines connected to the 192.168.12.0 network. Go ahead, try it!&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;br /&gt;
* [http://live.debian.net/ Debian Live]&lt;br /&gt;
* [http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf Hybrid Booting Model]&lt;br /&gt;
* [http://www.kegel.com/linux/pxe.html Remote Network Boot via PXE]&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server</id>
		<title>KNOPPIX Terminal Server</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/KNOPPIX_Terminal_Server"/>
				<updated>2007-03-30T16:31:31Z</updated>
		
		<summary type="html">&lt;p&gt;Plouj: corrections and some formatting fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Preamble==&lt;br /&gt;
&lt;br /&gt;
*This page will be used to document and describe how to boot KNOPPIX off the network using Samba as opposed to NFS.&lt;br /&gt;
**The page will pull from several resources to provide an official reference at the KNOPPIX site for all to use.&lt;br /&gt;
**Just starting so page will be in progress for a bit and will need to be catagorized.&lt;br /&gt;
*You are welcome to contact me on model (I have a day job, so please bare with me see [[User:Rjent|Rjent]]).&lt;br /&gt;
&lt;br /&gt;
==Model==&lt;br /&gt;
&lt;br /&gt;
* Most of the this information is an exert from a paper on the model at  http://www.mgr3.k12.mo.us/~rjn103s/HybridNotes-20060504-1.pdf&lt;br /&gt;
The methodology for the hybrid environment uses a Common Internet File System (CIFS)&lt;br /&gt;
to boot up KNOPPIX. The base work for this model utilizes existing resources and information&lt;br /&gt;
from http://knoppix.manty.net . The setup information provided here&lt;br /&gt;
assumes you have PXE booting via TFTP already setup on the boot&lt;br /&gt;
server. The rest is as follows:&lt;br /&gt;
* KNOPPIX:&lt;br /&gt;
 Download KNOPPIX 4.0.2 (or newer) and burn to a CD.&lt;br /&gt;
&lt;br /&gt;
 Download the miniroot.gz and integrate for the pxe bootup.&lt;br /&gt;
 To do this, place the miniroot.gz in the /tftpboot/hybrid/pxeboot/ directory.&lt;br /&gt;
 Make a directory under /tftpboot/hybrid/pxeboot/&lt;br /&gt;
 called knoppix and copy the /boot/isolinux/linux file from the&lt;br /&gt;
 KNOPPIX CD to /tftpboot/hybrid/pxeboot/knoppix/&lt;br /&gt;
&lt;br /&gt;
 Copy the KNOPPIX folder from the KNOPPIX CD to a location on server of&lt;br /&gt;
 /hybrid/knoppixshare&lt;br /&gt;
&lt;br /&gt;
Modify the pxe boot menu located at /tftpboot/hybrid/pxeboot/pxelinux.cfg&lt;br /&gt;
with the below addition:&lt;br /&gt;
  LABEL Knoppix CIFS&lt;br /&gt;
  KERNEL knoppix/linux&lt;br /&gt;
  APPEND secure nfsdir=//xxx.xxx.xxx.xxx/knoppix_share nodhcp lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix&lt;br /&gt;
&lt;br /&gt;
Note1: the above APPEND line must appear as a single line in your pxelinux.cfg/default file&lt;br /&gt;
&lt;br /&gt;
Note2: xxx.xxx.xxx.xxx is the IP address of the server running the samba share.&lt;br /&gt;
&lt;br /&gt;
* Samba&lt;br /&gt;
Samba provides the CIFS services, so we setup a share on server xxx.xxx.xxx.xxx.&lt;br /&gt;
An example smb.conf is listed below:&lt;br /&gt;
 [global]&lt;br /&gt;
  workgroup = HYBRIDGROUP&lt;br /&gt;
  netbios name = HYBRIDSERVER&lt;br /&gt;
  security = share&lt;br /&gt;
  guest account = nobody&lt;br /&gt;
 [knoppix_share]&lt;br /&gt;
  comment = Knoppix Boot Data&lt;br /&gt;
  path = /hybrid/knoppix_share&lt;br /&gt;
  read only = Yes&lt;br /&gt;
  guest ok = Yes&lt;br /&gt;
Note: After changes to smb.conf you will need to restart samba services.&lt;br /&gt;
&lt;br /&gt;
* DHCP Services&lt;br /&gt;
Example entry for dhcpd.conf below&lt;br /&gt;
 group {&lt;br /&gt;
  filename &amp;quot;hybrid/pxeboot/pxelinux.0&amp;quot;;&lt;br /&gt;
  host hybrid51 {&lt;br /&gt;
     hardware ethernet MA:CA:DD:RE:SS:ED; fixedaddress xxx.xxx.xxx.xxx;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
Note: After changes to dhcpd.conf restart or reload dhcp services.&lt;br /&gt;
&lt;br /&gt;
At this point, you should be ready to test boot your KNOPPIX&lt;br /&gt;
session.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* [http://knoppix.manty.net/ The KNOPPIX® terminal server over SMB/CIFS page] - The place where all the starting work was derived.&lt;/div&gt;</summary>
		<author><name>Plouj</name></author>	</entry>

	</feed>