PPPoE怪象 - BBS
By Dorothy
at 2005-05-29T21:56
at 2005-05-29T21:56
Table of Contents
之前拜眾網友之指教, 設定好了PPPoE和連線分享,
用了幾個月都很順, 也有重開機數次, 都會自動啟動沒問題.
今天突然出了狀況:
突然斷線之後, 不管是重新用ppp啟動, 還是重開機, 都會連線失敗
出現
Warning: Add route failed: 0.0.0.0/0 already exists
但是我明明都是用一樣的設定, 沒有改過.
於是把鍵盤螢幕都接到freebsd主機上, 東摸西敲了半天,
仍是無法連線.
後來放棄了....
念了一陣子書, 想說再來試一次.
把線接上, 按下開機.......竟然又正常了.
---------------------------------
#/etc/ppp/ppp.conf
pppoe:
set device PPPoE:vr0:
set mru 1492
set mtu 1492
set speed sync
enable lqr
set lqrperiod 5
set cd 5
set dial
set login
set timeout 0
set authname xxxxxx@xxxxxxxx
set authkey xxxxxxxxx
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns
#/etc/rc.conf
network_interface="auto"
ifconfig_rl0="inet 192.168.1.254 netmask 255.255.255.0"
ifconfig_vr0="inet 10.0.0.1 netmask 255.0.0.0 -arp up"
ppp_enable="yes"
ppp_mode="ddial"
ppp_profile="pppoe"
defaultrouter="10.0.0.1"
inetd_enable="YES"
gateway_enable="YES"
---------------------------------------------------
完全搞不懂中 @.@
難道是網卡本身的問題?
--
用了幾個月都很順, 也有重開機數次, 都會自動啟動沒問題.
今天突然出了狀況:
突然斷線之後, 不管是重新用ppp啟動, 還是重開機, 都會連線失敗
出現
Warning: Add route failed: 0.0.0.0/0 already exists
但是我明明都是用一樣的設定, 沒有改過.
於是把鍵盤螢幕都接到freebsd主機上, 東摸西敲了半天,
仍是無法連線.
後來放棄了....
念了一陣子書, 想說再來試一次.
把線接上, 按下開機.......竟然又正常了.
---------------------------------
#/etc/ppp/ppp.conf
pppoe:
set device PPPoE:vr0:
set mru 1492
set mtu 1492
set speed sync
enable lqr
set lqrperiod 5
set cd 5
set dial
set login
set timeout 0
set authname xxxxxx@xxxxxxxx
set authkey xxxxxxxxx
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns
#/etc/rc.conf
network_interface="auto"
ifconfig_rl0="inet 192.168.1.254 netmask 255.255.255.0"
ifconfig_vr0="inet 10.0.0.1 netmask 255.0.0.0 -arp up"
ppp_enable="yes"
ppp_mode="ddial"
ppp_profile="pppoe"
defaultrouter="10.0.0.1"
inetd_enable="YES"
gateway_enable="YES"
---------------------------------------------------
完全搞不懂中 @.@
難道是網卡本身的問題?
--
Tags:
BBS
All Comments
Related Posts
Re: 怪怪的...@@
By Zenobia
at 2005-05-29T19:13
at 2005-05-29T19:13
在 FreeBSD 上錄音
By Mia
at 2005-05-29T18:07
at 2005-05-29T18:07
Re: 怪怪的...@@
By Emily
at 2005-05-29T16:30
at 2005-05-29T16:30
Re: 怪怪的...@@
By Adele
at 2005-05-29T12:10
at 2005-05-29T12:10
Re: 怪怪的...@@
By Jacky
at 2005-05-29T12:04
at 2005-05-29T12:04