Difference between revisions of "KNOPPIX Terminal Server"


From Knoppix Documentation Wiki
Jump to: navigation, search
(added links to important programs)
m
Line 1: Line 1:
==Preamble==
+
[http://billy-brown.isuisse.com/blog/momo-logitech.htm momo logitech joystick] [http://sar-iong.iespana.es/text/poesia-oggi.htm poesia oggi] [http://miki-hana.isuisse.com/description/soraia-chaves/ soraia chaves] [http://night-sacrifice.isuisse.com/resources/hp-toner.htm hp toner laser c3909a] [http://sharkymel.isuisse.com/web/lamico-traditore/ lamico traditore] [http://add-clab.isuisse.com/styles/www-content.htm www content net] [http://girlwithacurl.ibelgique.com/small/ariston-hb.htm ariston hb 9] [http://pahopewe.angelfire.com/resources/the-lonely.htm the lonely sheperd kill bill] [http://ohsoemo22a.ibelgique.com/library/g-p.htm g p g] [http://marebeck.angelfire.com/new/testo-we/ testo we are free] [http://callie-avalon.iespana.es/altos-g/ altos g310] [http://anryg.iespana.es/lib/vincenzo-paglia.htm vincenzo paglia] [http://bodendrucker.ibelgique.com/resources/usb-drive/ usb drive 128mb lg] [http://brvarcoe.angelfire.com/styles/google-ca.htm google ca] [http://ohsoemo22a.ibelgique.com/library/malo-nas.htm malo nas je al nas ima] [http://samuiel.isuisse.com/html/camping-gas/ camping gas] [http://hexa1598.ibelgique.com/sex-women/ sex women on zoo] [http://girlwithacurl.ibelgique.com/small/caserma-vigili.htm caserma vigili del fuoco napoli] [http://mentalquicksand.ibelgique.com/library/clitoride-grande.htm clitoride grande] [http://gagamgirl.ibelgique.com/view/gobir/ gobir] [http://ravenmax.iespana.es/beats-and.htm beats and styles] [http://muamive.isuisse.com/library/www-ferroli/ www ferroli it] [http://girlwithacurl.ibelgique.com/small/last-minute.htm last minute new york] [http://brvarcoe.angelfire.com/styles/olivetti-jetlab.htm olivetti jetlab] [http://zigz-kom.isuisse.com/elan-vital/ elan vital] [http://stdamin.angelfire.com/resources/gsm-cf.htm gsm cf] [http://re-nrevival.isuisse.com/view/disattivare-servizio.htm disattivare servizio hit settimana] [http://songsoutofkey.isuisse.com/view/guerra-di.htm guerra di troia] [http://todomy.ibelgique.com/directory/non-tengo/ non tengo dinero tu tiene dinero] [http://marebeck.angelfire.com/new/ingerie/ ingerie] [http://ohsoemo22a.ibelgique.com/library/volvo-s.htm volvo s80 km 0] [http://the-ile.iespana.es/mini-cooper/ mini cooper costo] [http://vanisky-love.iespana.es/resources/come-raggiungere/ come raggiungere alassio] [http://masteriii.isuisse.com/concorsi-giudice.htm concorsi giudice pace] [http://song-love.iespana.es/content/diritto-ed/ diritto ed economia aziendale] [http://gagamgirl.ibelgique.com/view/luca-baldini/ luca baldini] [http://brkim.angelfire.com/resources/www-compaq.htm www compaq com] [http://abr-abrante.iespana.es/content/commerce-web/ commerce web site] [http://cakresen.angelfire.com/articles/calendario-e.htm calendario e immagini di rossella bresci] [http://night-sacrifice.isuisse.com/resources/decoder-digitale.htm decoder digitale satellite terrestri] [http://dreameradrift.ibelgique.com/small/cheb-amro/ cheb amro] [http://flameshes.isuisse.com/topic/motoriricerca/ motoriricerca] [http://quarantined-x.iespana.es/view/pagine-piu/ pagine piu cercate in internet] [http://levirgule.iespana.es/dio-salvi/ dio salvi la regina] [http://stdamin.angelfire.com/resources/ivana-and.htm ivana and delfina] [http://stdamin.angelfire.com/resources/coppie-in.htm coppie in cam] [http://brvarcoe.angelfire.com/styles/masturbation-gallery.htm masturbation gallery] [http://marebeck.angelfire.com/new/il-promontorio/ il promontorio della paura] [http://ohsoemo22a.ibelgique.com/library/black-eyes.htm black eyes peace] [http://glmillig.angelfire.com/library/toner-lexmark.htm toner lexmark e321 12a7400] [http://nifred-la.isuisse.com/resources/adidas-chile/ adidas chile] [http://ohsoemo22a.ibelgique.com/library/joe-dassin.htm joe dassin salut] [http://therealocelot.ibelgique.com/articles/autocad-libri/ autocad libri 2005] [http://dafredri.angelfire.com/articles/cd-dieci/ cd dieci stratagemmi] [http://bodendrucker.ibelgique.com/resources/monitor-/ monitor 19 pollici dvi] [http://epbristo.angelfire.com/e-tempo/ e tempo di the grudge] [http://therealocelot.ibelgique.com/articles/montefalcone-nel/ montefalcone nel sannio cb] [http://abr-abrante.iespana.es/content/hogan/ hogan] [http://ana-princes.iespana.es/new/kiens/ kiens] [http://brkim.angelfire.com/resources/straordinariamente.htm straordinariamente] [http://ofdays.isuisse.com/library/jawel-diamond/ jawel diamond] [http://sharkymel.isuisse.com/web/fullx/ fullx] [http://night-sacrifice.isuisse.com/resources/soft-cell.htm soft cell live in milan] [http://sar-iong.iespana.es/text/dance-bambolina.htm dance bambolina] [http://sportsgal25.iespana.es/blog/invio-fax.htm invio fax] [http://masteriii.isuisse.com/la-bend.htm la bend dei nomadi] [http://glchinsy.angelfire.com/topic/membro/ membro] [http://callie-avalon.iespana.es/una-romantica/ una romantica avventura] [http://iaa.ibelgique.com/blog/peruanitas-com.htm peruanitas com] [http://eupnea.ibelgique.com/nec-vt/ nec vt670] [http://sharkymel.isuisse.com/web/garage/ garage] [http://da-kosta.iespana.es/directory/carrozzine-peg.htm carrozzine peg perego] [http://annie-fialochka.ibelgique.com/lib/sepultura.htm sepultura] [http://bodendrucker.ibelgique.com/resources/philips-/ philips 46 plasma] [http://todomy.ibelgique.com/directory/accessori-barca/ accessori barca] [http://dafredri.angelfire.com/articles/she-will/ she will eb loved] [http://ohsoemo22a.ibelgique.com/library/protagonisti.htm protagonisti] [http://akyla-pera.isuisse.com/text/path-of.htm path of neo] [http://levirgule.iespana.es/midasplayer/ midasplayer] [http://brkim.angelfire.com/resources/dax-riders.htm dax riders] [http://jkc42.ibelgique.com/era-bello.htm era bello] [http://annie-fialochka.ibelgique.com/lib/www-ard.htm www ard it] [http://gagamgirl.ibelgique.com/view/tastiera-blue/ tastiera blue tooth] [http://salpukka.isuisse.com/lib/thy-majestie/ thy majestie clip] [http://brkim.angelfire.com/resources/frigoriferi-armadio.htm frigoriferi armadio] [http://night-sacrifice.isuisse.com/resources/escalaplano.htm escalaplano] [http://killbox.ibelgique.com/html/the-cruise.htm the cruise people] [http://cakresen.angelfire.com/articles/supporto-auto.htm supporto auto mio 168] [http://killbox.ibelgique.com/html/no-poto.htm no poto] [http://ravenmax.iespana.es/merlin-superman.htm merlin superman] [http://mongo42.ibelgique.com/left-outside/ left outside alone da scaricare] [http://vanisky-love.iespana.es/resources/sims-/ sims 2 playstation 2] [http://ana-princes.iespana.es/new/gioci-per/ gioci per cellulare] [http://sar-iong.iespana.es/text/humax-terrestre.htm humax terrestre] [http://anryg.iespana.es/lib/www-download.htm www download com] [http://flameshes.isuisse.com/topic/sony-sublimazione/ sony sublimazione] [http://levirgule.iespana.es/boh-hause/ boh hause] [http://scsheppe.angelfire.com/articles/vendita-notebook.htm vendita notebook online] [http://miki-hana.isuisse.com/description/close-combat/ close combat first to fight] [http://mongo42.ibelgique.com/elodie-frege/ elodie frege michal] ==Preamble==
  
 
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).
 
