<?xml version="1.0" encoding="ISO-8859-1"?>

<!--

The version history of this document, along with the comments is at the
end of the file.

Last modification info:
$Id: bdah.xml 1224 2007-04-06 14:28:45Z appaji $

-->

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
     "/usr/share/sgml/docbook/dtd/4.1/docbook.dtd">

<article>

<articleinfo>

  <!-- Use "HOWTO", "mini HOWTO", "FAQ" in title, if appropriate -->
  <title>BSNL DateOne ADSL HOWTO</title>
  <titleabbrev>BDAH</titleabbrev>

  <copyright>
    <year>2005</year>
    <holder>Y Giridhar Appaji Nag</holder>
  </copyright>

  <authorgroup>

    <author>
      <firstname>Giridhar</firstname>
      <othername>Appaji Nag</othername>
      <surname>Y</surname>
      <affiliation>
        <address>
          <email>giridhar@appaji.net</email>
        </address>
      </affiliation>
    </author>

  </authorgroup>

  <!-- All dates specified in ISO "YYYY-MM-DD" format -->
  <pubdate>2007-01-26</pubdate>

  <!-- Most recent revision goes at the top; list in descending order -->
  <revhistory>

    <revision>
      <revnumber>0.5</revnumber>
      <date>2007-01-26</date>
      <authorinitials>ygan</authorinitials>
      <revremark>Add alternate sancharnet DNS servers information.
      </revremark>
    </revision>

    <revision>
      <revnumber>0.4.1</revnumber>
      <date>2006-04-08</date>
      <authorinitials>ygan</authorinitials>
      <revremark>Correct link to the CPE installation document.
      </revremark>
    </revision>

    <revision>
      <revnumber>0.4</revnumber>
      <date>2005-11-21</date>
      <authorinitials>ygan</authorinitials>
      <revremark>Add UT-Starcom-HOWTO link, DNS/POP/SMTP server info and
      usage information.</revremark>
    </revision>

    <revision>
      <revnumber>0.3</revnumber>
      <date>2005-06-26</date>
      <authorinitials>ygan</authorinitials>
      <revremark>Corrections in the MT880 section, added a FAQ</revremark>
    </revision>

    <revision>
      <revnumber>0.2</revnumber>
      <date>2005-06-25</date>
      <authorinitials>ygan</authorinitials>
      <revremark>Instructions to use the SmartAX MT880 builtin dialer</revremark>
    </revision>

    <revision>
      <revnumber>0.1</revnumber>
      <date>2005-05-11</date>
      <authorinitials>ygan</authorinitials>
      <revremark>Convert the HTML document to DocBook/XML</revremark>
    </revision>

  </revhistory>

  <!-- Provide a good abstract; a couple of sentences is sufficient -->
  <abstract>

    <para>
    
      This document has instructions on HOWTO use the routers that BSNL
      gives out to its subscribers using the builtin PPPoE dialer in the
      router.  Some other information on using the DataOne service has
      been provided

    </para>

    <para>

      Document last updated $Date: 2007-04-06 19:58:45 +0530 (Fri, 06 Apr 2007) $.

    </para>

  </abstract>

</articleinfo>

<!-- Content follows...include introduction, license information -->
<sect1 id="introduction">

  <title>Introduction</title>

  <sect2 id="about-howto">

    <title>About this HOWTO</title>

    <para>
    
      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.

    </para>

    <para>
    
      The usage information would vary from router to router based on
      its make and model. Please <ulink
      url="http://www.appaji.net/contact/">send</ulink> 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.

    </para>


  </sect2>

  <sect2 id="latest-version">

    <title>Keeping up-to-date</title>

    <para>

      The latest version of this document is available at the <ulink
      url="http://www.appaji.net/stuff/dataone.html">BSNL DateOne
      ADSL HOWTO home page</ulink>.

    </para>

  </sect2>

  <!-- Legal Sections -->
  <sect2 id="license">

    <title>Document license</title>

    <!-- The LDP recommends, but doesn't require, the GFDL -->
    <para>

      This document, the <emphasis>BSNL DateOne ADSL HOWTO</emphasis>,
      is distributed under the terms of the <citetitle>GNU General
      Public License</citetitle>.  The word <emphasis>Program</emphasis>
      in the license is to be interpreted as
      <emphasis>document</emphasis>. The term <emphasis>source
      code</emphasis> refers to the DocBook/XML format of this document
      and the term <emphasis>object code</emphasis> refers to one, many
      or all the other formats that this document is available in, after
      conversion from the <emphasis>source code</emphasis>.

    </para>

    <para>

      This program is free software; you can redistribute it and/or
      modify it under the terms of the <citetitle>GNU General Public
      License</citetitle> 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 <ulink
      url="http://www.gnu.org/licenses/gpl.txt">
      http://www.gnu.org/licenses/gpl.txt</ulink>.

    </para>

    <para>

      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

    </para>

  </sect2>

  <sect2 id="disclaimer">

    <title>Disclaimer</title>

    <para>

      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.

    </para>

    <para>

      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.

    </para>

  </sect2>

