[218] in linux-net channel archive
Re: Dip errlvl values??
daemon@ATHENA.MIT.EDU (Kevin J. Cummings )
Fri Apr 21 07:46:33 1995
From: cummings@kjc386.framingham.ma.us (Kevin J. Cummings )
To: don@engr.mun.ca (Don Bennett)
Date: Thu, 20 Apr 1995 22:41:06 -0400 (EDT)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <Pine.ULT.3.91.950419214856.26428A-100000@nano.engr.mun.ca> from "Don Bennett" at Apr 19, 95 09:51:22 pm
> What are the numbers that dip sets errlvl to on a given error? Ie. What
> will it be set to if, after dialing, the line is busy. Will it be 0 on
> connect? Is there an exaustive list?
Well, you could read the latest dip documentation that came with your dip,
or you can read the source code. Both will tell you that 0 <-> OK,
1 <-> CONNECT, and 2 <-> ERROR. This change happened within the last year or
so. It caused me problems when I upgraded from SLS 1.05 to SLS 2.0 and
discovered I had to change my dip script for it to work with the newer dip.