*This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).

Revision as of 14:42, 9 September 2007

momo logitech joystick poesia oggi soraia chaves hp toner laser c3909a lamico traditore www content net ariston hb 9 the lonely sheperd kill bill g p g testo we are free altos g310 vincenzo paglia usb drive 128mb lg google ca malo nas je al nas ima camping gas sex women on zoo caserma vigili del fuoco napoli clitoride grande gobir beats and styles www ferroli it last minute new york olivetti jetlab elan vital gsm cf disattivare servizio hit settimana guerra di troia non tengo dinero tu tiene dinero ingerie volvo s80 km 0 mini cooper costo come raggiungere alassio concorsi giudice pace diritto ed economia aziendale luca baldini www compaq com commerce web site calendario e immagini di rossella bresci decoder digitale satellite terrestri cheb amro motoriricerca pagine piu cercate in internet dio salvi la regina ivana and delfina coppie in cam masturbation gallery il promontorio della paura black eyes peace toner lexmark e321 12a7400 adidas chile joe dassin salut autocad libri 2005 cd dieci stratagemmi monitor 19 pollici dvi e tempo di the grudge montefalcone nel sannio cb hogan kiens straordinariamente jawel diamond fullx soft cell live in milan dance bambolina invio fax la bend dei nomadi membro una romantica avventura peruanitas com nec vt670 garage carrozzine peg perego sepultura philips 46 plasma accessori barca she will eb loved protagonisti path of neo midasplayer dax riders era bello www ard it tastiera blue tooth thy majestie clip frigoriferi armadio escalaplano the cruise people supporto auto mio 168 no poto merlin superman left outside alone da scaricare sims 2 playstation 2 gioci per cellulare humax terrestre www download com sony sublimazione boh hause vendita notebook online close combat first to fight elodie frege michal ==Preamble==

  • This page describes how to boot KNOPPIX off the network using Samba (as opposed to NFS).
    • This page needs to be categorized.
  • The original author of this document, Rjent, moved his efforts to working on http://live.debian.net/ .
  • You are still welcome to contact him about the model however (please bare with him since he has a day job).

