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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$169.99



Lenovo ThinkCentre M920S Sff Intel Core i5 8600 8GB 256GB SSD Windows 11 Pro picture

Lenovo ThinkCentre M920S Sff Intel Core i5 8600 8GB 256GB SSD Windows 11 Pro

$94.99



AMD Ryzen 7 7800X3D 8-Core 16-Thread 4.2GHz/5.0GHz Socket AM5 picture

AMD Ryzen 7 7800X3D 8-Core 16-Thread 4.2GHz/5.0GHz Socket AM5

$275.00



Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU picture

Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU

$529.95



AMD Ryzen 7 9800X3D 8-Core AM5 CPU 4.7GHz 96MB L3 8MB L2 100MHz picture

AMD Ryzen 7 9800X3D 8-Core AM5 CPU 4.7GHz 96MB L3 8MB L2 100MHz

$389.99



MacBook Air 13 2020 M1 8-Core CPU 7-Core GPU 8GB RAM 256GB Storage Gold picture

MacBook Air 13 2020 M1 8-Core CPU 7-Core GPU 8GB RAM 256GB Storage Gold

$399.00



Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151) picture

Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151)

$189.99



Lenovo LOQ 15 15.6

Lenovo LOQ 15 15.6" FHD 144Hz 8-Core i5-12450HX 16GB 512GB SSD GeForce RTX 4050

$799.00



8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard picture

8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard

$377.77



CHUWI 15.6'' Laptop Computer Intel Core 8GB RAM 512GB SSD WiFi Windows 11 picture

CHUWI 15.6'' Laptop Computer Intel Core 8GB RAM 512GB SSD WiFi Windows 11

$269.99