Recent Changes - Search:


Code:


Social:


My journals will take the place of a blog. If you go to the Journal page there is an RSS feed to subscribe with.

« November 2017 
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
2627282930  

Sites I take responsibility for

West Volusia, Florida

Documents

Technical

General

Me

Living

Places I frequent

Hobbies

Humor

Items for sale:


Clipboard

edit SideBar

Setting up Kickstart on a Gentoo server

Include our styles below Infobox - invoke as >>infobox<< ... >><<

Codebox: - invoke as >>codebox<< ... >><<

warnbox: - invoke as >>codebox<< ... >><<

editingbox: - invoke as >>codebox<< ... >><<

noticebox: - invoke as >>codebox<< ... >><<

Page bread crumbs: Welcome to ke3vin.org! - My Public Technical Notes - Software And Operating Systems - Linux - Howtos - Kickstart - Gentoo

Pages by tags: (:listtags:)
Subscribe to this wiki: RSS Feed RSS or subscribe to this page for changes: RSS Feed RSS
496 articles have been published so far. Recent changes
Share

2016-03-22: This site is being moved to my main site at https://kevininscoe.com/wiki as part of a consolidation to one domain.


This is complete yet I need to add more.

http://forums.gentoo.org/viewtopic.php?t=126045&highlight=portage+recovery

Emerge the needed software:

 # emerge -av net-misc/dhcp net-ftp/tftp-hpa

Setup the DHCP Server:

Example /etc/dhcp/dhcpd.conf:

 
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "site1.kevininscoe.com";
option domain-name-servers 192.168.1.2, 192.168.1.1;

default-lease-time 600;
max-lease-time 7200;
use-host-decl-names     on;

# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none;
# aprently this is needed for kickstart boots
ddns-update-style adhoc;

# Bootp options
allow booting;
allow bootp;

# Network Options
option domain-name-servers    192.168.1.2 192.168.1.1;
option domain-name            "site1.kevininscoe.com";
option log-servers            192.168.1.4;
next-server                   192.168.0.1;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

subnet 192.168.1.0 netmask 255.255.255.0 {
        range 192.168.1.3 192.168.1.200;
        option subnet-mask            255.255.255.0;
        option broadcast-address      192.168.1.255;
        option routers                192.168.1.1;
}

# bootp loaders go here
host passacaglia {
  hardware ethernet 0:0:c0:5d:bd:95;
  filename "vmunix.passacaglia";
  server-name "toccata.fugue.com";
}

# Fixed IP addresses can also be specified for hosts.   These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP.   Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.

host mike {
  hardware ethernet 00:1a:4d:64:71:fe;
  fixed-address 192.168.1.3;
}
host sarah {
  hardware ethernet 00:0f:ea:3a:b2:c2;
  fixed-address 192.168.1.4;
}
host noah {
  hardware ethernet 00:1F:D0:20:8F:5C;
  fixed-address 192.168.1.5;
}
host mari {
  hardware ethernet 00:00:00:00:00:00;
  fixed-address 192.168.1.6;
}


tftp:

I'm using xinetd to run tftpd. My /etc/xinetd.d/tftp file looks like this:

service tftp {

        socket_type = dgram
        protocol    = udp
        user        = root
        server      = /usr/sbin/in.tftpd
        server_args = -c -s /genstart/tftpboot
        port        = 69
        wait        = yes
        only_from   = 0.0.0.0
        disable     = no
        per_source  = 11
        cps         = 100 2

}


Kevin's Public Wiki maintained and created by Kevin P. Inscoe is licensed under a
Creative Commons Attribution 3.0 United States License.

Back to my web site - http://kevininscoe.com

Edit - History - Print - Recent Changes - Search
Page last modified on December 10, 2009, at 09:55 AM EST