Hi all:

For those of us (including me) that are/would like to connect to
internet using BSNL DataOne, here is one of the possible approach.

What BSNL provides ?
  . a Type 1 modem
  . userid and password

The CPE (Customer Premise Equiment) or modem provided by BSNL has a 
few useful capabilities
  . it runs Linux
  . it bridges ethernet to ATM
  . it runs PPPoE
  . it runs DHCP
  . it runs a Webserver

In the typical scenario what we do is run PPPoE or Windows dialer on our
machine and type the userid/passwd to connect to BSNL dataone and
eventually to the Internet. However, an alternative approach is possible
and viable.

Connect your laptop/desktop to the BSNL modem, through a UTP cable.

Start a browser eg. firefox and type http://192.168.1.1/ as the url.

You will be prompted for userid/passwd of the router. Just type in
'admin' as userid and 'admin' as password.

In the settings for your connection, enter your dataone userid/password
and then apply the changes. To make sure you got it right, please click
the 'test settings' link which will show PASS and FAIL for each of the
connections.  Finally logout from the modem/router.

What we have achieved by the step above is that everytime, we power on
the modem, it will get connected to BSNL dataone.

Now configure, your laptop/desktop to acquire IP address from a DHCP
server.

For Gentoo Linux, your settings look like this. 
In /etc/conf.d/net file,

config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"

On OpenSuSe Linux, you need to configure DHCP for your NIC card using
the KNetwork manager.

Everytime, you power on the machine, you get a IP address from the BSNL
modem eg. 192.168.1.2 . The DNS entries in the /etc/resolv.conf file are
automatically updated from the entries sent by the BSNL modem as part of
the DHCP response. You can now seamlessly connect to the internet.

As a final note, just in case you want/have to connect through a dialer,
please feel free to use Kppp on OpenSuSe Linux.

Hope this helps.

thanks
Saifi.

Reply via email to