HOMEインデックス

自宅サーバー構築記


23.ADSL回線への再接続

a. LCP terminated by peer?

  • ルーターからのログが滞つているので何が起きたのだろうとログを覗くと以下のメッセージが残されていた。LCP terminated by peer、LCPは相手によって終了しましたと訳すのかのどうかわからいないが、とにかく強制的に回線が切断されたようだ。多分、非固定のグローバルアドレスの振り直しのためと思われるが、以前は自動的に再接続が成功していた。ただいつの間にか回線が切れていて、ルーターの再起動を自分でやったことも何回かあった。今回は時間があったのでじっくりとログを眺めて原因を探ろうと思ったが簡単には解かりそうもないので記録だけでも残すことにした。

LCP Terminated by peer
Connection terminated.
Connect time 1145.0 minutes.
Sent 174309954 bytes, received 694600204 bytes.
Sending PADT
Sending PADI
Re-sending (1/4)...
Re-sending (2/4)...
Re-sending (3/4)...
Re-sending (4/4)...
Connecting PPPoE socket: 00:90:1a:10:22:0a 0000 eth1 0x10024000
Couldn't get channel number: Transport endpoint is not connected
Sending PADI
recv PADO
Sending PADR
recv PADO
Unexpected packet:←これがそもそも悪いのか?
Re-sending (2/4)...
Re-sending (3/4)...
recv PADS
Tag error TAG_SYS_ERR (No resources)
Failed to negotiate PPPoE connection: -1
Sending PADI
recv PADO
Sending PADR
recv PADS
Tag error TAG_SYS_ERR (No resources)
Failed to negotiate PPPoE connection: -1
Sending PADI
recv PADS
Got connection: 1d7c
Connecting PPPoE socket: 00:90:1a:10:22:0a 7c1d eth1 0x10024000
Connect: ppp0 -> eth1
CHAP authentication failed←またしてもここでつまづく
Connection terminated.
Sending PADT
Sending PADI
recv PADO
Sending PADR
recv PADS
Got connection: 1dab
Connecting PPPoE socket: 00:90:1a:10:22:0a ab1d eth1 0x10024000
Connect: ppp0 -> eth1
Connection terminated.
Sending PADT
Sending PADI
recv PADO
Sending PADR
Re-sending (1/4)...
Re-sending (2/4)...
recv PADS
Tag error TAG_SYS_ERR (No resources)
Failed to negotiate PPPoE connection: -1
Sending PADI
recv PADO
Sending PADR
recv PADS
Tag error TAG_SYS_ERR (No resources)
Failed to negotiate PPPoE connection: -1
Sending PADI
recv PADS
Got connection: 5fa
Connecting PPPoE socket: 00:90:1a:10:22:0a fa05 eth1 0x10024000
Connect: ppp0 -> eth1
CHAP authentication failed
Connection terminated.
Sending PADT
Sending PADI
recv PADO
Sending PADR
recv PADS
Got connection: 615
Connecting PPPoE socket: 00:90:1a:10:22:0a 1506 eth1 0x10024000
Connect: ppp0 -> eth1
CHAP authentication failed
Connection terminated.
Sending PADT←ここで力尽きる

  • 以下は上手くいったパターン。途中エラーも起きているが無事再接続できている。

LCP terminated by peer
Connection terminated.
Connect time 80457.6 minutes.
Sent 170293871 bytes, received 691204062 bytes.
Sending PADT
Sending PADI
recv PADO
Sending PADR
Re-sending (1/4)...
recv PADS
Got connection: c5c
Connecting PPPoE socket: 00:90:1a:10:22:0a 5c0c eth1 0x10024000
Connect: ppp0 -> eth1
CHAP authentication failed
Connection terminated.
Sending PADT
Sending PADI
recv PADS
Got connection: c68
Connecting PPPoE socket: 00:90:1a:10:22:0a 680c eth1 0x10024000
Connect: ppp0 -> eth1
Connection terminated.
Sending PADT
Sending PADI
recv PADO
Sending PADR
recv PADO
Unexpected packet:
recv PADS
Got connection: e1b
Connecting PPPoE socket: 00:90:1a:10:22:0a 1b0e eth1 0x10024000
Connect: ppp0 -> eth1
local IP address 221.189.254.234
remote IP address 219.160.3.23
primary DNS address 202.234.232.224
secondary DNS address 211.129.12.205

HOMEインデックス