-
Newbie building a Bootp/tftp server with knoppix
I would like to use knoopix to build a bootp/tftp server to allow unexperimented people to download binary image to PowerPc industrial board. BootP/Tftp server should be ready after booting a knoopix CD. Then Bootp request is automatically done when PowerPc board is powered-on
I already know how to do that on Windows machine with expensive softwares.
My question is :
how customize a knoopix CD to :
- add my own bootp table as /etc/bootptab
- add my own PowerPc image as /home/PPCimages/boardnumber.prp
- set the IP adress to something like 192.168.0.1
- set the arp table to add the mac address of my PPC board
- run automatically the bootp server daemon and the tftp server daemon.
I'm not a newbie in software but in linux administration and knoopixjavascript:emoticon('
') .
Thanks
-
For the network configuration, I think I can found all the stuff I want
at
http://fr.tldp.org/HOWTO/lecture//NET4-HOWTO.html
(french version of the network HOWTO)
I've just tried to build a bootable USB stick.
But I don't understand why mounting miniroot.
In the next few days I wilkl try the following procedure :
http://www.knoppix.net/docs/index.php/FaqUSBBased
-
In progress
The job is in progress :
I had downloaded a Knoppix CD image. 45 minutes for 700 Mb.
Unfortunately, the md5 checking gave me errors.
I had not be able to download an image without md5 errors.
I had try 4 times.
So I had burnt the CD as is and it works fine.
Strange !!.
Then I follow the KnoppixRemasteringHowto.
I'd been able to burn a CD that works fine without GIMP and OpenOffice.
It is about 100 Mbytes lighter.
I had made a new remastering :
- remove other unused packages as games and so on
- remove the tftp-hpa package
- add the tftpd package
- add the bootp package
- add a new directory /tftpboot with a 6 Mbytes .prp PowerPc binary file in.
- modify the /etc/bootptab file to add the target board mac address and the above file
- modify /etc/services to include bootpd and tftpd
- modify /etc/initd.conf to automatically run the bootpd and tftpd services.
I had try to build the .iso image but it is now 900Mbytes !!! ???
Damned.
What I had done wrong ?
Todos :
- Find the above mistake,
- modify /etc/hosts
- modify the ifconfig to force the PC to start with a fixed 192.168.0.1 ip address.
For this last issue I need help as I don't know how to do that.
Who can help me ?
-
Administrator
Site Admin-
Re: In progress
![Quote](images/misc/quote_icon.png)
Originally Posted by
gbrisset
......
I had downloaded a Knoppix CD image. 45 minutes for 700 Mb.
Unfortunately, the md5 checking gave me errors.
I had not be able to download an image without md5 errors.
I had try 4 times.
So I had burnt the CD as is and it works fine.
Strange !!.....
That's very strange, particularly since I've traced the errors I see to a new line to CR/LF translation that is happening for many of the sites (they and Windows seem to transfer the file as if it was a text file rather than a binary file and so the "helpfull" translation happens. One work around for this would be to get a copy with bittorrent, which does no such translation (and has other tests to be sure your copy is good). I'm surprised your copy works at all (although, of course, you might have other corruption than I had), but you certainly can't trust it if the md5 sum is bad.
-
Rather than burning CDs I had try to test the iso image with the :
knoppix fromhd=/dev/hda1
and i put there the iso file just built.
This does not work. I get :
cannot find a knoppix file system or something like that.
About the 900 Mbytes sized iso image.
the /mnt/hda1/knx/source and master directories are always on my hard drive.
Before building a new image, do not forget to remove the
/mnt/hda1/knx/source/KNOPPIX/KNOPPIX file either the new built master is appended to the old one.
Now the iso file is 450 Mbytes.
This new iso image has been burnt, but it does not work.
May be I had removed too much packages.
I think removing the gtk package is not a good idea.
I had remove nessus. Is it good ?
Similar Threads
-
By calacode in forum Customising & Remastering
Replies: 0
Last Post: 07-29-2005, 02:27 PM
-
By zerberus in forum Networking
Replies: 1
Last Post: 11-03-2003, 08:57 PM
-
By jcchains in forum Networking
Replies: 7
Last Post: 11-03-2003, 06:16 AM
-
By mmaki in forum General Support
Replies: 0
Last Post: 05-30-2003, 03:53 AM
-
By mmaki in forum Networking
Replies: 0
Last Post: 05-28-2003, 12:27 AM
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 Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture](/store/img/Tb4AAOSwmeVlqJuU/s-l225//NEW-Sealed-Cisco-SFP-10G-LR-10GBASE-LR-SFP-1310nm-.jpg)
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$18.00
![New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C picture](/store/img/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
![New Cisco SFP-25G-SR-S 25G SFP28 25GBASE-SR 850nm 300m LC MMF Transceiver Module picture](/store/img/R5EAAOSwwLtmfi4p/s-l225//New-Cisco-SFP-25G-SR-S-25G-SFP28-25GBASE-SR-850nm-.jpg)
New Cisco SFP-25G-SR-S 25G SFP28 25GBASE-SR 850nm 300m LC MMF Transceiver Module
$51.30
![New HP HPE Aruba J4858D 1G SFP LC SX 850nm 500m MMF XCVR Transceiver Module picture](/store/img/-RQAAOSwv-Rl1Cgp/s-l225//New-HP-HPE-Aruba-J4858D-1G-SFP-LC-SX-850nm-500m-MM.jpg)
New HP HPE Aruba J4858D 1G SFP LC SX 850nm 500m MMF XCVR Transceiver Module
$28.49
![GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture](/store/img/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
![For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Transceiver, SFP+ to RJ45 10GBase-T picture](/store/img/H0kAAOSwYRJhQsEA/s-l225//For-Cisco-SFP-10G-T-Ubiquiti-UF-RJ45-10G-Transceiv.jpg)
For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Transceiver, SFP+ to RJ45 10GBase-T
$45.99
![🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥 picture](/store/img/KTkAAOSwcmBisISE/s-l225//-CISCO-SFP-10G-SR-V03-10-2415-03-850nm-10GBASE-SR-.jpg)
🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥
$6.80
![HP 10Gb SR SFP+ 10GBASE-SR 455885-001 10Gigabit Ethernet Transceiver 456096-001 picture](/store/img/5v0AAOSw9TVl-IVm/s-l225//HP-10Gb-SR-SFP-10GBASE-SR-455885-001-10Gigabit-Eth.jpg)
HP 10Gb SR SFP+ 10GBASE-SR 455885-001 10Gigabit Ethernet Transceiver 456096-001
$6.99
![New Cisco GLC-TE 1G SFP Copper RJ45 100m 1000BASE-T Transceiver Module picture](/store/img/UFgAAOSwrw9l1Cbr/s-l225//New-Cisco-GLC-TE-1G-SFP-Copper-RJ45-100m-1000BASE-.jpg)
New Cisco GLC-TE 1G SFP Copper RJ45 100m 1000BASE-T Transceiver Module
$22.32
![Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC picture](/store/img/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
$20.99