Results 1 to 5 of 5

Thread: Newbie building a Bootp/tftp server with knoppix

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Posts
    4

    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

  2. #2
    Junior Member
    Join Date
    Nov 2004
    Posts
    4
    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

  3. #3
    Junior Member
    Join Date
    Nov 2004
    Posts
    4

    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 ?

  4. #4
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441

    Re: In progress

    Quote 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.

  5. #5
    Junior Member
    Join Date
    Nov 2004
    Posts
    4
    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

  1. Building Custom Knoppix/Debian for Server-appliance
    By calacode in forum Customising & Remastering
    Replies: 0
    Last Post: 07-29-2005, 02:27 PM
  2. Question about bootp
    By zerberus in forum Networking
    Replies: 1
    Last Post: 11-03-2003, 08:57 PM
  3. Newbie Knoppix Terminal Server question.
    By jcchains in forum Networking
    Replies: 7
    Last Post: 11-03-2003, 06:16 AM
  4. TFTP Server
    By mmaki in forum General Support
    Replies: 0
    Last Post: 05-30-2003, 03:53 AM
  5. Running a TFTP Server
    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
  •  


Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W picture

Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W

$329.99



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$159.99



DELL R630 SERVER 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

DELL R630 SERVER 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$169.95



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell PowerEdge R720xd 26HDD 300gb  2.5-inch E5-2697  X 2CPU 384RAM 7.2 Tb HDD  picture

Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 

$180.00



Dell PowerEdge R710 2.5

Dell PowerEdge R710 2.5" 2U Server 2x X5670 2.93GHZ 12-Core 128gb 2x 1TB SAS

$114.99



Dell PowerEdge T420 2x Xeon E5-2430 V2 2.50GHZ 32GB DDR3-1600MHZ 2x 550W PSU picture

Dell PowerEdge T420 2x Xeon E5-2430 V2 2.50GHZ 32GB DDR3-1600MHZ 2x 550W PSU

$149.95



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



DELL PowerEdge R730 Server 2x E5-2697v4 2.3GHz =36 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2697v4 2.3GHz =36 Cores 128GB H730 4xRJ45

$461.00



Dell Poweredge R440 2x Xeon Silver 4110 SR3GH 32GB RAM No Drives Server picture

Dell Poweredge R440 2x Xeon Silver 4110 SR3GH 32GB RAM No Drives Server

$349.99