</sect1>

<sect1>

  <title>ADSL routers for DateOne</title>

  <sect2>

    <title>Generic router features</title>

    <sect3>

      <title>Builtin PPPoE dialer</title>

      <para>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).  </para>

<!--

<warning> <para>To protect your machine from being compromised by
crackers on the internet, At <menuchoice> <guimenu>SmartAX
MT800</guimenu> <guisubmenu>Advanced Function</guisubmenu>
<guimenuitem>IP Filter</guimenuitem> </menuchoice>, select High in the
Security Level pull down menu.  </para> </warning>

-->

    </sect3>

  </sect2>

  <sect2>

    <title>Huawei SmartAX MT800 ADSL router</title>

    <sect3>

      <title>Few (factory) default settings</title>

      <itemizedlist>

      <listitem>
        <para>
          Admin interface username/password:
          <literal>admin/admin</literal>
        </para>
      </listitem>

      <listitem>
        <para>
          Router IP Address/Netmask:
          <literal>192.168.1.1/255.255.255.0</literal>
        </para>
      </listitem>

      </itemizedlist>

      <para>The router can be reset to its factory defaults either by
      selecting <menuchoice> <guimenu>Save &amp; Reboot</guimenu>
      <guimenuitem>Factory Setting Reboot</guimenuitem></menuchoice> and
      clicking on <guibutton>Submit</guibutton>) or via the
      <literal>Reset</literal> pin-hole next to the power switch of the
      router.</para>

    </sect3>

    <sect3 id="mt800-config">

      <title>Router as a PPPoE dialer/client</title>

      <para>

        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.

      </para>

      <sect4>

        <title>Enable networking on the PC</title>

      <para>Enable network connectivity on your computer with the
      following settings: </para>

<screen>IP Address: 192.168.1.2
Gateway: 192.168.1.1
Netmask: 255.255.255.0</screen>

      </sect4>

      <sect4>

        <title>Connect to the router</title>

      <para>Connect to the administrative interface of the router via
      <literal>http://192.168.1.1/</literal> using the default
      username:password (<literal>admin:admin</literal>).  </para>

      <para>NOTE: In what follows, the configuration pages change with
      change in input selection.  For e.g. with
      <menuchoice> <guisubmenu>Connection Type</guisubmenu>
      <guimenuitem>RFC2684 Bridged</guimenuitem>
      </menuchoice>, there is no
      <guimenuitem>PPPoA/PPPoE</guimenuitem> entry, and it appears only after
      you select <guimenuitem>PPP</guimenuitem> in the <guisubmenu>Connection
      Type</guisubmenu>.  </para>

      </sect4>

      <sect4>

        <title>ATM settings</title>

      <para>Under, <menuchoice><guimenu>SmartAX MT800</guimenu>
      <guisubmenu>ATM Settings</guisubmenu></menuchoice>, change the
      following: </para>
      
      <para>In the pull down menu ...  </para>

<blockquote>
<para>Select <guimenuitem>PVC 0</guimenuitem> and</para>
<para>Set <guimenuitem>VPI/VCI: 0/35</guimenuitem> (Default)
</para>
</blockquote>

      <para><menuchoice><guimenu>Operation Mode</guimenu></menuchoice></para>

<blockquote>
<para><menuchoice><guisubmenu>Connection Type</guisubmenu>
<guimenuitem>PPP</guimenuitem></menuchoice></para>

<para><menuchoice><guisubmenu>PPPoA/PPPoE</guisubmenu>
<guimenuitem>PPPoE</guimenuitem></menuchoice></para>

<para><menuchoice><guisubmenu>Service Name</guisubmenu>
<guimenuitem>DataOne</guimenuitem></menuchoice> (Don't know how this
name is used). </para>
</blockquote>

<para>PPP
</para>

<blockquote>
<screen>Username: userid@dataone (or just userid)
Password: deluser2005 (the assigned password)
Use DNS: Enable
Configured MTU: 1452</screen>
</blockquote>

<para>Click on <guibutton>Submit</guibutton>.
</para>
      </sect4>

      <sect4>

        <title>PPP status</title>

<para>Click on the icon next to <guibutton>Status</guibutton>, and in the new window that
pops up, set:
</para>

