Pages

Thursday 10 October 2013

How to make a DSL connection through terminal (Puppy Linux or Slax Linux)

DSL Connection through Terminal:

 

Short info on what is a DSL modem

      A digital subscriber line or a DSL modem is a device used to connect a computer or at times a router to a telephone line which provides the subscriber connection to the Internet, and it is commonly called a DSL broadband.


What are the requirements  to make a successful DSL connection ?

  1. Unique username given to you by the service provider
  2. A password that was given to you by the service provider for your account/username
  3. DNS server IP addresses (optional)

 Note: All the settings done below are completely done using terminal. If you are using Puppy Linux then there will be a simpler user interface for this called roaring penguin. You can find it in Menu->Setup->Internet Connection Wizard. You can open it and follow up with this post or you can do it from terminal like other linux users.

How to make a DSL connection through terminal ?

  1. Now the main stuff. First of all open a terminal or console or konsole whatever you call it. Now type in "pppoe-setup" without the quotation marks and press enter.
 Note:If you are using ubuntu then you need to install pppoe. To download and install it type "sudo apt-get install pppoe" without the quotation marks.

  2. It will ask for username, type in the username given to you by your service provide as shown in below image

    3. Press enter and now it asks which ethernet interface it is connected to the DSL modem. By default it is "eth0"(see below image). 
      If you have more than one modems connected then you have to look for the correct ethernet interface in the network editor. If you have only one modem connected then leave the default connection to "eth0" and press enter.
   
      4. Then it will ask for demand value for internet connectivity(picture shown below). By default it is set to "no". Leave it as it is and press enter(in case you want to drop net connection after certain time of inactivity then enter the time after which the connection should be dropped in seconds and press enter)


         5. After that it will ask for DNS server IP addresses. If you don't have them don't worry. Just type in "server" without the quotation marks and press enter as shown below. This will ask the the service provider to the automatically assign the DNS server IPs.


  In case you have the IP's for the DNS servers(given specifically by the ISP provider) then you can enter them one after the other as shown below and press enter.



        6. After entering the DNS server IPs, it will ask for the password. Just type in the password given to you by the service provider and press enter. Then it will ask you to re-enter the password, just type it again and press enter.

        7. Now it will ask you to choose a firewall rules for the new connection as shown below. Choose according to your needs.



        8. Now as a final step it will ask you to check the details entered by you for the connection as shown below.

   

     If everything looks correct then enter "y" without the quotation marks and press enter. If it says "Congratulations, it should be all set up!" or something like that then it means your settings went well.

     Now to start your DSL coneection just type pppoe-start and press enter. Your connection should start. And to stop it type pppoe-stop and press enter.
     If you want to know that status of your connection. just type pppoe-status and press enter.

No comments:

Post a Comment