Upgrade to Fedora 20

It’s my first to upgrade my system in fedora. In last times i downloaded the newer system and install system from scratch.

I heard a lot about you can install system with “FedUp” -> “Fedora Upgrade” tool but i was took a easy road to install newer system by download the CD and put on flash memory and beginning to install system.

I decide to break the rules and use the tool and try on the experiment ūüôā

Requirements: Patience and back up your important files.

1- Update system

# yum update -y

2- Find unused config files

# yum install rpmconf; rpmconf -a

to ensure

# find /etc /var -name '*?.rpm?*'

If nothing appear , go to next step

3- Find and review “unused” packages

# yum install yum-utils; package-cleanup --leaves

Remove the unused packages by

#yum remove package-name-and-version

Iterate this step more than ones to ensure that.

4- Find Install FedUp tool

# yum install fedup

5- upgrade the System

# fedup-cli --network 20

Recommended: make step 5 in command line mode or Text mode by type

# init 3

then after download all packages type¬†# reboot¬† , After the system reboot select from “boot menu”¬† – System upgrade (Fedup)


Posted in Linux | Tagged , | Leave a comment

Cisco IOU For Educitional Not For Commercial !


Prerequisite requirements :

– Cisco IOUs (go to pirateproxy and search about ‘cisco iou with keygen’)

– Any Linux host

In this article, I’ll show how to configure software:

1- Install openssl package on machine.

$ sudo yum install openssl-devel

2- create soft link to libcrypto.so.4

$ sudo ln -s /lib/libcrypto.so.1.0.1e /usr/lib/libcrypto.so.4

3- Change privileges of folder by

$ chmod +x *

4- Run keygen to generate license key

$ python keygen.py

5- copy lincese like this


YOUR_PC_NAME = xxxxxxxxxxxxxxxx;

6- Create file called iourc and copy this in it:

$ touch iourc &&  vi iourc

(ctrl + shift + v ) paste lincese then (Esq)  then write ( :wq ) then Enter

7- Redirect data sent to Cisco to the localhost

When IOU image is started, IOU image sends data to xml.cisco.com. You need to make ‚Äúfake‚ÄĚ DNS entry for xml.cisco.com to avoid this behaviour.

# echo " xml.cisco.com" >> /etc/hosts

8- Run IOU image

To limit number of interfaces on device, in this example (one Ethernet and one Serial port)

$ ./wrapper.bin -m ./i86bi_linux-adventerprisek9-m- -p 2222 -- -e 1 -s 1 200

To run device with all interfaces

$ ./wrapper.bin -m ./i86bi_linux-adventerprisek9-m- -p 2222 200

To get more about more information from here:



Posted in GNS3 | Tagged , , | Leave a comment

Virtualbox Problem

Failed to access the USB subsystem

If you install virtualbox on linux machine and you face this problem like in blow figure, you should write this command in your terminal.

This command, simply put your user in the group of ‘vboxusers’


$ sudo usermod -a -G vboxusers username

To ensure the command worked probably:

$ sudo groups username


Posted in Linux | Tagged , | 1 Comment

Solving no-interface issue in wireshark

To solve “No interface” problem, following this steps :

Fedora 18

$ sudo groupadd wireshark

$ sudo usermod -a -G wireshark YOUR_USER_NAME

$ sudo chgrp wireshark /usr/sbin/dumpcap

$ sudo chmod 750 /usr/sbin/dumpcap

$ sudo setcap cap_net_raw,cap_net_admin=eip /usr/sbin/dumpcap

$ sudo getcap /usr/sbin/dumpcap

$ sudo chmod +xs /usr/sbin/dumpcap


Ubuntu 12.04

$ sudo addgroup -quiet -system wireshark

$ sudo usermod -a -G wireshark YOUR_USER_NAME

$ sudo chown root:wireshark /usr/bin/dumpcap

$ sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap


Posted in Wireshark | Tagged , , | Leave a comment

Multitab Feature

From short time, i face problem with GNS3. The problem is when i create topology consist of number of routers,  GNS3 open terminal windows counted by number of routers.

This problem make me dispersion between what i should doing and GNS3 !!!So i decide to search about solution to that.

Solve this problem is installing “KDE Console” that has feature called “Multi TAB”

For Ubuntu:

$ sudo apt-get install konsole

For Fedora:

$ sudo yum install konsole

After go to GNS3

Edit > preferences > Terminal Settings

and Change to “KDE Konsole” then use > ok > Apply


Posted in GNS3 | Tagged , | Leave a comment

Genearte Complex Password

from os import urandom
from random import choice

char_set = {'small': 'abcdefghijklmnopqrstuvwxyz',
'nums': '0123456789',
'special': '^!$%&/()=?{[]}+~#-_.:,;<>|'}

length = raw_input("Enter number of letters: ")
length = int(length)

def generate_pass(length):
"""Function to generate a password"""

password = []

while len(password) < length:
key = choice(char_set.keys())
a_char = urandom(1)
if a_char in char_set[key]:
if check_prev_char(password, char_set[key]):
return ''.join(password)

def check_prev_char(password, current_char_set):
"""Function to ensure that there are no consecutive

index = len(password)
if index == 0:
return False
prev_char = password[index - 1]
if prev_char in current_char_set:
return True
return False

print "The password is " + generate_pass(length)
Posted in Python | Tagged | Leave a comment