<para>PPP Status
</para>

<blockquote>
<para><literal>Status: Always On</literal>
</para>
</blockquote>

<para>Click on <guibutton>Submit</guibutton>. And you should get ..
</para>

<para>PPP Status
</para>

<blockquote>
<screen>WAN IP Address: 59.92.138.92
Gateway IP Address: 59.92.138.1
Oper. Status: Link Up </screen>
</blockquote>

<para>Click on <guibutton>Close</guibutton>
</para>

<para>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).
</para>

      </sect4>

      <sect4>

        <title>Connect to the world</title>

        <para>Go to <menuchoice> <guimenu>SmartAX MT800</guimenu>
        <guisubmenu>Save &amp; Reboot</guisubmenu> </menuchoice> and
        select Save.  </para>

        <para>The machine can now be used to connect to the net with a
        networking configuration as follows: </para>

<screen>IP Address: 192.168.1.abc
Gateway: 192.168.1.1
Netmask: 255.255.255.0 </screen>

      </sect4>

</sect3>

<sect3>
<title>Other router features</title>

<sect4 id="mt800-diagnostics">
<title>SmartAX MT800 Diagnostics</title>

<para><menuchoice><guimenu>SmartAX MT800</guimenu> <guisubmenu>Advanced
Functions</guisubmenu></menuchoice> </para>

<para>Diagnostics
</para>

<blockquote>
<para>Select <literal>PVC-0</literal>
</para>
</blockquote>

<para>Click on <guibutton>Submit</guibutton>.
</para>

<para>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.
</para>

</sect4>

<sect4>
<title>Gathering Information</title>

<para>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 <literal>LAN Config</literal> and <literal>IP Route</literal>
sections.
</para>

<para> At <menuchoice> <guimenu>SmartAX MT800</guimenu>
<guisubmenu>Other Setting</guisubmenu> <guimenuitem>LAN
Config</guimenuitem> </menuchoice> </para>

<itemizedlist>

<listitem>
<para><literal>LAN IP Address: 192.168.1.1 = router.lan.ip.addr</literal> (This can
be set to some other value like <literal>10.0.0.1</literal>)
</para>
</listitem>

<listitem>
<para><literal>LAN Network Mask: 255.255.255.0 = router.lan.net.mask</literal> (If
the <literal>LAN IP Address</literal> is set to
<literal>10.0.0.1</literal>, you would want
to change the <literal>router.lan.net.mask</literal> to a suitable value, like
<literal>255.0.0.0</literal>)</para>
</listitem>

</itemizedlist>

<para> At <menuchoice> <guimenu>SmartAX MT800</guimenu>
<guisubmenu>Other Setting</guisubmenu> <guimenuitem>IP
Route</guimenuitem> </menuchoice> </para>

<para>The IP Route routing table will have the routes configured for the
following:
</para>

<itemizedlist>

<listitem>
<para>The <literal>WAN IP Address</literal> of the router from PPP
Status - <literal>59.92.138.92</literal></para>
</listitem>

<listitem>
<para>The <literal>Gateway IP Address</literal> for the router from PPP Status - <literal>59.92.138.1</literal></para>
</listitem>

<listitem>
<para>The <literal>LAN IP Address</literal> of the router from LAN Config -
<literal>192.168.1.1 (router.lan.ip.addr)</literal></para>
</listitem>

<listitem>
<para>The <literal>Gateway IP Address</literal> for the LAN from LAN Config -
<literal>192.168.1.1 (lan.gateway.ip.addr)</literal></para>
</listitem>

<listitem>
<para>The <literal>Netmask</literal> for the machines on the LAN from LAN
Config - <literal>255.255.255.0 (router.lan.net.mask)</literal>
</para>
</listitem>

</itemizedlist>

<itemizedlist>

<listitem>
<para>The <literal>Primary DNS server</literal> assigned -
<literal>61.1.96.69 (dns.server.ip.pri)</literal></para>
</listitem>

<listitem>
<para><literal>The Secondary DNS server</literal> assigned -
<literal>61.1.96.71 (dns.server.ip.sec)</literal></para>
</listitem>

</itemizedlist>

</sect4>

<sect4>
<title>Configuring DHCP</title>

<para> <menuchoice> <guimenu>SmartAX MT800</guimenu> <guisubmenu>Other
Setting</guisubmenu> <guimenuitem>DHCP Mode</guimenuitem> </menuchoice>
</para>

<itemizedlist>

<listitem>
<para>None:
</para>

<para>Use the following to configure networking on the machine connected to
the router.
</para>

<screen>IP Address: 192.168.1.abc
Gateway: lan.gateway.ip.addr
Netmask: router.lan.net.mask </screen>
</listitem>

