Kmaiti

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 6 January 2011

How to install video player(real player) on linux system?

Posted on 23:30 by Unknown
Guys,

You can install real player on the linux machine to play the video files. Please install the package. You'll get it from here.

======
http://www.real.com/realplayer/download
======

Install the rpm like :

rpm -ivh rpm_name. You can install using auto installer.

Then go to "application >> sound & video >> find the real player.

Select the video file and enjoy it.

Try :)
Read More
Posted in | No comments

How to install mplayer on linux machine?

Posted on 23:00 by Unknown
Guys,

mplayer can be used to watch video files on linux machine. You can download the software using svn(subversion) tool. Just make it sure that svn has installed on the machine(check like : which svn). If it's there then stop the firewall and follow to compile the mplayer package. If svn is not present on the machine please install it first. Please refer the following URL to do the same :

-------------
http://kmaiti.blogspot.com/2011/01/how-to-install-subversion-svn-on-linux.html
-------------

Environment : RHEL 6, 64 bit OS
Kernel : 2.6.32-71.7.1.el6.x86_64


Then once svn is there, please refer the following steps to install the mplayer.

-------------
root@server[] cd /usr/local/src

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

root@server[] cd mplayer

root@server[] svn update

root@server[]./configure

root@server[] make

root@server[] make install
-------------

O/P on my mc :

------------
[root@kmaiti mplayer]# mplayer -v
Creating config file: /root/.mplayer/config
MPlayer SVN-r32769-4.4.4 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 11
CPU: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz (Family: 6, Model: 37, Stepping: 5)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
------------

PS : You may get following error during executing ./configure.

----
[root@kmaiti mplayer]# ./configure
No FFmpeg checkout, press enter to download one with git or CTRL+C to abort

./configure: line 53: git: command not found
Failed to get a FFmpeg checkout
-----

Just install ffmpeg like :

-----
[root@kmaiti mplayer]# yum -y install git ffmpeg
----

Try :)
Read More
Posted in | No comments

configure: error: could not find library containing RSA_new

Posted on 04:03 by Unknown
Guys,

It seems you have enabled the SSL option during configuring the package. Please either resolve that dependency or disable the SSL option.

Example (configuring neon, needed to install svn) :

With SSL :
--------
cd ../neon
./configure --enable-shared --prefix=$HOME \
--with-libs=$HOME --with-ssl
--------

Without SSL :

--------
cd ../neon
./configure --enable-shared --prefix=$HOME \
--with-libs=$HOME
--------

try :)
Read More
Posted in | No comments

How to install subversion (svn) on linux ?

Posted on 03:32 by Unknown
Guys,

I have referred the second procedure to install svn on my rhel6 mc.

Procedure 1 :
=========
cd /usr/local/src/

wget http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.4.5.tar.gz
wget http://www.sqlite.org/sqlite-3.5.2.tar.gz

tar xzf subversion-1.4.5.tar.gz
tar xzf subversion-deps-1.4.5.tar.gz
tar xzf sqlite-3.5.2.tar.gz

cd sqlite-3.5.2
./configure
make
make install

cd ../subversion-1.4.5
./configure
make
make install
================


Note : If above one doesn't work please refer the following steps :


Procedure 2 :


================
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.4.6.tar.gz
tar -xzvf subversion-1.4.6.tar.gz
tar -xzvf subversion-deps-1.4.6.tar.gz
cd subversion-1.4.6

cd apr
./configure --enable-shared --prefix=$HOME
make && make install

cd ../apr-util
./configure --enable-shared --prefix=$HOME \
--with-expat=builtin --with-apr=$HOME \
--without-berkeley-db
make && make install

cd ../neon
./configure --enable-shared --prefix=$HOME \
--with-libs=$HOME
make && make install

./configure --prefix=$HOME --without-berkeley-db \
--with-editor=/usr/bin/vim --with-apr=$HOME \
--with-apr-util=$HOME --with-neon=$HOME \
--without-apxs --without-apache
make && make install

check :

which svn
svn --version
================

Try :)
Read More
Posted in | No comments

Wednesday, 5 January 2011

How to install ksar on linux machine?

Posted on 01:20 by Unknown
Guys,

To view the system activities on a graph of linux machine, you need to install ksar package. Just download the package and execute "sh run.sh" command inside that downloaded directory on konsole. It'll open java applet and run the local command at "Data" option. That's it.


Source file of the package :

==========
http://sourceforge.net/projects/ksar/files/ksar/5.0.6/kSar-5.0.6.zip/download?use_mirror=biznetnetworks
==========

Try :)
Read More
Posted in | No comments

Tuesday, 4 January 2011

How to configure tata photon + on linux machine + rdehat

Posted on 09:27 by Unknown
Guys,

Please read the article before proceeding to configure the USB modem.

