在/etc/modules.conf中加入下面一行:
alias char-major-144 pppox
修改文件 /etc/ppp/options.
# general options
idle 600
# this is a must
user " [email protected] "
sync
local
nocrtscts
noauth
usepeerdns
mru 1490
mtu 1490
# this is recommended
defaultroute
hide-password
nodetach
#
# switch off all compressions
# this is a must
noaccomp
nopcomp
# this is recommended
novj
novjccomp
nobsdcomp
nodeflate
noccp
注意:Replace with your own login name.
运行 /usr/sbin/pppoed开始连接。
注意:只有root 用户可以启动连接。
If you use a network device other than eth0, you’ll need to start /usr/sbin/pppoed with the option -I ethX, where X is the number of the device。