0%

嵌入式 Linux 支持 PPPoE

配置 Linux 内核 已支持 PPPoE

内核配置

内核版本:v4.9.22

CONFIG_PPP=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPPOE=y

可以参考 rp-pppoe 中文件 doc/KERNEL-MODE-PPPOE

configuration settings:

    CONFIG_PPP=m          or CONFIG_PPP=y
    CONFIG_PPP_ASYNC=m    or CONFIG_PPP_ASYNC=y
    CONFIG_PPP_SYNC_TTY=m or CONFIG_PPP_SYNC_TTY=y
    CONFIG_PPP_DEFLATE=m  or CONFIG_PPP_DEFLATE=y
    CONFIG_PPP_BSDCOMP=m  or CONFIG_PPP_BSDCOMP=y
    CONFIG_PPPOE=m        or CONFIG_PPPOE=y
    CONFIG_N_HDLC=m       or CONFIG_N_HDLC=y
    CONFIG_UNIX98_PTYS=y

Ref

  1. DSL connection using pppoe kernel-mode, HOW-TO
  2. A PPPoE Implementation for Linux