[Ilugc] BSNL broadband with linux

  • From: sudharsh@xxxxxxxxx (Sudharshan S)
  • Date: Mon Mar 26 21:11:39 2007

Parthan wrote:

Shrinivasan wrote:
Friends.

My friend have BSNL 250 plan.
In windows, he goes to net by clicking "network connections" ...
something like that. He gives his username and password and get
conneted.

How to do like this in linux?

How do u connect?

where do u give username and password?

from your last post, I assume you are using Ubuntu. Then do open a
terminal and do "sudo pppoeconf". It will ask you a few questions like
what is the username, password, etc. Answer them and its done.

You can select auto-connect during booting or use "sudo pon
dsl-provider" to connect. Use "sudo poff -a" to disconnect.

Theres another way in which we can connect to the net while the system
initializes its network configuration during the bootup

GUI:
In the Administration > networking..select static
Give the machine ip: 192.168.1.x, where x!=1
Gateway address: 192.168.1.1
and in /etc/resolv.conf add
nameserver 4.2.2.1

Good Ol' Shell:
ifconfig eth0 up 192.168.1.2
route add default gw 192.168.1.1
and entries in the resolv.conf as mentioned above.

To check if it all worked...Open 192.168.1.1 in your browser wherin you
would be greeted by the admin interface of the modem..
Hint: You can enable dhcp from the gateway interface as well

IMO, i feel this is more work but still it doesnt need the pppoeconf
package to be installed, which is the case in some distros..

regards
Sudharshan S

Other related posts: