Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire.

Please join in and help us improving it!

Tftpd - IPFire as a Server

Until now the Wiki of IPFire explained how to install IPFire over Tftpd.
This Wiki shows how IPFire can also work as a Tftpd in the network.

Preparation

First of all the basic conditions needs to be created.
- Install the IPFire Addon Tftpd over Pakfire.
- From the Syslinux project, the files "pxelinux.0 , memdisk" will be needed.

In the next step the following adjustments needs to be done:
Create the folder /var/tftpboot and copy the file pxelinux.0 and for a possible use in the future, copy also memdisk into the folder.
Inside /var/tftpboot you should insert the folder /pxelinux.cfg with a at this time empty file default .

In the file "default" the configuration for the pxelinux.0 will be deposited.

For example, the following might be a possible content:

Comparison: Pxelinux
File: /var/tftpboot/pxelinux.cfg/default

default suse92
prompt 1
timeout 10

label suse92
kernel /SuSE-9.2/i386/linux
append initrd=/SuSE-9.2/i386/initrd vga=0x314   \
    install=nfs://131.188.3.145/proj.stand/suse/suse9.2

label local
LOCALBOOT 0

At the conclusion the file pxelinux.0 must be registered in IPFire under DHCP-server in the field file

Now you can start the tftpd service.


loadproc /usr/sbin/tftpd -l -s /var/tftpboot -m /var/tftpboot/tftpd.remap -vvv

In addition, the file tftpd.remap must be created in /var/tftpboot with the following contents:

File: /var/tftpboot/tftpd.remap

# Remap Rules
re ^bootmgr\.exe Boot/bootmgr.exe
r ^\\Boot\\ Boot/
r ^\\boot\\ Boot/
rg \\ /

and set then a approrpiate symlink

ln -s /mnt/xxxx/tftpboot /var/tftpboot

Edit Page ‐ Yes, you can edit!

Older Revisions • Friday at 6:23 am • Erik Kapfer