Fwd: PPPOE ADSL trouble

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: PPPOE ADSL trouble

Andrew A. Ozol
This is a forwarded message
From: Andrew A. Ozol <[hidden email]>
To: [hidden email]
Date: Wednesday, November 30, 2005, 9:54:07 AM
Subject: PPPOE ADSL trouble

===8<==============Original message text===============
Привет камрады , столкнулся с непонятной проблемой с ADSL подключением

Пытаюсь подключиться к местному провайдеру строго по ману  , система
3.8

Файл конфигурации

default:
 set log Phase Chat connect LCP  tun command

pppoe:
  set device "!/usr/sbin/pppoe -i fxp0 -s AAA "
  set mtu max 1492
  set mru max 1492
  set speed sync
  enable lqr
  accept lqr
  enable mssfixup
  disable acfcomp protocomp
  disable pap
  deny acfcomp
  set authname имя
  set authkey пароль
  add default HISADDR


запускаю ppp -ddial pppoe
tun0 появляется , но адрес не присвоен

В логе

Nov 29 08:00:15 anndy ppp[24811]: tun0: Phase: deflink: Connected!
Nov 29 08:00:15 anndy ppp[24811]: tun0: Phase: deflink: opening -> dial
Nov 29 08:00:15 anndy ppp[24811]: tun0: Phase: deflink: dial -> carrier
Nov 29 08:00:15 anndy ppp[24811]: tun0: Phase: deflink: carrier -> login
Nov 29 08:00:15 anndy ppp[24811]: tun0: Phase: deflink: login -> lcp
Nov 29 08:00:15 anndy ppp[24811]: tun0: LCP: FSM: Using "deflink" as a transport
Nov 29 08:00:15 anndy ppp[24811]: tun0: LCP: deflink: State change Initial --> Closed
Nov 29 08:00:15 anndy ppp[24811]: tun0: LCP: deflink: State change Closed --> Stopped
Nov 29 08:00:16 anndy ppp[24811]: tun0: LCP: deflink: LayerStart
Nov 29 08:00:16 anndy ppp[24811]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
Nov 29 08:00:16 anndy ppp[24811]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Nov 29 08:00:16 anndy ppp[24811]: tun0: LCP:  MRU[4] 1492
Nov 29 08:00:16 anndy ppp[24811]: tun0: LCP:  MAGICNUM[6] 0x2b9aab0c
Nov 29 08:00:16 anndy ppp[24811]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Nov 29 08:00:16 anndy ppp[24811]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Nov 29 08:00:19 anndy ppp[24811]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent
Nov 29 08:00:19 anndy ppp[24811]: tun0: LCP:  MRU[4] 1492
Nov 29 08:00:19 anndy ppp[24811]: tun0: LCP:  MAGICNUM[6] 0x2b9aab0c
Nov 29 08:00:19 anndy ppp[24811]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Nov 29 08:00:22 anndy ppp[24811]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent
Nov 29 08:00:22 anndy ppp[24811]: tun0: LCP:  MRU[4] 1492
Nov 29 08:00:22 anndy ppp[24811]: tun0: LCP:  MAGICNUM[6] 0x2b9aab0c
Nov 29 08:00:22 anndy ppp[24811]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent
Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP:  MRU[4] 1492
Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP:  MAGICNUM[6] 0x2b9aab0c
Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: read (0): Connection reset by peer
Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP: deflink: State change Req-Sent --> Starting
Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP: deflink: LayerFinish
Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP: deflink: State change Starting --> Initial
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: Disconnected!
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: lcp -> logout
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: Disconnected!
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: logout -> hangup
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: Connect time: 10 secs: 0 octets in, 104 octets out
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: 0 packets in, 24 packets out
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase:  total 10 bytes/sec, peak 10 bytes/sec on Tue Nov 29 08:00:19 2005
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: HUPing 19985
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: hangup -> opening
Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: Enter pause (3) for redialing.
Nov 29 08:00:25 anndy ppp[24811]: tun0: Chat: deflink: Reconnect try 6 of 0
Nov 29 08:00:28 anndy ppp[24811]: tun0: Chat: deflink: Redial timer expired.
 
Посмотрел что на интерфейсе fxp0 происходит

08:10:28.894153 PPPoE-Discovery
code Initiation, version 1, type 1, id 0x0000, length 15
tag Host-Uniq, length 4 8д╩s
tag Service-Name, length 3 AAA

И все ...

С винды соединение по ADSL проходит нормально , вот такая картинка

07:43:11.162099 PPPoE-Discovery
code Initiation, version 1, type 1, id 0x0000, length 19
tag Service-Name, length 3 AAA
tag Host-Uniq, length 8 \011\000\000\000\017\000\000\000
07:43:11.169825 PPPoE-Discovery
code Offer, version 1, type 1, id 0x0000, length 50
tag Service-Name, length 3 AAA
tag Host-Uniq, length 8 \011\000\000\000\017\000\000\000
tag AC-Name, length 7 c0-rmts
tag AC-Cookie, length 16 жmrИДIA"kП\006Юa[0n
07:43:11.169932 PPPoE-Discovery
code Offer, version 1, type 1, id 0x0000, length 51
tag Service-Name, length 3 AAA
tag Host-Uniq, length 8 \011\000\000\000\017\000\000\000
tag AC-Name, length 8 c0-ats33
tag AC-Cookie, length 16 И&w\020>\200\000╕g╖Dрi\035C\205

Я так понимаю , PPPOE сервер провайдера не отвечает , но из-за чего ?

--
Best regards,              Andrew


Reply | Threaded
Open this post in threaded view
|

Re: Fwd: PPPOE ADSL trouble

Suvorov Yuri

>  set mtu max 1492
>  set mru max 1492
>. . .
>Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: read (0): Connection reset by peer
>Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP: deflink: State change Req-Sent --> Starting
>Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP: deflink: LayerFinish
>Nov 29 08:00:25 anndy ppp[24811]: tun0: LCP: deflink: State change Starting --> Initial
>Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: Disconnected!
>Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: lcp -> logout
>Nov 29 08:00:25 anndy ppp[24811]: tun0: Phase: deflink: Disconnected!
>  
>
было такое. из опена пропало соединение а в винде работает.
провайдер кроме предположения о неправильном наборе пароля (это в
текстовом конфиге то) ничего не родил.
опытным путём(с помощью пинга) было выяснено, что параметр mtu/mru вдруг
съехал на 1490.
после замены 1492 на 1490 адсл заработало

--
Суворов Юрий. [hidden email] icq:74-663-297


Reply | Threaded
Open this post in threaded view
|

Re[2]: Fwd: PPPOE ADSL trouble

Andrew A. Ozol
Hello Suvorov,

Wednesday, November 30, 2005, 11:39:40 AM, you wrote:

SY> было такое. из опена пропало соединение а в винде работает.
SY> провайдер кроме предположения о неправильном наборе пароля (это в
SY> текстовом конфиге то) ничего не родил.
SY> опытным путём(с помощью пинга) было выяснено, что параметр mtu/mru вдруг
SY> съехал на 1490.
SY> после замены 1492 на 1490 адсл заработало

А что собственно пинговали и как это работало - ведь соединения еще
нет ?


WBR   Andy