Monday, November 14, 2011

Installing GNS3 on CentOS 6.x/RHEL 6.x/Fedora 15


  1. Login as root then do the following steps:
    yum install python python-devel xorg-x11-proto-devel libXext-devel gcc-c++ libXrender*
     2. Download and install Qt
         http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz
         tar -xzf qt-everywhere-opensource-src-4.7.4.tar.gz
         cd qt-everywhere-opensource-src-4.7.4
         ./configure -nomake examples -nomake demos -qt-gif -no-exceptions -debug -qt3support
         gmake
         gmake install
         PATH=/usr/local/Trolltech/Qt-4.7.4/bin:$PATH
         export PATH




     3. Download and install sip
         http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.13.tar.gz 
         tar -xvf sip-4.13.tar.gz
         cd sip-4.13.tar
         python configure.py
         make
         make install

    4. Download and install PyQt
        http://ftp.pardus.org.tr/pub/source/2009/PyQt-x11-gpl-4.8.4.tar.gz
        tar xvf PyQt-x11-gpl-4.8.4.tar.gz
        cd PyQt-x11-gpl-4.8.4
        python configure.py -q /usr/local/Trolltech/Qt-4.7.4/bin/qmake
        make
        make install

   5. Download GNS3
       http://downloads.sourceforge.net/project/gns-3/GNS3/0.7.4/GNS3-0.7.4-src.tar.gz
       tar -xvf GNS3*.tar.gz && rm GNS3*.tar.gz
       cd GNS3-0.7.4-src
       mkdir Dynamips IOS Project Cache Temp
  
   6. Download Dynamips depending up on OS (64-bit/32-bit)
       cd dynamips
       (for 64-bit OS)
       http://downloads.sourceforge.net/gns-3/dynamips-0.2.8-RC2-amd64.bin?download 
       (for 32-bit OS)
       http://downloads.sourceforge.net/gns-3/dynamips-0.2.8-RC3-community-x86.bin?download

       chmod +x dynamips-0.2.8-RC2-amd64.bin (if we use 32-bit version, use the name of that file)

   7. Creating Quick launch with gns3 icon
       http://www.noahbeach.com/wp-content/uploads/2011/08/gns3.png

       Now right click on the panel and select add to panel > custom launcher > select the gns3 location and press on the icon button to locate the icon just downloaded. ok
Now if we press that icon in the panel, gns3 will run…!!!

   





Basic Networking commands in windows dos


Here is some basic DOS networking connections commands in windows system. Those commands are very useful for a networking engineer,system admin and also you who is interested about networking issue. Though those commands are very common and many of you may know it already but sometimes we can’t remember those simple command, that’s why I think of sharing of it with you guys.

* To see the system information: systeminfo
*  Display Connection Configuration: ipconfig /all
*  Display DNS Cache Info Configuration: ipconfig /displaydns
*  Clear DNS Cache: ipconfig /flushdns
*  Release All IP Address Connections: ipconfig /release
*  Renew All IP Address Connections: ipconfig /renew
*  Re-Register the DNS connections: ipconfig /registerdns
*  Change/Modify DHCP Class ID: ipconfig /setclassid
*  Network Connections: control netconnections
*  Test Connectivity: ping supto.net
*  Displays the TCP/IP protocol sessions: netstat
*  Display Local Route: route
*  Display Resolved MAC Addresses: arp
*  Display Name of Computer Currently on: hostname
*  Display DHCP Class Information: ipconfig /showclassid
*  Name Server Lookup: nslookup google.com
*  Access and maintain a Microsoft File/Printer Sharing environment: net
*  For Traces the route: tracert supto.net  (press ctrl+break to came out of this command)
*  Combines functions of Ping and Tracert : pathping /?
*  Used to retrieve the information about a user on a network: finger

There is one special IP number everyone should know about it:
127.0.0.1 – localhost (or loopback).
This is used to connect (through a browser, for example) to a Web server on your own computer. (127.0.0.1 is reserved for this purpose.) You can use this IP number at all times. It doesn’t matter if you’re connected to the Internet or not.
It is also called the loopback address because you can ping it and get returns even when you’re offline . If you don’t get any valid reply, then there’s a problem with your computer’s Network settings.

 


Sunday, November 13, 2011

Meaning of BEEP & ERROR CODES in PC


One Beep:
Quote:
DRAM refresh failure
This may be due to - Bad memory chips
- A bad DMA Chip
- Bad memory addressing chips on the motherboard

Two Beeps:
Quote:
Parity error or Parity Circuit failure
Your memory may not be seated properly on the mother board.
Unplug and plug it properly

Three Beeps:
Quote:
Bad memory or bad mother board

Four beeps:
Quote:
Timer failure in the RAM.

Five Beeps:
Quote:
CPU chip may be dead

Six Beeps:
Quote:
Keyboard controller may have failed

Seven beeps:
Quote:
CPU is dead. Retry the connections and test.
Replace the whole motherboard.

Eight Beeps:
Quote:
Video card is missing or Bad.

Nine Beeps:
Quote:
Damaged ROM BIOS. BIOS chip has to be replaced if it persists.

Ten Beeps:
Quote:
CMOS shutdown. Replace CMOS memory and associated chips.

Eleven Beeps:
Quote:
Cache memory test has failed.
To enable cache memory try CTRL+ALT+SHIFT++.

One long Beep and Three short Beeps:
Quote:
Memory failure

One long Beep and Eight short Beeps:
Quote:
Video card failure. Try to install video card in another slot.

No Beeps:
Quote:
Check Power supply
Check mother board connections
Remove all cards except video card and check for system power up
Insert all cards one at a time and check their operation.
If system hangs on the installation of a particular card, then it is the
cause for the problem and replace it with another of that type and check