Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2000 23:13:41 -0400 (EDT)
From:      William Denton <buff@pobox.com>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Serial port problems with 4.0 
Message-ID:  <Pine.BSF.4.21.0004202302570.10965-100000@odin.egate.net>
In-Reply-To: <200004210025.BAA01394@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21 April 2000, Brian Somers wrote:

: I assume you haven't got any ``set openmode passive'' lines in your
: config.  This would certainly cause this.  Otherwise, try setting
: ``debug'' and ``physical'' logging.  What does it say then ?

No "openmode passive."  Here's the default part of my config, which I
think is straight from the sample:

default:
 set device /dev/cuaa0
 set log Phase Chat Connect LCP IPCP CCP tun command
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 1200
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 enable dns

The profile for my ISP does a "set openmode active" then just sets phone,
login and timeout, but that's not even getting used here in term mode.

I set the logging as you said, and below is what I got.  I cut out the
stuff in the middle where I typed in the ATDT line.

Working in interactive mode
Using interface: tun0
ppp ON mrs-hudson> set log local phase debug physical
ppp ON mrs-hudson> term
Phase: bundle: Establish              
Phase: deflink: closed -> opening
Debug: deflink: Opened /dev/cuaa0
Debug: deflink: tty_Create: physical (get): fd = 2, iflag = 0, oflag = 0,
cflag = 4b00
Debug: deflink: physical (put): iflag = 201, oflag = 0, cflag = 3cb00
Phase: deflink: Connected!
deflink: Entering terminal mode on /dev/cuaa0
Type `~?' for help
Phase: deflink: opening -> carrier
Debug: deflink: Using tty_Timeout [0x8073260]
Debug: Waiting for carrier
Debug: Waiting for carrier
Phase: deflink: /dev/cuaa0 doesn't support CD
Phase: deflink: carrier -> ready
Debug: Got 1 bytes (reading from the terminal)
Physical: write
Physical:  61                                               a
Physical: read
Physical:  61                                               a
Debug: deflink: DescriptorRead: read 1/2048 from 2
a
[ ## tdtnnnnnn left out, last number is 3: ##]
3Debug: Got 1 bytes (reading from the terminal)
Physical: write
Physical:  0d                                               .
Physical: read
Physical:  0d                                               .
Debug: deflink: DescriptorRead: read 1/2048 from 2
Physical: read
Physical:  0d 0a 43 4f 4e 4e 45 43 54 20 31 31 35 32 30 30  ..CONNECT
115200
Physical:  0d 0a                                            ..
Debug: deflink: DescriptorRead: read 18/2048 from 2

CONNECT 115200

and then it just sat there like usual.

: To exercise this, try ``set cd 1!'' and then ``term''.  It'll never
: succeed (unless you're already connected).

It doesn't.

I hope the stuff above offers some clues to whatever is afflicting my PPP.

Thanks.

Bill
-- 
William Denton : Toronto, Canada : http://www.miskatonic.org/ : Caveat lector.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004202302570.10965-100000>