Итак:
уже двое суток, полет нормальный, что делал? переткнул модем с лицевой морды системника на задние порты.
есть только погрешности в логах, но думаю может подскажите где кривость?
есть конечно идея что MGTS добавляет специфические маршруты при подключении.
Код: Выделить всё
provider:
set log Phase Chat LCP IPCP CCP tun command
set device PPPoE:cdce0
disable IPV6CP
disable vjcomp
disable pred1
disable protocomp
disable acfcomp
enable lqr
set cd 15
set redial 0 0
set authname *****@mgts
set authkey ******
set mru 1492
set mtu 1492
set speed sync
set dial
set login
accept MPPE
enable MPPE
add default HISADDR
поднимаем:
Код: Выделить всё
12:07 root@local [~]#cat /etc/rc.conf |grep ppp
ppp_enable="YES"
ppp_program="/usr/sbin/ppp"
ppp_mode="ddial"
ppp_profile="provider"
ppp_user="root"
12:07 root@local [~]#
Код: Выделить всё
И логи:
12:12 root@local [/]#bzcat ppp.log.0.bz2 | tail -100
Nov 25 09:34:40 local ppp[432]: tun0: Phase: deflink: Enter pause (0) for redialing.
Nov 25 09:34:40 local ppp[432]: tun0: Chat: deflink: Redial timer expired.
Nov 25 09:34:40 local ppp[432]: tun0: Phase: deflink: Connected!
Nov 25 09:34:40 local ppp[432]: tun0: Phase: deflink: opening -> dial
Nov 25 09:34:40 local ppp[432]: tun0: Phase: deflink: dial -> carrier
Nov 25 09:34:56 local ppp[432]: tun0: Phase: deflink: Disconnected!
Nov 25 09:34:56 local ppp[432]: tun0: Phase: deflink: carrier -> hangup
Nov 25 09:34:56 local ppp[432]: tun0: Phase: deflink: Connect time: 16 secs: 0 octets in, 0 octets out
Nov 25 09:34:56 local ppp[432]: tun0: Phase: deflink: 745956 packets in, 824315 packets out
Nov 25 09:34:56 local ppp[432]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Nov 25 09:34:40 2008
Nov 25 09:34:56 local ppp[432]: tun0: Phase: deflink: hangup -> opening
Nov 25 09:34:56 local ppp[432]: tun0: Phase: deflink: Enter pause (0) for redialing.
Nov 25 09:34:56 local ppp[432]: tun0: Chat: deflink: Redial timer expired.
Nov 25 09:34:56 local ppp[432]: tun0: Phase: deflink: Connected!
Nov 25 09:34:56 local ppp[432]: tun0: Phase: deflink: opening -> dial
Nov 25 09:34:56 local ppp[432]: tun0: Phase: deflink: dial -> carrier
Nov 25 09:34:57 local ppp[432]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "STREAM")
Nov 25 09:34:57 local ppp[432]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Nov 25 09:34:57 local ppp[432]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Nov 25 09:34:57 local ppp[432]: tun0: Phase: deflink: carrier -> login
Nov 25 09:34:57 local ppp[432]: tun0: Phase: deflink: login -> lcp
Nov 25 09:34:57 local ppp[432]: tun0: LCP: FSM: Using "deflink" as a transport
Nov 25 09:34:57 local ppp[432]: tun0: LCP: deflink: State change Initial --> Closed
Nov 25 09:34:57 local ppp[432]: tun0: LCP: deflink: State change Closed --> Stopped
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: LayerStart
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: SendConfigReq(35) state = Stopped
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MRU[4] 1492
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MAGICNUM[6] 0x5ba13e1f
Nov 25 09:34:58 local ppp[432]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: RecvConfigReq(15) state = Req-Sent
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MRU[4] 1492
Nov 25 09:34:58 local ppp[432]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MAGICNUM[6] 0x6f420230
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: SendConfigAck(15) state = Req-Sent
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MRU[4] 1492
Nov 25 09:34:58 local ppp[432]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MAGICNUM[6] 0x6f420230
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: RecvConfigRej(35) state = Ack-Sent
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: SendIdent(26) state = Ack-Sent
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MAGICNUM 5ba13e1f
Nov 25 09:34:58 local ppp[432]: tun0: LCP: TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Nov 25 09:34:58 local ppp[432]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: SendConfigReq(36) state = Ack-Sent
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MRU[4] 1492
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MAGICNUM[6] 0x5ba13e1f
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: RecvCodeRej(16) state = Ack-Sent
Nov 25 09:34:58 local ppp[432]: tun0: Phase: Unexpected chap input - dropped !
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: RecvConfigAck(36) state = Ack-Sent
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MRU[4] 1492
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MAGICNUM[6] 0x5ba13e1f
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: LayerUp
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: SendIdent(27) state = Opened
Nov 25 09:34:58 local ppp[432]: tun0: LCP: MAGICNUM 5ba13e1f
Nov 25 09:34:58 local ppp[432]: tun0: LCP: TEXT user-ppp 3.4.2 (built COMPILATIONDATE)
Nov 25 09:34:58 local ppp[432]: tun0: Phase: bundle: Authenticate
Nov 25 09:34:58 local ppp[432]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Nov 25 09:34:58 local ppp[432]: tun0: LCP: deflink: RecvCodeRej(17) state = Opened
Nov 25 09:35:01 local ppp[432]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from a947-arb04)
Nov 25 09:35:01 local ppp[432]: tun0: Phase: Chap Output: RESPONSE (*******@mgts)
Nov 25 09:35:01 local ppp[432]: tun0: Phase: Chap Input: SUCCESS (CHAP authentication success, unit 1237)
Nov 25 09:35:01 local ppp[432]: tun0: CCP: FSM: Using "deflink" as a transport
Nov 25 09:35:01 local ppp[432]: tun0: CCP: deflink: State change Initial --> Closed
Nov 25 09:35:01 local ppp[432]: tun0: CCP: deflink: LayerStart.
Nov 25 09:35:01 local ppp[432]: tun0: CCP: MPPE: Not usable without CHAP81
Nov 25 09:35:01 local ppp[432]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Nov 25 09:35:01 local ppp[432]: tun0: CCP: DEFLATE[4] win 15
Nov 25 09:35:01 local ppp[432]: tun0: CCP: deflink: State change Closed --> Req-Sent
Nov 25 09:35:01 local ppp[432]: tun0: Phase: deflink: lcp -> open
Nov 25 09:35:01 local ppp[432]: tun0: Phase: bundle: Network
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: FSM: Using "deflink" as a transport
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: State change Initial --> Closed
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: LayerStart.
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: SendConfigReq(11) state = Closed
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: IPADDR[6] 79.139.244.39
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: RecvConfigReq(4) state = Req-Sent
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: IPADDR[6] 94.29.98.1
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: SendConfigAck(4) state = Req-Sent
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: IPADDR[6] 94.29.98.1
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Nov 25 09:35:01 local ppp[432]: tun0: LCP: deflink: RecvProtocolRej(18) state = Opened
Nov 25 09:35:01 local ppp[432]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Nov 25 09:35:01 local ppp[432]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: RecvConfigNak(11) state = Ack-Sent
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: IPADDR[6] 94.29.99.125
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: IPADDR[6] changing address: 79.139.244.39 --> 94.29.99.125
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: SendConfigReq(12) state = Ack-Sent
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: IPADDR[6] 94.29.99.125
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: RecvConfigAck(12) state = Ack-Sent
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: IPADDR[6] 94.29.99.125
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: deflink: LayerUp.
Nov 25 09:35:01 local ppp[432]: tun0: IPCP: myaddr 94.29.99.125 hisaddr = 94.29.98.1
Nov 25 09:35:01 local ppp[432]: tun0: Command: provider: iface clear
Nov 25 09:35:01 local ppp[432]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Nov 25 09:35:01 local ppp[432]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable
Nov 25 10:00:03 local newsyslog[6813]: logfile turned over due to size>100K
12:13 root@local [/]#
значит что мне не нравится?
Код: Выделить всё
Nov 25 09:35:01 local ppp[432]: tun0: LCP: deflink: RecvProtocolRej(18) state = Opened
Nov 25 09:35:01 local ppp[432]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
и
Код: Выделить всё
Nov 25 09:35:01 local ppp[432]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Nov 25 09:35:01 local ppp[432]: tun0: Warning: ff02:6::/32: Change route failed: errno: Network is unreachable
может у кого-то будут какие-то соображения? поделитесь плиз.
а так вроде все работает, инет раздается.
единственная проблема у MGTS это жутко тормознутые DNS сервера, использую следующие:
Код: Выделить всё
nameserver 199.45.32.40
nameserver 208.67.222.222
nameserver 62.112.106.130
nameserver 195.34.31.50
1, 2, это стороние DNS
3, 4 это dns МГТС
Сегодня при написании этого поста делал еще раз диагностику
dig @nameserver microsoft.com
в итоге первый и второй dns дали ответ за 130 и 90мс
третий и четвертый dns не дали в обще ответа
Код: Выделить всё
connection timed out; no servers could be reached
при этом у них всего два официальных DNS сервера!
не удивительно что их тех поддержка по жизни занята.
ну вот и сказочке конец, кто слушал, тот молодец.