From: "Серебряков Владимир Анатольевич" <SerebryakovVA@saratov.gov.ru> To: <community@altlinux.ru> Subject: [Comm] настройка ppp на ms-chap-v2 Date: Tue, 12 Jul 2005 12:19:53 +0400 Message-ID: <6A85C2F0B9820B42869181830DA0B8354BEB8A@ex1.gov.sar.gov.ru> (raw) Народ, кто нить сталкивался с настройкой ppp, когда у провайдена ms-chap протокол v2 Если есть время и желание - посмотрите как пытался настроить;) Мож кто кинет сцылку на подробную доку (для чайников) Скрипты: Ppp-on: --------------- TELEPHONE=222333 LOCAL_IP=0.0.0.0 REMOTE_IP=0.0.0.0 NETMASK=255.255.255.0 export TELEPHONE DIALER_SCRIPT=/etc/ppp/ppp-on-dialer exec /usr/sbin/pppd /dev/modem 57600 connect $LOCAL_IP:$REMOTE_IP netmask $NETMASK connect $DIALER_SCRIPT Ppp-on-dialer: ---------------- #!/bin/sh exec chat -v \ TIMEOUT 3 \ ABORT '\nBUSY\r' \ ABORT '\nNO ANSWER\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r' \ '' \rAT \ 'OK-+++\c-OK' ATH0 \ TIMEOUT 30 \ OK ATDT$TELEPHONE \ '' ATA \ CONNECT '' Options: ----------------- lock require-mschap-v2 lcp-max-configure 40 modem crtscts debug kdebug 0 -detach Модем дозванивается, долго торгуется и выдает: Connect: ppp0 <--> /dev/modem sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xa7255a43> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0xa7255a43> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x4f <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x4f <auth pap>] rcvd [LCP ConfNak id=0x1 <auth chap MD5>] sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xa7255a43> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x50 <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x50 <auth pap>] rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0xa7255a43> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x51 <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x51 <auth pap>] rcvd [LCP ConfReq id=0x52 <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x52 <auth pap>] rcvd [LCP ConfReq id=0x53 <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x53 <auth pap>] rcvd [LCP ConfReq id=0x54 <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x54 <auth pap>] rcvd [LCP ConfReq id=0x55 <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x55 <auth pap>] rcvd [LCP ConfReq id=0x56 <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x56 <auth pap>] rcvd [LCP ConfReq id=0x57 <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x57 <auth pap>] rcvd [LCP ConfReq id=0x58 <asyncmap 0xa0000> <auth pap> <magic 0x29090710> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x58 <auth pap>] rcvd [LCP TermReq id=0x59] sent [LCP TermAck id=0x59] Modem hangup Connection terminated. В логах: ------------------- pppd 2.4.2b3 started by root, uid 0 timeout set to 3 seconds abort on (\nBUSY\r) abort on (\nNO ANSWER\r) abort on (\nRINGING\r\n\r\nRINGING\r) send (rAT^M) expect (OK) rAT^M^M OK -- got it send (ATH0^M) timeout set to 30 seconds expect (OK) ^M ATH0^M^M OK -- got it send (ATDT222333^M) send (ATA^M) expect (CONNECT) ^M ATDT9737649^MA^M CONNECT -- got it send (^M) expect (~) 50666/ARQ^M Unauthorized use is prohibited.^M alarm send (^M) send (^M) Serial connection established. Using interface ppp0 Connect: ppp0 <--> /dev/modem Modem hangup Connection terminated. Exit.
reply other threads:[~2005-07-12 8:19 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=6A85C2F0B9820B42869181830DA0B8354BEB8A@ex1.gov.sar.gov.ru \ --to=serebryakovva@saratov.gov.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git