LINUX.ORG.RU

Обновил MDK-10 до MDK-10.1 и появились глюки c интернет


0

0

При соединении через скрипт ifup ppp0 сразу же происходит обрыв соединения. KPPP и WVDIAL работают нормально. Вот /var/log/syslog
 Dec 30 21:59:56 kesbyt ifup-ppp: pppd started for ppp0 on /dev/ttyS0 at 115200
Dec 30 21:59:56 kesbyt pppd[12023]: pppd 2.4.2 started by root, uid 0
Dec 30 21:59:57 kesbyt chat[12042]: abort on (BUSY)
Dec 30 21:59:57 kesbyt chat[12042]: abort on (ERROR)
Dec 30 21:59:57 kesbyt chat[12042]: abort on (NO CARRIER)
Dec 30 21:59:57 kesbyt chat[12042]: abort on (NO DIALTONE)
Dec 30 21:59:57 kesbyt chat[12042]: abort on (Invalid Login)
Dec 30 21:59:57 kesbyt chat[12042]: abort on (Login incorrect)
Dec 30 21:59:57 kesbyt chat[12042]: send (ATZ^M)
Dec 30 21:59:57 kesbyt chat[12042]: expect (OK)
Dec 30 21:59:57 kesbyt chat[12042]: ATZ^M^M
Dec 30 21:59:57 kesbyt chat[12042]: OK
Dec 30 21:59:57 kesbyt chat[12042]:  -- got it 
Dec 30 21:59:57 kesbyt chat[12042]: send (ATDT99000^M)
Dec 30 21:59:57 kesbyt chat[12042]: expect (CONNECT)
Dec 30 21:59:57 kesbyt chat[12042]: ^M
Dec 30 22:00:25 kesbyt chat[12042]: ATDT99000^M^M
Dec 30 22:00:25 kesbyt chat[12042]: CONNECT
Dec 30 22:00:25 kesbyt chat[12042]:  -- got it 
Dec 30 22:00:25 kesbyt pppd[12023]: Serial connection established.
Dec 30 22:00:25 kesbyt pppd[12023]: using channel 8
Dec 30 22:00:25 kesbyt pppd[12023]: Using interface ppp0
Dec 30 22:00:25 kesbyt pppd[12023]: Connect: ppp0 <--> /dev/ttyS0
Dec 30 22:00:26 kesbyt pppd[12023]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x960d4dea> <pcomp> <accomp>]
Dec 30 22:00:26 kesbyt pppd[12023]: rcvd [LCP ConfReq id=0x39 <asyncmap 0xa0000> <auth pap> <magic 0x177af658> <pcomp> <accomp>]
Dec 30 22:00:26 kesbyt pppd[12023]: sent [LCP ConfAck id=0x39 <asyncmap 0xa0000> <auth pap> <magic 0x177af658> <pcomp> <accomp>]
Dec 30 22:00:26 kesbyt pppd[12023]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x960d4dea> <pcomp> <accomp>]
Dec 30 22:00:26 kesbyt pppd[12023]: sent [PAP AuthReq id=0x1 user="loginov" password=<hidden>]
Dec 30 22:00:26 kesbyt pppd[12023]: rcvd [PAP AuthAck id=0x1 ""]
Dec 30 22:00:26 kesbyt pppd[12023]: PAP authentication succeeded
Dec 30 22:00:26 kesbyt pppd[12023]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Dec 30 22:00:26 kesbyt pppd[12023]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Dec 30 22:00:26 kesbyt pppd[12023]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 00> <addr 217.9.147.53>]
Dec 30 22:00:26 kesbyt pppd[12023]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 00> <addr 217.9.147.53>]
Dec 30 22:00:26 kesbyt pppd[12023]: rcvd [LCP ProtRej id=0x3a 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Dec 30 22:00:26 kesbyt pppd[12023]: rcvd [IPCP ConfNak id=0x1 <addr 217.9.157.115> <ms-dns1 217.9.147.42> <ms-dns3 217.9.148.4>]
Dec 30 22:00:26 kesbyt pppd[12023]: sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 217.9.157.115> <ms-dns1 217.9.147.42> <ms-dns3 217.9.148.4>]
Dec 30 22:00:26 kesbyt pppd[12023]: rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 217.9.157.115> <ms-dns1 217.9.147.42> <ms-dns3 217.9.148.4>]
Dec 30 22:00:26 kesbyt pppd[12023]: local  IP address 217.9.157.115
Dec 30 22:00:26 kesbyt pppd[12023]: remote IP address 217.9.147.53
Dec 30 22:00:26 kesbyt pppd[12023]: primary   DNS address 217.9.147.42
Dec 30 22:00:26 kesbyt pppd[12023]: secondary DNS address 217.9.148.4
Dec 30 22:00:26 kesbyt pppd[12080]: Script /etc/ppp/ip-up started (pid 12081)
Dec 30 22:00:26 kesbyt pppd[12080]: Modem hangup
Dec 30 22:00:26 kesbyt pppd[12080]: Connection terminated.
Dec 30 22:00:26 kesbyt pppd[12080]: Connect time 0.1 minutes.
Dec 30 22:00:26 kesbyt pppd[12080]: Sent 87 bytes, received 66 bytes.
Какие будут мысли?
anonymous

Ответ на: комментарий от iRunix

А умные мысли есть у кого нить?

anonymous
()
Ответ на: комментарий от K48

Вот посмотрите

#!/bin/bash
# This file should not be modified -- make local changes to
# /etc/ppp/ip-up.local or put scripts in /etc/ppp/ip-up.d instead

PATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATH

LOGDEVICE=$1

export PATH=/sbin:/usr/sbin:/bin:/usr/bin

[ -n "$DNS1" ] && echo "nameserver $DNS1 # ppp temp entry" >> /etc/resolv.conf
[ -n "$DNS2" ] && echo "nameserver $DNS2 # ppp temp entry" >> /etc/resolv.conf

[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}

[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@"

# These variables are for the use of the scripts run by run-parts
PPP_IFACE="$1"
PPP_TTY="$2"
PPP_SPEED="$3"
PPP_LOCAL="$4"
PPP_REMOTE="$5"
PPP_IPPARAM="$6"
export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM

if [ -d /etc/ppp/ip-up.d/ -a -x /usr/bin/run-parts ]; then   
    /usr/bin/run-parts /etc/ppp/ip-up.d/
fi

if [ -x /usr/sbin/sendmail ];then
    /usr/sbin/sendmail -q 2>/dev/null >/dev/null &
fi

exit 0

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.