adsl-connect interface user [config_file]
Note that normally, you should not invoke adsl-connect directly.Instead, use adsl-start to bring up the ADSL connection.
adsl-connect first reads a configuration file.It then brings up a PPPoE connection.If the connection ever drops, a message is logged to syslog, and adsl-connect re-establishes the connection.In addition, each time the connection is dropped or cannot be established, adsl-connect executes the script /etc/ppp/adsl-lost if it exists and is executable.
The shell script adsl-stop causes adsl-connect to break out of its loop, bring the connection down, and exit.
| ETH |
The Ethernet interface connected to the ADSL modem (for example, eth0).
|
| USER |
The ADSL user-id (for example, b1xxnxnx@sympatico.ca).
|
| PIDFILE | |
|
A file in which to write the process-ID of the adsl-connect process
(for example, /var/run/pppoe.pid).Two additional files
($PIDFILE.pppd and $PIDFILE.pppoe) hold the process-IDs of the
pppd and pppoe processes, respectively.
By using different configuration files with different PIDFILE settings, you can manage multiple PPPoE connections.Just specify the configuration file as an argument to adsl-start and adsl-stop.
| |
The pppoe home page is http://www.roaringpenguin.com/pppoe/.