Friday, April 9, 2010

Compress to multiple volume RAR


To compress a big video file, movie.avi and split it into multiple files, each size up to 12MB,

rar a -m5 -v12m myarchive movie.avi

A list of files (myarchive.part1.rar, myarchive.part2.rar, ..) will be created in current directory.

You may change the compression quality, -m5 is the best and the slowest, while -m0 do no compression at all (-m3 is default).

If you prefer the old file naming style (myarchive.rar, myarchive.r00, myarchive.r01, ..), add one extra switch -vn before the archive name.

To uncompress the files (myarchive.part1.rar, myarchive.part2.rar, ..),

rar e myarchive.part1.rar
more if you want to password protect the same, just add -p flag at the end and it will ask you to type password two times.

Monday, April 5, 2010

Presenting the true condigtion of Muslims in Gujarat and India


PRESENTING THE TRUE CONDITIONS OF MUSLIMS IN GUJARAT AND INDIA..

For some years, to spit venom against the Govt. of Gujarat, has become a fashion statement.
And, mind well, many of them are utter lies with malicious intentions and they have been spread throught India. The truth regarding Gujarat Govt.’s intentions and Shri Narendra Modi’s policies have not been projected in the accurate light. These lies propagate that Muslims are severely discriminated against and persecuted in Gujarat. It is a malevolent attempt by anti-Gujarat elements and political enmity to break the spinal cord of fast track progress rate of today’s Gujarat and to strike a blow on the good governance led by Shri Narendra Modi. Misconceptualations and Misinterpretentions have become the back bone of their Modi and Gujarat bashing agenda.
As a result of this campaign, it has been widely projected all around that Muslims in Gujarat are economically and socially segregated and are living in extremely backward conditions.This is far from the truth.
The conditions of Muslims has become the strongly debatable issue by the Congress led UPA Govt. at the centre.. In the year 2006, the Hon. P.M. Shri Manmohan Singh appointed a high power committee headed by the Honorable Justice Shri Rajinder Sachar. This committee was requested to undertake a detailed study of the economic, social and educational conditions of Muslims in the whole of India. The Sachar Committee after the thorough study has submitted a detailed report of over 400 pages. This report is like a shining Sun risen to dispel darkness created by widespread lies about Gujarat. This carefully compiled report projects that the Muslims are happiest in Gujarat. These survey done by a committee initiated by the UPA Govt. illuminates the fact that so called “activists” and “columnist” are deploying their energy and resources to intentionally destroy the harmony among the people of Gujarat.
Muslims are the happiest in Gujarat and how far the anti-Gujarat elements have harmed the interests of Muslims, opens up clearly in front of your eyes...
THE TRUTH IS..
Muslims in educational field.. {Sachar Committee Report:Page 287]
Literacy Rate for all Indians : 64.8%                      Literacy rate in Gujarat :69.1%
Literacy rate for Hindus in India :65.1%                Literacy rate for Hindus in Gujarat :68.3%
Literacy rate for Muslims in India :59.1% {5 points lower than India average}       Literacy rate for Muslims in Gujarat :73.5% {8 points higher than India average.}


Literacy rate in urban areas..{Sachar Committee report:page 287}
All Indians : India Urban 80%                      Gujarat Urban 82%
Muslims :India Urban 70%                           Gujarat Urban 76%
Muslim Males : India Urban 76%                Gujarat Urban :84%
Muslim females: India Urban 63%               Gujarat Urban 68%
IN GUJARAT, MUSLIM FEMALES IN URBAN AREAS BENEFIT WITH AVERAGE LITERACY RATE 5 POINT HIGHER THAN THE NATIONAL AVERAGE AND MUSLIM MALES ACHIEVE EDUCATIONAL EXCELLENCE HIGHER BY 8% THAN THE NATIONAL AVERAGE.


Literacy rate in rural areas :{Sachar Committee report: page 287}
All Indians : India Rural 59%                            Gujarat Rural 61%
Muslims All : India Rural 59%                          Gujarat Rural 61%
Muslim Males : India Rural 62%                      Gujarat Rural 81%
Muslim Females :India Rural 43%                    Gujarat Rural 57%
IN GUJARAT, MUSLIM FEMALES IN RURAL AREAS BENEFIT WITH AVERAGE LITERACY RATE 14 POINTS HIGHER THAN THE NATIONAL AVERAGE AND THE MUSLIM MALES ACHIEVE ACADEMIC EXCELLENCY, HIGHER BY 19% IN RURAL GUJARAT THAN THE AVERAGE NATIONAL RURAL.
One of the noticeable features of education among Muslims in Gujarat is, most Muslims are obtaining mainstream education and very low number of Muslim students are studying in Madrassas than the other states. They are educated in Govt. or Private Schools with the students of other religions. [NCERT Survey]
Number of Villages where population of Muslims is more than 1000 and there is no facility of a school..{Sachar Committee Report, page no. 294}
In the year 2001..
Gujarat had 6 such villages in comparison to 827 in West Bengal and 1365 in Uttar Pradesh.
but today, Gujarat can boastfully announce that this folly has been completelt eradicated and there is no such village without the school facility..