==============
[root@kmaiti ~]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
^RSSILVL: 60
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATZ
ATZ
OK
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
ERROR
--> Invalid dial command.
==============

I got the above error message during executing the "wvdial" command to configure the Tata Photon+ EC1261 USB modem with the RHEL6 linux machine. The error usually throws if your modem isn't activated. You need to first activate it. I spent 3-4 hrs to activate it on my linux machine but I was unable to do that since I needed to dial *228. But there was no such option on linux either at GUI or at command prompt. So, my basic concept is I have to activate it at the windows machine. That I did on my friend's machine. Then I just connect the modem to my laptop. Then executed "wvdial" command. It was automatically connected the modem and it had shown two DNS IP addresses. I added those IP in the /etc/resolve.com file. Then I successfully browsed the google.com and other sites. So, /etc/resolve.conf file looks :

----------------
[root@kmaiti ~]# cat /etc/resolv.conf
#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
# Generated by NetworkManager
search csb redhat.com


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
nameserver 10.11.255.156
nameserver 10.7.142.21
[root@kmaiti ~]#
----------------

Execution of the wvdial command :

===============
[root@kmaiti ~]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Jan 4 14:03:23 2011
--> Pid of pppd: 9827
--> Using interface ppp0
--> pppd: =
--> pppd: =
--> pppd: =
--> pppd: =
--> local IP address 59.161.2.155
--> pppd: =
--> remote IP address 172.29.243.145
--> pppd: =
--> primary DNS address 121.242.190.180
--> pppd: =
--> secondary DNS address 121.242.190.210
--> pppd: =


^CCaught signal 2: Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: =
--> Connect time 16.2 minutes.
--> pppd: =
--> pppd: =
--> Disconnecting at Tue Jan 4 14:19:31 2011
[root@kmaiti ~]#
===============

So, first activate the modem with your service provider and then refer the following steps to configure the modem on your linux machine :

===============
1. Connect / Plug your photon+ to the system and wait till it gets ditected.
2. Open a terminal, run a command "dmesg" and check it is showing the modem name as HUAWEI.
3. Run another command "sudo wvdial" and it will create a config file in /etc/wvdial.conf, something like shown below.
(if u don't have wvdial, you can download it from open.alumnit.ca)

by running "cat /etc/wvdial.conf"
or you can edit it using the command "vi /etc/wvdial.conf"

#
[Dialer Defaults]
Modem = /dev/modem
Baud = 115200
Modem Type = Analog Modem
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
[Dialer info]
Init9 = AT&V
[Dialer photon+]
Modem = /dev/modem
Baud = 115200
Modem Type = Analog Modem
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone =#777
Username = internet //You need to set this during activating the modem on windows m/c.
Password = internet //
Auto DNS = off
#

Note : Here is the exact content on my machine.

----------
[root@kmaiti ~]# cat /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone =
ISDN = 0
; Username =
; Password =
;Phone = 9345675190
Phone = #777
Modem = /dev/ttyUSB2
Username = lovely
Password = lovely
Baud = 9600
Dial Command = ATDT
New PPPD = yes
stupid Mode = 1
[root@kmaiti ~]#
----------

Some of the field may be already filled.

4. In terminal, connect by "wvdial" and don't cancel it. Then add the dns IP at resolve.conf file and save them. Now browse the pages.
===============

Try :)
Read More
Posted in | No comments

ATDT#777 ERROR --> Invalid dial command

Posted on 09:24 by Unknown
Guys,

==============
[root@kmaiti ~]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
^RSSILVL: 60
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATZ
ATZ
OK
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
ERROR
--> Invalid dial command.
==============

I got the above error message during executing the "wvdial" command to configure the Tata Photon+ EC1261 USB modem with the RHEL6 linux machine. The error usually throws if your modem isn't activated. You need to first activate it. I spent 3-4 hrs to activate it on my linux machine but I was unable to do that since I needed to dial *228. But there was no such option on linux either at GUI or at command prompt. So, my basic concept is I have to activate it at the windows machine. That I did on my friend's machine. Then I just connect the modem to my laptop. Then executed "wvdial" command. It was automatically connected the modem and it had shown two DNS IP addresses. I added those IP in the /etc/resolve.com file. Then I successfully browsed the google.com and other sites. So, /etc/resolve.conf file looks :

----------------
[root@kmaiti ~]# cat /etc/resolv.conf
#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
# Generated by NetworkManager
search csb redhat.com


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
nameserver 10.11.255.156
nameserver 10.7.142.21
[root@kmaiti ~]#
----------------

Execution of the wvdial command :

===============
[root@kmaiti ~]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Jan 4 14:03:23 2011
--> Pid of pppd: 9827
--> Using interface ppp0
--> pppd: =
--> pppd: =
--> pppd: =
--> pppd: =
--> local IP address 59.161.2.155
--> pppd: =
--> remote IP address 172.29.243.145
--> pppd: =
--> primary DNS address 121.242.190.180
--> pppd: =
--> secondary DNS address 121.242.190.210
--> pppd: =


