Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2004 09:36:27 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Rob <nospam@users.sourceforge.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: bug in bootpd for FBSD-stable ?
Message-ID:  <20040207093627.GB7043@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <40241A9C.5020900@users.sourceforge.net>
References:  <40241A9C.5020900@users.sourceforge.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sat, Feb 07, 2004 at 07:52:12AM +0900, Rob wrote:

Please don't send the same message to the list over and over again: if
someone knows the answer they will reply.

> I'm using bootpd, to boot diskless PC.
> 
> According to handbook and many other resources, adding swap to a diskless PC
> can work with T128 and T129 options in /etc/bootptab file.
> 
> So that's what I tried:
> 
> -----------------------------------------------
> .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":
> 
> diskless:\
>         ha=0050fce9306f:\
>         tc=.default:
> -----------------------------------------------

Read the man page more closely, and consult termcap(5) for the general
syntax.  One obscure requirement is:

(from termcap(5))

     If it is necessary to place a : in a capability it must be escaped as \:
     or be encoded as \072.  

You're also missing a number of other colons out of your 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\072/home":\
            :T129=64000:\
            :rp="147.46.44.181\072/tftpboot":
    
    diskless:\
            :ha=0050fce9306f:\
            :tc=.default:

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAJLGbdtESqEQa7a0RAnJDAJ4rUeEnG4lGZe4tDkrOmROvbV98QgCdEPxh
957rPNaw89GPeZGRSGIW9sM=
=+mCx
-----END PGP SIGNATURE-----

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