<listitem>
<para>DHCP Server:
</para>

<para>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
<literal>router.lan.ip.addr</literal> as the DHCP server.
</para>
</listitem>

<listitem>
<para>DHCP Relay:
</para>

<para>Add the IP Address of the DHCP server (if not using broadcast mode)
in <literal>DHCP Server IP</literal> and configure the machine connected to the
router as a DHCP client.
</para>
</listitem>

</itemizedlist>

</sect4>

<sect4>
<title>Configuring DNS</title>

<para> <menuchoice> <guimenu>SmartAX MT800</guimenu> <guisubmenu>Other
Setting</guisubmenu> <guimenuitem>DNS</guimenuitem> </menuchoice>
</para>

<para> <menuchoice> <guimenu>DNS Configuration</guimenu>
<guimenuitem>DNS Relay</guimenuitem> </menuchoice> </para>

<itemizedlist>

<listitem>
<para><literal>Enable</literal></para>

<para>Configure the machines to use <literal>router.lan.ip.addr</literal> as the DNS
server.
</para>
</listitem>

<listitem>
<para><literal>Disable</literal></para>

<para>Configure the machines to use <literal>dns.server.ip.pri</literal> and
<literal>dns.server.ip.sec</literal> as the primary and the secondary DNS servers
respectively.
</para>
</listitem>

</itemizedlist>

</sect4>

<sect4>
<title>Other functions</title>

<para> <menuchoice> <guimenu>SmartAX MT800</guimenu>
<guisubmenu>Advanced Functions / Access Management / Statistics
</guisubmenu> </menuchoice> :</para>

<para>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.</para>

</sect4>

    </sect3>

  </sect2>

  <sect2>

    <title>Huawei SmartAX MT880 ADSL router</title>

    <sect3>

      <title>Few (factory) default settings</title>

      <itemizedlist>

      <listitem>
        <para>
          Admin interface username/password:
          <literal>admin/admin</literal>
        </para>
      </listitem>

      <listitem>
        <para>
          Router IP Address/Netmask:
          <literal>192.168.1.1/255.255.255.0</literal>
        </para>
      </listitem>

      </itemizedlist>

<!--
      <para>The router can be reset to its factory defaults either by
      selecting <menuchoice> <guimenu>Save &amp; Reboot</guimenu>
      <guimenuitem>Factory Setting Reboot</guimenuitem></menuchoice> and
      clicking on <guibutton>Submit</guibutton>) or via the
      <literal>Reset</literal> pin-hole next to the power switch of the
      router.</para>
-->

    </sect3>

    <sect3 id="mt880-config">

      <title>Router as a PPPoE dialer/client</title>

      <para>

        After following the instructions in this section, you should be
        able to use the router without a PPPoE dialer on your machine.

      </para>

      <sect4>

        <title>Enable networking on the PC</title>

      <para>Enable network connectivity on your computer with the
      following settings: </para>

<screen>IP Address: 192.168.1.2
Gateway: 192.168.1.1
Netmask: 255.255.255.0</screen>

      </sect4>

      <sect4>

        <title>Connect to the router</title>

      <para>Connect to the administrative interface of the router via
      <literal>http://192.168.1.1/</literal> using the default
      username:password (<literal>admin:admin</literal>).  </para>

<!--
      <para>NOTE: In what follows, the configuration pages change with
      change in input selection.  For e.g. with
      <menuchoice> <guisubmenu>Connection Type</guisubmenu>
      <guimenuitem>RFC2684 Bridged</guimenuitem>
      </menuchoice>, there is no
      <guimenuitem>PPPoA/PPPoE</guimenuitem> entry, and it appears only after
      you select <guimenuitem>PPP</guimenuitem> in the <guisubmenu>Connection
      Type</guisubmenu>.  </para>
-->

      </sect4>

      <sect4>

        <title>WAN settings</title>

      <para>Under SmartAX MT880, go to <menuchoice><guimenu>Home</guimenu>
      <guisubmenu>WAN Settings</guisubmenu> </menuchoice>, do the
      following: </para>

      <para>In the pull down menu ...  </para>

<blockquote>
<para> <menuchoice><guisubmenu>PVC Number</guisubmenu>
<guimenuitem>PVC-0</guimenuitem></menuchoice> and</para>
</blockquote>

      <para>and ...</para>

<blockquote>
<para><menuchoice><guisubmenu>WAN Type</guisubmenu>
<guimenuitem>PPP</guimenuitem></menuchoice></para>

<para><menuchoice><guisubmenu>Connection Type</guisubmenu>
<guimenuitem>PPPoE</guimenuitem></menuchoice></para>

