← 返回命令列表

Linux command

pppoe 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start PPPoE connection

pppoe -I [eth0]

Debug mode

pppoe -I [eth0] -D [/tmp/pppoe.log]

Specify AC name

pppoe -I [eth0] -A [ac_name]

说明

pppoe is the user-space PPP over Ethernet client that establishes PPPoE sessions for DSL broadband connections. It handles the discovery and session phases of the PPPoE protocol, communicating with the ISP's access concentrator over a specified Ethernet interface. The tool is typically invoked indirectly through pppoe-connect or pppoe-start wrapper scripts rather than called directly. It works in conjunction with pppd which handles the PPP negotiation once the Ethernet session is established.

参数

-I _INTERFACE_
Ethernet interface.
-D _FILE_
Debug log file.
-A _NAME_
Access concentrator name.
-S _NAME_
Service name.
-T _SECONDS_
Timeout.

FAQ

What is the pppoe command used for?

pppoe is the user-space PPP over Ethernet client that establishes PPPoE sessions for DSL broadband connections. It handles the discovery and session phases of the PPPoE protocol, communicating with the ISP's access concentrator over a specified Ethernet interface. The tool is typically invoked indirectly through pppoe-connect or pppoe-start wrapper scripts rather than called directly. It works in conjunction with pppd which handles the PPP negotiation once the Ethernet session is established.

How do I run a basic pppoe example?

Run `pppoe -I [eth0]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -I _INTERFACE_ do in pppoe?

Ethernet interface.