Browsing All Posts filed under »Linux«

ISCSI TARGET (TARGETCLI) CONFIGURATION FOR RHEL/CENTOS 7x

March 6, 2017

0

ENVIRONMENT OS = Centos 7.2 VG  name = centos_iscsi-target LVM partitions = 1GB LVM partition name 1G-ISCSI-VOL Target package = targetcli      (yum install targetcli) yum install epel-release(optional) iscsid = started on hosts iscsid = on at startup   STEPS targetcli clearconfig confirm=true [root@ISCSI-TARGET ~]# targetcli targetcli shell version 2.1.fb41 Copyright 2011-2013 by Datera, Inc and […]

Quickly Enable Linux Audit

October 27, 2016

0

We are going to log all commands. All events will be logged under /var/log/audit/audit.log. COMMANDS # chkconfig auditd on # service auditd start # auditctl -a exit,always -F arch=b32 -S execve # auditctl -a exit,always -F arch=b64 -S execve HELPFUL COMMANDS aureport -x --summary ausearch -i    (Human Readable) HELPFUL LINK For more details visit official […]

we require peer to have ID ‘x.x.x.x’, but peer declares ‘x.x.x.x’

October 28, 2014

1

PROBLEM At my side we have installed and configured VYATTA firewall and at the other side there was a hardware based firewall (May be CISCO or JUNIPER). We have created many site to site VPNs with different companies and they all are running fine. This time we were facing the subjected matter. At the other […]

Redhat (RHEL) 6x Interfaces name keep changing

March 7, 2014

0

Recently I faced that the Network Interface names keep changing after reboot. on a computer having two network cards made by Intel and Realtek, the network card manufactured by Intel may become eth0 and the Realtek card becomes eth1. In some cases, after a reboot the cards get renumbered. # cat /etc/udev/rules.d/70-persistent-net.rules # This file […]

Howto authenticate redhat from Active Directory

January 3, 2014

0

My tested environment Domain = Windows2008R2 Client OS = RHEL 6.2 Steps samba and winbind must be installed. Host file of windows domain (%windows%\system32\drivers\etc = host file path) and client RHEL OS (etc/hosts = host file path) must be configured   OR   DNS should be working. RHEL client time must be sync with windows domain […]

Vyatta lost the restored data after reboot

September 15, 2012

0

Environment #show version Version:      VC6.1-2010.08.20 Description:  Vyatta Core 6.1 2010.08.20 We backed up vyatta config.boot file via the below command $ configure # save FileName The config.boot file data saved under FileName  file         (/opt/vyatta/etc/config is the PATH where config.boot file will save) suppose this vyatta machine’s hard disk crashed after few days. we created a […]

Howto switch the mode of World Call Wireless Broadband USB EVO device

July 24, 2012

1

Environment OS = Centos 6.2 Device = World Call Wireless Broadband USB EVO (snap is also attached below of device) Agenda Change the mode of the above mentioned device from Mass Storage Device to AnyDATA modem. Issue When you plugged-in the above mentioned device to your Centos 6.2 OS, it detects this device as Mass […]