5 Haziran 2018 Salı

How to configure “Cisco C- 2960-X”

Cisco C- 2960-X_Switch Configuration

How to configure “Cisco C- 2960-X”


You can use both LAN and Serial connection to login device.


(Test Network)Cisco Manageable Switch Access(Serial) Information
Serial Port= Com 1
Baudrate=9600


1. Login device with use putty.
Serial Port= Com 1
Baudrate=9600

2. Switch to privileged mode with enable command
Yazilim_Test_SW#enable

3. Switch to configuration mode with 'configure terminal' command
Yazilim_Test_SW#configure t

4. Switch to interface configuration mode enter the interface command

Yazilim_Test_SW(config)#interface gigabitEthernet 1/0/13

Yazilim_Test_SW(config-if)#switchport access vlan 706

Yazilim_Test_SW(config-if)#interface gigabitEthernet 1/0/14

Yazilim_Test_SW(config-if)#switchport access vlan 706

Yazilim_Test_SW(config-if)#interface gigabitEthernet 1/0/15

Yazilim_Test_SW(config-if)#switchport access vlan 706

6.Save your entries in the configuration file.
Yazilim_Test_SW(config-if)#copy running-config startup-config

4 Haziran 2018 Pazartesi

How to configure Cisco AIR-AP1242 AG-E-K9 MA

                          How to configure Cisco AIR-AP1242 AG-E-K9 MA


1. Login with putty serial configuration



2. Switch to privileged mode with enable command
3. Switch to configuration mode with 'configure terminal' command

   a) set profile
   ap(config)#dot11 ssid Test
   authentication open
   guest-mode
   authentication key-management wpa version 2
   wpa-psk ascii 123456789

   
3. set interface
   a) Set Ciphers
   ap(config)#interface dot11Radio 0
   encryption mode ciphers aes-ccm tkip
   ssid Test
   no shutdown
   end
4. backup our configuration with:

ap#copy running-config startup-config





5. for reset type:
write erase
reload



How to install Apache Jmeter on Ubuntu

Before installing JMeter it is essential to check the presence of Java in your machine as JMeter is a Java based application. If it isn't installed, use the following command to do the same.

How to Install Java 8 on Debian
Oracle Java 8 required by some programs and it is not available on Debian archive due to licensing issues.
To install Java 8 on Debian Jessie with minimum effort, you can use WebUpd8’s Java PPA repositories. Follow the steps below:

First,
update the package index.

root@dhcpserver:~# apt-get update

Next,
To ensure that we get the correct source line on Debian,

:~# vi /etc/apt/sources.list.d/java-8-debian.list

we’ll need to modifies the following command line:

deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main

Save and exit the file.

root@dhcpserver:~# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886

This should display something like this:

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.2xygQ4W97k --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trus

Update the package index.

root@dhcpserver:~# apt-get update

This should display something like this:
Ign http://ftp.tr.debian.org jessie InRelease                                                                                              
Get:1 http://ppa.launchpad.net trusty InRelease [15.5 kB]

To install JDK 9, use the following command:

root@dhcpserver:~# apt-get install oracle-java8-installer

This should display something like this:
Reading package lists... Done
Building dependency tree     
Reading state information... Done

After installation, you can check the java version:

root@dhcpserver:~# java -version

This should display something like this:

java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)


Installing Jmeter

Once Java is installed, restart the Apache serveice as follows:

root@dhcpserver:~# service apache2 restart

The next thing to do is to update your apt source. Use the following command for the same


root@dhcpserver:~# apt-get update

Navigate https://archive.apache.org/dist/jmeter/binaries/ and download the Apache JMeter (3.2 version or others)

The latest  version of Apache JMeter is required. Use the wget command to download it.

root@linuxhelp:~# wget -c https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-3.1.tgz

Once the download is done, extract the downloaded file by using tar command.

root@dhcpserver:~# tar -zxf apache-jmeter-3.2.tgz

Move to JMeter bin directory

root@dhcpserver:~# cd apache-jmeter-3.1/bin/

And list the files for checking the JMeter files.

You can start the Apache JMeter application by using the following command.




Now you can use Apache JMeter.

27 Nisan 2016 Çarşamba

tcpdump ile pcap alma ve pcap okuma


tcpdump ile pcap alma

tcpdump -s0 -nni ethx host(hostname) -w  test.pcap

-s0 :paketin tamamini kaydetmek icin

-nni :name resolation yapmamasi icin


kaydedilen pcap'i okumak icin :

 tcpdump -ttttnnr test.pcap

dump alinabilcek interfaceler icin :

tcpdump -D 

interface'den almak icin :

tcpdump -i eth0

13 Şubat 2016 Cumartesi

linux üzerinde iso dosyası mount işlemi

linux üzerinde iso dosyası mount işlemi:

# mount -o loop kali-linux-2016.1-amd64.iso /mnt/media

20 Ocak 2016 Çarşamba

Linux servislerin acilip/kapatilmasi


                             Komut satırından  görsel bir araç kullanarak calışma seviyelerinde çalışacak servisleri
          ayarlamak için ntsysv komutu kullanılabilir.
               
                 Komutun kullanımı :
      
                 [root@A init]# ntsysv