Skip to content

Ubuntu: BSNL Broadband Connection

  • SSP 

Holla…

My first post typed in from Ubuntu with it hooked to the net!!!

Just managed to configure the Broadband connection in Ubuntu!! Am on cloud nine, given the fact that I’d been struggling in vain for the past few months to get a few Linux flavours hooked on to the net. Believe me, There couldn’t be anything else that’s as simple as this!!

Here’s the trick ( if at all it could be called that!) for those novices ( obviously like me! ) who haven’t yet had luck configuring their systems.

1> Switch off your modem

2>Open the Network settings Dialog box ( System> Administration> Network)

3>Select ‘Wired Connection’ and click on the Properties.

4> In the ‘Connection Settings’ Menu select ‘Static IP ‘ type in the following values and save:

IP Address : 192.168.1.2

/* Assigning the Ethernet Card an IP different from that of the modem*/

Subnet Mask: 255.255.255.0

/* No idea why this value is always this πŸ™‚ */

Gateway address: 192.168.1.1

/* The Modem is being made the default gateway*/

5>Switch on the Modem and wait for a few minutes for the values to get recorded.

6>In the Terminal ( Applications>Accessories> Terminal) type ‘sudo pppoeconf’

6>A window pops with a blue screen notifying that an ethernet device has been found. Just follow the on screen instructions till you reach the screen which asks you for your BSNL UID and PASS. Ping in the values (after deleting the text Username from the line) and you’re done!! πŸ™‚

I’ve still got to figure out how to disconnect from the n/w though that shouldn’t be a big issue…..

[Update: 22-Oct-09]

Just type the following commands in the terminal:

sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up

sudo route add default gw 192.168.1.1 eth0

This could also do the trick.

