Friday, September 14, 2007
Pass SAMBA through IPTABLES ......
Samba connections use the 445/tcp, 139tcp, 137/udp and 138/udp ports. To enable these ports, login to the server as root and run the following commands.
#iptables -I INPUT -s 192.168.0.0/24 -p tcp --dport 445 -j ACCEPT
#iptables -I INPUT -s 192.168.0.0/24 -p tcp --dport 139 -j ACCEPT
#iptables -I INPUT -s 192.168.0.0/24 -p udp --dport 138 -j ACCEPT
#iptables -I INPUT -s 192.168.0.0/24 -p udp --dport 137 -j ACCEPT
#iptables-save > /etc/sysconfig/iptables
That's it, you are done.....
Wednesday, August 8, 2007
Good thought...
balls in the air. You name them - work, family, health,
friends and spirit and you're keeping all of these in the
air.
You will soon understand that work is a rubber ball.
If you drop it, it will bounce back.
But the other four Balls - family, health, friends and
spirit - are made of glass. If you drop one of these; they
will be irrevocably scuffed, marked, nicked, damaged or even
shattered. They will never be the same. You must understand
that and strive for Balance in your life."
Think on it & play with them.....
Saturday, July 28, 2007
Worth Read..10/90 principle of life...
What is this principle? 10% of life is made up of what happens to you. 90% of life is decided by how you react. What does this mean? We really have no control over 10% of what happens to us.
We cannot stop the car from breaking down. The plane will be late arriving, which throws our whole schedule off. A driver may cut us off in traffic. We have no control over this 10%. The other 90% is different. You determine the other 90%.
How? By your reaction. You cannot control a red light., but you can control your reaction. Don't let people fool you; YOU can control how you react.
Let's use an example. You are eating breakfast with your family. Your daughter knocks over a cup of coffee onto your business shirt. You haveno control over what just what happened. What happens when the next will be determined by how you react. You curse. You harshly scold your daughter for knocking the cup over. She breaks down in tears. After scolding her, you turn to your spouse and criticize her for placing the cup too close to the edge of the table. A short verbal battle follows. You storm upstairs and change your shirt. Back downstairs, you find your daughter has been too busy crying to finish breakfast and get ready for school. She misses the bus. Your spouse must leave immediately for work. You rush to the car and drive your daughter to school. Because you are late, you drive 40 miles an hour in a 30 mph speed limit. After a 15-minute delay and throwing $60 traffic fine away, you arrive at school. Your daughter runs into the building without saying goodbye. After arriving at the office 20 minutes late, you find you forgot your briefcase. Your day has started terrible. As it continues, it seems to get worse and worse. You look forward to coming home, When you arrive home, you find small wedge in your relationship with your spouse and daughter.
Why? Because of how you reacted in the morning. Why did you have a bad day?
A) Did the coffee cause it?
B) Did your daughter cause it?
C) Did the policeman cause it?
D) Did you cause it?
The answer is D. You had no control over what happened with the coffee. How you reacted in those 5 seconds is what caused your bad day. Here is what could have and should have happened. Coffee splashes over you. Your daughter is about to cry. You gently say, "It's ok honey, you just need,to be more careful next time". Grabbing a towel you rush upstairs. After grabbing a new shirt and your briefcase, you come back down in time to look through the window and see your child getting on the bus. She turns and waves.You arrive 5 minutes early and cheerfully greet the staff. Your boss comments on how good the day you are having.
Notice the difference? Two different scenarios. Both started the same. Both ended different. Why? Because of how you REACTED. You really do not have any control over 10% of what happens. The other 90% was determined by your reaction.
Here are some ways to apply the 90/10 principle.
If someone says something negative about you, don't be a sponge. Let the attack roll off like water on glass. You don't have to let the negative comment affect you! React properly and it will not ruin your day. A wrong reaction could result in losing a friend, being fired, getting stressed out etc.
How do you react if someone cuts you off in traffic? Do you lose your temper? Pound on the steering wheel? A friend of mine had the steering wheel fall off) Do you curse? Does your blood pressure skyrocket? Do you try and bump them? WHO CARES if you arrive ten seconds later at work? Why let the cars ruin your drive? Remember the 90/10 principle, nd do not worry about it.
You are told you lost your job. Why lose sleep and get irritated? It will work out. Use your worrying energy and time into finding another job.
The plane is late; it is going to mangle your schedule for the day. Why take out your frustration on the flight attendant? She has no control over what is going on. Use your time to study, get to know the other passenger. Why get stressed out? It will just make things worse. Now you know the 90-10 principle. Apply it and you will be amazed at the results. You will lose nothing if you try it.
The 90-10 principle is incredible. Very few know and apply this principle. The result? Millions of people are suffering from undeserved stress, trials, problems and heartache. There never seem to be a success in life. Bad days follow bad days. Terrible things seem to be constantly happening. There is constant stress, lack of joy, and broken relationships. Worry consumes time. Anger breaks friendships and life seems dreary and is not enjoyed to the fullest. Friends are lost. Life is a bore and often seems cruel. Does this describe you? If so, do not be discouraged.
You can be different! Understand and apply the 90/10 principle.
It will change your life.
New lesson of life..
I had planned a lot based on such a thing, which at the very end did not happened & I have nothing more than to sigh...
But this has a good lesson for me... let things happen on their own, be the only cause of them..
Saturday, July 21, 2007
Why the Wedding Ring Should Be Put On That Particular Finger?
Why the Wedding Ring Should Be Put On That Particular Finger?
Try this:
1. First, spread your palm and arrange your finger like this (middle finger needs to be tucked in, as shown below):
2. Try to separate you thumb, you would be able to do so. Return to the original position as above.
3. Repeat on other fingers (non ring finger)
4. Now try your ring finger. You wont be abled to do so. That's the significance. Real love would/should stick together, forever.
Isn't it Funny.....?
Friday, June 29, 2007
Again something about STOCK MARKET
Though the list can be pretty long, here are seven common mistakes people make when investing in equities and that you should stay away from.
Mistake No 1: The first and biggest mistake is not to admit making a mistake
People stubbornly hold on to stocks where they are making sizeable losses in the belief that they can exit when the price reaches their buying price. Most of the minds are not trained to acknowledge the fact that they have made a mistake and probably the best thing is to move on.
There was this gentleman who had bought a "penny stock" at Rs 9 following a tip and hoping that it would double in a few months. The stock first rose by 20% and then declined by almost 40%. He was unwilling to let go of the position with the belief that he will do so only when the price reaches his buy price and it will happen sometime soon.
The gentleman is still holding on to the stock and the stock has lost a further 40%. He could have exited the stock with a loss of just 28% initially (considering the appreciation of 20%). Now his losses are around 56% and he is still holding the stock. This happened in October 2005. Even several blue chip stocks have actually doubled or tripled since then.
Mistake No 2: Buy on tips and khabars and wanting to make a quick buck
Technology has made our lives much easier but at the same time has caused a lot of overload as well. We are subject to SMSes , emails and flyers with lucrative offers for "buy and sell tips" , commodities trading etc. that at the end of the day leave you confused.
In this state only two things can happen, (a) One is that you procrastinate and not take any action with the fear of screwing it up and (b) Succumb to these offers for making you rich quickly.
The point that I am trying to make is that how people who are conservative or sane can take dangerous calls and sabotage their own well being. I remember having met this conservative gentleman who was targeting only 12% returns but still could not resist the stock market temptation when the broker called and showed him some tantalizing figures.
Mistake No 3: Buying a loser on its way down thinking you are averaging your costs
Mistake No 4: Ignoring Risk in the investment and looking only at the returns
Risk is an integral part of every equity investment and some equity investments are more risky than others. People however look at the returns without giving due importance to risk.
Stock Futures can give you great returns but at the same time they can wipe out your capital as well. In the mutual fund context, people look at returns when investing in the fund, but do not consider the kind of risks the fund manager has taken whether it be concentration in stocks or sectors etc. At the same time betting heavily in Futures & Options, Commodities without understanding the nuances of the same is fraught with risk.
Understand the risk, i.e, the downside inherent in every investment and volatility associated with it.
Mistake No 5: Buying penny stocks thinking they are cheaper and ignoring stocks, which are priced above a certain number like Rs 1000 thinking, they are expensive.
Mistake No 6: Exiting Winners early and sticking to Losers
Ask yourself: Suppose I have a choice of 2 boats. Boat A is strong, consistent and has traveled the sea through many rough weathers as well. Boat B is showing some cracks and leaks in certain places. Water seeped in through this boat sometime back. Which boat will I choose to safely get me from this shore to the next?
I bet all would opt for Boat A and no person in his right mind would opt for Boat B. Yet when this same logic is applied to stocks, people will stick to losers (Boat B) but exit winning stocks (Boat A) to make a small profit.
Mistake No 7: Just thinking but not doing anything
Finally doing makes all the difference. There is no substitute for action. Just knowing that exercise is good will not keep you fit. In the same vein, just knowing this stock is good is of no use unless you buy it.
I come across so many intelligent people who know many things but are simply unable to implement because of lack of time and busy schedules.
"I knew this stock would do well, wish I had put in money here" or "I missed a good time to enter this stock" are some common responses you hear. Whatever the reason be, in the end what matters is whether you did what you knew was right. A better option for people here is to put their investments on Autopilot (Automatically investing fixed amounts every month in stocks and mutual funds).
To be a successful investor and create wealth through equities, you should shun the costly mistakes outlined. And yes if you have made any one of the above mistakes, admit it and correct it. More importantly "Stop Hoping".
At the end of the day 'Hope is not a strategy in the equities market.'
Tuesday, June 26, 2007
Great NEWS !!! TCS to power Ferrari F1 cars
Software major Tata Consultancy Services on Tuesday said it has entered into an agreement with Scuderia Ferrari to provide entire software to the Italian automaker's Formula One cars.
"We will provide whole range of software requirement of the F1 car of Ferrari. This is a prestigious feat for us since the precision is very high, " TCS chief executive officer S Ramadorai said.
From car electronics to safety, aerodynamics to trouble-shooting, TCS will work with the Ferrari F1 team to provide IT-based solutions before, during and between races, he added.
The two companies had in 2004 entered into an agreement, under which it will provide IT and engineering services and assist the development of F1 racing cars and Ferrari sports cars.
Ramadorai said the company has already put in place a specialist team of 40 professionals to continuously monitor the project in Italy.
"Auto and aerospace form an important vertical in the company's engineering software division," he said. He said the engineering software division contributes almost six per cent of its total revenue and almost 18 per cent of that comes from aerospace sector.
Kudos to TCS ...
