-
DIY Knoppix boot server?
I thought it would be interesting to have a script or utility that could turn a normal linux system (such as a firewall/nat/dhcp) that most of us have into a knoppix boot server without having to be running knoppix already.
Perhaps just mount the cd or ISO on that system and normal windows/linux/unix clients get their IP normally, but if one wants a boot image (pxe/etherboot) then have the server send out a kernel. That way someone could set up Linux "terminals" around their house/business that give web access that don't have to have a local drive or a separate knoppix terminal server. I've been doing a lot of playing with knoppix TS but I have to disable my local DHCP server to enable it. If the two could be combined into one system that runs a different linux (in my case RH 7.2) but still distributes Knoppix, it would be really cool.
-
kinda figured it out
I copied the dhcpd.conf from the Knoppix /etc/ directory to my server and modified the ranges to match like this:
[root@Router etc]# cat /etc/dhcpd.conf
# dhcpd.conf for KNOPPIX terminalserver
# global settings
ddns-update-style ad-hoc;
allow booting;
allow bootp;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.0.0 netmask 255.255.255.0 {
next-server 192.168.0.1;
if substring (option vendor-class-identifier, 0, 9) = "Etherboot" { filename "
etherboot.nbi"; }
else { filename "pxelinux.0"; }
option subnet-mask 255.255.255.0;
range 192.168.0.51 192.168.0.200;
option domain-name-servers 192.168.0.1;
option routers 192.168.0.1;
}
Then I copied the contents of the tftpboot dir to the tftpboot directory on the server. I added the exports from knoppix and rebooted.
Dhcpd crashed with a bunch of errors. Turns out I was running 2.x on my server and not 3.x like on knoppix. Ok. Went to http://www.isc.org and got the latest tarball.
./configure
make
make install
reboot
BAM! All is well in da' hood.
Make sure the /cdrom is included in your mounts of course. And make sure to add the ddns-update-style ad-hoc otherwise the latest dhcpd won't start.
-
one more thing
in your hosts.allow file, add
in.ftpd: ALL
-
oops more..
I guess I should register so I can edit my posts.. Here are some config files I had to mess with. There were a few other things I had to tweek to make it work right that I neglected to add in the first few posts.
hosts.allow
sshd: ALL
in.tftpd: 192.168.0.0/255.255.255.0
rpc.lockd: 192.168.0.0/255.255.255.0
rquotad: 192.168.0.0/255.255.255.0
rpc.mountd: 192.168.0.0/255.255.255.0
rpc.statd: 192.168.0.0/255.255.255.0
portmap: 192.168.0.0/255.255.255.0
exportfs: 192.168.0.0/255.255.255.0
rpc.nfsd: 192.168.0.0/255.255.255.0
(Some of these I'm not sure are even valid, I added everything NFS related to be sure)
/etc/fstab (this is just what I added)
/home/shared/knoppix.iso /cdrom iso9660 loop=/dev/loop0 0 0
/etc/exports (had to add this)
/cdrom (ro,no_root_squash,async,insecure)
Similar Threads
-
By adrianmak in forum General Support
Replies: 1
Last Post: 11-09-2004, 04:27 AM
-
By ghostblaze in forum General Support
Replies: 4
Last Post: 11-02-2004, 12:21 AM
-
By thenexuscode in forum Networking
Replies: 1
Last Post: 02-11-2004, 01:54 PM
-
By egork in forum Networking
Replies: 1
Last Post: 02-01-2004, 10:54 PM
-
By cmcclean in forum General Support
Replies: 1
Last Post: 10-03-2003, 01:52 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C picture](/store/img/g/tqEAAOSwkbxmR-l8/s-l225/New-Precision-DWDM-SFP-10G-80km-Tunable-Transceive.jpg)
New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C
$90.00
![LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture](/store/img/g/JEEAAOSwzu9ibCFX/s-l225/LOT-OF-20-Genuine-Cisco-SFP-10G-SR-V03-10GBASE-SR-.jpg)
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$95.00
![GENUINE CISCO DS-SFP-FC32G-SW SFP NEW SEALED SEE PHOTOS SHIPS FREE picture](/store/img/g/MykAAOSwW7Fl2NpI/s-l225/GENUINE-CISCO-DS-SFP-FC32G-SW-SFP-NEW-SEALED-SEE-P.jpg)
GENUINE CISCO DS-SFP-FC32G-SW SFP NEW SEALED SEE PHOTOS SHIPS FREE
$69.99
![Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC picture](/store/img/g/aIgAAOSwXWNi1sm1/s-l225/Brand-New-Cisco-GLC-LH-SMD-1000BASE-LX-LH-SFP-Modu.jpg)
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$12.99
![Original CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module picture](/store/img/g/KTkAAOSwcmBisISE/s-l225/Original-CISCO-SFP-10G-SR-V03-10-2415-03-850nm-10G.jpg)
Original CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module
$6.80
![CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty picture](/store/img/g/FkQAAOSwtBZbqRX9/s-l225/CISCO-SFP-10G-LR-SFP-TRANSCEIVER-MODULE-GBIC-10G-1.jpg)
CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty
$39.99
![GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture](/store/img/g/tAkAAOSwdENkHItI/s-l225/GENUINE-Cisco-SFP-10G-SR-V03-SFP-GBIC-Transceiver-.jpg)
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
![Precision PRE-SFP-TMI-CSCO 1GB BASE-T RJ-45 SFP Transceiver - For Cisco picture](/store/img/g/NYMAAOSwLTJlgKxZ/s-l225/Precision-PRE-SFP-TMI-CSCO-1GB-BASE-T-RJ-45-SFP-Tr.jpg)
Precision PRE-SFP-TMI-CSCO 1GB BASE-T RJ-45 SFP Transceiver - For Cisco
$2.89
![ARISTA SFP-10G-SR 10GBASE-SR SFP+ Optical Transceiver ModuXVR-00001-02 Lot of 10 picture](/store/img/g/FIoAAOSwNGFkIrU0/s-l225/ARISTA-SFP-10G-SR-10GBASE-SR-SFP-Optical-Transceiv.jpg)
ARISTA SFP-10G-SR 10GBASE-SR SFP+ Optical Transceiver ModuXVR-00001-02 Lot of 10
$69.19
![New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module picture](/store/img/g/SO8AAOSwwW1l1Cr6/s-l225/New-HP-HPE-Aruba-J9150D-10G-SFP-LC-SR-850nm-300m-M.jpg)
New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module
$45.99