From owner-freebsd-questions Sat Jul 8 15:53:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from vicosa.dpi.ufv.br (vicosa.dpi.ufv.br [200.17.74.1]) by hub.freebsd.org (Postfix) with ESMTP id 32EC937B594 for ; Sat, 8 Jul 2000 15:53:49 -0700 (PDT) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br (port42.tdnet.com.br [200.236.148.142]) by vicosa.dpi.ufv.br (AIX4.2/UCB 8.7/8.7) with ESMTP id TAA25224 for ; Sat, 8 Jul 2000 19:52:52 -0200 (GRNLNDDT) Message-ID: <39678693.A44CF235@tdnet.com.br> Date: Sat, 08 Jul 2000 19:52:51 +0000 From: Gustavo Vieira Goncalves Coelho Rios X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: cannot connect using ppp (Very simple question) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had setted up my ppp to allow me to connect to my ISP. But now they changed their loggin prompt, and all i am prevent to connect there. Now i can only connect by hand. etosha# ppp Working in interactive mode Using interface: tun0 ppp ON etosha> dial td ppp ON etosha> Warning: Chat script failed ppp ON etosha> close ppp ON etosha> term deflink: Entering terminal mode on /dev/cuaa2 Type `~?' for help atdt8995300 CONNECT 33600/ARQ/V34/LAPM/V42BIS Login: grios Password: PPP session from (200.236.148.4) to 200.236.148.142 beginning....ppp ON etosha> PPp ON etosha> PPP ON etosha> But when i type: ppp -background td i cannot connect. The problem occured when my ISP change something in its configuration i now, it's login prompt is different. Before it was: blah blah blah CONNECT 33600/ARQ/V34/LAPM/V42BIS Login: bla bla blah Now it is: blah blah blah CONNECT 33600/ARQ/V34/LAPM/V42BIS Login: This change disallowed me to connect, cause my side of connect does not receive "Login:" when it is wating for it, instead i got two ^M. From my logs Jul 7 22:09:39 etosha ppp[238]: tun0: Phase: deflink: dial -> carrier Jul 7 22:09:40 etosha ppp[238]: tun0: Phase: deflink: /dev/cuaa2: CD detected Jul 7 22:09:40 etosha ppp[238]: tun0: Phase: deflink: carrier -> login Jul 7 22:09:40 etosha ppp[238]: tun0: Chat: Expect(5): login: Jul 7 22:09:41 etosha ppp[238]: tun0: Chat: Received: ^M Jul 7 22:09:41 etosha ppp[238]: tun0: Chat: Received: ^M Jul 7 22:09:45 etosha ppp[238]: tun0: Chat: Expect timeout Can some here show me how to change my ppp.conf in order to get thing right now? Here goes my ppp.conf default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa2 set redial 5 100 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\ \T TIMEOUT 40 CONNECT" set timeout 0 set ifaddr 0 0 allow user grios set reconnect 10 20 add 0 0 HISADDR enable dns # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # td: set phone 8995300 set login "TIMEOUT 5 login:-\\r-login: grios word: xxxxxx" set timeout 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message