<para><menuchoice><guisubmenu>VPI/VCI:</guisubmenu>
<guimenuitem>0/35</guimenuitem></menuchoice></para>

</blockquote>

      <para>Under PPP, enter your user name and password.</para>

<blockquote>
<screen>Username: userid@dataone (or just userid)
Password: deluser2005 (the assigned password)</screen>
</blockquote>

      <para>Click on <guibutton>Apply</guibutton>.  </para>

      </sect4>

      <sect4>

        <title>Diagnostics (dialing out)</title>

      <para>Navigate to <menuchoice><guimenu>SmartAX MT880</guimenu>
      <guisubmenu>Status</guisubmenu>
      <guisubmenu>Diagnostics</guisubmenu> </menuchoice> on the left
      panel.  </para>

      <para>Click on <guibutton>Submit</guibutton>.  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.  </para>

<!--

<blockquote>
<para><literal>Status: Always On</literal>
</para>
</blockquote>

<para>Click on <guibutton>Submit</guibutton>. And you should get ..
</para>

<para>PPP Status
</para>

<blockquote>
<screen>WAN IP Address: 59.92.138.92
Gateway IP Address: 59.92.138.1
Oper. Status: Link Up </screen>
</blockquote>

<para>Click on <guibutton>Close</guibutton>
</para>

-->

<para>After the above step, you should be able to use the router without
a dialer on your machine.  </para>

      </sect4>

      <sect4>

        <title>Connect to the world</title>

      <para> At <menuchoice> <guimenu>SmartAX MT880</guimenu>
      <guisubmenu>Tools</guisubmenu> <guimenuitem>System Settings
      </guimenuitem> </menuchoice> </para>
      
      <para>Click on <guibutton>Save &amp; Restart</guibutton></para>

      <para>After restarting the router, the PC can be used to connect
      to the net with a networking configuration as follows: </para>

<screen>IP Address: 192.168.1.abc
Gateway: 192.168.1.1
Netmask: 255.255.255.0 </screen>

      </sect4>

</sect3>

<sect3>
<title>Other router features</title>

<sect4 id="mt880-diagnostics">
<title>SmartAX MT880 Diagnostics</title>

<para><menuchoice><guimenu>SmartAX MT880</guimenu>
<guisubmenu>Status</guisubmenu> <guimenuitem>Diagnostics</guimenuitem> </menuchoice> </para>

<para>Click on <guibutton>Submit</guibutton>.
</para>

<para>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.
</para>

</sect4>

<!--

<sect4>
<title>Gathering Information</title>

<para>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 <literal>LAN Config</literal> and <literal>IP Route</literal>
sections.
</para>

<para> At <menuchoice> <guimenu>SmartAX MT800</guimenu>
<guisubmenu>Other Setting</guisubmenu> <guimenuitem>LAN
Config</guimenuitem> </menuchoice> </para>

<itemizedlist>

<listitem>
<para><literal>LAN IP Address: 192.168.1.1 = router.lan.ip.addr</literal> (This can
be set to some other value like <literal>10.0.0.1</literal>)
</para>
</listitem>

<listitem>
<para><literal>LAN Network Mask: 255.255.255.0 = router.lan.net.mask</literal> (If
the <literal>LAN IP Address</literal> is set to
<literal>10.0.0.1</literal>, you would want
to change the <literal>router.lan.net.mask</literal> to a suitable value, like
<literal>255.0.0.0</literal>)</para>
</listitem>

</itemizedlist>

<para> At <menuchoice> <guimenu>SmartAX MT800</guimenu>
<guisubmenu>Other Setting</guisubmenu> <guimenuitem>IP
Route</guimenuitem> </menuchoice> </para>

<para>The IP Route routing table will have the routes configured for the
following:
</para>

<itemizedlist>

<listitem>
<para>The <literal>WAN IP Address</literal> of the router from PPP
Status - <literal>59.92.138.92</literal></para>
</listitem>

<listitem>
<para>The <literal>Gateway IP Address</literal> for the router from PPP Status - <literal>59.92.138.1</literal></para>
</listitem>

<listitem>
<para>The <literal>LAN IP Address</literal> of the router from LAN Config -
<literal>192.168.1.1 (router.lan.ip.addr)</literal></para>
</listitem>

<listitem>
<para>The <literal>Gateway IP Address</literal> for the LAN from LAN Config -
<literal>192.168.1.1 (lan.gateway.ip.addr)</literal></para>
</listitem>

<listitem>
<para>The <literal>Netmask</literal> for the machines on the LAN from LAN
Config - <literal>255.255.255.0 (router.lan.net.mask)</literal>
</para>
</listitem>

