Archive for June 2015
Enable SSH in Switch And Router
Assuming the IP address, enable password and default route are in place, the additional steps needed are as follows:
1. Configure a domain name
cisco(config)# ip domain-name cisco.com
2. Configure the RSA key generation for encryption
cisco(config)# crypto key generate rsa
* it may prompt user for the key length generated in the range of 360 to 2048. Default is 512-bit.
3. Configure authentication method
a) Using local database
cisco(config)# username cisco password cisco
b) Using Radius server
cisco(config)# aaa new-model
cisco(config)# aaa authentication login Radius_Server group radius
cisco(config)# radius-server host 192.168.1.155
4. Configure the terminal line
cisco(config)# line vty 0 4
cisco(config-line)# login local // using local database
cisco(config-line)# login authentication Radius_Server //using radius server
cisco(config-line)# transport input ssh
How to run Linux Router Vyatta in GNS3
What is the Vyatta ?
Vyatta is bringing innovation and affordability to the networking industry by delivering advanced routing and security in a software-based network OS that scales from the branch office to the service provider edge. Vyatta has decoupled networking software from proprietary hardware allowing users to leverage the price and performance advantages of standard x86-based hardware and components as well as Citrix XenServer and VMWare virtual or cloud environments.
In this tutorial brezular shows us how to install Vyatta 6.1 Core LiveCD on Qemu image and run it from GNS3.
1. Download Vyatta Core 6.1 LiveCD iso (You need to fill short questionnaire for Vyatta download)
Vyatta download http://www.vyatta.com/downloads/index.php
2. Create Qemu qcow2 image
/usr/local/bin/qemu-img create -f qcow2 ./vyatta6.1vc.img 1G
3. Boot Qemu image with Vyatta 6.1 LiveCD
/usr/local/bin/qemu -boot d -hda ./vyatta6.1vc.img -cdrom ./vyatta-livecd_VC6.1-2010.08.20_i386.iso -m 512
4. Install Live CD
To install Live CD to Qemu image enter this command (as user vyatta)
The tutorial is opened and it walk you through installation process:
Would you like to continue? (Yes/No) [YES]: Enter
Partition (Auto/Union/Parted/Skip) [Auto]: Enter
Install the image on? [sda]: Enter
This will destroy all data on /dev/sda.
Continue? (Yes/No) [No]: Yes
How big of root partition should I create? (1000MB – 1074MB) MB: Enter
I found the following configuration files
Which one should I copy to sda? [/opt/vyatta/etc/config/config.boot] Enter
Enter password for administrator account
Enter vyatta password: your_password
Retype vyatta password: your_password
Which drive should GRUB modify the boot partition on? [sda]: Enter
Now you successfully install Vyatta.
5. Adapt Vyatta NIC behavior to GNS3 Qemuwrapper
GNS3 qemuwrapper always changes MAC address of presented NIC during the boot of Qemu instance. Vyatta is programmed to save MAC address of existing ethernet interfaces. If MAC address of particular NIC is changed (by GNS3 qemuwrapper) Vyatta preserves the interface with old MAC and create new interface with new MAC.
Each time Qemu instace is restarted the number of interfaces doubled.
These are my steps how to solve it (it must be a better solution but I didn’t find any with Google search):
a) Enable root account on Vyatta 6.1
thank to Tim Peerlings blog http://www.timpeerlings.nl/enable-root-account-on-vyatta-6-1/
vyatta#set system login user root authentication plaintext-password test
Now you should switch to user root:
b) Remove vyatta_net_name script (root account needed)
mv ./vyatta_net_name ./vyatta_net_name_backup
6. Setup serial console login
thanks to Petr’s blog http://linux.xvx.cz/2009/08/debian-with-grub2-and-serial-connection/
This configuration redirects output to serial ttyS0 and allows you to use Console in GNS3.
Login as root with su command and modify grub configuration file:
Change the lines in configuration file according to these lines
# This file is sourced by update-grub, and its variables are propagated
# to its children in /etc/grub.d/
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_SERIAL_COMMAND=”serial –speed=9600 –unit=0 –word=8 –parity=no –stop=1″
# Uncomment if you don’t want GRUB to pass “root=UUID=xxx” parameter to Linux
Now update grub with command:
7. Setup GNS3 for Vyatta qemu image
- Start GNS3
- Edit-> Preferences-> Qemu-> Qemu Host
Check Kvm option only if your processor supports hardware virtualization. Check Kqemu option only if it is installed and running. If you are not sure with these options let them unchecked otherwise Qemu will be not started.
You need also set Qemu general settings like path to qemu, qemu-img and qemuwrapper.
- Edit-> Preferences-> Qemu-> General Settings
Login to Vyatta:
Brezular has made a video to prove functionality of Yvatta Qemu image. In this video three Vyatta Qemu instances run RIP routing protocol.
How to set up auto reply in outlook 2003/2007/2010?
2. In Outlook 2003, select File >> Save As... from the menu; In Outlook 2007, click the Office button.
3. Select Outlook Template under Save as type:.
4. Select Tools >> Rules and Alerts... from the menu in Outlook window.
5. Click New Rule...
6. Select Start from a blank rule and make sure Check messages when they arrive is selected, and click Next.
7. Check Where my name is in the To box under Select condition(s), and clickNext.
8. Check reply using a specific template under Select action(s), and Click ona specific template under Edit the rule description.
9. Select User Templates in File System under Look In:, select the template that created before and click Open. Click Next.
10. Check Except if it is an Out of Office message under Select exception(s), and click Next.
11. Type a name for your auto reply rule under Specify a name for this rule, and click Next.
How To Make And Optimize Your Windows To Perform Better And Faster ?
“Slow” we hate this word. No matter how fast and new our computer was, one day it will get slower time to time. I know you are thinking “why my pc getting slow” the answer is, internet junk what you’ve surfing over a long time, junk software’s you’ve installed previously and carrying viruses from your friends pendrive. That is all like giving a free load to your windows computer. So, in this tutorial I’ll show you how you can easily free up the waste work load off to your computer and make it fast as it new.
Whatever the problem is there is always a solution to solve it and in the computers there are lots of ways to solve your problem. Here are some tips and tricks below to speed up and optimize your computer.
We divide the solution in two parts first Basic and the second is advance.
Basic 1-5 = Basic is what you can must try first.
Advance 6-8 = If the basic solution doesn’t work follow our advance options to make your computer fast.
1. Remove Temporary Junk
The first thing is to do is deleting temporary junk. This junk was created by viruses, internet cookies, program installer etc. by deleting these files you can easily give a head start to speed up your computer. So, now I make thing more easier for you, you’ll just need to download the zip file below and double click on it and that will delete all your temporary junk off to your computer.
Click to download >>>>>> Temp files and Junk deleter
Step 1 – Download the “Deleter” from above blue link.
Step 2 – Open the zip folder and double click on the file name “Temp Files and Junk Delete”.
Step 3 – Type “Y” and hit enter if you want to empty your bin too.
2. Remove Programs You Never Use
Junk program can be the reason for your slow computer, by saying “junk” I mean those programs and software you never used before. Sometimes some programs and adware software can installed automatically and starts decreasing our computers speed. By deleting these files you can easily speed up your computer.
Step 1 – Open the windows run command. You can also open it by pressing (windows key+ R).
Step 2 – Type “appwiz.cpl” and hit enter.
Step 3 – Remove the programs.
Now the window called programs and features is open, in this window you can select the programs what you’ve never used and uninstall it.
If you having problem with uninstalling a program here is link to show you “How To Remove A Program & Software Which Won’t Able To Uninstall ?”
3. Limits Startup Programs
Startup programs are those programs which starts automatically when your windows starts. You can customize your startup programs and make your windows boots up quickly.
Step 1 – Open run command.
Step 2 – Type “msconfig” and hit enter.
Step 3 – Go to the startup tab and Un-tick those programs what you’ve never want to start with your windows startup.
4. Windows drive cleanup
It’s easy to perform a disk clean up, by using this you can easily delete the junk files, previous windows file, internet temporary files and etc.
Step 1 – Go to the C:/ drive properties and click on disk cleanup. After that click on “clean up system files” if showing.
Step 2 – Select the files what you wanna to delete and click “ok” to delete it.
5. Viruses checkup
Viruses are the main reason for a slow computer. Download the free antivirus software (recently updated) and full scan your computer.
Here’s a link to download the free antivirus >>>
Link 1 -http://filehippo.com/download_avast_antivirus
Link 2 – http://www.avast.com/download-thank-you.php
Step 1- Download the antivirus and install it.
Step 2 – Now update the antivirus software.
Step 3 – Full scan your computer.
6. Defragment your hard disk
Disk Defragmenter rearranges fragmented data so your disks and drives can work more efficiently. You can use the windows disk defragment tool or you use the 3rd party defragment tool.
You can open windows Defragment tool by using run command. Here’s a command below to open disk defragment:
Windows XP Run Command — dfrg.msc
Windows 7, 8 Run Command – dfrgui
I recommend you to use the 3rd party software named “defraggler” because it’s fast and work better. Here’s a download link bellow to download that software.
Link 1 – https://www.piriform.com/defraggler
Link 2 – http://filehippo.com/download_defraggler
7. Turn off visual effects
You can customize and disable your windows visual effects to make your windows response faster.
Step 1 – Open your computer’s properties. (Shortcut key WINDOWS KEY+PAUSE/BREAK )
Step 2 – click “Advanced System Settings” on the left and after that click on “setting” under the performance tab.
Now you can customize you’re your visual effects and make your computer faster.
8. Adding more memory (RAM)
RAM is random access memory. It’s a fast version of a typical hard drive, and it’s used to store temporary information and data currently in use by your system (mainly operating system). The more RAM you have the better performance your machine gives you. You can think of RAM as tellers in a bank processing customers’ needs in real time. The more tellers you have (RAM), the faster the processing. Adding a memory is a good up gradation to speed up your computer. Here’s some links which can help’s you regarding your ram upgradation.
CCNA & CCNP Routing & Switching Certification Training
Become an IT Hardware and Networking Expert
· Ability to install, configure, operate, and troubleshoot medium-size routed and switched networks
· Ability to plan, implement, verify and troubleshoot local and wide-area enterprise networks
· Work collaboratively with specialists on advanced security, voice, wireless and video solutions