Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 23:04:21 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        "Giovanni P. Tirloni" <riot@techie.com>
Cc:        hackers@FreeBSD.ORG, brian@Awfulhak.org
Subject:   Re: PPP failures in 4.2-STABLE 
Message-ID:  <200012132304.eBDN4LU69889@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Giovanni P. Tirloni" <riot@techie.com>  of "Wed, 13 Dec 2000 16:00:03 -0200." <Pine.LNX.4.21.0012131448370.218-100000@riot.yi.org> 

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

The only thing that comes to mind here is that perhaps you've got 
something like hylafax or mgetty running against the same port and 
something's gone wrong with the port locking code.

It *looks* like something's writing fax commands to your modem at the 
same time as you're trying to dial....

> Hi all,
> 
>   After updating to 4.2-STABLE (previous version was 4.1.1-RELEASE) I'm
>   having some strange problem with ppp. When I try to connect for the
>   first time to an ISP the following occurs:
> 
>   ppp[177]: tun0: Chat: Send: ATDT22334455^M
>   ppp[177]: tun0: Chat: Expect(120): CONNECT
>   ppp[177]: tun0: Chat: Received: ATDT22334455^M^M
>   ppp[177]: tun0: Chat: Received: +FHS:11^M
>   ppp[177]: tun0: Chat: Received: ^M
>   ppp[177]: tun0: Chat: Received: OK^M
>   ppp[177]: tun0: Chat: Parent notified of failure
>   (I press ^c here because nothing happens)
> 
>   Then, I try again and it works fine, but If the time between the first
>   and the second connection is too long I receive the same error again,
>   so I can't wait too much to do the second try.
> 
>   Another error that I got these days is the following (a bit like the
>   previous one but with something more):
> 
>   ppp[315]: tun0: Chat: Send: ATDT22335040^M
>   ppp[315]: tun0: Chat: Expect(120): CONNECT
>   ppp[315]: tun0: Chat: Received: ATDT22335040^M^M
>   ppp[315]: tun0: Chat: Received: +FCO^M
>   ppp[315]: tun0: Chat: Received: ^M
>   ppp[315]: tun0: Chat: Received: +FHS:11^M
>   ppp[315]: tun0: Chat: Received: ^M
>   ppp[315]: tun0: Chat: Received: OK^M
>   ppp[315]: tun0: Chat: Parent notified of failure
>   (I press ^C here because nothing happens)
> 
>   When dialing to this particular ISP other strange thing happens, cause
>   even if I try for the second time (without spending too much time bet-
>   ween the two tries) ppp aborts the operation:
> 
>   ppp[325]: tun0: Chat: Send: ATDT22335040^M
>   ppp[325]: tun0: Chat: Expect(120): CONNECT
>   ppp[325]: tun0: Chat: Received: ATDT22335040^M^M
>   ppp[325]: tun0: Chat: Received: CONNECT 50666/ARQ/V90/LAPM/V42BIS^M
>   ppp[325]: tun0: Chat: Parent notified of failure
>   (I didn't press ^C this time)
> 
>   The relevant parts of my ppp.conf follows:
> 
>   # ppp.conf
> 
>   default:
>   set log command chat tun connect
>   set device /dev/cuaa1
>   set speed 115200
>   set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 15 \"\" AT OK-AT-OK
> ATE1Q0 OK
> 
>   isp1:
>    set redial 1 50
>    set phone 22334455
>    set authname isp1-user
>    set authkey isp1-pass
>    set timeout 80
>    set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>    add default HISADDR
> 
>  isp2:
>    set phone 22335040
>    set authname isp2-user
>    set authkey isp2-pass
>    set timeout 100
>    set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>    add default HISADDR
> 
>   # EOF
> 
>   My modem is a internal USRobotics 56k (x2/v90) and as additional
>   information this doesn't happen in Linux (2.2.17).
> 
>   If this isn't the correct mailing list forgive me please (perhaps
>   -stable would be the one, but anyway).
> 
>   Thanks in advance,
> 
> 
> Giovanni P. Tirloni
> 
> mail: riot@techie.com
> mail: tirloni@twu.net
> fone: +55 44 225 6267

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




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




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