ADSLPPPoE
发表于 : 2005-08-26 23:49
ADSL PPPoE Connection using Ubuntu
Getting Started
Although it may be very common to use a router to connect your Ubuntu box to the Internet, often is needed to directly attach your computer to a ADSL (frequently refered to as 'DSL') modem using PPPoE. In order to do this you need:
*
A DSL account with an Internet Service Provider (ISP)
*
Username and password for that account
*
A DSL modem to which you connect using an Ethernet network card
*
Your Ubuntu box with its Ethernet card enabled for DHCP.
Note: make sure that your ADLS connection has been activated by your ISP before starting this procedure. Generally there is a "dsl" light on your modem so if it is lit your connection should be activated.
Configuring PPPoE on the command line
Ubuntu default installs the "pppoeconf" package. If you are not sure if you have it you can check like this:
dpkg -l | grep -i pppoe
If it is installed (Ubuntu installs it by default) it should say something like this:
ii pppoeconf 1.1ubuntu1 configures PPPoE/ADSL connections
Otherwise you may need to install it. Just type
sudo apt-get install pppoeconf
Once you are sure that you have the package installed its time to configure your connection. Type
sudo pppoeconf
A nice text-based menu program will guide you to the next steps. It will first ask you to confirm the Ethernet card you want to use for the connection, then it will ask you your username and password. There may be some questions that seem complex, if unsure take the default option and continue. There is also a question of wether you want to connect at start up, which is very likely the best option so that you never again need to run the configuration utility.
https://wiki.ubuntu.com/ADSLPPPoE
Getting Started
Although it may be very common to use a router to connect your Ubuntu box to the Internet, often is needed to directly attach your computer to a ADSL (frequently refered to as 'DSL') modem using PPPoE. In order to do this you need:
*
A DSL account with an Internet Service Provider (ISP)
*
Username and password for that account
*
A DSL modem to which you connect using an Ethernet network card
*
Your Ubuntu box with its Ethernet card enabled for DHCP.
Note: make sure that your ADLS connection has been activated by your ISP before starting this procedure. Generally there is a "dsl" light on your modem so if it is lit your connection should be activated.
Configuring PPPoE on the command line
Ubuntu default installs the "pppoeconf" package. If you are not sure if you have it you can check like this:
dpkg -l | grep -i pppoe
If it is installed (Ubuntu installs it by default) it should say something like this:
ii pppoeconf 1.1ubuntu1 configures PPPoE/ADSL connections
Otherwise you may need to install it. Just type
sudo apt-get install pppoeconf
Once you are sure that you have the package installed its time to configure your connection. Type
sudo pppoeconf
A nice text-based menu program will guide you to the next steps. It will first ask you to confirm the Ethernet card you want to use for the connection, then it will ask you your username and password. There may be some questions that seem complex, if unsure take the default option and continue. There is also a question of wether you want to connect at start up, which is very likely the best option so that you never again need to run the configuration utility.
https://wiki.ubuntu.com/ADSLPPPoE