^CCaught signal 2: Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: =
--> Connect time 16.2 minutes.
--> pppd: =
--> pppd: =
--> Disconnecting at Tue Jan 4 14:19:31 2011
[root@kmaiti ~]#
===============

So, first activate the modem with your service provider and then refer the following steps to configure the modem on your linux machine :

===============
1. Connect / Plug your photon+ to the system and wait till it gets ditected.
2. Open a terminal, run a command "dmesg" and check it is showing the modem name as HUAWEI.
3. Run another command "sudo wvdial" and it will create a config file in /etc/wvdial.conf, something like shown below.
(if u don't have wvdial, you can download it from open.alumnit.ca)

by running "cat /etc/wvdial.conf"
or you can edit it using the command "vi /etc/wvdial.conf"

#
[Dialer Defaults]
Modem = /dev/modem
Baud = 115200
Modem Type = Analog Modem
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
[Dialer info]
Init9 = AT&V
[Dialer photon+]
Modem = /dev/modem
Baud = 115200
Modem Type = Analog Modem
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone =#777
Username = internet //You need to set this during activating the modem on windows m/c.
Password = internet //
Auto DNS = off
#

Note : Here is the exact content on my machine.

----------
[root@kmaiti ~]# cat /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone =
ISDN = 0
; Username =
; Password =
;Phone = 9345675190
Phone = #777
Modem = /dev/ttyUSB2
Username = lovely
Password = lovely
Baud = 9600
Dial Command = ATDT
New PPPD = yes
stupid Mode = 1
[root@kmaiti ~]#
----------

some of the field may be already filled.

4. In terminal, connect by "wvdial" and don't cancel it. Then add the dns IP at resolve.conf file and save them. Now browse the pages.
===============

Try :)
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • [a fatal error or timeout occurred while processing this directive] + cpanel
    Guys, Just check the cpanel log file and you'll get the clue from there. I got following messages : execute : tail -f /usr/local/cpanel/...
  • How to access the webalizer from the outside of the cpanel?
    Guys, I don't want to post this type of article since you'll get it from the Google. But still I did. I followed following steps : E...
  • How to enable php in apache on RHEL ?
    1. In order to enable php engine in apache, you should make sure php is installed in the system first. Then refer following steps : locate l...
  • WHM + http showing failed ?
    Guys, Please check the log of the apache server like : 1. tail -f /usr/local/apache/logs/error_log 2. check the http port in /usr/local/apac...
  • How do I determine if my x86-compatible Intel system is multi-processor, multi-core or supports hyperthreading?
    Guys, We need to know about multi-processor, multi-core or supports hyperthreading. Here are the details : Physical ID (Physical processor o...
  • Addition, multiplication etc in bash script?
    ======== #!/bin/bash x=5 # initialize x to 5 y=3 # initialize y to 3 add=$(($x + $y)) # add the values of x and y and assign it to va...
  • How to install phpshield on 32 or 64 bit linux machine?
    Guys, phpSHIELD protects your PHP Source Code with a powerful, easy to use encoder, which creates a native bytecode version of the script an...
  • Directory structure of Qmail :-
    [root@ds1130 var]# tree qmail/ | grep [a-zA-Z] qmail/ |-- alias |-- bin | |-- autoresponder | |-- bouncesaying | |-- cmd5checkpw | |...
  • NDMP communication failure error
    Guys, Issue : Netbackup server sends alert NDMP communication failure once everyday. But there is no issue to run scheduled backup jobs. Env...
  • make: *** [install-webconf] Error 1
    Guys, I got this error message during configuring the nagios : Here is the exact error message. ======= root@server [/usr/local/src/nagios-3...

Categories

  • ACL
  • ESX
  • Linux
  • Storage
  • UCS

Blog Archive

  • ▼  2013 (5)
    • ▼  May (1)
      • NDMP communication failure error
    • ►  April (3)
    • ►  February (1)
  • ►  2012 (10)
    • ►  July (1)
    • ►  June (1)
    • ►  April (1)
    • ►  March (3)
    • ►  February (3)
    • ►  January (1)
  • ►  2011 (86)
    • ►  December (3)
    • ►  November (2)
    • ►  September (19)
    • ►  August (9)
    • ►  July (5)
    • ►  June (9)
    • ►  May (12)
    • ►  April (3)
    • ►  March (4)
    • ►  February (5)
    • ►  January (15)
  • ►  2010 (152)
    • ►  December (9)
    • ►  November (34)
    • ►  October (20)
    • ►  September (14)
    • ►  August (24)
    • ►  July (19)
    • ►  June (3)
    • ►  May (25)
    • ►  April (3)
    • ►  January (1)
Powered by Blogger.