LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: eTony

[eTony热线]Debian 小贴士(进行中...)

[复制链接]
发表于 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
回复 支持 反对

使用道具 举报

发表于 2009-4-21 19:45:14 | 显示全部楼层
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
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表