PPPOE Configuration
This guide will help you configure PPPOE to access your broadband connection.
ISP Configuration
To complete PPPOE configuration, you will need the following information from your Internet Service Provider:
- User name
- Password
- ISP's DNS settings
- It is possible your ISP automatically provides the DNS, and you may not need this information
Identify your network card interface
At a terminal, type
ifconfig
You should see results similar to (for a wired ethernet connection):
eth0 Link encap:Ethernet HWaddr 00:19:D1:0E:A2:99 inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::219:d1ff:fe0e:a299/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:49131326 errors:0 dropped:0 overruns:0 frame:0 TX packets:48291384 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:857864181 (818.1 Mb) TX bytes:3394826371 (3237.5 Mb) Base address:0x30c0 Memory:92200000-92220000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:11694326 errors:0 dropped:0 overruns:0 frame:0 TX packets:11694326 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2062076039 (1966.5 Mb) TX bytes:2062076039 (1966.5 Mb)
eth0 in the above example is your network interface card. Make a note of your network card, you will need this later. It is possible it could be eth0 or eth1 (etc), depending on the configuration of your system.
Install pppoeconf
Using conary, install the pppoeconf package using a terminal or the Foresight System Manager. To install using the Foresight System Manager, please see the Getting Started with Foresight Linux user guide on installing packages. From a terminal type:
sudo conary update pppoeconf
Conary will then install the pppoeconf package and any other packages needed.
PPPOE Setup
To begin the setup, in a terminal type:
sudo pppoe-setup
You will see the following displayed in your terminal:
Welcome to the Roaring Penguin PPPoE client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly... Looks good\! Now, please enter some information:
Enter your user name, supplied by your ISP:
USER NAME >>> Enter your PPPoE user name (default bxxxnxnx@sympatico.ca):
Using the information provided above in identifying your network interface card, you will need to enter that in the next step:
INTERFACE >>> Enter the Ethernet interface connected to the DSL modem For Solaris, this is likely to be something like /dev/hme0. For Linux, it will be ethn, where 'n' is a number. (default eth0):
The next section asks if you want your connection with your ISP to stay up continuously, or on demand, when an internet connection is needed. It is recommended that you enter no below to keep your connection up continuously.
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):
Using the information about your ISP as covered in the beginning of this guide, you need to enter your ISP's DNS information, typically an address like ns1.yourisp.com.
DNS
Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide 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:
Now enter the password your ISP gave you that goes with your username from your ISP, not the password you use to log in to your Foresight Linux computer:
PASSWORD >>> Please enter your PPPoE password: >>> Please re-enter your PPPoE password:
A default Foresight Linux installation configures a default firewall for you. It is recommended that you use your Foresight firewall settings, and leave the PPPOE firewall configured to off, option 0 at the next prompt:
FIREWALLING 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): Please enter a number from 0 to 2 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
Managing your PPPOE connection
To start your PPPOE connection, in a terminal or in a run dialog, which you can bring up with ALT-F2, type:
pppoe-start
To end a PPPOE connection, type:
pppoe-stop
To see the status of your PPPOE connection, type:
pppoe-status