11.1Sgwr
21.1SgwrCommon problems and ways to work around them:
31.1Sgwr
41.1SgwrBootpd complains that it "can not get IP addr for HOSTNAME"
51.1Sgwr
61.1Sgwr	If the entry is a "dummy" (not a real host) used only for
71.1Sgwr	reference by other entries, put '.' in front of the name.
81.1Sgwr
91.1Sgwr	If the entry is for a real client and the IP address for
101.1Sgwr	the client can not be found using gethostbyname(), specify
111.1Sgwr	the IP address for the client using numeric form.
121.1Sgwr
131.1SgwrBootpd takes a long time to finish parsing the bootptab file:
141.1Sgwr
151.1Sgwr	Excessive startup time is usually caused by waiting for
161.1Sgwr	timeouts on failed DNS lookup operations.  If this is the
171.1Sgwr	problem, find the client names for which DNS lookup fails
181.1Sgwr	and change the bootptab to specify the IP addresses for
191.1Sgwr	those clients using numeric form.
201.1Sgwr
211.1Sgwr	When bootptab entries do not specify an ip address, bootpd
221.1Sgwr	attempts to lookup the tagname as a host name to find the
231.1Sgwr	IP address.  To suppress this default action, either make
241.1Sgwr	the entry a "dummy" or specify its IP numeric address.
251.1Sgwr
261.1Sgwr	If your DNS lookups work but are just slow, consider either
271.1Sgwr	running bootpd on the same machine as the DNS server or
281.1Sgwr	running a caching DNS server on the host running bootpd.
291.1Sgwr
301.1SgwrMy huge bootptab file causes startup time to be so long that clients
311.1Sgwrgive up waiting for a reply.
321.1Sgwr
331.1Sgwr	Truly huge bootptab files make "inetd" mode impractical.
341.1Sgwr	Start bootpd in "standalone" mode when the server boots.
351.1Sgwr
361.1Sgwr	Another possibility is to run one bootpd on each network
371.1Sgwr	segment so each one can have a smaller bootptab.  Only one
381.1Sgwr	instance of bootpd may run on one server, so you would need
391.1Sgwr	to use a different server for each network segment.
401.1Sgwr
411.1SgwrMy bootp clients are given responses with a boot file name that is
421.1Sgwrnot a fully specified path.
431.1Sgwr
441.1Sgwr	Make sure the TFTP directory or home directory tags are set:
451.1Sgwr	:td=/tftpboot:	(or)
461.1Sgwr	:hd=/usr/boot:	(for example)
471.1Sgwr
481.2SgwrMy HP Laserjet 4 gets an error during boot: "80 service (xxxx)"
491.2SgwrHere is an explanation of the problem from a fellow at HP:
501.2Sgwr
511.2Sgwr	Date: Mon, 16 Oct 95 10:16:29 MDT
521.2Sgwr	From: James Clough <clough@hpbs3651.boi.hp.com>
531.2Sgwr	Subject: Re: problems bootp-2.4.3 and JetDirect
541.2Sgwr	To: bootp@andrew.cmu.edu
551.2Sgwr	
561.2Sgwr	> I installed bootp-2.4.3 with the DHCP-patches.
571.2Sgwr	> All went oke, except the JetDirect cards, build in in
581.2Sgwr	> several HP Laserjet 4's. They stopped while initialising
591.2Sgwr	> with error message '80 service (01E0)' or
601.2Sgwr	> '... (0009)'. The DUTH HP service support did not know
611.2Sgwr	> what the error-message was.
621.2Sgwr	
631.2Sgwr	This problem has surfaced here more than once--each time with a
641.2Sgwr	different hypothesized cause and proposed fix.
651.2Sgwr	
661.2Sgwr	The real cause of this problem is the byte alignment in the vendor
671.2Sgwr	extensions portion of the bootp packet.  Here are a few workarounds
681.2Sgwr	that I've either used myself or heard tell of others using with
691.2Sgwr	success:
701.2Sgwr	
711.2Sgwr		1.  Change the name of the printer.  If the name in your
721.2Sgwr			bootptab entry has an even number of characters,
731.2Sgwr			change it to a name with an odd number of
741.2Sgwr			characters.  If it's odd, make it even.
751.2Sgwr	
761.2Sgwr		2.  Remove the logserver (lg) capability from the
771.2Sgwr			bootptab entries for the affected printers.
781.2Sgwr	
791.2Sgwr		3.  Use the vendor sort patches posted here in June by
801.2Sgwr			Ron Stanonik.  They make bootpd sort the vendor
811.2Sgwr			extensions into RFC numeric order.  It just
821.2Sgwr			so happens that this causes them to be aligned
831.2Sgwr			correctly.
841.2Sgwr	
851.2Sgwr	Really, anything that changes the byte alignment in the vendor
861.2Sgwr	tags section of the packet can work, including removing null
871.2Sgwr	terminators from string capabilities.
881.2Sgwr	
891.2Sgwr	James Clough
901.2Sgwr	--
911.2Sgwr	clough@boi.hp.com
921.2Sgwr
931.2Sgwr(Perhaps we need a "pad for alignment" option in bootpd. -gwr)
94