ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Настройка модема Agere (Lucent)
@ 2006-04-21 11:12 Yury Aliaev
  2006-04-21 15:41 ` Alexander Fetininsky
  0 siblings, 1 reply; 2+ messages in thread
From: Yury Aliaev @ 2006-04-21 11:12 UTC (permalink / raw)
  To: ALT Linux Community

День добрый!

Столкнулся я, понимаете, со следующей проблемой. Подарили одной моей 
знакомой комп с модемом 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'ов. Ничего этого не происходит, а происходит 
подвисание модема (как это видно из логов). Вполне возможно, что я 
чего-то накосячил...

Помогите, плиии-и-и-иии-ззз!




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Настройка модема Agere (Lucent)
  2006-04-21 11:12 [Comm] Настройка модема Agere (Lucent) Yury Aliaev
@ 2006-04-21 15:41 ` Alexander Fetininsky
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Fetininsky @ 2006-04-21 15:41 UTC (permalink / raw)
  To: ALT Linux Community

On Fri, Apr 21, 2006 at 15:12:27 +0400, Yury Aliaev wrote:

	[skip]

> 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'ов. Ничего этого не происходит, а происходит 
> подвисание модема (как это видно из логов). Вполне возможно, что я 
> чего-то накосячил...

Попробуйте опцию noipdefault.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-21 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-21 11:12 [Comm] Настройка модема Agere (Lucent) Yury Aliaev
2006-04-21 15:41 ` Alexander Fetininsky

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