Re: tftp server

"Daniel S. Reichenbach" <[email protected]> Fri, 18 Feb 2005 12:28:56 +0100
Newsgroups gmane.linux.tao.general
Message-ID <[email protected]>
Hello,

> rpm -ql tftp
> /usr/bin/tftp
> /usr/share/man/man1/tftp.1.gz
There should also be /tftpboot available. This is where the
installation images and configuration files usually are put.

This might look like:

/tftpboot/
  + /pxelinux.cfg/ The place where your configuration files
  |  |             for the installation options are stored.
  |  |- default    configuration for all BOOTP requests.
  |  |- NWID       configuration for MAC NWID
  |  |- ...        etc.
  |- pxeboot.msg   Just a text document stating the available
  |                options.
  |- initrd.img
  |- pxelinux.0
  |- vmlinuz

Some example for a simple configuration follow below.

--- Begin "default" ---
# Perform a local boot by default
default local

# Always prompt
prompt 1

# Display the bootup message
display pxeboot.msg

# Boot automatically after 10 seconds in tenths of a second
timeout 100

label local
        localboot 0
label rhel_4es_i386
	kernel rhel/4es/i386/images/pxeboot/vmlinuz
	append initrd=rhel/4es/i386/images/pxeboot/initrd.img
nfsroot=your.domain.lan:/tftpboot/rhel/4es/i386/ ip=dhcp
label rhel_4ws_i386
	kernel rhel/4ws/i386/images/pxeboot/vmlinuz
	append initrd=rhel/4ws/i386/images/pxeboot/initrd.img
nfsroot=your.domain.lan:/tftpboot/rhel/4ws/i386/ ip=dhcp
--- End "default" ---

--- Begin "pxeboot.msg" ---
An introductory text....

Enter one of the following shortcuts to begin:

local         - Run your current installation
rhel_4es_i386 - Red Hat Enterprise Linux 4 ES (i386)
rhel_4ws_i386 - Red Hat Enterprise Linux 4 WS (i386)
--- End "pxeboot.msg" ---

Regards,
Daniel S. Reichenbach
-- 
blog - http://people.best-off.org/~dsr/
gpg  - http://people.best-off.org/~dsr/gpg.asc
work - http://www.best-off.org/

_______________________________________________
Tao-discuss mailing list
[email protected]
http://mailman.taolinux.org/mailman/listinfo/tao-discuss
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQBCFdF3n7VVG9wxo1ERAi9NAJ9V/cVOeMQWL+xyppZauyg5ziOCZwCgwAAP
K4ZmI3IO/SiMBaFXwRhIwKA=
=llgS
-----END PGP SIGNATURE-----