Difference between revisions of "KNOPPIX Terminal Server"


From Knoppix Documentation Wiki
Jump to: navigation, search
(→‎Model)
(→‎Model)
Line 14: Line 14:
 
server. The rest is as follows:
 
server. The rest is as follows:
 
* KNOPPIX:
 
* KNOPPIX:
−
Download KNOPPIX 4.0.2 and burn to a CD.
+
Download KNOPPIX 4.0.2 and burn to a CD.
−
Download the miniroot.gz and integrate for the pxe bootup.
+
 
 +
Download the miniroot.gz and integrate for the pxe bootup.
 
  To do this, place the miniroot.gz in the /tftpboot/hybrid/pxeboot/ directory.
 
  To do this, place the miniroot.gz in the /tftpboot/hybrid/pxeboot/ directory.
−
Make
+
Make a directory under /tftpboot/hybrid/pxeboot/
−
a directory under /tftpboot/hybrid/pxeboot/
+
called knoppix and copy the /boot/isolinux/linux file from the
−
called
+
KNOPPIX CD to /tftpboot/hybrid/pxeboot/knoppix/
−
knoppix and copy the /boot/isolinux/linux file from the
+
 
−
KNOPPIX CD to /tftpboot/hybrid/pxeboot/
+
Copy the KNOPPIX folder from the KNOPPIX CD to a location on server of
−
knoppix/
+
/hybrid/knoppixshare
−
Copy
+
 
−
the KNOPPIX folder from the KNOPPIX CD to a location
+
Modify the pxe boot menu located at /tftpboot/hybrid/pxeboot/pxelinux.cfg
−
on server of /hybrid/knoppixshare
+
with the below addition:
−
Modify
+
  LABEL CIFS KNOPPIX
−
the pxe boot menu located at /tftpboot/hybrid/pxeboot/
+
  KERNEL knoppix/linux
−
pxelinux.cfg with the below addition:
+
  APPEND secure nfsdir=//xxx.xxx.xxx.xxx/knoppix_share nodhcp \
−
LABEL CIFS KNOPPIX
+
  lang=en ramdisk_size=100000 init=/etc/init apm=poweroff nomce \
−
KERNEL knoppix/linux
+
  vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix \
−
APPEND secure nfsdir=//xxx.xxx.xxx.xxx/knoppix_share nodhcp
+
  Note: xxx.xxx.xxx.xxx is the IP address of the server running the samba share.
−
lang=en ramdisk_size=100000 init=/etc/init apm=poweroff
+
 
−
nomce
+
* Samba
−
vga=791 initrd=miniroot.gz quiet BOOT_IMAGE=knoppix
+
Samba provides the CIFS services, so we setup a share on server xxx.xxx.xxx.xxx.
−
Note: xxx.xxx.xxx.xxx is the IP address of the server running the
+
An example smb.conf is listed below:
−
samba share.
+
[global]
−
• Samba
+
  workgroup = HYBRIDGROUP
−
7 of 16
+
  netbios name = HYBRIDSERVER
−
Samba
+
  security = share
−
provides the CIFS services, so we setup a share on
+
  guest account = nobody
−
server xxx.xxx.xxx.xxx . An example smb.conf is listed
+
[knoppix_share]
−
below:
+
  comment = Knoppix Boot Data
−
[global]
+
  path = /hybrid/knoppix_share
−
workgroup = HYBRIDGROUP
+
  read only = Yes
−
netbios name = HYBRIDSERVER
+
  guest ok = Yes
−
security = share
+
Note: After changes to smb.conf you will need to restart samba services.
−
guest account = nobody
+
 
−
[knoppix_share]
+
* DHCP Services
−
comment = Knoppix Boot Data
+
Example entry for dhcpd.conf below
−
path = /hybrid/knoppix_share
+
group {
−
read only = Yes
+
  filename "hybrid/pxeboot/pxelinux.0";
−
guest ok = Yes
+
  host hybrid51 {
−
Restart
+
    hardware ethernet MA:CA:DD:RE:SS:ED; fixedaddress xxx.xxx.xxx.xxx;
−
samba services.
+
  }
−
• DHCP Services
+
}
−
Example
+
Note: After changes to dhcpd.conf restart or reload dhcp services.
−
entry for dhcpd.conf below
+
 
−
group {
+
−
filename "hybrid/pxeboot/
+
−
pxelinux.0";
+
−
host hybrid51
+
−
{
+
−
hardware ethernet MA:CA:DD:RE:SS:ED;
+
−
fixedaddress
+
−
xxx.xxx.xxx.xxx;
+
−
}
+
−
}
+
−
Restart
+
−
or reload dhcp services.
+
 
At this point, you should be ready to test boot your KNOPPIX
 
At this point, you should be ready to test boot your KNOPPIX
 
session.
 
session.

Revision as of 18:21, 12 July 2006

Preamble

  • This page will be used to document and describe how to boot KNOPPIX off the network using Samba as opposed to NFS.
    • The page will pull from several resources to provide an official reference at the KNOPPIX site for all to use.
    • Just starting so page will be in progress for a bit and will need to be catagorized.
  • You are welcome to contact me on model (I have a day job, so please bare with me see Rjent).

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 . The setup information provided here assumes you have PXE booting via TFTP already setup on the boot server. The rest is as follows:

  • KNOPPIX:
Download KNOPPIX 4.0.2 and burn to a CD.
Download the miniroot.gz and integrate for the pxe bootup.
To do this, place the miniroot.gz in the /tftpboot/hybrid/pxeboot/ directory.
Make a directory under /tftpboot/hybrid/pxeboot/
called knoppix and copy the /boot/isolinux/linux file from the
KNOPPIX CD to /tftpboot/hybrid/pxeboot/knoppix/
Copy the KNOPPIX folder from the KNOPPIX CD to a location on server of
/hybrid/knoppixshare
Modify the pxe boot menu located at /tftpboot/hybrid/pxeboot/pxelinux.cfg
with the below addition:
 LABEL CIFS KNOPPIX
 KERNEL knoppix/linux
 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 \
 Note: xxx.xxx.xxx.xxx is the IP address of the server running the samba share.
  • Samba
Samba provides the CIFS services, so we setup a share on server xxx.xxx.xxx.xxx.
An example smb.conf is listed below:
[global]
 workgroup = HYBRIDGROUP
 netbios name = HYBRIDSERVER
 security = share
 guest account = nobody
[knoppix_share]
 comment = Knoppix Boot Data
 path = /hybrid/knoppix_share
 read only = Yes
 guest ok = Yes
Note: After changes to smb.conf you will need to restart samba services.
  • DHCP Services
Example entry for dhcpd.conf below
group {
 filename "hybrid/pxeboot/pxelinux.0";
 host hybrid51 {
    hardware ethernet MA:CA:DD:RE:SS:ED; fixedaddress xxx.xxx.xxx.xxx;
 }
}
Note: After changes to dhcpd.conf restart or reload dhcp services.

At this point, you should be ready to test boot your KNOPPIX session.

References