Sun, Jun 28, 1998 at 01:00:43AM +0000, Tacio AG dos Santos wrote:
-> Hi again,
->
-> First thanks for the clues, but i'm still unable to connect via chat
-> script.
-> I tried with silent option but it didn't work either. That's strange
-> because
-> i sent my login and passwd to my ISP, it accepts that and then backs me
-> a PPP stream, but it doesn't reach to an agreement and i get
-> disconnected.
-> By the messages i received i guess the problem has something to do with
-> authentication but i couldn't really figure it out, could you?
->
-> Again thanks for your attention,
->
-> Tacio
-> [EMAIL PROTECTED]
->
-> PS:By hand using minicom it always work.
->
-> [my pppd option]----------------------------
-> exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS2 19200 \
-> asyncmap 0 escape FF kdebug 25 $LOCAL_IP:$REMOTE_IP \
-> noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
->
->
-> [/var/log/debug]--------------------------
-> - LCPs begin :
->
-> Jun 28 00:04:29 creta pppd[1677]: sent [LCP ConfReq id=0x1 <asyncmap
-> 0x0> <magic 0xb3392e27> <pcomp> <accomp>]
-> Jun 28 00:04:29 creta kernel: ppp: receive buffer, count = 2
-> Jun 28 00:04:29 creta kernel: 0D 0A ..
-> Jun 28 00:04:29 creta kernel: ppp: receive buffer, count = 8
->
-> - The receive buffer repeats the following message 3 ou 4 times:
->
-> Invalid Login.. login:
-> #..PPP session on from (my.isp.ip.no) to Negotiated beginning
->
-> - Then they begin to exchange some LCPs:
->
-> Jun 28 00:04:32 creta pppd[1677]: rcvd [LCP ConfReq id=0x1 <asyncmap
-> 0x0> <magic 0xa97005bc> <pcomp> <accomp> <auth pap>]
-> Jun 28 00:04:32 creta pppd[1677]: sent [LCP ConfRej id=0x1 <auth pap>]
-> Jun 28 00:04:33 creta pppd[1677]: rcvd [LCP ConfReq id=0x2 <asyncmap
-> 0x0> <auth chap 05> <magic 0xa97005bc> <pcomp> <accomp>]
-> Jun 28 00:04:33 creta pppd[1677]: sent [LCP ConfRej id=0x2 <auth chap
-> 05>]
-> Jun 28 00:04:33 creta pppd[1677]: rcvd [LCP ConfReq id=0x3 <asyncmap
-> 0x0> <magic 0xa97005bc> <pcomp> <accomp>]
-> Jun 28 00:04:33 creta pppd[1677]: sent [LCP ConfAck id=0x3 <asyncmap
-> 0x0> <magic 0xa97005bc> <pcomp> <accomp>]
-> Jun 28 00:04:33 creta kernel: ppp: receive buffer, count = 8
-> Jun 28 00:04:33 creta kernel: 7E FF 7D 23 C0 21 7D 21 ~.}#.!}!
-> Jun 28 00:04:33 creta kernel: ppp: receive buffer, count = 16
-> Jun 28 00:04:33 creta kernel: 7D 23 7D 20 7D 34 7D 22 }#} }4}"
-> Jun 28 00:04:33 creta kernel: 7D 26 7D 20 7D 20 7D 20 }&} } }
-> Jun 28 00:04:33 creta kernel: ppp: receive buffer, count = 16
-> Jun 28 00:04:33 creta kernel: 7D 20 7D 25 7D 26 A9 70 } }%}&.p
-> Jun 28 00:04:33 creta kernel: 7D 25 BC 7D 27 7D 22 7D }%.}'}"}
-> Jun 28 00:04:33 creta kernel: ppp: receive buffer, count = 6
-> Jun 28 00:04:33 creta kernel: 28 7D 22 C2 C2 7E (}"..~
-> Jun 28 00:04:35 creta pppd[1677]: sent [LCP ConfReq id=0x1 <asyncmap
-> 0x0> <magic 0xb3392e27> <pcomp> <accomp>]
-> Jun 28 00:04:44 creta last message repeated 3 times
-> Jun 28 00:04:45 creta kernel: ppp0 released
-> Jun 28 00:04:45 creta kernel: ppp0: ccp closed
->
-> - Finally it dies at the beach :(
->
-> [/var/log/messages]------------------------------------------------
->
-> un 28 00:04:25 creta chat[1678]: Login:
-> Jun 28 00:04:25 creta chat[1678]: -- got it
-> Jun 28 00:04:25 creta chat[1678]: send (mylogin^M)
-> Jun 28 00:04:25 creta chat[1678]: expect (assword:)
-> Jun 28 00:04:25 creta chat[1678]: Password:
-> Jun 28 00:04:25 creta chat[1678]: -- got it
-> Jun 28 00:04:25 creta chat[1678]: send (mypasswd^M)
-> Jun 28 00:04:25 creta chat[1678]: send (\d \d \d^M) -
-> Jun 28 00:04:28 creta pppd[1677]: Serial connection established.
-> Jun 28 00:04:29 creta kernel: ppp_tty_ioctl: set flags to 190000
-> Jun 28 00:04:29 creta kernel: ppp_tty_ioctl: set flags to 190000
-> Jun 28 00:04:29 creta kernel: ppp_tty_ioctl: set xasyncmap
-> Jun 28 00:04:29 creta kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
-> Jun 28 00:04:29 creta kernel: ppp_tty_ioctl: set flags to 190000
-> Jun 28 00:04:29 creta kernel: ppp_tty_ioctl: set mru to 5dc
-> Jun 28 00:04:29 creta kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
-> Jun 28 00:04:29 creta kernel: ppp_tty_ioctl: set flags to 190000
-> Jun 28 00:04:29 creta pppd[1677]: Using interface ppp0
-> Jun 28 00:04:29 creta pppd[1677]: Connect: ppp0 <--> /dev/ttyS2
-> Jun 28 00:04:45 creta kernel: ppp: channel ppp0 closing.
-> Jun 28 00:04:45 creta pppd[1677]: Hangup (SIGHUP)
-> Jun 28 00:04:45 creta pppd[1677]: Modem hangup
-> Jun 28 00:04:45 creta pppd[1677]: Connection terminated.
-> Jun 28 00:04:46 creta pppd[1677]: Exit.
->
->
-> --
-> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
-> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
-> To unsubscribe: mail [EMAIL PROTECTED] with
-> "unsubscribe" as the Subject.
You would try send "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0" initialization
string to your modem.
--
Podlovchenko Valentin, <[EMAIL PROTECTED]>
Comstar Telecommunications
Tel.: 7 (095) 956-0349
Fax: 7 (095) 956-2205
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.