Thursday, September 24, 2009

Fixing Aventail VPN software failure to connect

Aventail VPN frequently fails to connect to vpn network after starting and stopping couple of time.
The only solution was to restart the computer.

in order to fix that try the following commands in DOS session:
ipconfig /release
ipconfig /renew

Other solution ( not verified )
The solution is to restart the "Network Location Awareness (NLA)" and "Aventail" services

You can save run the following commands in a batch file and run it:
net STOP Nla
net START Nla
net STOP NgVpnMgr
net START NgVpnMgr
ipconfig /release
ipconfig /renew

Thursday, September 10, 2009

Networking: Changing routing default gateway

Use route command to change the default gateway. It could be useful if connecting through a VPN and you don't want to use the VPN default gateway

Here is the command:
route change 0.0.0.0 mask 0.0.0.0 192.168.1.1


Saturday, August 8, 2009

Latest Whois database GeoIPCountryWhois.csv

This database contains IPAddress to Country look up table.
It is updated on monthly basis and could be downloaded from several web locations.
Here is a good download server:
http://geolite.maxmind.com/download/geoip/database/

Thursday, July 9, 2009

Fix Firefox slow startup

Firefox 3 startup sometimes is too slow and takes more than a minute to show up:
To fix this problem do the following:
- Start Firefox3
- Go to Tools Menu >>> Option
- In options window chose Advanced >>> Network Tab >>>
- Click in connection box press Setting button
- (in the new window) chose Manual Proxy Configuration
- Type in the HTTP Proxy Field: 127.0.0.1 and Port: 0
- Click OK
- Click OK
- restart your firefox3

Tuesday, July 7, 2009

Good reference for using Perl modules

http://stein.cshl.org/genome_informatics/chervitz/perl-modules/

Using double colons in using Perl modules

What's up with all the double colons (::)?

The :: corresponds to a filesystem path separator.

A Module called Shape::Rect corresponds to a file named Shape/Rect.pm relative to a module library directory.

Wednesday, July 1, 2009

Using Route command to fix vpn issues

Some networks might not be accessible when connected to vpn, as vpn connection would change
the default routing table to be the first hop in the network route.
You can run tracert command to see the used route

If the route does not lead to destination, route command could be used to fix that.

The "-p" switch would make the selected route persistent.

Run route help to check the available options.

Example: to access vmware machine directly without going through the vpn interface
route add 192.168.226.128 MASK 255.255.255.255 192.168.226.1 IF 2