Tuesday, December 18, 2007

Using a SmartAX modem with a Linksys router for BSNL broadband

Modem -> Huaweii Sterlite SmartAX MT882 or similar
Router -> Linksys WRT54G Wireless Broadband Router or similar
Lan Card -> Some Ethernet card

This procedure is similar to the one here:
http://www.openfsg.com/index.php/Setup_the_FSG_behind_the_Talktalk_SmartAX_MT882_Modem/Router


Assume your modem (and LAN card) is already working with your BSNL broadband. You can find instructions to make it behave so elsewhere.
We will assume that default settings were used, i.e. - Username and password of "admin", Modem IP = 192.168.1.1

Lines like the one below show connections. Assume nothing else is connected. (Assume all devices are powered on).

Phone Line -- Modem -- Lan Card
From your modem configuration, if DHCP was enabled, disable it. Give a static IP of 192.168.1.100 and gateway 192.168.1.1 to your LAN card.
Nothing else needs to be changed.

Router's Port 1 -- Lan Card
Goto http://192.168.1.1 (now the router's config page).
This also has the username and password "admin" by default.
In Basic setup:
Internet Connection Type: 192.168.1.2
Subnet mask: 255.255.255.0
Gateway: 192.168.1.1
Static DNS 1: 192.168.1.1

...

Local IP Address: 192.168.2.1
Subnet mask: 255.255.255.0
...
DHCP Server: Disable

Save the changes.


Change the LAN card's static IP to 192.168.2.100 with gateway 192.168.2.1. The DNS can be the usual 61.1.96.69.


Phone Line -- Modem -- Router
Lan Card ----------------^

The internet should be accessible now.


To add a wireless node such as a laptop, in http://192.168.2.1 :
Goto Wireless -> Wireless MAC Filter
Enable it.
Choose Permit Only.
Click the Edit MAC Filter list and add the MAC address of the Lan Card on the Wireless node (laptop).
Save.

In the Wireless card settings, give a Static IP such as 192.168.2.150 with gateway 192.168.2.1. The DNS again can be the usual 61.1.96.69.


Things that might be handy:
The hardware Reset buttons on the router and modem. On the router (at least), press and hold the button for _at least_ 5 seconds when the device is ON. You can see some visible change in the lights on the front panel, after which point you can let go.

No comments: