其他Linux/Unix/BSD/OSX等发行版讨论
-
leavfin
- 帖子: 599
- 注册时间: 2012-01-12 13:32
#1
帖子
由 leavfin » 2013-10-12 18:06
以前是电信宽带 有送路由器 直接dhcp就可以了
换了有线通的网络 只有一个拨号账户 一下子搞不定了
ifconfig
代码: 全选
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2008<VLAN_MTU,WOL_MAGIC>
ether 00:01:6c:8b:36:32
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Opened by PID 1567
/etc/ppp/ppp.conf
代码: 全选
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION
set device PPPoE:rl0
set login
set mtu 1492
set mru 1492
set speed sync
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
PPPoE:
set authname USERNAME
set authkey USERKEY
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route
上次由
leavfin 在 2013-10-13 19:20,总共编辑 1 次。
-
leavfin
- 帖子: 599
- 注册时间: 2012-01-12 13:32
#2
帖子
由 leavfin » 2013-10-13 9:13
通过不断的尝试 修改简化配置文件
/etc/ppp/ppp.conf
代码: 全选
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION
set device PPPoE:rl0
set speed 115200
set dial
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
PPPoE:
set authname USERNAME
set authkey USERKEY
add default HISADDR # Add a (sticky) default route
终于成功连接 新的问题是
可以ping通ppp的服务器 也可以ping通外网ip
可是却不能使用域名 似乎是DNS相关的问题
继续求救兼自救
-
leavfin
- 帖子: 599
- 注册时间: 2012-01-12 13:32
#3
帖子
由 leavfin » 2013-10-13 10:33
又长又长的log
代码: 全选
Oct 13 08:48:51 freebsd ppp[989]: tun0: Phase: deflink: Disconnected!
Oct 13 08:48:51 freebsd ppp[989]: tun0: Phase: deflink: carrier -> hangup
Oct 13 08:48:51 freebsd ppp[989]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
Oct 13 08:48:51 freebsd ppp[989]: tun0: Phase: deflink: 0 packets in, 0 packets out
Oct 13 08:48:51 freebsd ppp[989]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Oct 13 08:48:46 2013
Oct 13 08:48:51 freebsd ppp[989]: tun0: Phase: deflink: hangup -> opening
Oct 13 08:48:51 freebsd ppp[989]: tun0: Phase: deflink: Enter pause (30) for redialing.
Oct 13 08:49:21 freebsd ppp[989]: tun0: Chat: deflink: Redial timer expired.
Oct 13 08:49:21 freebsd ppp[989]: tun0: Phase: deflink: Connected!
Oct 13 08:49:21 freebsd ppp[989]: tun0: Phase: deflink: opening -> dial
Oct 13 08:49:21 freebsd ppp[989]: tun0: Phase: deflink: dial -> carrier
Oct 13 08:49:24 freebsd ppp[989]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "XXXX-acr-xxxx")
Oct 13 08:49:24 freebsd ppp[989]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Oct 13 08:49:24 freebsd ppp[989]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Oct 13 08:49:24 freebsd ppp[989]: tun0: Phase: deflink: carrier -> login
Oct 13 08:49:24 freebsd ppp[989]: tun0: Phase: deflink: login -> lcp
Oct 13 08:49:24 freebsd ppp[989]: tun0: LCP: FSM: Using "deflink" as a transport
Oct 13 08:49:24 freebsd ppp[989]: tun0: LCP: deflink: State change Initial --> Closed
Oct 13 08:49:24 freebsd ppp[989]: tun0: LCP: deflink: State change Closed --> Stopped
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: LayerStart
Oct 13 08:49:25 freebsd ppp[989]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: ACFCOMP[2]
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: PROTOCOMP[2]
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: ACCMAP[6] 0x00000000
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MRU[4] 1492
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MAGICNUM[6] 0x10fd72bf
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MRU[4] 1492
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MAGICNUM[6] 0x2257e362
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: SendConfigAck(1) state = Req-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MRU[4] 1492
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MAGICNUM[6] 0x2257e362
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: SendIdent(0) state = Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MAGICNUM 10fd72bf
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: TEXT user-ppp 3.4.2
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: ACFCOMP[2]
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: PROTOCOMP[2]
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: ACCMAP[6] 0x00000000
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MRU[4] 1492
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MAGICNUM[6] 0x10fd72bf
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MRU[4] 1492
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MAGICNUM[6] 0x10fd72bf
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: LayerUp
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: SendIdent(1) state = Opened
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MAGICNUM 10fd72bf
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: TEXT user-ppp 3.4.2
Oct 13 08:49:25 freebsd ppp[989]: tun0: Phase: bundle: Authenticate
Oct 13 08:49:25 freebsd ppp[989]: tun0: Phase: deflink: his = PAP, mine = none
Oct 13 08:49:25 freebsd ppp[989]: tun0: Phase: Pap Output: USERNAME ********
Oct 13 08:49:25 freebsd ppp[989]: tun0: Phase: Pap Input: SUCCESS (Authentication OK,Welcome !)
Oct 13 08:49:25 freebsd ppp[989]: tun0: CCP: FSM: Using "deflink" as a transport
Oct 13 08:49:25 freebsd ppp[989]: tun0: CCP: deflink: State change Initial --> Closed
Oct 13 08:49:25 freebsd ppp[989]: tun0: CCP: deflink: LayerStart.
Oct 13 08:49:25 freebsd ppp[989]: tun0: CCP: MPPE: Not usable without CHAP81
Oct 13 08:49:25 freebsd ppp[989]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Oct 13 08:49:25 freebsd ppp[989]: tun0: CCP: DEFLATE[4] win 15
Oct 13 08:49:25 freebsd ppp[989]: tun0: CCP: PRED1[2]
Oct 13 08:49:25 freebsd ppp[989]: tun0: CCP: deflink: State change Closed --> Req-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: Phase: deflink: lcp -> open
Oct 13 08:49:25 freebsd ppp[989]: tun0: Phase: bundle: Network
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: FSM: Using "deflink" as a transport
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: State change Initial --> Closed
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: LayerStart.
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: IPADDR[6] 127.0.0.1
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: PRIDNS[6] 255.255.255.255
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: SECDNS[6] 255.255.255.255
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: RecvConfigReq(2) state = Req-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: IPADDR[6] ***.***.72.1
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: SendConfigAck(2) state = Req-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: IPADDR[6] ***.***.72.1
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Oct 13 08:49:25 freebsd ppp[989]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: SendIdent(2) state = Opened
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: MAGICNUM 10fd72bf
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: TEXT user-ppp 3.4.2
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: IPADDR[6] 127.0.0.1
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: PRIDNS[6] 255.255.255.255
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: SECDNS[6] 255.255.255.255
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: RecvProtocolRej(4) state = Opened
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:49:25 freebsd ppp[989]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: IPADDR[6] ***.***.72.133
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: IPADDR[6] changing address: 127.0.0.1 --> ***.***.72.133
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: IPADDR[6] ***.***.72.133
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: PRIDNS[6] 255.255.255.255
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: SECDNS[6] 255.255.255.255
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: RecvProtocolRej(5) state = Opened
Oct 13 08:49:25 freebsd ppp[989]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:49:25 freebsd ppp[989]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: IPADDR[6] ***.***.72.133
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: PRIDNS[6] 255.255.255.255
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: SECDNS[6] 255.255.255.255
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: deflink: LayerUp.
Oct 13 08:49:25 freebsd ppp[989]: tun0: IPCP: myaddr ***.***.72.133 hisaddr = ***.***.72.1
Oct 13 08:49:25 freebsd ppp[989]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Oct 13 08:49:28 freebsd ppp[989]: tun0: LCP: deflink: RecvProtocolRej(6) state = Opened
Oct 13 08:49:28 freebsd ppp[989]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:49:28 freebsd ppp[989]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:49:31 freebsd ppp[989]: tun0: LCP: deflink: RecvProtocolRej(7) state = Opened
Oct 13 08:49:31 freebsd ppp[989]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:49:31 freebsd ppp[989]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:49:34 freebsd ppp[989]: tun0: LCP: deflink: RecvProtocolRej(8) state = Opened
Oct 13 08:49:34 freebsd ppp[989]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:49:34 freebsd ppp[989]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:49:37 freebsd ppp[989]: tun0: LCP: deflink: RecvProtocolRej(9) state = Opened
Oct 13 08:49:37 freebsd ppp[989]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:49:37 freebsd ppp[989]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:50:26 freebsd ppp[989]: tun0: LCP: deflink: RecvEchoRequest(1) state = Opened
Oct 13 08:50:26 freebsd ppp[989]: tun0: LCP: deflink: SendEchoReply(1) state = Opened
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: Signal 15, terminate.
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: deflink: LayerDown: ***.***.72.133
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: deflink: SendTerminateReq(4) state = Opened
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: deflink: State change Opened --> Closing
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: deflink: RecvTerminateAck(4) state = Closing
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: deflink: LayerFinish.
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: Connect time: 88 secs: 264 octets in, 252 octets out
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: 3 packets in, 3 packets out
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: total 5 bytes/sec, peak 102 bytes/sec on Sun Oct 13 08:50:08 2013
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: deflink: State change Closing --> Closed
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: bundle: Terminate
Oct 13 08:50:53 freebsd ppp[989]: tun0: CCP: deflink: State change Stopped --> Closed
Oct 13 08:50:53 freebsd ppp[989]: tun0: CCP: deflink: State change Closed --> Initial
Oct 13 08:50:53 freebsd ppp[989]: tun0: LCP: deflink: LayerDown
Oct 13 08:50:53 freebsd ppp[989]: tun0: LCP: deflink: SendTerminateReq(3) state = Opened
Oct 13 08:50:53 freebsd ppp[989]: tun0: LCP: deflink: State change Opened --> Closing
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: deflink: open -> lcp
Oct 13 08:50:53 freebsd ppp[989]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Oct 13 08:50:53 freebsd ppp[989]: tun0: IPCP: deflink: State change Closed --> Initial
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: Received NGM_PPPOE_CLOSE
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: deflink: Device disconnected
Oct 13 08:50:53 freebsd ppp[989]: tun0: LCP: deflink: LayerFinish
Oct 13 08:50:53 freebsd ppp[989]: tun0: LCP: deflink: State change Closing --> Initial
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: deflink: Disconnected!
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: deflink: lcp -> logout
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: deflink: Disconnected!
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: deflink: logout -> hangup
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: deflink: Connect time: 92 secs: 548 octets in, 591 octets out
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: deflink: 20 packets in, 24 packets out
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: total 12 bytes/sec, peak 103 bytes/sec on Sun Oct 13 08:49:29 2013
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: deflink: hangup -> closed
Oct 13 08:50:53 freebsd ppp[989]: tun0: Warning: Delete route failed: ***.***.72.1: errno: Address already in use
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: bundle: Dead
Oct 13 08:50:53 freebsd ppp[989]: tun0: Phase: PPP Terminated (normal).
Oct 13 08:51:27 freebsd ppp[1337]: Phase: Using interface: tun0
Oct 13 08:51:27 freebsd ppp[1337]: Phase: deflink: Created in closed state
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: default: ident user-ppp VERSION
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: default: set device PPPoE:rl0
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: default: set speed 115200
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: default: set dial
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: default: set timeout 180
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: default: enable dns
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: default: set login
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: PPPoE: set authname USERNAME
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: PPPoE: set authkey ********
Oct 13 08:51:27 freebsd ppp[1337]: tun0: Command: PPPoE: add default HISADDR
Oct 13 08:51:27 freebsd ppp[1338]: tun0: Phase: PPP Started (ddial mode).
Oct 13 08:51:27 freebsd ppp[1338]: tun0: Phase: bundle: Establish
Oct 13 08:51:27 freebsd ppp[1338]: tun0: Phase: deflink: closed -> opening
Oct 13 08:51:27 freebsd ppp[1338]: tun0: Phase: deflink: Connected!
Oct 13 08:51:27 freebsd ppp[1338]: tun0: Phase: deflink: opening -> dial
Oct 13 08:51:27 freebsd ppp[1338]: tun0: Phase: deflink: dial -> carrier
Oct 13 08:51:28 freebsd ppp[1338]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "XXXX-acr-xxxx")
Oct 13 08:51:28 freebsd ppp[1338]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Oct 13 08:51:28 freebsd ppp[1338]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Oct 13 08:51:28 freebsd ppp[1338]: tun0: Phase: deflink: carrier -> login
Oct 13 08:51:28 freebsd ppp[1338]: tun0: Phase: deflink: login -> lcp
Oct 13 08:51:28 freebsd ppp[1338]: tun0: LCP: FSM: Using "deflink" as a transport
Oct 13 08:51:28 freebsd ppp[1338]: tun0: LCP: deflink: State change Initial --> Closed
Oct 13 08:51:28 freebsd ppp[1338]: tun0: LCP: deflink: State change Closed --> Stopped
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: LayerStart
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: ACFCOMP[2]
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: PROTOCOMP[2]
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: ACCMAP[6] 0x00000000
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MRU[4] 1492
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MAGICNUM[6] 0x1e44c165
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MRU[4] 1492
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MAGICNUM[6] 0x3f3738d6
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: SendConfigAck(1) state = Req-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MRU[4] 1492
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MAGICNUM[6] 0x3f3738d6
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: SendIdent(0) state = Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MAGICNUM 1e44c165
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: TEXT user-ppp 3.4.2
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: ACFCOMP[2]
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: PROTOCOMP[2]
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: ACCMAP[6] 0x00000000
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MRU[4] 1492
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MAGICNUM[6] 0x1e44c165
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MRU[4] 1492
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MAGICNUM[6] 0x1e44c165
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: LayerUp
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: SendIdent(1) state = Opened
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MAGICNUM 1e44c165
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: TEXT user-ppp 3.4.2
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Phase: bundle: Authenticate
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Phase: deflink: his = PAP, mine = none
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Phase: Pap Output: USERNAME ********
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Phase: Pap Input: SUCCESS (Authentication OK,Welcome !)
Oct 13 08:51:29 freebsd ppp[1338]: tun0: CCP: FSM: Using "deflink" as a transport
Oct 13 08:51:29 freebsd ppp[1338]: tun0: CCP: deflink: State change Initial --> Closed
Oct 13 08:51:29 freebsd ppp[1338]: tun0: CCP: deflink: LayerStart.
Oct 13 08:51:29 freebsd ppp[1338]: tun0: CCP: MPPE: Not usable without CHAP81
Oct 13 08:51:29 freebsd ppp[1338]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Oct 13 08:51:29 freebsd ppp[1338]: tun0: CCP: DEFLATE[4] win 15
Oct 13 08:51:29 freebsd ppp[1338]: tun0: CCP: PRED1[2]
Oct 13 08:51:29 freebsd ppp[1338]: tun0: CCP: deflink: State change Closed --> Req-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Phase: deflink: lcp -> open
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Phase: bundle: Network
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: FSM: Using "deflink" as a transport
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: State change Initial --> Closed
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: LayerStart.
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: IPADDR[6] 127.0.0.1
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: PRIDNS[6] 255.255.255.255
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: SECDNS[6] 255.255.255.255
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: RecvConfigReq(2) state = Req-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: IPADDR[6] ***.***.72.1
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: SendConfigAck(2) state = Req-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: IPADDR[6] ***.***.72.1
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Oct 13 08:51:29 freebsd ppp[1338]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: SendIdent(2) state = Opened
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: MAGICNUM 1e44c165
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: TEXT user-ppp 3.4.2
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: IPADDR[6] 127.0.0.1
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: PRIDNS[6] 255.255.255.255
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: SECDNS[6] 255.255.255.255
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: RecvProtocolRej(4) state = Opened
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: IPADDR[6] ***.***.72.123
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: IPADDR[6] changing address: 127.0.0.1 --> ***.***.72.123
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: IPADDR[6] ***.***.72.123
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: PRIDNS[6] 255.255.255.255
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: SECDNS[6] 255.255.255.255
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: RecvProtocolRej(5) state = Opened
Oct 13 08:51:29 freebsd ppp[1338]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: IPADDR[6] ***.***.72.123
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: PRIDNS[6] 255.255.255.255
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: SECDNS[6] 255.255.255.255
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: deflink: LayerUp.
Oct 13 08:51:29 freebsd ppp[1338]: tun0: IPCP: myaddr ***.***.72.123 hisaddr = ***.***.72.1
Oct 13 08:51:29 freebsd ppp[1338]: tun0: Warning: 0.0.0.0/0: Change route failed: errno: No such process
Oct 13 08:51:32 freebsd ppp[1338]: tun0: LCP: deflink: RecvProtocolRej(6) state = Opened
Oct 13 08:51:32 freebsd ppp[1338]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:51:32 freebsd ppp[1338]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:51:35 freebsd ppp[1338]: tun0: LCP: deflink: RecvProtocolRej(7) state = Opened
Oct 13 08:51:35 freebsd ppp[1338]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:51:35 freebsd ppp[1338]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:51:38 freebsd ppp[1338]: tun0: LCP: deflink: RecvProtocolRej(8) state = Opened
Oct 13 08:51:38 freebsd ppp[1338]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:51:38 freebsd ppp[1338]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:51:41 freebsd ppp[1338]: tun0: LCP: deflink: RecvProtocolRej(9) state = Opened
Oct 13 08:51:41 freebsd ppp[1338]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected!
Oct 13 08:51:41 freebsd ppp[1338]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP !
Oct 13 08:52:29 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(1) state = Opened
Oct 13 08:52:29 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(1) state = Opened
Oct 13 08:53:30 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(2) state = Opened
Oct 13 08:53:30 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(2) state = Opened
Oct 13 08:54:31 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(3) state = Opened
Oct 13 08:54:31 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(3) state = Opened
Oct 13 08:55:32 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(4) state = Opened
Oct 13 08:55:32 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(4) state = Opened
Oct 13 08:56:33 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(5) state = Opened
Oct 13 08:56:33 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(5) state = Opened
Oct 13 08:57:34 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(6) state = Opened
Oct 13 08:57:34 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(6) state = Opened
Oct 13 08:58:35 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(7) state = Opened
Oct 13 08:58:35 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(7) state = Opened
Oct 13 08:59:36 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(8) state = Opened
Oct 13 08:59:36 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(8) state = Opened
Oct 13 09:00:37 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(9) state = Opened
Oct 13 09:00:37 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(9) state = Opened
Oct 13 09:01:38 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(10) state = Opened
Oct 13 09:01:38 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(10) state = Opened
Oct 13 09:02:39 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(11) state = Opened
Oct 13 09:02:39 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(11) state = Opened
Oct 13 09:03:40 freebsd ppp[1338]: tun0: LCP: deflink: RecvEchoRequest(12) state = Opened
Oct 13 09:03:40 freebsd ppp[1338]: tun0: LCP: deflink: SendEchoReply(12) state = Opened
-
onlylove
- 论坛版主
- 帖子: 5370
- 注册时间: 2007-01-14 16:23
#4
帖子
由 onlylove » 2013-10-13 10:51
PPPOE的话,建议把mtu弄小点,不要1500,我记得linux下面有个建议值,用那个应该可能会好点,再就是dns的问题,要不要先手工指定下试试
#include <stdio.h>
void main()
{
double world;
unsigned letter;
short stay;
long memories;
printf("I miss you.\n");
}
-
leavfin
- 帖子: 599
- 注册时间: 2012-01-12 13:32
#5
帖子
由 leavfin » 2013-10-13 11:41
onlylove 写了:PPPOE的话,建议把mtu弄小点,不要1500,我记得linux下面有个建议值,用那个应该可能会好点,再就是dns的问题,要不要先手工指定下试试
发现即使注释掉set mtu 1492后
依然还是自动变成1492 所以应该没关系
dns的问题不是已经 enable dns 了吗
应该会自动处理的吧 可是/etc/resove.conf一片空白
ps:上网好多年 从来没接触过dns的说 不懂啊
搜索中
-
susbarbatus
- 帖子: 2966
- 注册时间: 2010-04-10 16:14
- 系统: Arch Linux
#6
帖子
由 susbarbatus » 2013-10-13 18:45
既然都能 ping 通了,自己写 resolv.conf 好了
沉迷将棋中……
-
susbarbatus
- 帖子: 2966
- 注册时间: 2010-04-10 16:14
- 系统: Arch Linux
#7
帖子
由 susbarbatus » 2013-10-13 18:53
翻了下 handbook,写到 ppp.conf 似乎是这样
代码: 全选
accept dns
set dns 203.14.100.1 203.14.100.2
,不过为什么 enable dns 不起效就不知道了,跟 isp 有关吧。
沉迷将棋中……
-
leavfin
- 帖子: 599
- 注册时间: 2012-01-12 13:32
#8
帖子
由 leavfin » 2013-10-13 19:19
费了好大劲
设置dns后好了
自动dns的问题 还有待研究