</itemizedlist>

<itemizedlist>

<listitem>
<para>The <literal>Primary DNS server</literal> assigned -
<literal>61.1.96.69 (dns.server.ip.pri)</literal></para>
</listitem>

<listitem>
<para><literal>The Secondary DNS server</literal> assigned -
<literal>61.1.96.71 (dns.server.ip.sec)</literal></para>
</listitem>

</itemizedlist>

</sect4>

-->

<sect4>
<title>Configuring DHCP</title>

<para> <menuchoice> <guimenu>SmartAX MT880</guimenu>
<guisubmenu>Home</guisubmenu> <guimenuitem>DHCP</guimenuitem>
</menuchoice> </para>

<!--

<itemizedlist>

<listitem>
<para>None:
</para>

<para>Use the following to configure networking on the machine connected to
the router.
</para>

<screen>IP Address: 192.168.1.abc
Gateway: lan.gateway.ip.addr
Netmask: router.lan.net.mask </screen>
</listitem>

<listitem>
<para>DHCP Server:
</para>

<para>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
<literal>router.lan.ip.addr</literal> as the DHCP server.
</para>
</listitem>

<listitem>
<para>DHCP Relay:
</para>

<para>Add the IP Address of the DHCP server (if not using broadcast mode)
in <literal>DHCP Server IP</literal> and configure the machine connected to the
router as a DHCP client.
</para>
</listitem>

</itemizedlist>

-->

</sect4>

<sect4>
<title>Configuring DNS</title>

<para> <menuchoice> <guimenu>SmartAX MT880</guimenu>
<guisubmenu>Home</guisubmenu> <guimenuitem>DNS</guimenuitem>
</menuchoice> </para>

<!--

<para> <menuchoice> <guimenu>DNS Configuration</guimenu>
<guimenuitem>DNS Relay</guimenuitem> </menuchoice> </para>

<itemizedlist>

<listitem>
<para><literal>Enable</literal></para>

<para>Configure the machines to use <literal>router.lan.ip.addr</literal> as the DNS
server.
</para>
</listitem>

<listitem>
<para><literal>Disable</literal></para>

<para>Configure the machines to use <literal>dns.server.ip.pri</literal> and
<literal>dns.server.ip.sec</literal> as the primary and the secondary DNS servers
respectively.
</para>
</listitem>

</itemizedlist>

-->

</sect4>

<sect4>
<title>Other functions</title>

<para> <menuchoice> <guimenu>SmartAX MT880</guimenu>
<guisubmenu>Advanced / Tools
</guisubmenu> </menuchoice> :</para>

<para>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.</para>

</sect4>

    </sect3>

  </sect2>

  <sect2>

    <title>UT Starcom UT-300R router</title>

    <para>Varun Soundararajan has a HOWTO for configuring the <ulink
    url="http://modembsnl.blogspot.com/">UT Starcom UT-300R
    router</ulink>.  I have not had the time to incorporate instructions
    that Varun sent across to me in this HOWTO yet.  </para>

  </sect2>

</sect1>

<sect1>

  <title>OS Specific Information</title>

<sect2>

<title>Debian specific information</title>

<sect3>

<title>DHCP Mode on the router</title>

<para> If <menuchoice> <guimenu>SmartAX MT800</guimenu>
<guisubmenu>Other Setting</guisubmenu> <guimenuitem>DHCP
Mode</guimenuitem> </menuchoice> is </para>

<itemizedlist>

<listitem>
<para><literal>None</literal>:
</para>

<para>in <filename>/etc/network/interfaces</filename> use
</para>

<screen>    iface eth0 inet static
        address 192.168.1.abc
        netmask router.lan.net.mask
        gateway lan.gateway.ip.addr </screen>

<para>restart networking (<literal>sudo invoke-rc.d networking restart</literal>)
</para>
</listitem>

<listitem>
<para><literal>DHCP Server</literal>:
</para>

<para>install a DHCP client (<command>sudo apt-get install
dhcp-client</command> or
<command>sudo apt-get install dhcp3-client</command>) and in
<filename>/etc/network/interfaces</filename> use
</para>

<screen>    iface eth0 inet dhcp </screen>

<para>Modify the <filename>/etc/dhcp/dhclient.conf</filename> to suit your needs, and
restart networking (<command>sudo invoke-rc.d networking restart</command>)
</para>
</listitem>

<listitem>
<para><literal>DHCP Relay</literal>:
</para>

<para>Modify the <filename>/etc/dhcp/dhclient.conf</filename> to suit your needs and
restart networking (<command>sudo invoke-rc.d networking restart</command>)
</para>
</listitem>

