Currently browsing tag

Internet

Configure Beetel 110TC1 ADSL2+ Router for BSNL

Last week I had to buy the Beetel 110TC1 ADSL2+ router from the open market after my Huawei router purchased from BSNL broke down due to power fluctuations.

The steps to configure Beetel 110TC1 router for BSNL broadband (Dataone) is as follows, the steps remain the same regardless of the operating system (I have Linux Mint 12 in my system):

  • Connect the Ethernet cable, telephone line and the power line to the modem and switch on your machine and the modem.
  • Open your favourite browser and type in 192.168.1.1 in the address bar.
  • Enter admin as the username and password as the password in the popup window and press enter.
  • You should be greeted with the Beetel 110TC1 configuration page.
  • Click on Interface Setup
  • For Virtual Circuit, you can choose either the default PVC0 or PVC2. If you choose PVC0, then you need to set VPI = 0 and VCI = 35 (This is specific to BNSL). If you choose PVC2, the default values are 0 and 35.
  • Ensure that status of the Virtual Circuit is ‘Activated’.
  • Under the ‘PPPoA/PPPoE’ section enter the user name/password combination provided by BSNL. For me the username as first two characters of my first name follower by my telephone number along with the STD Code. That is ni80xxxxxxxx. The password is ‘password’.
  • Save your changes.
  • The next step is to set the DNS entries, navigate to the sub-tab ‘LAN’ under ‘Interface Setup’.
  • Under DHCP, change the DNS Relay to ‘Use User Discovered DNS Server Only’.
  • I use OpenDNS, hence set the values of Primary and Secondary DNS to the values provided by OpenDNS which is 208.67.222.222 and 208.67.220.220
  • Save the changes and you should now be able to connect.

Connecting to net using Huawei EC325 on Linux

Huawei E325 Data Modem
Couple of years back I had taken a internet connection from Tata Indicom (CDMA Wireless). I purchased the Huawei EC325 modem which uses a USB cable to connect to the PC. My inital reaction was since it was a USB connection and was using a custom software to connect to the net, it would not be possible to connect to the net in Linux using this modem.

After full two months, I finally gave up my laziness and did a quick search. I tried out the first solution offered and it worked out in the first try itself, how often does that happen. It took me a total of 10 mins including searching, restarting and configuring to get connected to the net in Linux.

Here is the procedure to get Huawei EC325 Data Modem in Linux:-

  1. Open a terminal window.
  2. Log in as root, i.e. type “su -” sans the quotes and enter the root password.
  3. Then use vi to edit/create the following file “/etc/wvdial.conf”.
  4. Enter the following text into it.
    [Modem0]
    Modem=/dev/ttyUSB0
    Baud=115200
    SetVolume=0
    Dial Command = ATDT
    init1=ATZ
    init2=AT+CRM=1
    FlowControl= Hardware (CRTSCTS)
    [Dialer tata]
    Username= internet
    Password= internet
    Phone=#777
    Stupid Mode= 1
    Inherits = Modem0
  5. In the above change the Modem=/dev/ttyUSB0 to what ever your device name is, you should be able to see it while the OS is booting, else give the “dmesg” command and search in that.
  6. Final step is give the command “wvdial tata”, and if everything is proper you should now be connected to the net.
  7. Press “Ctrl+c” when you want to disconnect.

I have tried this on SuSE 10.1 and it should work on any latest release of any Linux system. Also I had this system configured for net access for BSNL dataone service before, so am not absolutely sure if you have to do any DNS settings or not. But it should work regardless of it.

Great to be back into the Linux world again. :-)