- 论坛徽章:
- 0
|
1.关于Modem
确定你的ADSL Modem己经接入Internet
2.配置内核
你不再需要为 PPPoE 配置你的内核。 如果netgraph支持的话,就无需进入内核built,ppp将会动态装载
3.设置ppp.conf
下面以ppp.conf为例:
default:
set log Phase tun command # you can add more detailed logging if you wish
set ifaddr 10.0.0.1/0 10.0.0.2/0
name_of_service_provider:
set device PPPoE:xl1 # replace xl1 with your Ethernet device
set authname YOURLOGINNAME # replace YOURLOGINNAME
set authkey YOURPASSWORD # replace YOURPASSWORD
set dial
set login
add default HISADDR
4.运行ppp
必须是root,才能运行:
# ppp -ddial name_of_service_provider
5.引导ppp
把下列各项加放到 /etc/rc.conf文件中:
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES" # if you want to enable nat for your local network, otherwise NO
ppp_profile="name_of_service_provider"
by coderror
[ 本帖最后由 rainren 于 2005-12-20 15:19 编辑 ] |
|