Connecting an Ubuntu Linux System to a DSL Modem

From Techotopia
Jump to: navigation, search
PreviousTable of ContentsNext
Configuring Ubuntu Linux PrintersUpdating Ubuntu Linux


You are reading a sample chapter from the Ubuntu 11.04 Essentials book.

Purchase the fully updated Ubuntu 20.04 Essentials book in eBook ($9.99) or Print ($36.99) format

Ubuntu 20.04 Essentials Print and eBook (ePub/PDF/Kindle) edition contains 36 chapters and over 310 pages
Buy Print Preview Book


This chapter covers the configuration of Ubuntu Linux to connect to the internet via a broadband DSL modem. Before proceeding with this chapter, it is important to understand the dangers of connecting a system directly to a DSL modem. Once the connection is established the Ubuntu Linux system will be directly visible to anyone on the internet. It is important to ensure that you have a firewall installed and running on the system to protect it from outside attack. The Firestarter firewall provides a easy to use and flexible firewall configuration environment. Before reading this chapter we recommend first reading the Using Firestarter to Configure an Ubuntu Linux Firewall chapter of this book.


Contents


Making the Connections

Before configuring Ubuntu to connect to your DSL provider the first step is to make the physical connections. First connect the DSL modem to the phone outlet. Be sure to install DSL filters on any outlets to which phones or fax machines are attached. Finally connect the DSL modem to the network adapter of your PC using the network cable supplied with your modem.

Configuring Ubuntu Linux to Connect to a DSL modem

Ubuntu Linux provides a useful tool called pppoeconf to configure a DSL connection. DSL connections are established using a protocol called Point-to-Point Over Ethernet, hence the pppoeconf name. If you have a recent release of Ubuntu Linux pppoeconf may already be installed. To run this utility, open a terminal window (select Terminal from the Accessories sub-menu of the Applications desktop menu). At the command prompt in the terminal enter the following command:

sudo pppoeconf

If pppoeconf cannot be found install it using the following command:

sudo apt-get install pppoeconf

Once installed execute sudo ppoeconf command again to view the initial screen:

Ubuntu linux ppoeconf.jpg

Press Enter top begin the process. pppoeconf will scan your network devices until it finds a modem and then prompt you to enter the information provided to you by your DSL provider. Enter this information and exit pppoeconf.


Establishing a DSL Connection

Once configured, the DSL connection is established using the pon utility. To establish the connection, execute the following command from a terminal window:

sudo pon dsl-provider

You are now connected to the DSL connection.

Disconnecting from a DSL Connection

The poff utility is used to close the connection to a DSL provide. To break the connection run the following command:

sudo poff


You are reading a sample chapter from the Ubuntu 11.04 Essentials book.

Purchase the fully updated Ubuntu 20.04 Essentials book in eBook ($9.99) or Print ($36.99) format

Ubuntu 20.04 Essentials Print and eBook (ePub/PDF/Kindle) edition contains 36 chapters and over 310 pages
Buy Print Preview Book