MUSLIMS IN GOVERNMENT SERVICES: {Sachar Committee Report:Page no. 371}
home department:[proportion of Muslims in high posts]
States                      Proportion of Muslims in total populations, in %                      Proportion of Muslims in high posts, in %
Gujarat                                                 9.1%                                                                    7.9%
West Bengal                                        25.2%                                                                 16.6%
Maharashtra                                         10.6%                                                                 1.9%
Kerala                                                   24.7%                                                                 7.3%
Assam                                                   30.9%                                                                  2.o%
Delhi                                                     11.7%                                                                  4.o%


IN GUJARAT, PROPOTION OF MUSLIMS IS 9.1% AND OUT OF WHICH, 9.4% ARE IN HIGHER POSTS AND MUSLIMS IN LOWER CADRE EMPLOYMENT IS 17.1%.


BANK ACCOUNT AND BALANCE AMOUNT [YEAR 2002 TO 2005, Sachar Committee Report: page no.351]
Gujarat..                                 Account wise average of Muslims Rs. 32,932.
West Bengal                         Account wise average of Muslims Rs. 13,824
Assam                                   Account wise average of Muslims Rs. 26,319


This means that Muslims are comfortable to save more in Gujarat, while the economic conditions of Muslims in West Bengal and Assam are extremely bad.


PER CAPITA INCOME, PER MONTH OF MUSLIMS :{Sachar Committee Report: page 365}
Rural Sector: Gujarat-Rs. 668 [Hindus Rs. 644, Scheduled Castes and Scheduled Tribes Rs. 527 and other backward classes Rs. 594]
West Bengal –Rs. 501
Assam –Rs. 511
Andhra Pradesh- Rs. 610
Orissa-Rs. 447
Uttar Pradesh- Rs.509.
THE PER CAPITA INCOME PER MONTH IN RURAL MUSLIMS IN GUJARAT IS 20 TO 25% MORE THAN THE MUSLIMS LIVING IN THE RURAL AREAS IN OTHER STATES AND IT IS ALSO MORE THAN THE OTHER PEOPLE OF GUJARAT. THE AVERAGE INCOME OF RURAL MUSLIMS IN INDIA IS RS. 533, WHERE AS, IN GUJARAT, IT IS MUCH MORE.


PER CAPITA INCOME, PER MONTH OF MUSLIMS :{Sachar Committee Report: page no. 364.}
Urban Sector : Gujarat-Rs. 875
West Bengal- Rs. 748
Andhra Pradesh- Rs. 803
Uttar Pradesh- Rs. 662
Orissa- Rs. 785
THE AVERAGE MONTHLY INCOME OF MUSLIMS IN THE CITIES OF INDIA IS Rs. 804, WHILE INCOME OF MUSLIMS IN GUJARAT IS MUCH MORE.
This statistics by Central Govt. led committee have presented a clear and ingenuous picture. This report is a befitting reply to those who are ever active to defame Gujarat.
The Sachar Committee Report has arrived as a ray of Truth in the midst of darkness created by the storm of lies. Policies and Projects, in Gujarat are not decided on the basis of religion, neither by the C.M. NOR BY THE Gujarat Administration.. but purely on the basis of impartial distribution. All Welfare Schemes are implemented without any kind of discriminations.
And..
Most importantly, Muslims also have to recognize those elements, who utilize them as their VOTEBANK only. They also have to understand that other states have givewn lesser support to Muslims and they are left suffering economically, socially and provided with lesser educational opportunity.
The misrepresentation and ignorance of factual conditions has been taken to excessive lengths to drive their unfavourable agenda. The campaign of falsity against Gujarat should end and there should be joint efforts to work towards communal harmony and equality for all the interests of our country.

Monday, March 15, 2010

How to capture data from remote Computer?

Wireshark Remote Capturing


This short tutorial is without screenshots but a slightly more advanced usecase of Wireshark, namely doing the capture on one box and visualize the captured data in realtime on another box.


Preliminary


The following article describes the way I installed and used the software, I do not issue any guarantee that the same way works for you. You should have some basic knowledge doing things in a shell. As Wireshark runs on a wide variety of platforms, this should work on nearly every platform which are supported by Wireshark and Open-SSH. In my case Debian and Ubuntu were involved.


1. The Problem


