← 返回命令列表

Linux command

pppoe-discovery 命令

文本

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

常用示例

Discover PPPoE servers

pppoe-discovery -I [eth0]

Verbose discovery

pppoe-discovery -I [eth0] -V

Specify service name

pppoe-discovery -I [eth0] -S [service]

说明

pppoe-discovery sends PPPoE Active Discovery Initiation (PADI) packets on a network interface to find available PPPoE access concentrators. It reports the names and services offered by any responding concentrators without actually establishing a connection. This diagnostic tool is useful for verifying that a DSL modem or network is properly configured and that the ISP's access concentrator is reachable before attempting a full PPPoE connection.

参数

-I _INTERFACE_
Network interface.
-V
Verbose output.
-S _NAME_
Service name filter.
-A _NAME_
AC name filter.

FAQ

What is the pppoe-discovery command used for?

pppoe-discovery sends PPPoE Active Discovery Initiation (PADI) packets on a network interface to find available PPPoE access concentrators. It reports the names and services offered by any responding concentrators without actually establishing a connection. This diagnostic tool is useful for verifying that a DSL modem or network is properly configured and that the ISP's access concentrator is reachable before attempting a full PPPoE connection.

How do I run a basic pppoe-discovery example?

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

What does -I _INTERFACE_ do in pppoe-discovery?

Network interface.