Here you'll find several tips, tweaks and tutorials on matters I find interesting (and possibly you will too) regarding the web and other techy stuff. Look around and you'll surely find something that you find useful.

Friday, August 14, 2009

How to use 2 (or more) LAN settings on the same LAN card.

I recently got myself an MTNL Triband connection along with which I also had a local broadband connection.
Now I had just one LAN card and consequently just the one "Local Area Connection" in my network connections.
Each of the 2 had separate IPs, masks and gateways and I had to find a quicker way to switch between the 2 LAN-TCP/IP settings. Manually editing the settings each time is obviously too troublesome.
This little trick is pretty useful also if you're constantly swapping between several connections (maybe home and office) on your laptop.


Google to the rescue it was. Here's a neat trick that uses "netsh", a command-line command to change the tcp/ip settings.
Here's how you do it,

Create a text file and copy the following lines of code into the file.

netsh interface ip set address name="Local Area Connection" source=static addr=IP_ADDRESS mask=SUBNET_MASK
netsh interface ip set address name="Local Area Connection" gateway=DEFAULT_FATEWAY gwmetric=0
netsh interface ip set dns name="Local Area Connection" source=static addr=PREFERRED_DNS
netsh interface ip add dns name="Local Area Connection" addr=ALTERNATE_DNS index=2
pause


Replace the yellow text with the respective details of either one of your connections.
Make sure the name of your LAN connection is same as the one specified in the text file (as in this case it is 'Local Area Connection').

(Make sure that file extensions are not hidden and then) Change the extension from .txt to .bat so that it is saved as a batch file.

Do the same thing once more and this time enter the details of your second connection.

You can name the files whatever you want. For e.g., I named one as MTNL connection.bat and the other as localnet.bat

When you want to swap to another connection, just run the relevant .bat file and you're good to go. If you want to revert to the previous settings, run the other .bat file.

In case you come across any difficulties post away and I'll try my best to help you asap!

Thursday, August 6, 2009

Download an offline installer of Google Chrome in a jiffy!

Google Chrome is awesome. Period.
However, if you're on a very slow or do not have an internet connection, the default Chrome installer (which is an online installer) is a pain.
I'd rather have a large download file for a completely offline install rather than a small file with an online one.

And you can get an offline installer for Chrome really easily. Here's how:

Head over to http://filehippo.com/download_google_chrome/ to get to know the latest version of Chrome available. Or you can just google that.
As of today, the Beta version is currently at
3.0.196.2

Now we've only got to take note of the last two parts of that version number. In this case: "196.2".

And then simply enter the following address into your browser and replace the xxx.xx with the version no.
http://dl.google.com/chrome/install/xxx.xx/chrome_installer.exe

In my case, it would be http://dl.google.com/chrome/install/196.2/chrome_installer.exe

Go to the link and you should get a prompt box telling you to save the file. It would be around 10mb. Just save the file and you're done.

The next time you've got to install Chrome, you can do it without an internet connection. Just fire up the newly downloaded installer and you're golden!

Related Posts with Thumbnails