ADSL Configuration from Linux

From FOSS Nepal Community Wiki
Jump to: navigation, search

- Shishir Jha

Hello to all, with the recent launch of ADSL, there is a excitement in all the internet user because of the prospect of using high speed, unlimited and cheap internet. But as with all the other services introduced by NTC, there is a mass confusion among the users about the technicality of the service. Since I am already connected to the ADSL and know the process, I thought I ease the process of acquiring the ADSL modem for others. In this short tutorial I am going to prepare a checklist for getting the ADSL connection and getting it up and running. So, here we go # First of all, please download the form for ADSL from this link, this very form is also available in local exchanges.

  1. Fill up the form, and make sure you know whose name the phone is in, in which you plan to get the ADSL. Fill it and get it signed by the owner. For the verification purpose you need a copy of nagarikta, and the original
  2. Go to the exchange near to you, or the one where you pay your bill, and get the form registered. For the registration to complete, you will have to get the records of the phone checked, I am sure the internet people will direct you to the record counter.
  3. After checking the record your application will be registered, they will probably tell you to give them a week's period to process the form. Don't be startled blaming the week long wait on NTC's efficiency, there is some complex switching and jumper change involved before you can get connected to the internet through ADSL in exchange side.
  4. During the week if you want you can go hunt for a modem, details below, and buy one if you are satisfied go ahead.
  5. After a week long wait when you get the call, you will be required to pay rs. 500 for activation and then the monthly charge depending uposn the plan you choose.
  6. After paying the money they will give you your account name and password. At this point your work at NTC is done and you can hope that all that needs to be done is done.
  7. Now back home/office where you are going to use ADSL, there few things that needs to be done.
    1. For the ADSL to work, you will need a modem, mind you this is not the same modem that you use dial up with, a PPPoE client to dial to the internet and a splitter.
    2. The modem depending upon your use, could be any of the following
      1. Modem only – you will have a modem where you insert your phone line and then use the computers PPPoE client to connect using either ethernet cable or USB cable.
      2. Modem + Router – you will have a router and modem in one package where by the phone line in the modem is connected directly to the internet by router's PPPoE client. You connect to the computer using an ethernet cable. Depending upon the device it might have a single ethernet port or 4 port.
      3. Modem+Router+Wireless – same as above but with a wireless facility too.
    3. So whatever modem you choose there are some ground configuration that needs to be figured out.
    4. So first thing that needs to be done is to turn the modem according to the device manual (I.e. it includes powering up, connecting the phone and ethernet/USB lines to the computer)
    5. After the connection, the next thing to do is to install any software provided by the device manufacturer in the computer if it is only a modem, for people using the ADSL router, open the web interface with the specified IP from a browser of your choice. If you are asked for username and password refer to your manual.
    6. Now having done this much, the next step is to find whether your ADSL signal has synced to the exchange or not. It is pretty, in the front panel where you have your status LEDs if the DSL/link LED blinks for a while and then stabilizes, that means your good to go. If not, then you need to troubleshoot, for which you can use your devices manual.
    7. Having done that much, for the modem, you can choose to create a new connection from the Network connection and follow these steps (for windows)
      1. Go to Network connection
      2. Create a new network connection
      3. Choose connect to internet and set my connection manually
      4. Choose connect using broadband connection that requires username and password
      5. Enter your information given to you by NTC
      6. After the connection is done dial out and enjoy your internet.
    8. For the guys with router, open your router's page through the browser, next find the tab with WAN settings. In there make sure that these settings are set
      1. VCI/VPI → 8/81
      2. PPPoE for dialing
      3. VC/MuX for Multiplexing
      4. Enter your username and password
      5. Leave the IP that you get from the server to be dynamic not static
      6. Enable your DHCP and NAT
      7. Save the setting and then dial out to see if you get connected or not.
    9. Hopefully at this point you are connected to the internet and enjoying your ADSL connection.
    10. For linux, as far as the router is concerned nothing much needs to be done, just leave your connection to DHCP and you will get an IP to use the net. For modem follow these steps
      1. Connect the ethernet cable/USB cable
      2. Go to console, and then login as root
      3. type 'pppoeconf' and then follow the instructions to enter username and password and if you are asked anything that you don't understand, just leave the default value and you will be done
      4. After that issue this command 'pon dsl-provider' and issue 'plog' to see the log
      5. Enjoy the internet.
    11. Hope you have everything the way you want.

Troubleshooting hints for ADSL

  1. One of the most common problem that I have seen around here these days is that fact that no jumpering done on the NTC side after the payment of money. As I explained earlier, there are some jumpering and wiring changes that needs to be done on the exchange side to connect you to the ADSL line. So, the simplest way to know whether that has been done or not is to connect your line to the modem and see the LED that indicates your ADSL line state. Usually, if the jumpering is done, then the LED blinks, indicating that there is a presence of DSL signal, after sometime the LED will glow constantly, this will indicate that the signal has synced and is ready for use. If your LED is not lit, than it means that your connection has been activated yet. Call NTC and find out what is happening.
  2. For Router users, you can confirm you line quality and connectivity by checking the ADSL status tab in your router's interface. It should have ADSL 2+ or so for modulation type, and these values for others, (taken from my router)
    1. DSL Status: Connected DSL
    2. Modulation Mode: MultiMode
    3. DSL Path Mode: Interleaved
  3. Next problem is the fact that you have a confirmed status of ADSL but your username and password is not valid. The major cause for this is the fact that, you paying the money is no guarantee that the account has been created for your phone in the ZTE's BRAS, the authentication server. This can be easily verified if you have a router by checking its log page for the error that has occurred. If this is the problem, I suggest you, well call up NTC and find out your account status. You can call the internet section for this straightly. The number can be obtained from 197 enquiry.
  4. Another problem that I have seen is entering or not changing the value of VCI and VPI in the routers and certain modems. Please make sure it 8/81before dialing.