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

--Bn2rw/3z4jIqBvZU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> According to handbook and many other resources, adding swap to a diskless=
 PC
> can work with T128 and T129 options in /etc/bootptab file.
>=20
> So that's what I tried:
>=20
> -----------------------------------------------
> .default:\
>         hn:ht=3D1:vm=3Drfc1048:\
>         sm=3D255.255.255.0:\
>         sa=3D147.46.44.181:\
>         gw=3D147.46.44.1:\
>         hd=3D"":\
>         bf=3D"kernel":\
>         T128=3D"147.46.44.181:/home":\
>         T129=3D64000:\
>         rp=3D"147.46.44.181:/tftpboot":
>=20
> diskless:\
>         ha=3D0050fce9306f:\
>         tc=3D.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. =20

You're also missing a number of other colons out of your bootptab:

    .default:\
            :hn:ht=3D1:vm=3Drfc1048:\
            :sm=3D255.255.255.0:\
            :sa=3D147.46.44.181:\
            :gw=3D147.46.44.1:\
            :hd=3D"":\
            :bf=3D"kernel":\
            :T128=3D"147.46.44.181\072/home":\
            :T129=3D64000:\
            :rp=3D"147.46.44.181\072/tftpboot":
   =20
    diskless:\
            :ha=3D0050fce9306f:\
            :tc=3D.default:

	Cheers,

	Matthew

--=20
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

--Bn2rw/3z4jIqBvZU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

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

--Bn2rw/3z4jIqBvZU--



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