Wednesday, July 24, 2013

Adding a TCP/IP Route to the Windows Routing Table

Syntax:
route ADD xxx.xxx.xxx.xxx MASK xxx.xxx.xxx.xxx  xxx.xxx.xxx.xxx
Means:
route ADD “network” MASK “subnet mask”  “gateway ip”
 route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12

options :
ADD
DELETE

Friday, July 19, 2013

How to Configure VPN on Sonicwall TZ 200 and TZ 215

1. Login to sonicwall 
2. Click on Network and select WAN (by default X1) configure


3. Next, navigate to SSL VPN > server settings. 


Click on WAN interface link to change the red dot to green. This enables the SSL VPN feature.  



SSL VPN Server Settings :


In the SSL Server VPN settings, you may want to change the default port to 443 if the VPN users travel frequently and find themselves behind highly restrictive firewalls that block outbound access by port. Port 443 is usually not blocked by even the most restrictive firewalls. 

If you decide to do this, keep in mind that you will need to change the Sonicwall management port to something other than the default port 443. Do this under the system > administration menu. You will also need to double check that port 443 is not being used for other services such as an Exchange/OWA HTTPS connection. 

In SSL VPN > Portal Settings you can customize the message that appears to VPN users. Just edit the HTML text to create custom messages or to link custom logos. 

Under Client Settings, follow these instructions: 



Interface: Select your LAN Interface, by default X0 

NetExtender IP: SSL VPN will not use the DHCP address pool from either the firewall or from a server on your network . For this reason, you must specify a range of usable IP addresses for the VPN client. Make sure the address pool is outside the scope of your DHCP server's pool. 

DNS Server: Configure your internal DNS server IP address 

Domain: Configure the internal domain 

WINS: If you use WINS, enter the IP address of your WINS server. 

Default Session Timeout: I like to increase it from the default to avoid constant disconnects. 

Enable Web/SSH Management over VPN: Enabled if you want VPN access to manage the Sonicwall device. 

Exit Client after Disconnect: Enabled will shut down the NetExtender client program. 

Uninstall Client after Exit: If enabled will uninstall client software after disconnect (not recommended in most cases). 

Lastly, in the Client Routes, click on Add Client Routes and select LAN Subnet to allow the VPN client access to the LAN subnet. 



Now that you have completed the SSL VPN setup, the two remaining things to do are:
  1. Add SSL VPN users
  2. Install NetExtender and connect to the VPN
Once you have finished, log in using using HTTPS and either the IP address and port or URL and port to access the Virtual Office VPN connect site.








Monday, July 15, 2013

Windows 7 - Increase your download speed

1. Run gpedit.msc
2. User Configurations > Administrative Templates > All Settings
3. Set Limits the bandwidth of audio and video = disabled
4. Set Limits the size of sent files = disabled

Thursday, July 4, 2013

RAID 0, RAID 1, RAID 5, RAID 10 Explained with Diagrams

RAID stands for Redundant Array of Inexpensive (Independent) Disks.
On most situations you will be using one of the following four levels of RAIDs.
  • RAID 0
  • RAID 1
  • RAID 5
  • RAID 10 (also known as RAID 1+0)
This article explains the main difference between these raid levels along with an easy to understand diagram.
In all the diagrams mentioned below:


  • A, B, C, D, E and F – represents blocks
  • p1, p2, and p3 – represents parity

 

RAID LEVEL 0

image

Following are the key points to remember for RAID level 0.

  • Minimum 2 disks.
  • Excellent performance ( as blocks are striped ).
  • No redundancy ( no mirror, no parity ).
  • Don’t use this for any critical system.

 

RAID LEVEL 1

Following are the key points to remember for RAID level 1.

  • Minimum 2 disks.
  • Good performance ( no striping. no parity ).
  • Excellent redundancy ( as blocks are mirrored ).

 

RAID LEVEL 5

 Following are the key points to remember for RAID level 5.
  • Minimum 3 disks.
  • Good performance ( as blocks are striped ).
  • Good redundancy ( distributed parity ).
  • Best cost effective option providing both performance and redundancy. Use this for DB that is heavily read oriented. Write operations will be slow.

 

RAID LEVEL 10

Following are the key points to remember for RAID level 10.

  • Minimum 4 disks.
  • This is also called as “stripe of mirrors”
  • Excellent redundancy ( as blocks are mirrored )
  • Excellent performance ( as blocks are striped )
  • If you can afford the dollar, this is the BEST option for any mission critical applications (especially databases).

source from http://www.thegeekstuff.com/2010/08/raid-levels-tutorial/

 

 

 

 

 

 

 

Wednesday, July 3, 2013

Setup HP 1910 Switch Series and Reset Password

Hyper Terminal Configuration


Set Bits per second : 38400
Data bits : 8
Parity : None
Stop bits : 1
Flow control : None
no default password

Reset Password

  1. Attach a terminal or terminal emulator to the switch console:
            Set Bits per second to 38400,         Data bits to 8,         Parity to None,         Stop bits to 1, and          Flow control to None
  2. Reboot the switch by cycling the mains power supply to the switch.
  3. Use [Ctrl] +[B] to break into the boot up sequence:
    Starting...... *******************************************************************************                                                                             * *                   3COM 2952-SFP Plus BOOTROM, Version 151                   * *                                                                             * 
    *******************************************************************************  
    Copyright(c) 2004-2011 3Com Corp. and its licensors. All rights reserved.
    Creation Date       : Dec  6 2011 CPU L1 Cache        : 32KB   CPU Clock Speed     : 333MHz Memory Size         : 128MB Flash Size          : 128MB CPLD Version        : 002 PCB Version         : Ver.B Mac Address         : 002257FBC552
    NOW press [Ctrl]+[B] repeatedly until the 2 lines below appear

    Press Ctrl-B to enter Extended Boot menu...0  

    Please input BootRom password:
           BOOT MENU     
    1. Download application file to flash     
    2. Select application file to boot     
    3. Display all files in flash     
    4. Delete file from flash     
    5. Modify BootRom password     
    6. Enter BootRom upgrade menu     
    7. Skip current system configuration     
    8. Set BootRom password recovery     
    9. Set switch startup mode     
    0. Reboot
        Enter your choice(0-9): 7

    The current setting will run with current configuration file when reboot.    Are you sure you want to skip current configuration file when reboot? Yes or No  (Y/N):Y   
    Setting...Done!
           BOOT MENU     
    1. Download application file to flash     
    2. Select application file to boot     
    3. Display all files in flash     
    4. Delete file from flash     
    5. Modify BootRom password     
    6. Enter BootRom upgrade menu     
    7. Skip current system configuration     
    8. Set BootRom password recovery     
    9. Set switch startup mode     
    0. Reboot
     
        Enter your choice(0-9): 0 Starting......
     
  4. One can now access the console without any challenge.
  5. Use the command initialize to put the switch back to factory defaults.
  6. When the switch completes the reboot from the initialize, login the console as user admin password (no password).
  7. User the command ipsetup to give the switch an address for web administration access.
  8. Access the switch web admin with no password and configure the switch.

Save the current configuration or the switch will go back to the default settings when it next reboots.

Setup IP

ipsetup { dhcp | ip-address ip-address { mask | mask-length } [ default-gateway ip-address ] }

then 

save on web interface

 


 

Hiren's BootCD From USB Flash Drive

Step 1
Connect USB Pen Drive (1GB or more)
Step 2
Download and Run USB Disk Storage Format USB Disk Storage Format USBFormat.zip (34KB)





Step 3
Download grubinst_gui Grub 4 Dos grub4dos.zip (179KB) and Run as Administrator




Step 4
Insert the BootCD (10.3 or newer) in the CD Drive and Copy everything from CD to USB Flash Drive

Step 5
Copy grldr and menu.lst from grub4dos.zip (or from HBCD folder) to the usb drive


source from : http://www.hiren.info/pages/bootcd-on-usb-disk
 

Change MySql Data folder

How to change MySql Data folder location - Windows machine

1. Stop/Exit the MySql service.
2.  Go to the Data folder location which we see while doing the installation. Usually it is
    C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.1\data
3. delete all files which names begins like ib_log*
4. Go to the mysql installed location . The default location is C:\Program files\MySQL\MySQL Server 5.0
    open/edit the my.ini file
5. find the section
   #path to the database root
   and change the value of datadir
6. save the my.ini file
7. start the MySQL service