It happened that we had some subtle problems regarding DNS, namely regarding Reverse-DNS. Our setup is simple, we have local DNS Servers which forward all queries they can not resolve to an uplink DNS, which should take care for the further nameresolution. The uplink DNS is administrated by another organisation, which led to the usual fingerpointing "we are no guilty, our equipment performs well, we have to invoice you the costs, blabla ...". Sigh. So I thought about how this problem could be further analyzed, and quickly remembered my system described in http://www.howtoforge.com/trafficanalysis-using-debian-lenny. Perfect I thought, the box is already sitting next to the uplink, and it should easily be possible to monitor all traffic which rushes over the uplink, and to have a look on all DNS related traffic, to see what happens.


My first idea was to install Wireshark directly on this box, and with the help of a little X11-forwarding to see whats going on on the uplink. But there was not enough diskspace to install Wireshark and the whole X11 related libraries.


2. The Solution


My next idea was to capture the traffic on the probe into a file, copy this file to my normal box, and read it into Wireshark. But how cumbersome, long-winded, copying files around or at least mount drives over the net. But the solution is so simple. Install tshark (the textmode related little brother of Wireshark) on the probe, call it remotely with the help of ssh, and directly pipe the output of tshark into Wireshark! This solution is from the Wireshark Wiki, but the simplicity enthused and amazed me to write this short Tutorial.


* Setup passwordless ssh login on the probe like described for instance in here, and check that it's working.
* On your local box where your Wireshark sits and waits to do something beneficial simply call it by


wireshark -k -i <( ssh -l root IP-of-probe /usr/bin/tshark -i eth0 -w - port 53 )


and enjoy. The traffic is filtered on the probe, so that you are not knocked down by the vast amount of packages which may travel over your uplink. The captured traffic is transported over a safe, encrypted ssh connection from the probe to the visualization box and you can see in real time whats going on on the uplink.


In my case I did not need to filter out the ssh traffic (as in the example in the Wireshark Wiki), because the sniffing is done on eth0, and the ssh traffic runs over eth1.There are other methods described in the Wireshark Wiki using named pipes, but this method using ssh looked like the easiest to set up to me.


One little problem I had while doing this, that ending Wireshark did not end tshark on the probe, but a
kill tshark
on the probe helped, or, if you are not logged in into the probe


ssh root@probe pkill tshark
should also work.


Regarding our DNS problem I could immidiately see whats going on. ;-)
Find the updated article Here




Sunday, March 14, 2010

તમને ખબર ? – રવીન્દ્ર પારેખ

રેત, તડકો ને સ્મરણનું આ નગર,
સ્તબ્ધતાએ આદરી દીધી સફર.

રેત, તડકો ને સ્મરણનું આ નગર,
શૂન્યતા હસતી રહે અર્થોસભર.

રેત, તડકો ને સ્મરણનું આ નગર,
- ને ક્ષણો પીગળ્યા કરે સૂરજ ઉપર.

રેત, તડકો ને સ્મરણનું આ નગર,
- ને અહીં શબ્દો ભમે ભીંતો વગર.

રેત, તડકો ને સ્મરણનું આ નગર,
ઝાંઝવાનું નામ અહીંયા માનસર !

રેત, તડકો ને સ્મરણનું આ નગર,
ક્યાં હવે એમાં મળે ટહુકાનું ઘર ?

રેત, તડકો ને સ્મરણનું આ નગર,
કોણ પડછાયાને ઉલેચે અરર !

રેત, તડકો ને સ્મરણનું આ નગર,
છે સ્મરણમાં પણ મરણ, તમને ખબર ?

- રવીન્દ્ર પારેખ

રવીન્દ્રભાઈ સ્વભાવે પ્રયોગશીલ છે. અહીં આખી ગઝલમાં ઉલા મિસરા (પહેલી કડી)ને ગઝલના રદીફની જેમ જાળવી રાખીને બાકીની એક લીટી જેટલી સાંકડી જગ્યામાં એમણે આઠ શેર કહેવાનું સાહસ કર્યું છે જે ભાવકોના (સદ્)ભાગ્યે સફળ થયું છે.

કવિ જે નગરની વાત કરી રહ્યા છે એ રેતી, તડકા અને સ્મરણનું બનેલું છે… ત્રણેય કલ્પનો પર એક સાથે ધ્યાન આપીએ તો કેટલીક અર્થચ્છાયાઓ ઉપસી આવે છે. ત્રણેય પકડી શકાતા નથી, ત્રણેય પકડાય એનાથી વિશેષ છટકતા રહે છે, ત્રણેય સ્થિર નથી રહેતા અને ત્રણેયનો આકાર પણ ક્ષણેક્ષણ બદલાતો રહે છે… ત્રણેય કદાચ ભીનાશના અભાવ સાથે પણ સંકળાયેલા છે…