Bootp: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 100: Line 100:
  #
  #


Modify ''/etc/inetd.conf''
Modify ''/etc/inetd.conf'' file adding following line:
bootps dgram udp wait root /usr/sbin/bootpd bootpd
 
Run ''inetconv'' to produce ''/var/svc/manifest/network/bootps-udp.xml'' file.

Revision as of 11:28, 22 November 2007

We are using old BOOTP version 2.4, until better way will be found. Some changes were applied and result was tared and stored in /usr/local/downloads directory. Following procedure shell be used:

cd /usr/local/src
cp ../downloads/bootpd-2.4.tar .
tar xvf bootpd-2.4.tar
rm bootpd-2.4.tar
cd bootpd-2.4
gmake sunos5
gmake install

Create (or copy existing) file /etc/bootptab. Following example contains boot information for EtherLite terminal servers:

# @(#) $Header: /users/hpnp/odyssey/repository/examples/bootptab,v 1.2 1997/06/26 21:23:33 hpnp Exp $
# Example /etc/bootptab: database for bootp server (/etc/bootpd).
# Blank lines and lines beginning with '#' are ignored.
#
# Legend:
#
#       first field -- hostname
#                       (may be full domain name)
#
#       hd -- home directory
#       bf -- bootfile
#       cs -- cookie servers
#       ds -- domain name servers
#       gw -- gateways
#       ha -- hardware address
#       ht -- hardware type
#       im -- impress servers
#       ip -- host IP address
#       lg -- log servers
#       lp -- LPR servers
#       ns -- IEN-116 name servers
#       rl -- resource location protocol servers
#       sm -- subnet mask
#       tc -- template host (points to similar host entry)
#       to -- time offset (seconds)
#       ts -- time servers
#
# Be careful about including backslashes where they're needed.  Weird (bad)
# things can happen when a backslash is omitted where one is intended.
#
#peripheral1:\
#	:hn:ht=ether:vm=rfc1048:\
#	:ha=08000903212F:\
#	:ip=190.40.101.22:\
#	:sm=255.255.255.0:\
#	:gw=190.40.101.1:\
#	:lg=190.40.101.3:\
#	:T144="hpnp/peripheral1.cfg":
########## Etherlite 32 RS232, Forward Carriage 1st Level, etherlite1
els0:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7008569:ip=129.57.167.208:
###	bf=el32_realport.bin:
########## Etherlite 2 RS422 (EIA422), Forward Carriage 2nd Level, rs422a (reset1)
els1:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e721288b:ip=129.57.167.215:
###	bf=el2_realport.bin:
########## Etherlite 32 RS232, Space Frame 1st Level South, etherlite2
els2:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7213b9f:ip=129.57.167.209:
###	bf=el32_realport.bin:
########## Etherlite 2 RS422 (EIA422), South Claim Shelf, rs422b (reset3)
els3:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e72141bd:ip=129.57.167.216:
###	bf=el2_realport.bin:
########## Etherlite 2 RS422 (EIA422), Space Frame 1st Level South, rs422c (reset5)
els4:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e72141b9:ip=129.57.167.217:
###	bf=el2_realport.bin:
########## Etherlite 2 RS422 (EIA422), Space Frame 1st Level North, rs422d (reset2)
els5:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e72141ae:ip=129.57.167.218:
###	bf=el2_realport.bin:
########## Etherlite 2 RS422 (EIA422), Space Frame 2nd Level North (behind dc11), rs422e (reset4)
els6:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e72141c4:ip=129.57.167.219:
###	bf=el2_realport.bin:
########## Etherlite 2 RS422 (EIA422), Hall B Gas Shed, rs422f (reset6)
els7:sm=255.255.255.0:gw=129.57.160.1:ht=ether:ha=00a0e72141b1:ip=129.57.160.20:
###	bf=el2_realport.bin:
########## Etherlite 32 RS232, Space Frame 1st Level North, etherlite3
els8:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7214019:ip=129.57.167.210:
###	bf=el32_realport.bin:
########## Etherlite 32 RS232, South Claim Shellf, etherlite4
els9:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7214003:ip=129.57.167.211:
###	bf=el32_realport.bin:
########## Etherlite 2 RS232, Hall B Gas Shed (2-port !), etherlite8 (clasgas)
elsa:sm=255.255.255.0:gw=129.57.160.1:ht=ether:ha=00a0e7214e24:ip=129.57.160.50:
###	bf=el2_realport.bin:
########## Etherlite 32 RS232, Counting Room, etherlite9
elsb:sm=255.255.255.0:gw=129.57.68.100:ht=ethernet:ha=00a0e72331b2:ip=129.57.68.95:
###	bf=el32_realport.bin:
########## Etherlite 32 RS232, Forward Carriage 1st Level, etherlite5
elsc:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e721402e:ip=129.57.167.212:
###	bf=el32_realport.bin:
########## Etherlite 32 RS232, Pie Tower, etherlite10
elsd:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e721401a:ip=129.57.167.220:
###	bf=el32_realport.bin:
########## Etherlite 32 RS232, Forward Carriage, 2nd Level, etherlite11
else:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e723764c:ip=129.57.167.228:
###	bf=el32_realport.bin:
########## Etherlite 32 RS232, ... , etherlite12
elsf:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7237a08:ip=129.57.167.229:
###	bf=el32_realport.bin:
########## Etherlite 32 RS232, ... , etherlite13
elsg:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7237a8f:ip=129.57.167.204:
###	bf=el32_realport.bin:
#

Modify /etc/inetd.conf file adding following line:

bootps dgram udp wait root /usr/sbin/bootpd bootpd

Run inetconv to produce /var/svc/manifest/network/bootps-udp.xml file.