как мне думается - это происходит из-за плохой линии
можно как-то улучшить положение?
>как мне думается - это происходит из-за плохой линии
>можно как-то улучшить положение?а в логах что?
>>как мне думается - это происходит из-за плохой линии
>>можно как-то улучшить положение?
>
>а в логах что?
#привожу логи:
script /etc/ppp/ip-down, pid 9052
Script /etc/ppp/ip-down finished (pid 9052), status = 0x0
Connect time 1.4 minutes.
Sent 47688 bytes, received 6873 bytes.
using channel 734
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS2
sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <auth pap> <magic 0x801be816> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <mru 296> <asyncmap 0x0> <auth pap> <magic 0x801be816> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x3962324e> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0x3962324e> <pcomp> <accomp>]
rcvd [PAP AuthReq id=0x15 user="Kashina" password=<hidden>]
user Kashina logged in
sent [PAP AuthAck id=0x15 "Login ok"]
PAP peer authentication succeeded for Kashina
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.7.1>]
rcvd [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-wins 0.0.0.0> <ms-wins 0.0.0.0>]
sent [IPCP ConfRej id=0x3 <ms-wins 0.0.0.0> <ms-wins 0.0.0.0>]
rcvd [LCP ProtRej id=0x4 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 192.168.7.1>]
rcvd [IPCP ConfReq id=0x5 <addr 0.0.0.0>]
sent [IPCP ConfNak id=0x5 <addr 192.168.7.2>]
rcvd [IPCP ConfAck id=0x2 <addr 192.168.7.1>]
rcvd [IPCP ConfReq id=0x6 <addr 192.168.7.2>]
sent [IPCP ConfAck id=0x6 <addr 192.168.7.2>]
local IP address 192.168.7.1
remote IP address 192.168.7.2
Script /etc/ppp/ip-up started (pid 9099)
Script /etc/ppp/ip-up finished (pid 9099), status = 0x0
Hangup (SIGHUP)
Modem hangup
Script /etc/ppp/ip-down started (pid 9101)
Connection terminated.
Connect time 0.5 minutes.
Sent 7105 bytes, received 4140 bytes.
Waiting for 1 child processes...
приведу на случай всякий конФиги:
/etc/ppp/options>
----------------
debug
logfile /home/log_ppp
#proxyarp
#defaultroute
#lock
modem
crtscts
-chap
+pap
#mtu 576
#mru 576
mtu 296
mru 296/etc/ppp/options.ttyS2
-----------------
192.168.7.1:192.168.7.2
ms-dns 192.168.1.254
а что в ip-up ?
>а что в ip-up ?[root@mpool ppp]# cat /etc/ppp/ip-up
#!/bin/bash
# This file should not be modified -- make local changes to
# /etc/ppp/ip-up.local insteadPATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATHLOGDEVICE=$6
REALDEVICE=$1[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE} ] && /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}
/etc/ppp/ip-up.ipv6to4 ${LOGDEVICE}
[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local "$@"
exit 0
лог mgetty или что у тебя там
и вот эти скрипты что делают
/etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}
без них как ?
>лог mgetty или что у тебя там
>и вот эти скрипты что делают
>/etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE}
>без них как ?
в /etc/sysconfig/network-scripts/ifup-post ifcfg-${LOGDEVICE} ничего существенного нет за, что можно было бы зацепиться
#log mgetty>
05/31 12:38:33 yS2 mgetty: experimental test release 1.1.31-Jul24
05/31 12:38:33 yS2 check for lockfiles
05/31 12:38:33 yS2 locking the line
05/31 12:38:33 yS2 lowering DTR to reset Modem
05/31 12:38:34 yS2 send: \dATQ0V1H0[0d]
05/31 12:38:34 yS2 waiting for ``OK'' ** found **
05/31 12:38:35 yS2 send: ATS0=0Q0&D3&C1[0d]
05/31 12:38:35 yS2 waiting for ``OK'' ** found **
05/31 12:38:35 yS2 send: AT[0d]
05/31 12:38:35 yS2 do_stat: expect 'OK' ** found **
05/31 12:38:35 yS2 send: ATI2[0d]
05/31 12:38:35 yS2 do_stat: expect 'OK' ** found **
05/31 12:38:36 yS2 waiting...
05/31 12:39:39 yS2 wfr: waiting for ``RING''
05/31 12:39:39 yS2 wfr: waiting for ``RING''
05/31 12:39:39 yS2 send: ATA[0d]
05/31 12:39:39 yS2 waiting for ``CONNECT'' ** found **
05/31 12:39:52 yS2 send:
05/31 12:39:52 yS2 waiting for ``_'' ** found **
05/31 12:39:54 ##### data dev=ttyS2, pid=9128, caller='none', conn='26400/ARQ/V34/LAPM', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'--
05/31 12:41:44 yS2 mgetty: experimental test release 1.1.31-Jul24
05/31 12:41:44 yS2 check for lockfiles
05/31 12:41:44 yS2 locking the line
05/31 12:41:45 yS2 lowering DTR to reset Modem
05/31 12:41:46 yS2 send: \dATQ0V1H0[0d]
05/31 12:41:46 yS2 waiting for ``OK'' ** found **
05/31 12:41:46 yS2 send: ATS0=0Q0&D3&C1[0d]
05/31 12:41:46 yS2 waiting for ``OK'' ** found **
05/31 12:41:46 yS2 send: AT[0d]
05/31 12:41:46 yS2 do_stat: expect 'OK' ** found **
05/31 12:41:47 yS2 send: ATI2[0d]
05/31 12:41:47 yS2 do_stat: expect 'OK' ** found **
05/31 12:41:47 yS2 waiting...
05/31 12:42:40 yS2 wfr: waiting for ``RING''
05/31 12:42:40 yS2 wfr: waiting for ``RING''
05/31 12:42:40 yS2 send: ATA[0d]
05/31 12:42:40 yS2 waiting for ``CONNECT''
05/31 12:43:40 yS2 found action string: ``NO CARRIER''
05/31 12:43:40 ##### failed A_FAIL dev=ttyS2, pid=9175, caller='none', conn='', name=''