|
发表于 2009-4-21 19:39:48
|
显示全部楼层
Post by eTony;1313355
ADSL 使用 pppoe 与 /etc/network/interfaces无关
怎么会和 /etc/network/interfaces无关
from http://wiki.debian.org/PPPoE
How to enable PPPoE for an already installed system
In order to make PPPoE run on a Debian station you should follow the following steps:
* install a Linux kernel which has:
o ppp and pppoe support enabled (module or built-in). Kernels compiled by Debian have them.
o Ethernet driver for the interface on which you expect to connect using PPPoE
*
install pppoeconf (it will pull ppp and optionally pppoe )
*
Run pppoeconf to generate and/or modify /etc/ppp/peers/dsl-provider, /etc/ppp/*ap-secrets files and /etc/network/interfaces.
It is best, in most cases, to keep the suggested answers
auto eth0
iface eth0 inet manual
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up
provider dsl-provider |
|