THANKS for the link loke137... I used Roaring Penguin's PPPoE software to use my ADSL connection. Although it took me 2 hours (seriously) to make it work, I'm happy to post this message using Linux for once. Anyways, if you have Bell Canada's Sympatico High Speed DSL Service, this is what I did. First, I downloaded Roaring Penguin's PPPoE software for my RedHat 8.0 system running a 2.4.x kernel and a pppd version of 2.4 (see http://www.roaringpenguin.com/pppoe
). The software downloads I chose were:
Source gzipped tar file (includes gui):
And I downloaded the GPG Signature file (although I don't know what it is or what it means and didn't even use it; someone want to fill me in?):
Then, I followed the installation instructions found in the http://www.roaringpenguin.com/pppoe
) page, which stated:
1. You must be logged in as "root", and if installing from source (which we are), you need a complete C development environment (compiler, make, linker, header, libraries).
2. Decide whether you want the GUI or not (go to http://www.roaringpenguin.com/pppoe
to decide), then open up a terminal (or console, whatever you call it) and use the "cd" command to change your directory to the directory where you saved your downloaded tar file and type:
(if you don't want the gui);
tar xvfz rp-pppoe-3.5.tar.gz
(if yo do want the gui);
tar xvfz rp-pppoe-3.5.tar.gz
Then, after that it should lead you through a setup. Go ahead and type whatever until you get to the end and it says you're done. Well, close the console or terminal, and then open it again (this is how I made it work). And use "cd" to go to the directory where RP-PPPoE was installed (probably, you should go to the directory where you downloaded the tar file, and then type "cd rp-pppoe-3.5") and type "adsl-setup". Your screen should look like this:
Welcome to the ADSL client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly...
The following DSL config was found on your system:
Please enter the device if you want to configure the present DSL config
(default ppp0) or enter 'n' if you want to create a new one:
Where it prompts you for the device (at the end of the text above), type in the text under the "Device" title, in this case "ppp0" and press enter. Then, your screen should look like this:
Enter your Login Name (default email@example.com
Note, it might say "default b1(whatever)" without the "@sympatico.ca"... that's alright for now as we are going to address that. Since you are most likely reading this because you are a Sympatico user, type in your user account login (at the prompt) and don't forget the "@sympatico.ca" part. Press enter. Now make your screen look just like mine, meaning, answer the prompts just as I have:
Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where 'X' is a number.
(default eth0): eth0
Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
Enter the demand value (default no): no
Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
Enter the DNS information here: server
Please enter your Password:
Please re-enter your Password:
Please enter 'yes' (two letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): yes
Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.
The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
Choose a type of firewall (0-2): 0
Start this connection at boot time
Do you want to start this connection at boot time?
Please enter no or yes (default no):no
** Summary of what you entered **
Ethernet Interface: eth0
User name: firstname.lastname@example.org
DNS addresses: Supplied by ISP's server
User Control: yes
Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
(But first backing it up to /etc/ppp/chap-secrets.bak)
(But first backing it up to /etc/ppp/pap-secrets.bak)
Congratulations, it should be all set up!
Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down.
Type '/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the link status.
Note, at the password prompt, type your password, and at the firewall prompt, type whatever you wish (I typed 0 just to test the connection). Now, just like the script tells you, type "/sbin/ifup ppp0" to connect. It should look like this if it worked:
[root@localhost rp-pppoe-3.5]# /sbin/ifup ppp0
If at any time you are surfing the web and you get a DNS error or something. Go to the terminal or console, navigate to the rp-pppoe-3.5 directory and type "/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0"; it should look like this:
[root@localhost rp-pppoe-3.5]# /sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0
Note: You have enabled demand-connection; adsl-status may be inaccurate.
adsl-status: Link is attached to ppp0, but ppp0 is down
After you probably get that message, type "/sbin/ifup ppp0" to reconnect, and it should work perfectly. At any time, if you want to disconnect, type "/sbin/ifdown ppp0". It's pretty damn obvious how this works. Although I'm a newbie, I'm pretty familiar with networking in Windows and so it was pretty easy for me, although it took 2 hours because I figured that you had to close all the terminals/consoles and text editors that were using those files (I was messing around with the pppoe.conf file to make it work) to save the changes... Stupid me. Anyways, note that this was for a Sypmatico.ca High Speed DSL connection and using the non-gui version of RP-PPPoE and I think you're going to have to open up the terminal and connect like this everytime. Oh, and here's my pppoe.conf file under the /etc/ppp/ directory, in case you have trouble connecting:
# Configuration file for rp-pppoe. Edit as appropriate and install in
# NOTE: This file is used by the adsl-start, adsl-stop, adsl-connect and
# adsl-status shell scripts. It is *not* used in any way by the
# "pppoe" executable.
# Copyright (C) 2000 Roaring Penguin Software Inc.
# This file may be distributed under the terms of the GNU General
# Public License.
# LIC: GPL
# $Id: pppoe.conf,v 1.10 2002/04/09 17:28:38 dfs Exp $
# When you configure a variable, DO NOT leave spaces around the "=" sign.
# Ethernet card connected to ADSL modem
# ADSL user name. You may have to supply "@provider.com" Sympatico
# users in Canada do need to include "@sympatico.ca"
# Sympatico uses PAP authentication. Make sure /etc/ppp/pap-secrets
# contains the right username/password combination.
# For Magma, use email@example.com
# Bring link up on demand? Default is to leave link up all the time.
# If you want the link to come up on demand, set DEMAND to a number indicating
# the idle time after which the link is brought down.
# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
# NOCHANGE=do not adjust.
# Obtain DNS server addresses from the peer (recent versions of pppd only)
# In old config files, this used to be called USEPEERDNS. Changed to
# PEERDNS for better Red Hat compatibility
# Make the PPPoE connection your default route. Set to
# DEFAULTROUTE=no if you don't want this.
### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT
# How long adsl-start waits for a new PPP interface to appear before
# concluding something went wrong. If you use 0, then adsl-start
# exits immediately with a successful status and does not wait for the
# link to come up. Time is in seconds.
# WARNING WARNING WARNING:
# If you are using rp-pppoe on a physically-inaccessible host, set
# CONNECT_TIMEOUT to 0. This makes SURE that the machine keeps trying
# to connect forever after adsl-start is called. Otherwise, it will
# give out after CONNECT_TIMEOUT seconds and will not attempt to
# connect again, making it impossible to reach.
# How often in seconds adsl-start polls to check if link is up
# Specific desired AC Name
# Specific desired service name
# Character to echo at each poll. Use PING="" if you don't want
# anything echoed
# File where the adsl-connect script writes its process-ID.
# Three files are actually used:
# $PIDFILE contains PID of adsl-connect script
# $PIDFILE.pppoe contains PID of pppoe process
# $PIDFILE.pppd contains PID of pppd process
# Do you want to use synchronous PPP? "yes" or "no". "yes" is much
# easier on CPU usage, but may not work for you. It is safer to use
# "no", but you may want to experiment with "yes". "yes" is generally
# safe on Linux machines with the n_hdlc line discipline; unsafe on others.
# Do you want to clamp the MSS? Here's how to decide:
# - If you have only a SINGLE computer connected to the ADSL modem, choose
# - If you have a computer acting as a gateway for a LAN, choose "1412".
# The setting of 1412 is safe for either setup, but uses slightly more
# CPU power.
# LCP echo interval and failure count.
# PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
# Firewalling: One of NONE, STANDALONE or MASQUERADE
# Linux kernel-mode plugin for pppd. If you want to try the kernel-mode
# plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so
# Any extra arguments to pass to pppoe. Normally, use a blank string
# like this:
# Rumour has it that "Citizen's Communications" with a 3Com
# HomeConnect ADSL Modem DualLink requires these extra options:
# PPPOE_EXTRA="-f 3c12:3c13 -S ISP"
# Any extra arguments to pass to pppd. Normally, use a blank string
# like this:
########## DON'T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
# If you wish to COMPLETELY overrride the pppd invocation:
# OVERRIDE_PPPD_COMMAND="pppd call dsl"
# If you want adsl-connect to exit when connection drops:
Note, change this doc to match your account if it already doesn't have your login name in the line where it says "USERfirstname.lastname@example.org'" (change the b1xxxx part to your account). And if you change your login in this file, remember to change it in the pap-secrets and chap-secrets (don't need to modify this one if you're using Sympatico; Sympatico doesn't use chap) files found in the same directory. I hope this has been helpful to anyone who needed it. Remember, I'm only a NEWBIE to Linux, so don't critisize me if I said something wrong; it's simply how I did it. Just kindly correct me in any places where I'm wrong. Thanks again to loke137 for the link to http://www.roaringpenguin.com.
I'm now enjoying using Linux to use the internet.