From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4448BE1B.5090306@rambler.ru> Date: Fri, 21 Apr 2006 15:12:27 +0400 From: Yury Aliaev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.2) Gecko/20040808 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: ALT Linux Community X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Auth-User: mutab0r, whoson: (null) Subject: [Comm] =?koi8-r?b?7sHT1NLPysvBIM3PxMXNwSBBZ2VyZSAoTHVjZW50KQ==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2006 11:08:46 -0000 Archived-At: List-Archive: List-Post: День добрый! Столкнулся я, понимаете, со следующей проблемой. Подарили одной моей знакомой комп с модемом Agere systems (бывший Люцент). Драйвера для него в Альте есть (ltmodem). Проблема в том, что я никогда до этого настройкой модемов не занимался. Почитав /usr/share/doc/pppd-%version/FAQ я породил следующее: /etc/pppd/peers/webplus: ttyLT0 crtscts 115200 connect 'chat -v -f /etc/ppp/scripts/webplus' defaultroute /etc/pppd/scripts/webplus: ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT "ERROR" ABORT "NO ANSWER" ABORT "BUSY" ABORT "Username/Password Incorrect" "" "at" OK "at&d2&c1" OK "atdp6044242" "name:" "^U******" "word:" "\q******" Теперь если сказать "pppd call webplus", то модем набирает номер, соединяется, проверка имени и пароля проходит нормально, а потом... оп! В 12-ой консоли при этом следующее: Apr 19 21:08:07 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California Apr 19 21:08:07 localhost kernel: PPP generic driver version 2.4.2 Apr 19 21:08:07 localhost pppd[1699]: pppd 2.4.2 started by root, uid 0 Apr 19 21:08:07 localhost kernel: Loading Lucent Modem Controller driver version 8.26 Apr 19 21:08:07 localhost kernel: Detected Parameters Irq=17 BaseAddress=0xc400 ComAddress=0xc800 Apr 19 21:08:07 localhost kernel: Lucent Modem Interface driver version 8.26 (2002-11-04) with SHARE_IRQ enabled Apr 19 21:08:07 localhost kernel: ttyLT00 at 0xc400 (irq = 17) is a Lucent ModemApr 19 21:08:07 localhost insmod: Warning: loading /lib/modules/2.4.29-std-up-alt6/ltmodem/lt_modem.o will taint the kernel: nonApr 19 21:08:07 localhost insmod: See http://www.tux.org/lkml/#export-tainted for information about tainted modules Apr 19 21:08:07 localhost insmod: Module lt_modem loaded, with warnings Apr 19 21:08:07 localhost insmod: Module lt_serial loaded, with warnings Apr 19 21:08:08 localhost chat[1702]: abort on (NO CARRIER) Apr 19 21:08:08 localhost chat[1702]: abort on (NO DIALTONE) Apr 19 21:08:08 localhost chat[1702]: abort on (ERROR) Apr 19 21:08:08 localhost chat[1702]: abort on (NO ANSWER) Apr 19 21:08:08 localhost chat[1702]: abort on (BUSY) Apr 19 21:08:08 localhost chat[1702]: abort on (Username/Password Incorrect) Apr 19 21:08:08 localhost chat[1702]: send (at^M) Apr 19 21:08:08 localhost chat[1702]: expect (OK) Apr 19 21:08:08 localhost chat[1702]: at^M^M Apr 19 21:08:08 localhost chat[1702]: OK Apr 19 21:08:08 localhost chat[1702]: -- got it Apr 19 21:08:08 localhost chat[1702]: send (at&d2&c1^M) Apr 19 21:08:08 localhost chat[1702]: expect (OK) Apr 19 21:08:08 localhost chat[1702]: ^M Apr 19 21:08:08 localhost chat[1702]: at&d2&c1^M^M Apr 19 21:08:08 localhost chat[1702]: OK Apr 19 21:08:08 localhost chat[1702]: -- got it Apr 19 21:08:08 localhost chat[1702]: send (atdp6044242^M) Apr 19 21:08:09 localhost chat[1702]: expect (name:) Apr 19 21:08:09 localhost chat[1702]: ^M Apr 19 21:08:43 localhost chat[1702]: atdp6044242^M^M Apr 19 21:08:43 localhost chat[1702]: CONNECT 46666 V44^M Apr 19 21:08:43 localhost chat[1702]: C^M Apr 19 21:08:43 localhost chat[1702]: WEBplus Ltd. access server "gw-br57-3"^M Apr 19 21:08:43 localhost chat[1702]: With any questions please contact postmaster@wplus.net^M Apr 19 21:08:43 localhost chat[1702]: or call us by phone +7 812 326 90 20^M Apr 19 21:08:43 localhost chat[1702]: login:^M Apr 19 21:08:43 localhost chat[1702]: ^M Apr 19 21:08:43 localhost chat[1702]: ^M Apr 19 21:08:43 localhost chat[1702]: User Access Verification^M Apr 19 21:08:43 localhost chat[1702]: ^M Apr 19 21:08:43 localhost chat[1702]: Username: Apr 19 21:08:43 localhost chat[1702]: -- got it Apr 19 21:08:43 localhost chat[1702]: send (^U*******^M) Apr 19 21:08:44 localhost chat[1702]: expect (word:) Apr 19 21:08:44 localhost chat[1702]: *******^M Apr 19 21:08:44 localhost chat[1702]: Password: Apr 19 21:08:44 localhost chat[1702]: -- got it Apr 19 21:08:44 localhost chat[1702]: send (??????) Apr 19 21:08:44 localhost pppd[1699]: Serial connection established. Apr 19 21:08:44 localhost pppd[1699]: Using interface ppp0 Apr 19 21:08:44 localhost pppd[1699]: Connect: ppp0 <--> /dev/ttyLT0 Apr 19 21:09:02 localhost pppd[1699]: Hangup (SIGHUP) Apr 19 21:09:02 localhost pppd[1699]: Modem hangup Apr 19 21:09:02 localhost pppd[1699]: Connection terminated. Apr 19 21:09:03 localhost pppd[1699]: Exit. По идее тут должно произойти назначение локального и удалённого IP-адресов и выдача DNS'ов. Ничего этого не происходит, а происходит подвисание модема (как это видно из логов). Вполне возможно, что я чего-то накосячил... Помогите, плиии-и-и-иии-ззз!