It is only for ………………………

July 1st, 2010

It is only for ……..

When SQUID was used for internet sharing in All MS enviornment  respone was :- It is only in the server side , and It is not doing much other than internet sharing.

When using CVS . Explanation was was:-  It is only in the version control
When using Linux OS for ORACLE erp . Explanation Oracle works well with Linux
When SAMBA was used for PDC. Explanation was was:-  It is only in the server side
When Nagious /ZABBIX was used.   Explanation was was:-  It is only for monitoring
When SNORT  was used. Explanation was :-  It is only for IDS
When OpenVPN was used. Explanation was :-  It is only for VPN
When ISPConfig was used. Explanation was :-  It is only for Web Site management
when Joomla was used. Explanation was :-  It is only for Web Site hosting
When Asterisk was used . Explanation was :-  It is only for Phone system

When DOTproject was used. Explanation was :-  It is only for Project Management

When UltraMonkey was used. Explanation was :-  It is only for Load Balancing

When heartbeat was used.  Explanation was :-  It is only for High Avaliablity

When Amanda/BackuPC was used. Explanation was :-  It is only  for BackupWhen
When Nuxeo was introduced[Not used live so far] :- It is only for DM

Problem in sharing the HP printer

June 27th, 2010

Configuring  HP5200 was too simple . I had done only this much . I connected the printer to the server (feodra 12 ) , and switched on the server
The printer was automatically detected and configured to the system.
From the client side (Fedora 12) I did had problem in connecting to the printer. This was because of name resolution problem + cups
settings
I had to do few steps
# In the server (ie where the printer was connected ) I had to give the necessary sharing option for the CUPS (http://server.mydomain.com:631/
# In  the Linux client PC , I had to edit the /etc/hosts file and made entry for the server

Disabling services in Ubuntu

June 22nd, 2010

In ubuntu u can use

“update-rc.d -f  service remove ” to disable the services when the machine boots up

SSL Notes

June 15th, 2010

To generate a RSA key
openssl genrsa -out privkey.pem 2048

To generate a DSA key
openssl dsaparam -out dsaparam.pem 2048

Creating a certificate request
openssl req -new -key privkey.pem -out cert.csr

Creating a self-signed test certificate
openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095

Secuirty Tips and notes

June 12th, 2010

commands to try

ps -aux , lsof, readelf,netstat

Look for recently modified files with find / -mtime -7 –print
Look for unusual SUID root files find / -uid 0 –perm -4000 –print

Look for files that do not belong to any existing user of the server with
find / -nouser -print

Tools to try

ebox,Tripwire,Nessus,Openvas,rkhunter,chkrootkit

Secret codes for nokia

June 9th, 2010

*#06#IMEI number (International Mobile Equipment Identity).
*#0000#Firmware version.
*#92702689#Life timer (W A R 0 A N T Y), The time your phone has spent in sending and receiving calls.
*#62209526#Wireless MAC Address.
*#2820#Bluetooth MAC address.
*#7370#Format phone.
*#7780#Factory Reset
*#7780#
*#7370#

Finding files which has been created few days back

June 9th, 2010

find . -iname “*.PNG” -mtime -4 -print

-iname option is to search ignoring the case

ZM on Ubuntu

June 9th, 2010

Just tried out ZM for Panasonic MV-NP244 , steps are

Installed zoneminder using synaptic

Had to configure Apache =>

  • sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
  • sudo /etc/init.d/apache2 force-reload

Now since ZM minder is run by Apache we need to give access for www-data to video group

  • sudo adduser www-data video

Now we will be able to check the ZM from the link , http://IP/zm

When you are selection  the network camera , please do check “presets” in  “source” and select the camera type . I did not  do this and broke my head

Installing Virtual Box Guest Additions on centos

May 2nd, 2010

The prerequisites are gcc , header and build files ,

Do ” yum -y install gcc kernel-devel kernel-header ”

Some times after  doing the above steps , still I say says build and header missing

then do yum -y install kernel-devel-theversion

List of Open Source PBX software

April 20th, 2010

Asterisk

FreeSwitch

Bayonne             http://www.gnutelephony.org/index.php/GNU_Bayonne

Yate                      http://yate.null.ro