*BSD News Article 89813


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!vbcnet-west!garlic.com!uunet!in1.uu.net!128.230.129.106!news.maxwell.syr.edu!newsfeeds.sol.net!uwm.edu!newsspool.doit.wisc.edu!news.doit.wisc.edu!news
From: Gabor Kincses <gabor@acm.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: tun device
Date: Fri, 21 Feb 1997 14:42:32 -0600
Organization: University of Wisconsin, Madison
Lines: 36
Message-ID: <330E08B8.794BDF32@acm.org>
References: <330A42AF.5C82@worldnet.att.net> <5eejh8$77j@ui-gate.utell.co.uk>
NNTP-Posting-Host: f182-119.net.wisc.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.1.5-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35886

Brian Somers wrote:
> 
> Vijay Konkimalla (vjmrudula@worldnet.att.net) wrote:
> : Hi,
> 
> : Currently, I am using FreeBSD 2.1 version and am using tun0 device to
> : connect to the ISP provider (ATT Worldnet). I have a 33.6 USRobotics
> : Sportster modem and am running into the following problems:
> 
> : 1. System hangs up intermittantly when I "dial worldnet". (It some times
> : talks to modem. Otherwise System hangs up) I suppose, this problem
> : is due to the modem.
> 
> Have a look in the modem manual (I havn't got one handy at the moment).
> There's a register setting (around S9 or S13 or something) that controls
> how long carrier can be lost before the modem hangs up.  If you've got
> a bad phone line, this value will need to be greater than 7/100 seconds
> (or whatever the default is).

S10 defaults to 7/10 seconds.  Check S7 and S38 as well.  S7 is default
60 seconds the modem waits for a carrier while dialing.  S38 is default
0, which I set to 2 seconds, this is how long the modem waits "before a
forced hang-up and clearing of the Transmit buffer... This allows time
for a remote modem to acknowledge receipt of all transmitted data before
it is disconnected."

One thing that relates to all this modem business that I have been
wondering about is the "CONNECT" string.  Under trumpet the CONNECT
string is printed and if I see 12000 baud, I simply hang up and redial
to get 26400 or 28800.  Is there a way with iijppp to print the
"CONNECT" string?  The log file doesn't show acceptable responses, I
have "set debug phase chat lcp".

-- 
Gabor Kincses
(gabor@acm.org)