Configure your Belkin N150 router for BSNL broadband

Login to your router dashboard. It should usually be at http://192.168.2.1. Now under “Inertnet WAN” click on “Connection Type”. Here select “PPPoE” and click on Next. Provide your BSNL username and password. Leave the “Service Name” field blank. For “VPI/VCI” field provide 0 and 35 as values. For “Encapsulation” field choose “LLC”. Leave all other […]

Calculate Root of Any Whole Number in Java

The following Java program can find any root of a whole number. The logic is simple. Start by guessing some number and check if that is the correct value. If that overshoots then subtract some from the guess number else add to it. We add or subtract some fixed constant. If that constant is too […]