Skip to main content
  1. Archives/

[How To]Setup a BSNL DataOne BroadBand connection or a DSL Connection in Linux

··431 words·3 mins·
Tips & How-To's Commands Linux Tutorials

Remember that all these assumes that your router is connected to the LAN port, if it’s connected to the USB port, then disconnect it and connect to the LAN port. If you dont have a LAN card, then consider getting one. It’s cheap, costs around Rs. 200. 

Next, it’s best to have the router configured in pppoe mode. In this case you just have to switch on the router, the router and DHCP will take care of the rest. 

If you’re unsure whether your router is in PPPoE more or bridge mode, If you have used a dialer in Windows, then your router is in bridge mode. In this case, open the terminal and type 

sudo pppoeconf

Next, answer yes to all questions and enter the username and password when prompted. 

Please note that this is a one type setup. 

To connect, open the terminal and type 

pon dsl-provider

To terminate the connection type 

poff

Please note that I still recommend configuring your router to PPPoE mode for hassle-free net connection under Linux. if anyone else has or uses a different method, then do please mention them in the comments.

If you don’t want to use the terminal for connecting/disconnecting then, follow the below steps:.

Note that the one-time setup has to be done as mentioned above. Once this is done, to create an icon for launching the connection, 

Right click on the desktop and Click on Create Launcher. In the Type dropdown list, choose Application in Terminal. Give a name like, Connect to DataOne. In the command type 

pon dsl-provider

Click OK. That's it! Double click on the icon to Connect!

For Fedora, follow the below mentioned steps

Launch the terminal. Type 

adsl-setup

It will ask for

Enter your Login Name

Type

<username>@dataone

for eg: if username is SathyaSays then enter 

SathyaSays@dataone for username 

Next it will ask for

Interface

Type

/dev/eth0

<- note it is eth0(ie, the number 0, not the letter o) 

Next when prompted for 

Enter the demand value

just press enter 

Next it will ask 

Please enter the IP address of your ISP’s primary DNS server

Just type server

Next it will ask for

PASSWORD

Enter the password of your Dataone/DSL account

Next, it will ask for

USERCTRL

type yes or just press enter 

Next it will ask for

FIREWALLING

type 1

Finally it will ask for 

Do you want to start this connection at boot time?

Type

no

This is the one type setup. 

To start the connection type 

adsl-start

To terminate the connection type 

adsl-stop

To know the status of the connection type 

adsl-status

Sathyajith Bhat
Author
Sathyajith Bhat
Author, AWS Container Hero and DevOps Specialist.

Related

[How To] Opening and Reading CHM [Compiled HTML Files] In Linux
··166 words·1 min
Tips & How-To's Linux Tutorials
In my stash of ebooks, quite a few of them are in chm (compiled HTML) file format. Being HTML files I though they’d open in Mozilla Firefox browser. Unfortunately that didn’t work, so I started looking for CHM viewers. I didn’t have to look far, a quick search on Google gave me couple of programs. KChmViewer: Since I’m a KDE user I tried out this application - and it works fantastic.
[How-To]Mounting LVM partitions from a command prompt or a Root Shell
··404 words·2 mins
Tips & How-To's Commands Linux
Today as I booted into my openSUSE box, for reasons unknown to me, my LVM partitions failed to mount. fsck didn’t help, and and LVM based container system meant that I couldn’t use the standard mount /dev/sdxx style of mounting as well. With my /home and / configured as a LVM, the root (/) partition was active, but the /home partition was not being mounted, as a result, X and KDM wouldn’t start, giving a console login.
A Handy Wallpaper Displaying Most Common Linux Commands
··27 words·1 min
Tips & How-To's Commands Linux
In the past I’ve done couple of posts explaining few of the common commands. A handy one-glance reference guide is always nice, and found this on Reddit.