90 thoughts on “Ubuntu: BSNL Broadband Connection”

    i have no idea what the whole post was about πŸ˜›
    never used anything except windows πŸ™‚

    thanks for the broadband connection in ubuntu.. i tried so hard to do that before this.

    You need to use it to realize how good it feels! I’m sure with the way it’s developing into a full fledged, highly user friendly OS You soon will get to hear about Ubuntu from all spheres.

    Kudos to Mark Shuttleworth and his Team!!

    Can we use the same trick in Kubuntu also?

    And, can we configure mode while using Ubuntu Live feature..?

    Not really!
    All that you need to do is to switch on your modem .
    Type ‘sudo pppoeconf’ in the terminal. Enter the root password and just keep selecting yes. At one point of time it’ll ask you for your Username and Password. Just ping that it and keep saying Yes. You then shouldn’t be having any issues with connectivity.

    I’ve never used Kubuntu. It must be working on the same lines though.

    Yes! You can get yourself hooked to the net even in Live cd mode.

    Even if you were in Windows, you’d have to wait for a couple of minutes for the system to identify the modem. So i believe the same applies here too! πŸ™‚

    sreekant i got a ubuntu live cd and a bsnl dataone connection
    1.what actually are benefit of using ubuntu for internet?
    2. i didnt got ethernet but i connect thru usb will there be any problem?

    Hey man….

    Thanks for this..

    This could be useful.. I am trying to shift from Windows to Open Source.. Ubuntu.. Linux for human beings.. Thanks mate you rock :)..

    THough.. havent installed the it yet.. ( Waiting to get home and go through your article again and install it mate.)..

    Thanks again.

    @ Anonymous
    Sorry I had to address you that way, but then that was the way you preferred πŸ™‚

    1)There’s nothing in particular that you gain by using Ubuntu solely for internet.Well yes, if once you have some issues with connectivity in Windows, the live cd with an active internet connection proves to be a mighty tool.
    That said, Ubuntu is pretty bland without connectivity to the net. To exploit various features of the OS you need to be connected to the network!

    2)I’ve never tried connectivity through USB. It shouldn’t be much of an issue resolving it though. Ubuntu has evolved to be pretty much a layman’s OS of late.

    Thanks for the information.
    I have successfully connected using this method, and it is extremely fast !

    Thanks again

    @ Jithin
    As said above I’ve not used BSNL through USB till date. On a wider scope you may want to go through these steps to get things working though.
    1) Give the router the following values before you start off:
    IP address: 192.168.1.2
    Subnet Mask: 2555.255.255.0
    Gateway:192.168.1.1
    This can be done through System> Administration> Network
    2)Check to see if your drivers are up to date.Probably if you could give me your modem details and h/w details I may be able to help you out.
    3)Could you let me know what the following commands in the terminal give:
    a)Sudo pppoeconf-> Configuring the pppoe
    b)Sudo lsusb -> Believe this should help in seeing if the modem is being recognised by the system.

    hi, every says….go to:
    taskbar==>system==>administrator==>network but i’m not able to find such an option under adminstrator.
    its networking tool, that consists only IP, ping, traceroute etc such protocol.
    what should i do?
    i hv tried in both ubuntu 8.10 and 9.04.
    and while in gnome after avery setup at last…whne pon dsl-provider…
    it says…..only member of dip can use this command..
    its frustrating me….help me to emerge frm this.

    i tried it but after pppcoenf it says found something but cannot scan the thing.I dont remember what the ‘thing’ is but i think u know what i am talking about!

    my modem is huawei smartax mt882

    @Jithin
    A bit of googling reveals that setting up BSNL broadband through USB in Ubuntu is a pain. Anyway, let’s see how far we can go.

    Did you get a message which had something like “access concentrator of your service provider failed to respond”?
    Probably you just need to update your drivers for the Modem to be recognized. I manged to get a set of drivers for your modem. You can access them HERE.
    This Rar’d file has detail how-to on installing a package in linux.So that shouldn’t be a problem. I suggest you do a bit of tweaking and get back to me with a log of the outputs. That’s the only way we can move forward.

    P.S : My domain would be down for maintenance on March14th form 05:00hrs to 17:00hrs

    so, all i need to do is just download copy this file into linux and follow the steps you previously told me?

    i’ll try that

    is there any time u can come in the afternoon online so we can chat and sort this out bcos otherwise this might take ages!

    in the document it said i need all this:

    “The pppd daemon, version 2.3.7 or later. If you are using demand-dialing, you need version 2.3.10 or later.

    For kernel 2.4, you need pppd 2.4. (These, and other required modules for Linux can be found at: http://www.rpmfind.net)

    A working Ethernet card.

    ADSL service, and an ADSL modem.

    You must be logged in as root to install and configure the software. If you are installing from sourcecode, you will need a complete C development environment installed (ie: compiler, make, linker, headers, libraries). GCC (GNU-C) is the most popular compiler for Linux, and can also be found on http://www.rpmfind.net or http://www.linuxapps.com, but most distributions of Linux come with GCC (or other compilers) installed already.

    Set up your Ethernet hardware (aka your Network Card [NIC])”

    i didnt understand the need for ethernet because i am using bsnl usb and bcos i am using ubuntu 7.10 i presume the others are already present in the latest version of ubuntu.so that means i dont need to do any extra downloading ,right?

    is there any direct software for installing into linux?i mean this is quite complicated …u have to type commands and all that.

    anyways thanks for the effort

    @ Jithin
    Sorry for the late reply. I was out of town and couldn’t check my blog.
    But for weekends, coming online is totally out of question.
    I’m afraid I can’t help you on the Oracle installation part.You may want to try out Wine for installing windows based applications on Linux. It works with a breeze but for a few restricted apps.

    hey srikanth
    I have installed ubuntu some time back but im unable to connect to the net.In the network window,connections tab there is no option of a wired connection,instead there is an option of modem connection.Pls help me out.

    sorry for the late reply,i swiitched from broadband to ethernet card and followed the steps on ubuntu india site,it didnt work well when i followed your steps,but their steps worked,
    thanks for the effort

    Dear friend
    Thank u for helping to connect bsnl broadband in ubuntu.
    u have a big mind to help me

    Thanks a lot…..thank you very very very much…
    it helped and i am doing great…
    thank you once again…
    you really rock!!

    I am trying to install internet with You Telecom broadband connection.
    You telecom gives cable broadband. One modem sits at the top of building, which is wired to all customers computers in the buillding.
    Any clue as to how do I configure this to connect to internet?

    Probably if you could give me details on how you connect to the network in Windows ( As in User authentication/ direct connectivity/ Client login ). I could be of some help.

    If in case your service provider requires you to install a software to get connected, we’ll have to look for a work around for that in Ubuntu.

    I remember finding equivalents to Beam Cable’s 24online client a few years back. But You Telecom, I’m not really sure. Shouldn’t be a big deal though

    thanks for replying. but i do not have windows installed πŸ™

    i can give you some specifics. the cable which connects to the laptop come from a common modem/router sitting at the top of builing. You telecom does not have their own software to configure the connection. They asked me to configure pppoe and i did that. However, even after that it is not able to connect.

    i know this clue is insufficient for you to help me. So i will get somebody’s windows laptop over the weekend and try the same on ubuntu.

    Again thanks.

    Hey,
    I just followed your steps and got connected. However, every 5-7 mins, I get disconnected and have to reconnect. Using plog I get a report saying: Modem hangup.

    Is there any way to resolve this?

    Thanks

    Hey,
    tq very much..ur info was so useful to me.
    I followed your steps said above and it worked well for first time.But when i logged on the next day i’m unable to connect to the internet.Tried the entire procedure once again but of no use.
    Plz help me

    Hey i bought BSNL 144 Kbps NIC card and am using Ubuntu, will anybody help me to configure NIC card in Ubuntu
    Card name:
    HUAWI
    model no:EC321
    Connection mode:Via Usb

    These are the information i know , they gave us an installation for windows its not good,
    actually i call to bsnl office to configure for Ubuntu But they dont know

    Please Help me:Thank you for comment

    Hey i bought BSNL 144 Kbps NIC card and am using Ubuntu, will anybody help me to configure NIC card in Ubuntu
    Card name:
    HUAWI
    model no:EC321
    Connection mode:Via Usb

    These are the information i know , they gave us an installation for windows its not good,
    actually i call to bsnl office to configure for Ubuntu But they dont know

    Please Help me:Thank you for comment

    log
    http://www.newseminar.co.cc

    @Sumanas
    You may want to check and see if the MTU value is set right.It’s supposed to be at about 1492 i believe. This comes somewhere when you’re setting up the
    connection.
    @Harish
    Try flushing the DNS. I’m not sure how much that would help though. πŸ™‚
    sudo /etc/init.d/networking restart
    @Remshad
    Hope
    this link helps.

    Tq for reply but in ur above said procedure u’ve not mentioned about DNS??i searched the net and added it as 61.1.96.71…is that ok?

    […] broad band connection too. Thanks to great blog about configuring Broadband in Ubuntu byΒ  Srikanth Perinkulam. Thanks buddy, great work. I must say it was a cake walk only because of hisΒ  […]

    To disconnect, you have to open a terminal and type

    sudo poff dsl-provider

    If you want to connect again, type

    sudo pon dsl-provider

    What I do is I have saved the first command in a text file named connect.sh and kept it on the desktop.
    When I want to connect, I double click on it, and then choose “run in terminal.” It prompts me for the password in the terminal, and then connects.

    Same can be done for disconnecting.

    hi man tried ur technique not workin im usin onboard ethernet card…and gettin da access concentrator error…cant ping default gateway either

    Hi, mate

    Any good idea to connect internet via wireless broadband modem? It is extremmely easy on Windows but I have to give it up couple months ago on Ubuntu.

    Cheers,

    Gordon

    hi brother..pls help me…
    i had connected through this method earlier in my old version 8.04..n it was a big success..thanks for that!!
    now i hav upgraded to new version 8.10..but this methode is not workin in 8.10..wat to do?the prb is i couldnt find where to change the ip address!!

    @Gordon
    I’ve never really tried the wireless part. Shall let you know if I find any leads.
    @Hima
    Configuring BSNL broadband in Ibex is much easier.
    Edit the ip address in the ‘Wired’ tab of Network Configuration
    System>Preferences>Network Configuration
    and then hit your terminal and follow the regular process. You’ll be firing in a few minutes πŸ™‚

    when i enter the command sudo pppoeconf, it shows like this:
    I found 1 ethernet device:
    eth0
    Are all your ethernet interfaces listed above? (If No, modconf will be started so you can load the card drivers manually).

    when i say yes then it starts detecting and then:

    Sorry, I scanned 1 interface, but the Access
    Concentrator of your provider did not respond. Please
    check your network and modem cables. Another reason
    for the scan failure may also be another running pppoe process which controls the modem.

    i have a d-link glb 802c modem and the problem is that i cant connect in windows..(dual shock)..i use ubuntu 8.04…..and all my modem cables are connected and the adsl light is stable…..and my laptop(ubuntu 8.04)shows the same error..

    hell i even tried the 7.10 live cd but it showed exactly the same error….i switched off the modem and entered the command sudo pppoeconf it the same error…i thing ubuntu does not detect my modem

    @fahad
    ‘i have a d-link glb 802c modem and the problem is that i cant connect in windows..(dual shock).’ You seem to be contradicting your own statement. Does windows recognise your modem? Could be that there’s an issue with the modem itself.

Comments are closed.

To respond to old posts or to get in touch, please reach out via micro.blog, mastodon or pixelfed.