Re[2]: Выход в инет
Всем пирвет!
Добовлял, появилось
вот мой новый измененный конфиг wvdiala
[Modem0]
Modem = /dev/ttyS1
Baud = 115200
SetVolume = 0
Dial Command = ATDP
Init1 = ATZM0L0
FlowControl = CRTSCTS
[Dialer defaults]
Phone = 62041
Password = guest
Username = guest
Stupid Mode = 1
Inherits = Modem0
Mew PPPD = 1
[Dialer inet0]
при дозвоне получаю следующее
[root@tom ppp]# wvdial
ATZM0L0
OK
ATDP62041
CONNECT 36000 V42bis
Caught signal #2! Attempting to exit gracefully...
В терминале модема получаю следующее
ATZ
OK
atdp62041
CONNECT 38666 V42bis
NO CARRIER
Также пробовал законнектиться так
ifup ppp0
на что получаю завершение по ошибке 8
Вот целый кусок messages.log
Jul 14 19:05:53 tom pppd[2803]: pppd 2.4.1 started by root, uid 0
Jul 14 19:09:32 tom pppd[2803]: Terminating on signal 15.
Jul 14 19:09:32 tom pppd[2803]: Exit.
Jul 14 19:11:29 tom kernel: end_request: I/O error, cmd 0 dev 02:00 (floppy),
sector 0
Jul 14 19:11:29 tom kernel: sr0: mmc-3 profile: 0h
Jul 14 19:11:29 tom kernel: cdrom: open failed.
Jul 14 19:11:29 tom kernel: end_request: I/O error, cmd 0 dev 02:00 (floppy),
sector 0
Jul 14 19:11:29 tom kernel: sr0: mmc-3 profile: 0h
Jul 14 19:11:29 tom kernel: cdrom: open failed.
Jul 14 19:11:29 tom kernel: end_request: I/O error, cmd 0 dev 02:00 (floppy),
sector 0
Jul 14 19:11:29 tom kernel: end_request: I/O error, cmd 0 dev 02:00 (floppy),
sector 0
Jul 14 19:11:29 tom kernel: sr0: mmc-3 profile: 0h
Jul 14 19:11:29 tom kernel: cdrom: open failed.
Jul 14 19:11:29 tom kernel: sr0: mmc-3 profile: 0h
Jul 14 19:11:29 tom kernel: cdrom: open failed.
Jul 14 19:12:02 tom pppd[2844]: pppd 2.4.1 started by root, uid 0
Jul 14 19:13:01 tom pppd[2844]: Terminating on signal 15.
Jul 14 19:13:01 tom pppd[2844]: Exit.
Jul 14 19:15:46 tom kernel: NETDEV WATCHDOG: eth0: transmit timed out
Jul 14 19:16:09 tom pppd[2850]: pppd 2.4.1 started by root, uid 0
Jul 14 19:16:42 tom pppd[2850]: Terminating on signal 15.
Jul 14 19:16:42 tom pppd[2850]: Exit.
Jul 14 19:19:34 tom pppd[2855]: pppd 2.4.1 started by root, uid 0
Jul 14 19:20:22 tom pppd[2855]: Terminating on signal 15.
Jul 14 19:20:22 tom pppd[2855]: Exit.
Jul 14 19:30:57 tom pppd[2866]: pppd 2.4.1 started by root, uid 0
Jul 14 19:31:26 tom pppd[2866]: Terminating on signal 15.
Jul 14 19:31:26 tom pppd[2866]: Exit.
Jul 14 19:35:40 tom pppd[2871]: pppd 2.4.1 started by root, uid 0
Jul 14 19:36:04 tom pppd[2871]: Terminating on signal 15.
Jul 14 19:36:04 tom pppd[2871]: Exit.
Jul 14 19:37:27 tom pppd[2879]: pppd 2.4.1 started by root, uid 0
Jul 14 19:38:22 tom pppd[2879]: Terminating on signal 15.
Jul 14 19:38:22 tom pppd[2879]: Exit.
Jul 14 19:48:34 tom pppd[2912]: pppd 2.4.1 started by root, uid 0
Jul 14 19:48:59 tom pppd[2912]: Terminating on signal 15.
Jul 14 19:48:59 tom pppd[2912]: Exit.
йАМ 14 19:49:44 tom ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
Jul 14 19:49:44 tom pppd[2940]: pppd 2.4.1 started by root, uid 0
Jul 14 19:49:45 tom chat[2956]: abort on (BUSY)
Jul 14 19:49:45 tom chat[2956]: abort on (ERROR)
Jul 14 19:49:45 tom chat[2956]: abort on (NO CARRIER)
Jul 14 19:49:45 tom chat[2956]: abort on (NO DIALTONE)
Jul 14 19:49:45 tom chat[2956]: abort on (Invalid Login)
Jul 14 19:49:45 tom chat[2956]: abort on (Login incorrect)
Jul 14 19:49:45 tom chat[2956]: send (ATZ^M)
Jul 14 19:49:45 tom chat[2956]: expect (OK)
Jul 14 19:49:46 tom chat[2956]: ATZ^M^M
Jul 14 19:49:46 tom chat[2956]: OK
Jul 14 19:49:46 tom chat[2956]: -- got it
Jul 14 19:49:46 tom chat[2956]: send (ATDT^M)
Jul 14 19:49:46 tom chat[2956]: expect (CONNECT)
Jul 14 19:49:46 tom chat[2956]: ^M
йАМ 14 19:50:22 tom rpmdrake[2957]: ### Program is starting ###
Jul 14 19:50:31 tom chat[2956]: alarm
Jul 14 19:50:31 tom chat[2956]: Failed
Jul 14 19:50:31 tom pppd[2940]: Connect script failed
Jul 14 19:50:32 tom pppd[2940]: Exit.
йАМ 14 19:50:32 tom su(pam_unix)[2965]: session opened for user root by (uid=501)
йАМ 14 19:50:32 tom su(pam_unix)[2965]: session closed for user root
йАМ 14 19:50:32 tom su(pam_unix)[2970]: session opened for user root by (uid=501)
йАМ 14 19:50:32 tom rpmdrake[2976]: ### Program is starting ###
Jul 14 19:52:01 tom pppd[3011]: pppd 2.4.1 started by root, uid 0
йАМ 14 19:52:01 tom ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
Jul 14 19:52:02 tom chat[3027]: abort on (BUSY)
Jul 14 19:52:02 tom chat[3027]: abort on (ERROR)
Jul 14 19:52:02 tom chat[3027]: abort on (NO CARRIER)
Jul 14 19:52:02 tom chat[3027]: abort on (NO DIALTONE)
Jul 14 19:52:02 tom chat[3027]: abort on (Invalid Login)
Jul 14 19:52:02 tom chat[3027]: abort on (Login incorrect)
Jul 14 19:52:02 tom chat[3027]: send (ATZ^M)
Jul 14 19:52:02 tom chat[3027]: expect (OK)
Jul 14 19:52:02 tom chat[3027]: ATZ^M^M
Jul 14 19:52:02 tom chat[3027]: OK
Jul 14 19:52:02 tom chat[3027]: -- got it
Jul 14 19:52:02 tom chat[3027]: send (ATDT^M)
Jul 14 19:52:02 tom chat[3027]: expect (CONNECT)
Jul 14 19:52:02 tom chat[3027]: ^M
йАМ 14 19:52:11 tom rpmdrake[2976]: Extracting header of libkdeutils1-ksim-devel-3.1.3-20mdk.i586
from /var/lib/urpmi/hdlist.cd2.cz
йАМ 14 19:52:43 tom rpmdrake[2976]: Installing package file://mnt/win_d/Install/Linux/Mandrake/cd2/Mandrake/rpms3/libkdeutils1-ksim-devel-3.1.3-20mdk.i586.rpm
йАМ 14 19:52:45 tom rpmdrake[2976]: [RPM] libkdeutils1-ksim-devel-3.1.3-20mdk
installed
Jul 14 19:52:47 tom chat[3027]: alarm
Jul 14 19:52:47 tom chat[3027]: Failed
Jul 14 19:52:47 tom pppd[3011]: Connect script failed
Jul 14 19:52:48 tom pppd[3011]: Exit.
Jul 14 19:53:55 tom pppd[3071]: pppd 2.4.1 started by root, uid 0
Jul 14 19:58:06 tom pppd[3071]: Terminating on signal 15.
Jul 14 19:58:06 tom pppd[3071]: Exit.
йАМ 14 19:58:17 tom su(pam_unix)[2970]: session closed for user root
йАМ 14 19:58:43 tom ifup-ppp: pppd started for ppp0 on /dev/modem at 115200
Jul 14 19:58:43 tom pppd[3122]: pppd 2.4.1 started by root, uid 0
Jul 14 19:58:44 tom chat[3138]: abort on (BUSY)
Jul 14 19:58:44 tom chat[3138]: abort on (ERROR)
Jul 14 19:58:44 tom chat[3138]: abort on (NO CARRIER)
Jul 14 19:58:44 tom chat[3138]: abort on (NO DIALTONE)
Jul 14 19:58:44 tom chat[3138]: abort on (Invalid Login)
Jul 14 19:58:44 tom chat[3138]: abort on (Login incorrect)
Jul 14 19:58:44 tom chat[3138]: send (ATZ^M)
Jul 14 19:58:44 tom chat[3138]: expect (OK)
Jul 14 19:58:44 tom chat[3138]: ATZ^M^M
Jul 14 19:58:44 tom chat[3138]: OK
Jul 14 19:58:44 tom chat[3138]: -- got it
Jul 14 19:58:44 tom chat[3138]: send (ATDT^M)
Jul 14 19:58:44 tom chat[3138]: expect (CONNECT)
Jul 14 19:58:44 tom chat[3138]: ^M
Jul 14 19:59:29 tom chat[3138]: alarm
Jul 14 19:59:29 tom chat[3138]: Failed
Jul 14 19:59:29 tom pppd[3122]: Connect script failed
Jul 14 19:59:30 tom pppd[3122]: Exit.
Здесь очень много разных попыток, при разных конфигах,
в обшем пробовал все варианты :)
А вот ppp.log
Terminating on signal 15.
Terminating on signal 15.
Terminating on signal 15.
Terminating on signal 15.
Connect script failed
Connect script failed
Connect script failed
Наверно я немного перестарался :)
Ниже мои конфиги
ifcfg-ppp0
DEVICE="ppp0"
ONBOOT="no"
USERCTL="yes"
MODEMPORT="/dev/modem"
LINESPEED="115200"
PERSIST="yes"
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ"
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="no"
PPPOPTIONS=""
PAPNAME="guest"
MODEMNAME="Modem0"
REMIP=""
NETMASK=""
IPADDR=""
MRU=""
MTU=""
DISCONNECTTIMEOUT="5"
RETRYTIMEOUT="60"
BOOTPROTO="dialup"
PEERDNS="yes"
/etc/ppp/otions
debug
lock
modem
auth
-chap
+pap
crtscts
kdebug 7
logfile /var/log/ppp.log
pap-secrets
# Secrets for authentication using PAP
# client server secret IP addresses
guest ppp0 "guest"
ppp0
connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0"
wvdial
noauth
name wvdial
wvdial-pipe
noauth
name wvdial
plugin passwordfd.so
defaultroute
replacedefaultroute
Если еще что-нибудь надо говорите :)
Все большое спасибо за участие.
Я так думаю что меня может спасти только 10 мандрейк.
В сообщении от Thu, 15 Jul 2004 18:22:38 +0300 Вы написали:
Попробуйте так:
pppd /dev/modem 57600 nodetach debug user guest remotename
ppp0 noauth connect "chat -V '' ATZ OK ATDT4900490 CONNECT ''
TIMEOUT 5 '~--' ''"
Это все набирается root'ом в командной строке (все одна строка).
Команда с учетом того, что в /etc/ppp/pap-secrets есть строка
guest ppp0 "guest"
P.S. pppd будет выводить на стандартный вывод полезную информацию.