ADSL 常斷線 - BBS
By Ethan
at 2006-02-26T19:57
at 2006-02-26T19:57
Table of Contents
我是用 2M/512 的帳號去撥接一個固定 IP 來使用的,
但是最近發現主機常會斷線,斷線後不會自動重連,
請教該加什麼設定,可以讓它斷線後自動重新撥接呢 ?
Thanks.
我的撥接設定如下:
/etc/rc.conf
#network 撥接程式啟動
network_interfaces="auto"
ifconfig_sis0="inet 10.0.0.1 netmask 255.0.0.0 -arp up" //sis0 網卡代號
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="pppoe"
defaultrouter="10.0.0.1"
gateway_enable="YES"
etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
nat enable yes
nat same_ports yes
nat use_sockets yes
set redial 15 28800
set reconnect 15 28800
pppoe:
set device PPPoE:sis0 //sis0 為網卡代號
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 [email protected] //撥接帳號
set authkey XXXXXXXX //撥接密碼
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
--
但是最近發現主機常會斷線,斷線後不會自動重連,
請教該加什麼設定,可以讓它斷線後自動重新撥接呢 ?
Thanks.
我的撥接設定如下:
/etc/rc.conf
#network 撥接程式啟動
network_interfaces="auto"
ifconfig_sis0="inet 10.0.0.1 netmask 255.0.0.0 -arp up" //sis0 網卡代號
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="pppoe"
defaultrouter="10.0.0.1"
gateway_enable="YES"
etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
nat enable yes
nat same_ports yes
nat use_sockets yes
set redial 15 28800
set reconnect 15 28800
pppoe:
set device PPPoE:sis0 //sis0 為網卡代號
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 [email protected] //撥接帳號
set authkey XXXXXXXX //撥接密碼
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
--
Tags:
BBS
All Comments
Related Posts
Re: 想重編MYSQL??不知道怎麼編??
By Mason
at 2006-02-26T18:39
at 2006-02-26T18:39
Re: 有關BSD user的mail使用方式...
By Emma
at 2006-02-26T03:34
at 2006-02-26T03:34
port Tree 更新
By Mary
at 2006-02-25T22:30
at 2006-02-25T22:30
port Tree 更新
By Elizabeth
at 2006-02-25T21:28
at 2006-02-25T21:28
請問如何從CD轉成iso檔
By Genevieve
at 2006-02-25T08:00
at 2006-02-25T08:00