Copyright © 2005 Y Giridhar Appaji Nag
2007-01-26
| Revision History | ||
|---|---|---|
| Revision 0.5 | 2007-01-26 | Revised by: ygan |
| Add alternate sancharnet DNS servers information. | ||
| Revision 0.4.1 | 2006-04-08 | Revised by: ygan |
| Correct link to the CPE installation document. | ||
| Revision 0.4 | 2005-11-21 | Revised by: ygan |
| Add UT-Starcom-HOWTO link, DNS/POP/SMTP server info and usage information. | ||
| Revision 0.3 | 2005-06-26 | Revised by: ygan |
| Corrections in the MT880 section, added a FAQ | ||
| Revision 0.2 | 2005-06-25 | Revised by: ygan |
| Instructions to use the SmartAX MT880 builtin dialer | ||
| Revision 0.1 | 2005-05-11 | Revised by: ygan |
| Convert the HTML document to DocBook/XML | ||
This document primarily has instructions on HOWTO use the routers that BSNL gives out to its subscribers using the builtin PPPoE dialer in the router. The advantage of using the builtin PPPoE dialer is that you would not have to configure PPPoE on different OSes that you use. Some other information on using the DataOne service has been provided here.
The usage information would vary from router to router based on its make and model. Please send information about any other modem/router or specifics of other operating systems that you may have configured, so that I can included it here. There is a FAQ at the end of the document.
The latest version of this document is available at the BSNL DateOne ADSL HOWTO home page.
This document, the BSNL DateOne ADSL HOWTO, is distributed under the terms of the GNU General Public License. The word Program in the license is to be interpreted as document. The term source code refers to the DocBook/XML format of this document and the term object code refers to one, many or all the other formats that this document is available in, after conversion from the source code.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. A copy of the license is available at http://www.gnu.org/licenses/gpl.txt.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
All copyrights are held by their by their respective owners, unless specifically noted otherwise. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark. Naming of particular products or brands should not be seen as endorsements.
The routers distributed with the BSNL DateOne connections have a PPPoE dialer in the router software. The advantage of using the builtin PPPoE dialer is that you would not have to configure PPPoE on different OSes that you use on your PC, and the router faces the internet with the publicly assigned IP address. The disadvantage is that you cannot examine the traffic between the router and the external world unless the packets come to the machine connected to the machine connected to the router (e.g. PPPoE authentication traffic).
Admin interface username/password: admin/admin
Router IP Address/Netmask: 192.168.1.1/255.255.255.0
The router can be reset to its factory defaults either by selecting -> and clicking on ) or via the Reset pin-hole next to the power switch of the router.
After following the instructions in this section, you should be able to use the router without a PPPoE dialer on your machine. Further sections discuss advanced features and options.
Enable network connectivity on your computer with the following settings:
IP Address: 192.168.1.2 Gateway: 192.168.1.1 Netmask: 255.255.255.0
Connect to the administrative interface of the router via http://192.168.1.1/ using the default username:password (admin:admin).
NOTE: In what follows, the configuration pages change with change in input selection. For e.g. with ->, there is no entry, and it appears only after you select in the .
Under, ->, change the following:
In the pull down menu ...
Select and
Set (Default)
->
->
-> (Don't know how this name is used).
PPP
Username: userid@dataone (or just userid) Password: deluser2005 (the assigned password) Use DNS: Enable Configured MTU: 1452
Click on .
Click on the icon next to , and in the new window that pops up, set:
PPP Status
Status: Always On
Click on . And you should get ..
PPP Status
WAN IP Address: 59.92.138.92 Gateway IP Address: 59.92.138.1 Oper. Status: Link Up
Click on
After the above step, you should be able to use the router without a dialer on your machine. The router will dialout automatically and authenticate itself when it is powered up (the ADSL ACT LED will glow after the authentication is successful).
Go to -> and select Save.
The machine can now be used to connect to the net with a networking configuration as follows:
IP Address: 192.168.1.abc Gateway: 192.168.1.1 Netmask: 255.255.255.0
->
Diagnostics
Select PVC-0
Click on .
Note: The above step will change the WAN IP Address (the IP address of your router as it is visible outside your network) assigned to you.
This section would be useful if you want to gather some useful information to configure and use your router/connected machine in a better way (also see the section on Debian specific information). The names for various IP Address values etc. used later in the document are defined in the following LAN Config and IP Route sections.
At ->->
LAN IP Address: 192.168.1.1 = router.lan.ip.addr (This can be set to some other value like 10.0.0.1)
LAN Network Mask: 255.255.255.0 = router.lan.net.mask (If the LAN IP Address is set to 10.0.0.1, you would want to change the router.lan.net.mask to a suitable value, like 255.0.0.0)
At ->->
The IP Route routing table will have the routes configured for the following:
The WAN IP Address of the router from PPP Status - 59.92.138.92
The Gateway IP Address for the router from PPP Status - 59.92.138.1
The LAN IP Address of the router from LAN Config - 192.168.1.1 (router.lan.ip.addr)
The Gateway IP Address for the LAN from LAN Config - 192.168.1.1 (lan.gateway.ip.addr)
The Netmask for the machines on the LAN from LAN Config - 255.255.255.0 (router.lan.net.mask)
The Primary DNS server assigned - 61.1.96.69 (dns.server.ip.pri)
The Secondary DNS server assigned - 61.1.96.71 (dns.server.ip.sec)
->->
None:
Use the following to configure networking on the machine connected to the router.
IP Address: 192.168.1.abc Gateway: lan.gateway.ip.addr Netmask: router.lan.net.mask
DHCP Server:
Edit the Table / Add to restrict the range of IPs leased out and the time duration for which they are leased out. Configure networking on the machine so that DHCP uses either broadcast mode, or uses router.lan.ip.addr as the DHCP server.
DHCP Relay:
Add the IP Address of the DHCP server (if not using broadcast mode) in DHCP Server IP and configure the machine connected to the router as a DHCP client.
->->
->
Enable
Configure the machines to use router.lan.ip.addr as the DNS server.
Disable
Configure the machines to use dns.server.ip.pri and dns.server.ip.sec as the primary and the secondary DNS servers respectively.
-> :
These settings can be used to control the firewall rules, RIP, QoS, port blocking. Read the manual that is bundled along with the router for information on these configuration options.
Admin interface username/password: admin/admin
Router IP Address/Netmask: 192.168.1.1/255.255.255.0
After following the instructions in this section, you should be able to use the router without a PPPoE dialer on your machine.
Enable network connectivity on your computer with the following settings:
IP Address: 192.168.1.2 Gateway: 192.168.1.1 Netmask: 255.255.255.0
Connect to the administrative interface of the router via http://192.168.1.1/ using the default username:password (admin:admin).
Under SmartAX MT880, go to ->, do the following:
In the pull down menu ...
-> and
and ...
->
->
->
Under PPP, enter your user name and password.
Username: userid@dataone (or just userid) Password: deluser2005 (the assigned password)
Click on .
Navigate to ->-> on the left panel.
Click on . After this, a few tests will be carried out to test the connection. The first three test results should be a PASS. (The rest of the tests will either be SKIPPED or FAILED. It is safe to ignore those.
After the above step, you should be able to use the router without a dialer on your machine.
At ->->
Click on
After restarting the router, the PC can be used to connect to the net with a networking configuration as follows:
IP Address: 192.168.1.abc Gateway: 192.168.1.1 Netmask: 255.255.255.0
->->
Click on .
Note: The above step will change the WAN IP Address (the IP address of your router as it is visible outside your network) assigned to you.
-> :
These settings can be used to control the firewall rules, RIP, QoS, port blocking. Read the manual that is bundled along with the router for information on these configuration options.
Varun Soundararajan has a HOWTO for configuring the UT Starcom UT-300R router. I have not had the time to incorporate instructions that Varun sent across to me in this HOWTO yet.
If ->-> is
None:
in /etc/network/interfaces use
iface eth0 inet static
address 192.168.1.abc
netmask router.lan.net.mask
gateway lan.gateway.ip.addr restart networking (sudo invoke-rc.d networking restart)
DHCP Server:
install a DHCP client (sudo apt-get install dhcp-client or sudo apt-get install dhcp3-client) and in /etc/network/interfaces use
iface eth0 inet dhcp
Modify the /etc/dhcp/dhclient.conf to suit your needs, and restart networking (sudo invoke-rc.d networking restart)
DHCP Relay:
Modify the /etc/dhcp/dhclient.conf to suit your needs and restart networking (sudo invoke-rc.d networking restart)
->->
If -> is
Enable:
if the resolvconf package has not been installed (to install the resolvconf package, use sudo apt-get install resolvconf), add a "nameserver router.lan.ip.addr" line in /etc/resolv.conf.
if the resolvconf package has been installed installed, add a "dns-nameservers router.lan.ip.addr" line after the gateway line in /etc/network/interfaces
restart networking (sudo invoke-rc.d networking restart)
Disable:
if the resolvconf package has not been installed add the following lines in /etc/resolv.conf:
nameserver dns.server.ip.pri nameserver dns.server.ip.sec
if the resolvconf package has been installed installed, add a "dns-nameservers dns.server.ip.pri dns.server.ip.sec" line after the gateway line in /etc/network/interfaces
restart networking (sudo invoke-rc.d networking restart)
Install and use a small caching name server locally (like pdnsd, which is very easy to configure)
BSNL recommends using the RASPPPoE dialer that can be downloaded from http://www.raspppoe.com. Installation and configuration instructions are available from the same site for Windows 2000/XP/.NET, Windows 95/98/98SE/ME and Windows NT 4.0.
However, note that using the router's builtin PPPoE dialer as discussed in previous sections is much more simple and safe method of using the ADSL service.
A: The IP addresses of the DNS servers are 61.1.96.69 and 61.1.96.71
A: Other sancharnet DNS servers are 218.248.255.161 and 218.248.255.193. You can also try using the DNS servers that are used by DIAS users (the IP addresses are 61.1.128.65 and 61.1.128.5).
If the DataOne DNS servers are unresponsive, install a caching DNS server like pdnsd locally and use it.
A: Visit http://10.240.43.216 using Internet Explorer (other browsers are not supported), logon with your current username (the userid part of userid@dataone) and password and select the option for changing the password. Note that you will be able to reach the above server only if you are logged on to the DataOne service, and you are on the BSNL network.
A: Visit http://dataone.in and use your login id and password to send and receive email or to change your email account password.
A: The POP server for DataOne subscribers is one of smma.sancharnet.in (southern region), wmma.sancharnet.in (western region) or nmma.sancharnet.in (northern region) and the respective SMTP servers are smra.sancharnet.in, wmra.sancharnet.in and nmra.sancharnet.in.
A: Visit http://10.240.43.216 using Internet Explorer (other browsers are not supported, though success has been reported with Opera), logon with your current username (the userid part of userid@dataone) and password and select the option for checking data transfer statistics.
The DataOne Broadband Statistics script is useful to check your usage.
Note that you will be able to use the above methods only if you are logged on to the DataOne service, and you are on the BSNL network.
Comments and suggestions regarding this document may be sent to
<giridhar@appaji.net>. Please point out any mistakes,
omissions, broken links and possible improvements so that they can
be incorporated in future revisions of the document. In case you
have additions and improvements that would change major portions
of the document, it would be great if you could send them as a
patch against the latest DocBook/XML version.
The author of this document has the pleasure of acknowledging the following people who have contributed to this document by sending in comments and suggestions for improvements.
The folks on #linux-india (Soumyadip Modak, Vishal Rao etc.) on irc.freenode.net for suggesting that I write this document.
Saloni - <salspeaks (at) yahoo.com> for the
information on using the built-in dialer of the SmartAX MT880.
Edward Irwin <edward_irwin (at) yahoo.com> for
the section on Windows PPPoE configuration using RASPPPoE.
The engineering instructions document detailing the installation of the BSNL ADSL CPE (Customer Premises Equippment) is available at http://www.tnd.bsnl.co.in/eiadslcpe.pdf.