|
发表于 2006-6-7 12:47:43
|
显示全部楼层
set device PPPoE:rl0
改成
set device PPPoE:vr0
还有每个项目都必须在第一个位置多一个空格
以下是我的ADSL配置
- baijiazi# vi /etc/ppp/ppp.conf
- default:
- set log Phase tun command
- set ifaddr 10.0.0.1/0 10.0.0.2/0
- set MRU 1490
- set MTU 1490
- adsl:
- set device PPPoE:rl1 <--------------------rl1修改成你的网卡名
- set authname wza.XXXXXXX
- set authkey XXXXXXXXXXXXX
- set dial
- set login
- add default HISADDR
复制代码
- baijiazi# ifconfig
- rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
- options=8<VLAN_MTU>
- inet 192.168.0.108 netmask 0xffffff00 broadcast 192.168.0.255
- ether 00:0a:eb:f2:54:26
- media: Ethernet autoselect (100baseTX <full-duplex>)
- status: active
- rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
- options=8<VLAN_MTU>
- ether 00:e0:4c:04:1b:2c
- media: Ethernet autoselect (10baseT/UTP)
- status: active
- pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33208
- lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
- inet 127.0.0.1 netmask 0xff000000
- pfsync0: flags=0<> mtu 2020
- tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
- inet 60.180.63.183 --> 220.186.241.227 netmask 0xffffffff
- Opened by PID 221
复制代码 |
|