OK. Enough of the preliminaries. Lets try to get you connected ...
I want to get rid of possible conflicts from
eth0 and
eth1 (which currently have addresses on the subnet we will be using for your ADSL modem). So:
Code:
sudo ifconfig eth0 down
sudo ifconfig eth1 down
And I want to make sure the existing default routes don't get in the way, so let's get rid of them. Same thing for the routes for the 192.168.1.0/24 subnet, because that is what you are going to be using for your ADSL modem. Keep giving the following commands (individually) until they (both) start giving you errors.
Code:
sudo route del default
sudo route del -net 192.168.1.0/24
Now I'm going to basically follow the instuctions you linked to earler, making changes for your different setup and using the same IP address you have with MS Windows. Type the following:
Code:
sudo ifconfig eth2 192.168.1.10
sudo route add default gw 192.168.1.1
You will then need to add addresses to the
/etc/resolv.conf file. Your reference page describes it this way:
Quote:
4. Enter the address of some DNS servers in /etc/resolv.conf. These DNS adresses are provided on BSNL's instruction manual.
Code:
$ sudo vi /etc/resolv.conf
The entry will be of type nameserver 61.1.96.71, where the IP will be the one provided in your BSNL Broadband instruction manual.
|
Make sure you get the address(es) from the manual.
Don't use 61.1.96.71 (unless that is what the manual says) ... that address is just an example. If you prefer, you can get the DNS address from your MS Windows software
instead of from the manual. If you click the network icon (looks like two terminals) in the (MS) system tray, one of the tabs will list DNS addresses (probably 2 of them).
If you are not familiar with or don't like the
vi editor, you can use a different editor. For example, to use
gedit, type
sudo gedit /etc/resolv.conf
At this point, I
hope you can talk to the ADSL modem. Quoting again from your reference:
Code:
5. Access the router's management interface via a browser by
typing the address 192.168.1.1 . The admin username/password is
admin/admin
* Set the connection type to `PPPoE'. On my MT882 box, this comes
under `WAN Settings'
* Enter your user name and password (username is of the form
xyz@dataone)
* Reset the router. It will take 2-3 minutes for the box to come
up again
I am not sure how in this process the appropriate
ppp modules are supposed to get loaded (including
pppoe or
pppoatm). We might have to visit that issue next time.
If you are
unable access your modem through a browser as described above, see if you can at least ping it:
A successfull outcome will look something like this
Code:
user@box:~$ ping 192.168.1.1
PING 192.168.1.3 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.801 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.888 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.862 ms
This will go on forever until you stop it with Ctl-C.
EDIT: You
probably don't have to actually enter any settings on the ADSL modem since you have already set it up with MS Windows. But at least make sure you can get it to display in a browser.