This site deals with a lot’s of Internet Tips and tricks So, stay updated
Bsnl Broadband On Linux
I am putting this thread to help you with the BSNL broadband. I have searched a lot thrugh Google, but I am not able to get the proper result’s for BSNl connection through linux box.This document describes howto setup bsnl broadband service on your gnu/linux server/desktop. It assumes that you are neither linux beginer nor an expert, but It assumes that you are aware of basic gnu/linux commands.
I hope you have configured your network interface,(if not then I am going to post a similar post about how to configure it).
I have installed it on redhat 10. It is expected to work on following distributions:
An unofficial FAQ on Dataone can be found here.
* Please ensure that you have connected a working ethernet card which is supported on gnu/linux. Test the ethernet card & ensure that it is working.
* Root access to a gnu/linux box
Before we start, please ensure that you have the following details on hand:
* BSNL Broadband connection -:)
* Username & Password
Using RP-PPPOE as dialer:
1) Installation: Bsnl network uses PPPOE dialer to connect the network.So,you must install this dialer if it’s not present in your Sytem.
RPM Package GUI
Now, after downloading this file , navigate to that folder and type a cmd to install.
# rpm -vih rp-pppoe-gui-3.5-1.i386.rpm
It would install a package, after that you can proceed to next step.
Command Useful for Setup:
adsl-setup – to configure the connection parameters
adsl-start – to start the connection
adsl-status – to check status of the connection
adsl-stop – to stop the connection
Now proceed as give below:
Welcome to the Roaring Penguin ADSL client setup. First, I will run
some checks on your system to make sure the PPPoE client is installed
Looks good! Now, please enter some information:
>>> Enter your PPPoE user name (default_test@dataone):
>>> Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where ‘n’ is a number.
Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter ‘no’ (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default no):Normally you can leave it blank
Please enter the IP address of your ISP’s primary DNS server.
If your ISP claims that ‘the server will provide DNS addresses’,
enter ‘server’ (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: 220.127.116.11
Please enter the IP address of your ISP’s secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
>>> Enter the secondary DNS server address here: 18.104.22.168
>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:
Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose ‘NONE’ and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.
The firewall choices are:
0 – NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 – STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 – MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
>>> Choose a type of firewall (0-2): 2
** Summary of what you entered **
Ethernet Interface: eth0
User name: test@dataone
Primary DNS: 22.214.171.124
Secondary DNS: 126.96.36.199
>>> Accept these settings and adjust configuration files (y/n)? y
(But first backing it up to /etc/resolv.conf-bak)
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
(But first backing it up to /etc/ppp/pap-secrets-bak)
(But first backing it up to /etc/ppp/chap-secrets-bak)
Congrats, Now it should be all done.
Just type adsl-start to begin the connection.