|
情况是这样:
如果pppoe断线以后, 用wireshark抓包发现只有 PPPoED(Active Discovery Initiation(PADI) )
plog:
pppd[3019]: Plugin rp-pppoe.so loaded.
pppd[3020]: pppd 2.4.4 started by root, uid 0
pppd[3020]: Timeout waiting for PADO packets
pppd[3020]: Unable to complete PPPoE Discove
但是重起以后又可以,
这个是什么原因?
这是之前做的一些尝试,
/etc/ppp/options:
--- lcp-echo-failure 3
+++ lcp-echo-failure 30
+++ maxfail 0
其他配置
/etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
pre-up /sbin/ifconfig eth0 up
auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider
auto eth1
iface eth1 inet static
address 192.123.123.1
netmask 255.255.255.0
network 192.123.123.0
broadcast 192.123.123.255
gateway 192.123.123.1
/etc/ppp/peers/dsl-provider:
noipdefault
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 30
connect /bin/true
noauth
persist
mtu 1452
noaccomp
default-asyncmap
plugin rp-pppoe.so eth0
user "*********" |
|