Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2004 03:12:29 +0900
From:      Rob <nospam@users.sourceforge.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: bug in bootpd for FBSD-stable ?
Message-ID:  <40252A8D.7020106@users.sourceforge.net>
In-Reply-To: <200402071345.aa45776@salmon.maths.tcd.ie>
References:  <20040207093627.GB7043@happy-idiot-talk.infracaninophile.co.uk> <200402071345.aa45776@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Dowse wrote:
> 
>>On Sat, Feb 07, 2004 at 07:52:12AM +0900, Rob wrote:
> 
> ...
> 
>>>-----------------------------------------------
>>>.default:\
>>>        hn:ht=1:vm=rfc1048:\
>>>        sm=255.255.255.0:\
>>>        sa=147.46.44.181:\
>>>        gw=147.46.44.1:\
>>>        hd="":\
>>>        bf="kernel":\
>>>        T128="147.46.44.181:/home":\
>>>        T129=64000:\
>>>        rp="147.46.44.181:/tftpboot":
>>>        tc=.default:
> 
> ...
> 
>>>But then I get in /var/log/messages this line:
>>>
>>>Feb  6 20:06:45 cisr bootpd[842]: in entry named ".default", symbol "T128": bad syntax
>>>Feb  6 20:06:45 cisr bootpd[842]: can't find tc=".default"
> 
> 
> Rob, are you sure that the error was on the T128 line? The above
> bootptab appears to have just one syntax error, but it is on the
> T129 line. From bootptab(5):
> 
> The error is that `64000' is neither a quoted string nor a stream of
> hexadecimal bytes. Try this instead:
> 
> 	T129=0000fa00:\

Wonderful, thanks! I now use:

#-----------/etc/bootptab-----------
.default:\
         hn:ht=1:vm=rfc1048:\
         sm=255.255.255.0:\
         sa=147.46.44.181:\
         gw=147.46.44.1:\
         hd="":\
         bf="kernel":\
         T128="147.46.44.181:/home":\
         T129=0000fa00:\
         rp="147.46.44.181:/tftpboot":

diskless:\
         ha=0050fce9306f:\
         tc=.default:
#------------------------------------

When I then test the server from the diskless PC:

	[diskless]$ bootptest cisr.snu.ac.kr
	bootptest: version 2.4.3
	Sending to 147.46.44.181 (request) htype:0 hlen:0 xid:823 C:147.46.44.183 vend-rfc1395
	Recvd from 147.46.44.181 (reply) htype:0 hlen:0 xid:823 C:147.46.44.183 S:147.46.44.181
		sname:"cisr.snu.ac.kr" file:"//kernel" vend-rfc1395 SM:255.255.255.0 GW:147.46.44.1
		ROOT:"147.46.44.181:/tftpboot" HN:"lahaye" T129:00.00.FA.00

On the server in /var/log/messages I get:
	bootpd[95255]: diskless: No room for "(generic)" option


So I bet there's still something fishy here, isn't it?

Regards,
Rob



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40252A8D.7020106>