06-08-2004
Trying to explain it all in a forum post is going to be very difficult but I will try to get you going in the write direction and give you some pointers.
First, understand how kickstart works. Redhat and other sites have plenty of docs on this subject.
Make sure you don't have a competing dhcp/bootp server on that segment of the network. If you do, you will never be able to guarantee your PXE clients get an address and boot from your server.
If you install RedHat, /root/anaconda-ks.cfg is a complete kickstart file based on the system you just installed. It's a helpful starting point
Once you have mastered that stuff, figure out how dhcp and tftp work. Not too difficult. I can't remember off the top of my head but certain tftp programs work better then others. Look at the PXE docs to see what is recommended.
H. Peter Anvin (spelling?) - you know the guy who's name pops up when ever you start linux - has some pretty detailed docs on the vmlinux and initrd stuff. I think there is a link off kernel.org. He also has a home page somewhere with tons of usefull stuff on building boot images (you know, for your PXE clients). Just search for his name.
At this point you should be ready to put all the pieces together. This is the hardest part. You have to build some images and serve them up. Basically you create a conf file that looks at the incoming DHCP/bootp request, decides if it should server out a menu or just grant an address, then "pushes" the image to the client.
I know this is not a step by step procedure but that would be pages and pages of material. Get started and when you hit a roadblock just post it and someone will be able to help you. There is a lot of trial and error in setting up a PXE server, but that is how you learn.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Setting up print queue, using SMIT on AIX
And I have an option saying do I wish to make this a BOOTP/TFTP server. What exactly does this do?
Thanks (3 Replies)
Discussion started by: maverick
3 Replies
2. HP-UX
I have a HP box (PA RISC) rp3440.
The machine does not have a CD-ROM.
I need to re-install the OS.
Basically a network install...
How did I do a network install?
Anybody know of a document for Network Installs for a HPUX 11.23? (1 Reply)
Discussion started by: truejack
1 Replies
3. SCO
I have a Dell 1850 and trying to load OS and my applications using PXE. How can I stage new servers using Network drive.
Want to move away from Tape and go towards network load.
Thx
Sean. (0 Replies)
Discussion started by: smoaref
0 Replies
4. Solaris
Hi all,
I got a Fujitsu P650 server running on Solaris 9 and we are going to re-install Solaris 10 . W have a build server in a different IP segment. So we setup a boot server and /etc/ethers and /etc/bootparams are all updated. When I issue
boot net -install,
I'm getting the following... (3 Replies)
Discussion started by: mohzub
3 Replies
5. UNIX for Dummies Questions & Answers
Hey guys,
Sorry, this question might look stupid but I have no idea how to install a network card.
My server is a Dell PowerEdge T105 with Debian 5.0 Lenny.
My network card is a Broadcom NetXtreme BCM5722 Gigabit Ethernet PCI Express.
I've plugged the card innside my server and I can see... (2 Replies)
Discussion started by: chebarbudo
2 Replies
6. Ubuntu
Hello,
I have a desktop with ubuntu installed and i want to install ubuntu also to the laptop over network.
I have an iso image of the ubuntu and i want to use this as install source.
So i installed tftpd-hpa apache2 and dhcp3-server.
mkdir /var/lib/tftpboot/ubuntu
mount - o loop ... (2 Replies)
Discussion started by: @dagio
2 Replies
7. Emergency UNIX and Linux Support
Hi folks,
I really hope someone can help me (soon :) ) as I can't work out what I'm doing wrong and google is not helpful either.
Basically I have to setup 20 Dell servers with RHEL 4.8 (no, not 5, must be 4.8). Of course I have tftp and I'm trying to install them via nfs with kickstart and... (4 Replies)
Discussion started by: columb
4 Replies
8. Red Hat
Hi,
I really hope someone can help me (soon :) ) as I can't work out what I'm doing wrong and google is not helpful either.
Basically I have to setup 20 Dell servers with RHEL 4.8 (no, not 5, must be 4.8). Of course I have tftp and I'm trying to install them via nfs with kickstart and PXE. OS... (0 Replies)
Discussion started by: columb
0 Replies
9. Solaris
i find a solution (2 Replies)
Discussion started by: shady_2005
2 Replies
10. Solaris
If this question has been answered, please provide a link.
We have several Old Solaris stations that don't have a DVD but a CD. We are required to upgrade the OS on these systems from Solaris 8 to Solaris 10, and since Solaris 10 no longer provides CD's we were thinking of doing a network... (3 Replies)
Discussion started by: Wrongway
3 Replies
LEARN ABOUT DEBIAN
net::tftp
TFTP(3pm) User Contributed Perl Documentation TFTP(3pm)
NAME
Net::TFTP - TFTP Client class
SYNOPSIS
use Net::TFTP;
$tftp = Net::TFTP->new("some.host.name", BlockSize => 1024);
$tftp->ascii;
$tftp->get("remotefile", "localfile");
$tftp->get("remotefile", *STDOUT);
$fh = $tftp->get("remotefile");
$tftp->binary;
$tftp->put("localfile", "remotefile");
$tftp->put(*STDOUT, "remotefile");
$fh = $tftp->put("remotefile");
$err = $tftp->error
DESCRIPTION
"Net::TFTP" is a class implementing a simple Trivial File Transfer Protocol client in Perl as described in RFC1350. "Net::TFTP" also
supports the TFTP Option Extension (as described in RFC2347), with the following options
RFC2348 Blocksize Option
CONSTRUCTOR
new ( [ HOST ] [, OPTIONS ])
Create a new Net::TFTP object where HOST is the default host to connect to and OPTIONS are the default transfer options. Valid options
are
Option Description Default
------ ----------- -------
Timeout Timeout in seconds before retry 5
Retries Maximum number of retries 5
Port Port to send data to 69
Mode Mode to transfer data in, "octet" or "netascii" "netascii"
BlockSize Negotiate size of blocks to use in the transfer 512
IpMode Indicates whether to operate in IPv6 mode "v4"
METHODS
get ( REMOTE_FILE [, LOCAL ] [, OPTIONS ])
Get REMOTE_FILE from the server. OPTIONS can be any that are accepted by "new" plus the following
Host Override default host
If the LOCAL option is missing the get will return a filehandle. This filehandle must be read ASAP as the server will otherwise
timeout.
If the LOCAL option is given then it can be a file name or a reference. If it is a reference it is assumed to be a reference that is
valid as a filehandle. "get" will return true if the transfer is successful and undef otherwise.
Valid filehandles are
o A sub-class of IO::Handle
o A tied filehandle
o A GLOB reference (eg "*STDOUT")
put ( [ LOCAL, ] REMOTE_FILE [, OPTIONS])
Put a file to the server as REMOTE_FILE. OPTIONS can be any that are accepted by "new" plus the following
Host Override default host
If the LOCAL option is missing the put will return a filehandle. This filehandle must be written to ASAP as the server will otherwise
timeout.
If the LOCAL option is given then it can be a file name or a reference. If it is a reference it is assumed to be a valid filehandle as
described above. "put" will return true if the transfer is successful and undef otherwise.
error
If there was an error then this method will return an error string.
host ( [ HOST ] )
timeout ( [ TIMEOUT ] )
port ( [ PORT ] )
mode ( [ MODE ] )
retries ( [ VALUE ] )
block_size ( [ VALUE ] )
debug ( [ VALUE ] )
Set or get the values for the various options. If an argument is passed then a new value is set for that option and the previous value
returned. If no value is passed then the current value is returned.
ip_mode ( [ VALUE ] )
Set or get which verion of IP to use ("v4" or "v6")
ascii
netascii
Set the transfer mode to "netascii"
binary
octet
Set the transfer mode to "octet"
AUTHOR
Graham Barr <gbarr@pobox.com>
COPYRIGHT
Copyright (c) 1998,2007 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
perl v5.10.1 2010-11-25 TFTP(3pm)