</itemizedlist>

</sect3>

<sect3>

<title>DNS Configuration on the router</title>

<para> <menuchoice> <guimenu>SmartAX MT800</guimenu> <guisubmenu>Other
Setting</guisubmenu> <guimenuitem>DNS</guimenuitem> </menuchoice>
</para>

<para> If <menuchoice> <guimenu>DNS Configuration</guimenu>
<guimenuitem>DNS Relay</guimenuitem> </menuchoice> is </para>

<itemizedlist>

<listitem>

<para><literal>Enable</literal>:
</para>

<para>if the <application>resolvconf</application> package has not been installed (to
install the <literal>resolvconf</literal> package, use <command>sudo apt-get install
resolvconf</command>), add a <literal>"nameserver
router.lan.ip.addr"</literal> line
in <filename>/etc/resolv.conf</filename>.
</para>

<para>if the <application>resolvconf</application> package has been installed installed, add
a <literal>"dns-nameservers router.lan.ip.addr"</literal> line after the
<literal>gateway</literal> line in
<filename>/etc/network/interfaces</filename>
</para>

<para>restart networking (<command>sudo invoke-rc.d networking
restart</command>)
</para>
</listitem>

<listitem>
<para><literal>Disable</literal>:
</para>

<para>if the <application>resolvconf</application> package has not been installed add the
following lines in <filename>/etc/resolv.conf</filename>:
</para>

<screen>nameserver dns.server.ip.pri
nameserver dns.server.ip.sec </screen>

<para>if the <application>resolvconf</application> package has been installed installed, add
a <literal>"dns-nameservers dns.server.ip.pri
dns.server.ip.sec"</literal> line after the
<literal>gateway</literal> line in
<filename>/etc/network/interfaces</filename>
</para>

<para>restart networking (<command>sudo invoke-rc.d networking
restart</command>)
</para>
</listitem>

</itemizedlist>

<para>Install and use a small caching name server locally (like
<application>pdnsd</application>, which is very easy to configure)
</para>

</sect3>

</sect2>

<sect2>

<title>FreeBSD specific information</title>

<para>.</para>

</sect2>

<sect2>

<title>Mac OS X specific information</title>

<para>.</para>

</sect2>

<sect2>

<title>Windows specific information</title>

<para>BSNL recommends using the RASPPPoE dialer that can be downloaded from
<ulink url="http://www.raspppoe.com/">http://www.raspppoe.com</ulink>.
Installation and configuration instructions are available from the same
site for <ulink url="http://www.raspppoe.com/README2K.HTM">Windows
2000/XP/.NET</ulink>, <ulink url="http://www.raspppoe.com/README9X.HTM">
Windows 95/98/98SE/ME</ulink> and <ulink
url="http://www.raspppoe.com/READMENT.HTM">Windows NT 4.0</ulink>.
</para>

<para>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.  </para>

</sect2>

</sect1>

<sect1>

  <title>Frequently Asked Questions (FAQs)</title>

  <qandaset defaultlabel='qanda'>

  <qandaentry>

    <question><para>What are the DNS servers for DateOne?
    </para></question>

    <answer><para>The IP addresses of the DNS servers are
    <literal>61.1.96.69</literal> and <literal>61.1.96.71</literal>
    </para></answer>

  </qandaentry>

  <qandaentry>

    <question><para>DateOne DNS servers are down.  Are there any other
    (alternative) DNS servers on the BSNL network?  </para></question>

    <answer><para>Other sancharnet DNS servers are
    <literal>218.248.255.161</literal> and
    <literal>218.248.255.193</literal>.  You can also try using the DNS
    servers that are used by DIAS users (the IP addresses are
    <literal>61.1.128.65</literal> and <literal>61.1.128.5</literal>).
    </para>

    <para>If the DataOne DNS servers are unresponsive, install a caching
    DNS server like <application>pdnsd</application> locally and use
    it.</para></answer>

  </qandaentry>

  <qandaentry>

    <question><para>How do I change my DateOne password?
    </para></question>

    <answer><para>Visit <ulink url="http://10.240.43.216" /> using
    Internet Explorer (other browsers are not supported), logon with
    your current username (the <literal>userid</literal> part of
    <literal>userid@dataone</literal>) 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.  </para></answer>

  </qandaentry>

  <qandaentry>

    <question><para>How do I access my DateOne email?
    </para></question>

    <answer><para>Visit <ulink url="http://dataone.in" /> and use your
    login id and password to send and receive email or to change your
    email account password.  </para></answer>

  </qandaentry>

  <qandaentry>

    <question><para>What are the SMTP and POP servers for DateOne?
    </para></question>

    <answer><para>The POP server for DataOne subscribers is one of
    <literal>smma.sancharnet.in</literal> (southern region),
    <literal>wmma.sancharnet.in</literal> (western region) or
    <literal>nmma.sancharnet.in</literal> (northern region) and the
    respective SMTP servers are <literal>smra.sancharnet.in</literal>,
    <literal>wmra.sancharnet.in</literal> and
    <literal>nmra.sancharnet.in</literal>.  </para></answer>

  </qandaentry>

  <qandaentry>

    <question><para>How do I check my DataOne data transfer/usage
    statistics? </para></question>

    <answer><para>Visit <ulink url="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 <literal>userid</literal> part of
    <literal>userid@dataone</literal>) and password and select the
    option for checking data transfer statistics.  </para>

    <para>The <ulink url="http://dobs.sourceforge.net/">DataOne
    Broadband Statistics</ulink> script is useful to check your usage.
    </para>

    <para>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.  </para></answer>

  </qandaentry>

  </qandaset>

