nixp.ru v3.0

29 мая 2017,
понедельник,
04:56:13 MSK

DevOps с компанией «Флант»
OlegkaOwl написал 8 июля 2005 года в 18:26 (421 просмотр) Ведет себя как мужчина; открыл 2 темы в форуме.

Всем добрый день ! :)

Помогите разобраться с ситуацией. Хочу настроить сервер для доступа в корпоративную сеть. После минуты соединения в среднем разрывает связь… Модем переключал на разные телефонные номера — результат одиноковый. Поривожу ниже настройки конфигурационных файликов. В сислоге пишет bad configure ack и связь обрывается…

Операционная система Mandrake 10.1, ядро 2.6.8.1-10

Настроил mgetty -

port modem

speed 38400

data-only y

rings 3

init-chat «» AT OK ATZ OK

Настроил pppd:

вс настройки разместил в одном файле

192.168.1.10:192.168.1.2

asyncmap 0

noauth

nodetach

crtscts

lock

modem

silent

require-pap

refuse-chap

refuse-eap

refuse-mschap

mtu 296

mru 296

debug

dump

proxyarp

ms-dns 192.168.1.3

ms-dns 192.168.1.4

netmask 255.255.255.0

domain dd.net

lcp-echo-interval 30

lcp-echo-failure 4

Аутентификация PAP

файл pap-secret заполнен

Модем на клиенте и на сервере внутренний -

Dlink DFM 562IS

Ситуация следующая: клиент дозванивается к серверу , происходит аутентификация — всё ок

только через минуту всё время обрывается связь -

смотрел syslog, там следующая информация -

pppd[3894]: pppd options in effect:

pppd[3894]: debug debug^I^I# (from /etc/ppp/options)

pppd[3894]: nodetach^I^I# (from /etc/ppp/options)

pppd[3894]: domain city.dp.ukrtelecom.net^I^I# (from /etc/ppp/options)

pppd[3894]: dump^I^I# (from /etc/ppp/options)

pppd[3894]: require-pap^I^I# (from /etc/ppp/options)

pppd[3894]: refuse-chap^I^I# (from /etc/ppp/options)

pppd[3894]: refuse-mschap^I^I# (from /etc/ppp/options)

pppd[3894]: refuse-eap^I^I# (from /etc/ppp/options)

pppd[3894]: lock^I^I# (from /etc/ppp/options)

pppd[3894]: crtscts^I^I# (from /etc/ppp/options)

pppd[3894]: modem^I^I# (from /etc/ppp/options)

pppd[3894]: asyncmap 0^I^I# (from /etc/ppp/options)

pppd[3894]: mru 296^I^I# (from /etc/ppp/options)

pppd[3894]: mtu 296^I^I# (from /etc/ppp/options)

pppd[3894]: silent^I^I# (from /etc/ppp/options)

pppd[3894]: lcp-echo-failure 4^I^I# (from /etc/ppp/options)

pppd[3894]: lcp-echo-interval 30^I^I# (from /etc/ppp/options)

pppd[3894]: ms-dns xxx # [don't know how to print value]^I^I# (from /etc/ppp/options)

pppd[3894]: proxyarp^I^I# (from /etc/ppp/options)

pppd[3894]: netmask 255.255.255.0^I^I# (from /etc/ppp/options)

pppd[3894]: 192.168.1.10:192.168.1.2^I^I# (from /etc/ppp/options)

pppd[3894]: pppd 2.4.2 started by root, uid 0

pppd[3894]: using channel 1

pppd[3894]: Using interface ppp0

pppd[3894]: Connect: ppp0 <--> /dev/ttySHSF0

pppd[3894]: rcvd [LCP ConfReq id=0x3 ]

pppd[3894]: sent [LCP ConfReq id=0x1 ]

pppd[3894]: sent [LCP ConfRej id=0x3 ]

pppd[3894]: rcvd [LCP ConfReq id=0x4 ]

pppd[3894]: sent [LCP ConfAck id=0x4 ]

pppd[3894]: sent [LCP ConfReq id=0x1 ]

pppd[3894]: rcvd [LCP ConfAck id=0x1 ]

pppd[3894]: sent [LCP EchoReq id=0x0 magic=0xd30024c5]

pppd[3894]: rcvd [PAP AuthReq id=0x1 user="pppuser" password=]

pppd[3894]: sent [PAP AuthAck id=0x1 "Login ok"]

pppd[3894]: PAP peer authentication succeeded for pppuser

kernel: PPP BSD Compression module registered

pppd[3894]: sent [CCP ConfReq id=0x1 ]

pppd[3894]: sent [IPCP ConfReq id=0x1 ]

kernel: PPP Deflate Compression module registered

pppd[3894]: rcvd [LCP EchoRep id=0x0 magic=0x388f3a]

pppd[3894]: rcvd [IPCP ConfReq id=0x1 ]

pppd[3894]: sent [IPCP ConfRej id=0x1 ]

pppd[3894]: rcvd [CCP ConfReq id=0x1 ]

pppd[3894]: sent [CCP ConfRej id=0x1 ]

pppd[3894]: rcvd [CCP ConfRej id=0x1 ]

pppd[3894]: sent [CCP ConfReq id=0x2]

pppd[3894]: rcvd [IPCP ConfAck id=0x1 ]

pppd[3894]: rcvd [IPCP ConfReq id=0x2 ]

pppd[3894]: sent [IPCP ConfAck id=0x2 ]

pppd[3894]: found interface eth0 for proxy arp

pppd[3894]: local IP address 192.168.1.2

pppd[3894]: remote IP address 192.168.1.10

pppd[3894]: Script /etc/ppp/ip-up started (pid 4747)

pppd[3894]: rcvd [CCP ConfReq id=0x2]

pppd[3894]: sent [CCP ConfAck id=0x2]

pppd[3894]: rcvd [CCP ConfAck id=0x2]

pppd[3894]: Received bad configure-ack:

postfix/postfix-script: fatal: the Postfix mail system is not running

pppd[3894]: Script /etc/ppp/ip-up finished (pid 4747), status = 0×0

pppd[3894]: rcvd [CCP TermReq id=0x3]

pppd[3894]: sent [CCP TermAck id=0x3]

pppd[3894]: sent [CCP ConfReq id=0x2]

pppd[3894]: rcvd [CCP TermAck id=0x2]

pppd[3894]: sent [CCP TermReq id=0x3"No compression negotiated"]

pppd[3894]: rcvd [CCP TermAck id=0x3]

pppd[3894]: sent [LCP EchoReq id=0x1 magic=0xd30024c5]

pppd[3894]: Hangup (SIGHUP)

pppd[3894]: Modem hangup

pppd[3894]: Script /etc/ppp/ip-down started (pid 4792)

pppd[3894]: Connection terminated.

pppd[3894]: Connect time 0.7 minutes.

pppd[3894]: Sent 615 bytes, received 698 bytes.

pppd[3894]: Waiting for 1 child processes…

pppd[3894]: script /etc/ppp/ip-down, pid 4792

pppd[3894]: Script /etc/ppp/ip-down finished (pid 4792), status = 0×0

pppd[3894]: Connect time 0.7 minutes.

pppd[3894]: Sent 615 bytes, received 698 bytes.

pppd[3894]: Exit.