Date: Sat, 08 Jul 2000 19:52:51 +0000 From: Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br> To: questions@freebsd.org Subject: cannot connect using ppp (Very simple question) Message-ID: <39678693.A44CF235@tdnet.com.br>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39678693.A44CF235>