</sect1>

<sect1 id="final-words">

  <title>Final Words</title>

<!--
  <para>
   Pointers to available translations are nice.
   Also, your translators tend to give very important inputs.
  </para>

  <itemizedlist>
    <listitem>
      <para>
       <ulink url="http://tldp.org/">French Translation</ulink>
       provided by Individual <email>someone (at) somewhere.fr</email>
      </para>
    </listitem>
    <listitem>
      <para>
       <ulink url="http://tldp.org/">German Translation</ulink>
       provided by Individual <email>someone (at) somewhere.de</email>
      </para>
    </listitem>
  </itemizedlist>
-->

  <!-- Feedback -->
  <sect2 id="feedback">

    <title>Comments and Suggestions</title>

    <para>

      Comments and suggestions regarding this document may be sent to
      <email>giridhar@appaji.net</email>.  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.

    </para>

  </sect2>

  <!-- Give credit where credit is due...very important -->
  <sect2 id="thanks">

    <title>Acknowledgements</title>

    <para>

      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.

  <itemizedlist>

    <listitem>

      <para>The folks on #linux-india (Soumyadip Modak, Vishal Rao etc.)
      on irc.freenode.net for suggesting that I write this document.
      </para>

    </listitem>

    <listitem>

      <para>Saloni - <email>salspeaks (at) yahoo.com</email> for the
      information on using the built-in dialer of the SmartAX MT880.
      </para>

    </listitem>

    <listitem>

      <para>Edward Irwin <email>edward_irwin (at) yahoo.com</email> for
      the section on Windows PPPoE configuration using RASPPPoE.
      </para>

    </listitem>

  </itemizedlist>

    </para>

  </sect2>

</sect1>

<sect1 id="resources">

  <title>References and Resources</title>

  <itemizedlist>

    <listitem>

      <para>

        The engineering instructions document detailing the installation
        of the BSNL ADSL CPE (Customer Premises Equippment) is available
        at <ulink
        url="http://www.tnd.bsnl.co.in/eis/new_eis/eiadslcpe.pdf">
        http://www.tnd.bsnl.co.in/eiadslcpe.pdf</ulink>.

      </para>
    </listitem>

  </itemizedlist>

</sect1>

</article>

<!--

$Log$
Revision 1.14  2006/04/08 11:32:44  appaji
correct publication date

Revision 1.13  2006/04/08 11:23:35  appaji
correct dates, links etc.

Revision 1.12  2006/04/08 11:05:11  appaji
change eiadslcpe.pdf to eis/new_eis/eiadslcpe.pdf, remove dataone.html.

Revision 1.11  2006/01/19 09:28:25  appaji
new minor revision

Revision 1.10  2005/11/21 13:42:29  appaji
Link to Varuns UT Starcom HOWTO and more info in FAQ

Revision 1.9  2005/08/15 21:01:51  appaji
add DNS server information

Revision 1.8  2005/06/25 20:23:54  appaji
Correct relative link to absolute

Revision 1.7  2005/06/25 20:20:06  appaji
add revision history and minor did correction

Revision 1.6  2005/06/25 20:14:11  appaji
Better MT880 information, add a FAQ

Revision 1.5  2005/06/24 23:41:27  appaji
SmartAX MT880 builtin dialer usage instructions

Revision 1.4  2005/05/30 23:05:10  appaji
HOWTO goes Docbook/XML :-)

Revision 1.3  2005/05/30 22:01:09  appaji
first draft ready

Revision 1.2  2005/05/09 22:03:51  appaji
more sanity in markup

Revision 1.1  2005/04/12 07:54:20  appaji
initial commit, content imported


-->