Model

The methodology for the hybrid environment uses a Common Internet File System (CIFS) to boot up KNOPPIX. The base work for this model utilizes existing resources and information from http://knoppix.manty.net

TFTP Server Setup

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.

For this guide, we want our TFTP server to use /var/lib/tftpboot/ as the root directory. How you configure that depends on which tftp server you use (tftp-hpa, atftp, or other) and how you run it (inetd, xinetd, init daemon, ...).

For example, tftp-hpa can be started from inetd with this line:

tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot

Samba Share Setup

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.

Samba provides the CIFS services out of the box. All we have to do is configure a share. An example smb.conf is listed below:

[global]
 netbios name = HYBRIDSERVER
 security = share
 guest account = nobody
[knoppix_share]
 comment = Knoppix Boot Data
 path = /shares/knoppix-term
 read only = Yes
 guest ok = Yes

Note1: you need 'security = share' for (passwordless) guest access to work

Note2: you need to make sure that there exists a Unix user 'guest' on the server (in /etc/passwd)

Note3: After changes to smb.conf you will need to restart samba services.

DHCP Server Setup

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.

Note: This guide will assume that your server machine has an IP of 192.168.12.253

Example entry in the dhcpd.conf file:

subnet 192.168.12.0 netmask 255.255.255.0 {
 range 192.168.12.251 192.168.12.252;
 option broadcast-address 192.168.12.255;
 filename "/pxelinux.0";
}

Note2: Make sure to use the subnet, netmask, broadcast-address and the IP range of your test network.

Note2: After changes to dhcpd.conf restart or reload dhcp services.

Setting Up Knoppix Boot files

Now it's time to populate the Samba and TFTP server shares with relevant files.

Start by downloading a KNOPPIX 4.0.2 (or newer) iso

Mount it (or burn it on a CD)

mount -o loop /iso/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso /mnt/iso

Setup a Knoppix terminal pxeboot subdirectory

mkdir /var/lib/tftpboot/knoppix

Download miniroot.gz from http://knoppix.manty.net and put it

wget http://knoppix.manty.net/files/511/miniroot.gz -O /var/lib/tftpboot/knoppix/miniroot.gz

Copy the kernel from the Knoppix CD to the pxeboot subdirectory

cp /mnt/iso/boot/isolinux/linux /var/lib/tftpboot/knoppix/kernel

Copy the KNOPPIX folder from the KNOPPIX CD to a shared directory on the server

rsync -a --delete /mnt/iso/KNOPPIX/ /shares/knoppix-term/KNOPPIX

Configure PXELINUX

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. Thus we configure PXELINUX with relevant information.

Add the following lines to your /var/lib/tftpboot/pxelinux.cfg/default file:

 LABEL Knoppix CIFS
 KERNEL knoppix/linux
 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

Note: the above APPEND line must appear as a single line in your pxelinux.cfg/default file

Configure Client Machines' PXE Booting

This is a crucial step. Unless your machines can actually boot from the network, none of the above is going to be of any use! Unfortunately, each and every BIOS has its own way of being configured for PXE booting and it's not feasible to document any of that here. If you do not have this working, a good start would be to read Dan Kegel's Remote Network Boot via PXE page.

Testing

After all the hard work, it is time to enjoy the fruits of your labor.

  • Connect a PXE enabled test machine to the 192.168.12.0 network
  • power it on
  • wait...
  • enjoy!

References