ADSL-CONNECT(8) ADSL-CONNECT(8)
NAME
adsl-connect - Shell script to manage a PPPoE link
SYNOPSIS
adsl-connect [config_file]
adsl-connect interface user [config_file]
DESCRIPTION
adsl-connect is a shell script which manages an ADSL connection using the Roaring
Penguin user-space PPPoE client. If you omit config_file, the default file
/etc/sysconfig/network-scripts/ifcfg-ppp0 is used. If you supply interface and
user, then they override the Ethernet interface and user-name settings in the con-
figuration 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 connec-
tion. If the connection ever drops, a message is logged to syslog, and adsl-con-
nect 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.
TECHNICAL DETAILS
adsl-connect uses the following shell variables from the configuration file:
ETH The Ethernet interface connected to the ADSL modem (for example, eth0).
USER The ADSL user-id (for example, b1xxnxnx AT 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 $PID-
FILE.pppoe) hold the process-ID’s of the pppd and pppoe processes, respec-
tively.
By using different configuration files with different PIDFILE settings, you can
manage multiple PPPoE connections. Just specify the configuration file as an argu-
ment to adsl-start and adsl-stop.
AUTHOR
adsl-connect was written by David F. Skoll <dfs AT roaringpenguin.com>.
The pppoe home page is http://www.roaringpenguin.com/pppoe/.
SEE ALSO
pppoe(8), adsl-start(8), adsl-stop(8), pppd(8), pppoe.conf(5), adsl-setup(8), adsl-
status(8), pppoe-sniff(8), pppoe-server(8), pppoe-relay(8)
4th Berkeley Distribution 21 February 2000 ADSL-CONNECT(8)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 mod_gzip/1.3.26.1a
Under GNU General Public License
2008-08-20 19:36 @38.103.63.61 CrawledBy CCBot/1.0 (+http://www.commoncrawl.org/bot.html)