← 返回命令列表

Linux command

pppoe-connect 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Start PPPoE connection with default config

sudo pppoe-connect

Connect with a specific config file

sudo pppoe-connect [/etc/ppp/pppoe.conf]

说明

pppoe-connect is a shell script that manages a PPPoE (PPP over Ethernet) connection using the Roaring Penguin user-space PPPoE client. It reads a configuration file, brings up the connection, and automatically re-establishes it if it drops, logging reconnection events to syslog. Each time the connection drops, pppoe-connect executes /etc/ppp/pppoe-lost if it exists. Normally you should use pppoe-start instead of invoking pppoe-connect directly.

FAQ

What is the pppoe-connect command used for?

pppoe-connect is a shell script that manages a PPPoE (PPP over Ethernet) connection using the Roaring Penguin user-space PPPoE client. It reads a configuration file, brings up the connection, and automatically re-establishes it if it drops, logging reconnection events to syslog. Each time the connection drops, pppoe-connect executes /etc/ppp/pppoe-lost if it exists. Normally you should use pppoe-start instead of invoking pppoe-connect directly.

How do I run a basic pppoe-connect example?

Run `sudo pppoe-connect` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more pppoe-connect examples?

This page includes 2 examples for pppoe-connect, plus related commands for nearby Linux tasks.