<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;A0YGSX4_eyp7ImA9WhRUGUw.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272</id><updated>2012-01-30T15:55:28.043+05:30</updated><category term="apache" /><category term="linux" /><category term="Python" /><category term="virtualization" /><category term="IT NEWS" /><category term="java" /><category term="Technology" /><category term="Open Source tools" /><category term="Oracle on Linux" /><category term="MediaWiki" /><category term="security" /><category term="Samba" /><category term="Linux installations" /><category term="Troubleshooting" /><category term="OpenNMS" /><category term="Vmware" /><category term="Social Awareness" /><category term="postfix" /><category term="Linux Links" /><category term="Interview Questions" /><category term="TCP/IP" /><category term="Nagios" /><category term="Citrix" /><category term="Product Reviews" /><category term="Training and materials" /><category term="Scripting" /><category term="KVM" /><category term="Answer these Questions" /><category term="unix" /><category term="Concept" /><category term="DatabaseAdminstration" /><category term="Mac" /><category term="Networking" /><category term="Solaris" /><category term="open Nebula" /><category term="windows7" /><category term="MySql" /><category term="Linux Jobs" /><category term="SSL" /><category term="Ubuntu" /><category term="Amanda" /><category term="Bash" /><category term="Downloads" /><category term="iptables" /><category term="Tips and Tricks" /><category term="Frequently Used Commands" /><category term="Vyatta" /><category term="svn" /><title>LearnAdmin</title><subtitle type="html">Linux administration , Unix administration , Vmware Vsphere administration , Oracle DBA ,apache, backup, dhcp, dns, kvm, xen, kernel, ldap, kvm, monitoring, ticketing, networking, Mail servers, SAN,troubleshooting</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.learnadmin.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>270</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Linux/unixAdministration" /><feedburner:info uri="linux/unixadministration" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Linux/unixAdministration</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/Linux/unixAdministration" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FLinux%2FunixAdministration" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><entry gd:etag="W/&quot;CUEERX8zeip7ImA9WhRVFE4.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-767963502947748585</id><published>2012-01-13T11:16:00.000+05:30</published><updated>2012-01-13T11:16:44.182+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-13T11:16:44.182+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="windows7" /><category scheme="http://www.blogger.com/atom/ns#" term="TCP/IP" /><title>How to reset winsock entries and reset TCP/IP stack in windows7</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
goto command prompt then enter below two commands&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;netsh winsock reset catlog&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;netsh int ip reset reset.log hit&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then reboot your pc&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-767963502947748585?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=kNDfVFRvXpY:qGCrb3Oq7B8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=kNDfVFRvXpY:qGCrb3Oq7B8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/kNDfVFRvXpY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/767963502947748585/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=767963502947748585&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/767963502947748585?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/767963502947748585?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/kNDfVFRvXpY/how-to-reset-winsock-entries-and-reset.html" title="How to reset winsock entries and reset TCP/IP stack in windows7" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2012/01/how-to-reset-winsock-entries-and-reset.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04NRH46fip7ImA9WhRQGUo.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-6056796061589614434</id><published>2011-12-15T23:29:00.000+05:30</published><updated>2011-12-15T23:29:55.016+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-15T23:29:55.016+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Open Source tools" /><category scheme="http://www.blogger.com/atom/ns#" term="MediaWiki" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux installations" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Step by Step method to install Media Wiki</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Step-By-Step Installation Procedure of Mediawiki on Ubuntu Server  9.04 or Other Distribution as well (If it is rpm distribution replace  aptitude/apt-get to yum)&lt;br /&gt;
&lt;br /&gt;
Ubuntu installation using these commands: &lt;br /&gt;
&lt;b&gt;aptitude Update &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;aptitude install apache2 mysql-server php5 php5-mysql mediawiki php5-gd -y &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
After installation Make sure that Apache is up and running&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;gedit /etc/apache2/apache2.conf&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
(Note that it’s a good idea to back up any system configuration  file before editing it. You can do so quickly by using sudo cp  /etc/apache2/apache2.conf ~/Desktop to save a copy to your Desktop. You  can of course use vi or emacs or the editor of your choice, but most new  users seem to prefer gedit’s GUI.)&lt;br /&gt;
&lt;br /&gt;
Once you are in gedit, add the following line to the end of the file:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;AddType application/x-httpd-php .html&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Save the file and exit gedit. &lt;br /&gt;
Now we’ll need to prepare MySQL for use with MediaWiki. First, you’ll need to run MySQL’s install script: &lt;br /&gt;
&lt;b&gt;sudo mysql_install_db&lt;/b&gt; &lt;br /&gt;
Once this is completed, log into the MySQL command-line client: &lt;br /&gt;
&lt;b&gt;mysql -u root –p &lt;/b&gt;&lt;br /&gt;
Enter your MySQL root user password from above, and you’ll find  yourself at the MySQL&amp;gt; local client prompt. First, create a database  for MediaWiki to use: &lt;br /&gt;
&lt;b&gt;CREATE DATABASE mediawiki; &lt;/b&gt;&lt;br /&gt;
(Note that all commands entered in the MySQL local client must end with a semicolon to denote the end of the statement.)&lt;br /&gt;
&lt;br /&gt;
Once the database is created, you’ll need to create a database  user so MediaWiki can access your newly created database. While still in  the MySQL command line client, type this:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;CREATE USER mediawikiuser;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Then create a password for your new user (note that your password  will actually go within the quotation marks, and is case-sensitive):&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SET PASSWORD FOR mediawikiuser = PASSWORD(“password”);&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now that you’ve got your MediaWiki database and your MediaWiki  database user, you’ll need to grant the user all permissions on the  database (again, the password goes within the quotation marks, and is  case sensitive):&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;GRANT ALL PRIVILEGES ON mediawiki.* TO mediawikiuser@localhost IDENTIFIED BY ‘password’;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
(Make sure to append “@localhost” to mediawikiuser; otherwise you  might get a database error later on when MediaWiki tries to run its  installation script.) &lt;br /&gt;
Configure MediaWiki &lt;br /&gt;
&lt;b&gt;gedit /etc/mediawiki/apache.conf &lt;/b&gt;&lt;br /&gt;
Remove the '#' on the third line so that line reads:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;Alias /mediawiki /var/lib/mediawiki&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;b&gt;/etc/init.d/apache2 restart &lt;/b&gt;&lt;br /&gt;
&lt;a class="external free" href="http://localhost/mediawiki" rel="nofollow" title="http://localhost/mediawiki"&gt;http://localhost/mediawiki&lt;/a&gt; ( Follow up the Index page Configuration U need to give the database username and password etc) &lt;br /&gt;
Note: makesure user the username, password and Database should be correct &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-6056796061589614434?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=46JofEpljjE:tRNsaa_HKhQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=46JofEpljjE:tRNsaa_HKhQ:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/46JofEpljjE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/6056796061589614434/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=6056796061589614434&amp;isPopup=true" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/6056796061589614434?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/6056796061589614434?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/46JofEpljjE/step-by-step-method-to-install-media.html" title="Step by Step method to install Media Wiki" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>2</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/12/step-by-step-method-to-install-media.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MCRXg8eyp7ImA9WhRQGUo.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-1405125288155995497</id><published>2011-12-15T22:59:00.003+05:30</published><updated>2011-12-15T23:21:04.673+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-15T23:21:04.673+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Open Source tools" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux installations" /><category scheme="http://www.blogger.com/atom/ns#" term="OpenNMS" /><title>Step by step Method to install OpenNMS</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Note:  Make sure snmp is already installed on the Server.  If not  run&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;apt-get install snmpd -y&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Add the OpenNMS Repository to Your sources.list&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;deb &lt;a class="external free" href="http://debian.opennms.org/" rel="nofollow" title="http://debian.opennms.org"&gt;http://debian.opennms.org&lt;/a&gt; stable main
deb-src &lt;a class="external free" href="http://debian.opennms.org/" rel="nofollow" title="http://debian.opennms.org"&gt;http://debian.opennms.org&lt;/a&gt; stable main &lt;/b&gt;
&lt;/pre&gt;&lt;br /&gt;
Add the OpenNMS PGP Key to APT&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;wget -O - &lt;a class="external free" href="http://debian.opennms.org/OPENNMS-GPG-KEY" rel="nofollow" title="http://debian.opennms.org/OPENNMS-GPG-KEY"&gt;http://debian.opennms.org/OPENNMS-GPG-KEY&lt;/a&gt; | sudo apt-key add - 
apt-get update 
&lt;/b&gt;&lt;/pre&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;(or)
&lt;/b&gt;&lt;/pre&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 4C4CBBD9
apt-get update&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;Installing PostgreSQL&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;b&gt;apt-get install postgresql-8.3 &lt;/b&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;Modify pg_hba.conf file in /etc/postgresql/8.3/main/ 
&lt;/pre&gt;comment all other lines in this file.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
# IPv6 local connections:
host    all         all        &amp;nbsp;::1/128               trust
host    all         all         192.168.1.0           255.255.255.0 trust     &amp;lt;=== Double check 192.168.1.0 it can be 10.10.20.0
&lt;/pre&gt;&lt;br /&gt;
Edit postgresql.conf to Allow TCP/IP Connections&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;vi /etc/postgresql/8.3/main/postgresql.conf 
Uncomment following line 
listen_addresses = 'localhost' 
&lt;/pre&gt;&lt;br /&gt;
Restart the Postgresql Database&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;/etc/init.d/postgresql-8.3 restart 
&lt;/pre&gt;&lt;br /&gt;
Installing OpenNMS&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;apt-get install opennms 
&lt;/pre&gt;we need to set opennms home in /etc/environment&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;add the following line
OPENNMS_HOME=/usr/share/opennms 
execute the following command for setting OPENNMS_HOME for existing session 
export OPENNMS_HOME=/usr/share/opennms&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;Before you can run the post-install, OpenNMS needs to be configured  to use an appropriate Java Runtime Environment (JRE). The OpenNMS tool  runjava is used to set this up, and it can either search for a suitable  JRE or you can tell it exactly which JRE to use.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;# /usr/share/opennms/bin/runjava -s 

&lt;/pre&gt;This tool will setup the opennms database within PostgreSQL among other things.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;# /usr/share/opennms/bin/install -l /usr/local/lib -dis 

&lt;/pre&gt;you should see similar output after executing above command&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;- checking table "qrtz_fired_triggers"...
- checking table "qrtz_fired_triggers"... CREATED
- granting access to 'qrtz_fired_triggers' for user 'opennms'... DONE
- checking table "qrtz_scheduler_state"...
- checking table "qrtz_scheduler_state"... CREATED
- granting access to 'qrtz_scheduler_state' for user 'opennms'... DONE
- checking table "qrtz_locks"...
- checking table "qrtz_locks"... CREATED
- granting access to 'qrtz_locks' for user 'opennms'... DONE
- creating tables... DONE
- inserting initial table data for "categories"... OK
- inserting initial table data for "qrtz_locks"... OK
- inserting initial table data for "distPoller"... OK
- checking if iplike is usable... YES
- checking for stale eventtime.so references... OK 
Installer completed successfully!&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;Start opennms using the following command&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;/etc/init.d/opennms start 
&lt;/pre&gt;OpenNMS will take some time to start,  you can check the status of opennms using the following command  &lt;br /&gt;
&lt;pre&gt;root@server1:/usr/local/lib# /etc/init.d/opennms status
&lt;/pre&gt;&lt;pre&gt;OpenNMS.Eventd        &amp;nbsp;: running
OpenNMS.Trapd         &amp;nbsp;: running 
OpenNMS.Queued        &amp;nbsp;: running
OpenNMS.Actiond       &amp;nbsp;: running
OpenNMS.Capsd         &amp;nbsp;: running
OpenNMS.Notifd        &amp;nbsp;: running
OpenNMS.Scriptd       &amp;nbsp;: running
OpenNMS.Rtcd          &amp;nbsp;: running
OpenNMS.Pollerd       &amp;nbsp;: running
OpenNMS.PollerBackEnd &amp;nbsp;: running
OpenNMS.Ticketer      &amp;nbsp;: running
OpenNMS.Collectd      &amp;nbsp;: running
OpenNMS.Threshd       &amp;nbsp;: running
OpenNMS.Discovery     &amp;nbsp;: running
OpenNMS.Vacuumd       &amp;nbsp;: running
OpenNMS.EventTranslator: running
OpenNMS.PassiveStatusd&amp;nbsp;: running
OpenNMS.Statsd        &amp;nbsp;: running
OpenNMS.Importer      &amp;nbsp;: running
OpenNMS.JettyServer   &amp;nbsp;: running
opennms is running 
&lt;/pre&gt;if you are able to see like above your opennms is running without any problems.  &lt;br /&gt;
If you don't see the above output and get at error asking you to  look at a log file.. /var/log/opennms/daemon/output.log  and the log  file mentions the following error.. &lt;br /&gt;
&lt;pre&gt;An error occurred while attempting to start the "OpenNMS:Name=Dhcpd"&lt;/pre&gt;&lt;pre&gt;service (class org.opennms.netmgt.dhcpd.jmx.Dhcpd).  Shutting down and exiting.
&lt;/pre&gt;Edit the file $OPENNMS_HOME/etc/service-configuration.xml and comment  out the following portion as follows; and restart the opennms service.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;service&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;OpenNMS:Name=Dhcpd&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;class-name&amp;gt;org.opennms.netmgt.dhcpd.jmx.Dhcpd&amp;lt;/class-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;invoke at="start" pass="1" method="start"/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;invoke at="status" pass="0" method="status"/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;invoke at="stop" pass="0" method="stop"/&amp;gt;&lt;br /&gt;
&amp;lt;/service&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Finally you can access web UI using the following URL ( replace yourhost to the IP of the opennms server) &lt;br /&gt;
&lt;pre&gt;&lt;a class="external free" href="http://yourhost:8980/opennms" rel="nofollow" title="http://yourhost:8980/opennms"&gt;http://yourhost:8980/opennms&lt;/a&gt;
&lt;/pre&gt;Configuration of OpenNMS &lt;br /&gt;
&lt;pre&gt;Login in to the web interface  with  login / pass  admin/admin
Configure Discovery - Select  Home  /  Admin  /  Discovery  / Add New    -- Include Range.
Configure SNMP  - Select Home  / Admin  / Configure SNMP by IP

&lt;/pre&gt;Database Login Details  &lt;br /&gt;
&lt;pre&gt;opennms/postgres ( test user and password i have given )&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;b style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: large;"&gt;Add Alert sound to the OpenNMS webUI&lt;/span&gt;&lt;/b&gt; &lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;In /usr/share/opennms/jetty-webapps/opennms/includes/servicesdown-box.jsp &lt;br /&gt;
Find below tags should be at the end of the file &lt;br /&gt;
&lt;pre&gt;&lt;c:url value="element/node.jsp" var="nodeLink"&gt;&lt;/c:url&gt;&lt;c:url value="outage/current.jsp" var="moreLink"&gt; &lt;/c:url&gt;&lt;c:otherwise&gt;
  &lt;embed autostart="true" height="0" hidden="true" loop="false" src="tngchime.wav" type="audio/x-pn-realaudio-plugin" width="0"&gt;&lt;/embed&gt;
&amp;lt;c:otherwise&amp;gt;
  &amp;lt;embed src="tngchime.wav" type="audio/x-pn-realaudio-plugin" hidden="true" autostart="true" loop="false" height="0"  width="0"&amp;gt;
  &amp;lt;ul class="plain"&amp;gt;
  &amp;lt;c:forEach var="summary" items="${summaries}"&amp;gt;
  &amp;lt;c:url var="nodeLink" value="element/node.jsp"&amp;gt;
  &amp;lt;c:param name="node" value="${summary.nodeId}"/&amp;gt;
  &amp;lt;/c:url&amp;gt;
  &amp;lt;li&amp;gt;&amp;lt;a href="${nodeLink}"&amp;gt;${summary.nodeLabel}&amp;lt;/a&amp;gt; (${summary.fuzzyTimeDown})&amp;lt;/li&amp;gt;
  &amp;lt;/c:forEach&amp;gt;
  &amp;lt;/ul&amp;gt;
  &amp;lt;c:if test="${moreCount &amp;gt; 0}"&amp;gt;
  &amp;lt;p class="noBottomMargin" align="right"&amp;gt;
  &amp;lt;c:url var="moreLink" value="outage/current.jsp"/&amp;gt;
  &amp;lt;a href="${moreLink}"&amp;gt;${moreCount} more...&amp;lt;/a&amp;gt;
  &amp;lt;/p&amp;gt;
  &amp;lt;/c:if&amp;gt;
  &amp;lt;/c:otherwise&amp;gt;&lt;/c:otherwise&gt;&lt;/pre&gt;&lt;pre&gt;&lt;c:otherwise&gt;&lt;c:if test="${moreCount &amp;gt; 0}"&gt;&lt;div align="right" class="noBottomMargin"&gt;&lt;c:url value="outage/current.jsp" var="moreLink"&gt;  &lt;/c:url&gt;&lt;/div&gt;&lt;/c:if&gt;&lt;/c:otherwise&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;The line with the &lt;b&gt;&lt;embed&gt;&lt;/embed&gt;&lt;/b&gt; tag is new, the rest is stock &lt;br /&gt;
Download the following .wav file and pleace it in /usr/share/opennms/jetty-webapps/ &lt;br /&gt;
&lt;pre&gt;wget &lt;a class="external free" href="http://www.nirvani.net/misc/trek_sounds/tngchime.wav" rel="nofollow" title="http://www.nirvani.net/misc/trek_sounds/tngchime.wav"&gt;http://www.nirvani.net/misc/trek_sounds/tngchime.wav&lt;/a&gt;
&lt;/pre&gt;&lt;br /&gt;
You don't need to restart OpenNMS to effect &lt;br /&gt;
Once you are done with above settings please install  QuickTimeInstaller.exe in your windows system and restart the browser if  opennms find any outages as soon as you login to OpenNMS webGUI you  will hear alert sound ( check your sound volume) &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-1405125288155995497?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=5d8Mzn2ZR0g:OsOBQG_yeKk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=5d8Mzn2ZR0g:OsOBQG_yeKk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/5d8Mzn2ZR0g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/1405125288155995497/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=1405125288155995497&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/1405125288155995497?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/1405125288155995497?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/5d8Mzn2ZR0g/step-by-step-method-to-install-opennms.html" title="Step by step Method to install OpenNMS" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/12/step-by-step-method-to-install-opennms.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MDQXc8eCp7ImA9WhRRFUg.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-7780916082505744688</id><published>2011-11-29T12:44:00.001+05:30</published><updated>2011-11-29T12:54:30.970+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-29T12:54:30.970+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SSL" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux installations" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Step by step method to create a SSL certificate for your websites</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
 &lt;span dir="ltr" id=":1em"&gt;cd &amp;nbsp;/etc/apache2/ss&lt;wbr&gt;&lt;/wbr&gt;l/client&lt;br /&gt;&lt;br /&gt;Run following commands&lt;br /&gt;&lt;br /&gt;openssl genrsa -des3 -out client.key 1024&lt;br /&gt;openssl req -new -key client.key -out client.crs&lt;br /&gt;openssl ca -in client.crs -cert ../ca/ca.crt -keyfile ../ca/ca.key -out client.crt&lt;br /&gt;openssl pkcs12 -export -clcerts -in client.crt -inkey client.key -out client.p1&lt;wbr&gt;&lt;/wbr&gt;2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span dir="ltr" id=":1em"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span dir="ltr" id=":1em"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span dir="ltr" id=":1et"&gt;Importing Certs in Browser&lt;br /&gt;&lt;br /&gt;Make sure to enter the password which was assigned during cert creation.&lt;br /&gt;&lt;br /&gt;FireFox&lt;br /&gt;&lt;br /&gt;1) Remove your current Certificates.&lt;br /&gt;Firefox
 : Preferences &amp;gt; Advanced &amp;gt; Encryption &amp;gt; View Certificates &amp;gt;
 Your Certificates &amp;gt; Select Certificates and Delete.&lt;br /&gt;2) Import : select client.p1&lt;wbr&gt;&lt;/wbr&gt;2 password: test123&lt;br /&gt;&lt;br /&gt;Chrome&lt;br /&gt;&lt;br /&gt;1) Remove your current Certificates.&lt;br /&gt; &amp;nbsp; &amp;nbsp;Chrome &amp;gt; Preferences &amp;gt; Under the Hood &amp;gt; Manage Certificates &amp;gt; Remove current one..and import the new one.&lt;br /&gt;2) Import &amp;nbsp;select&amp;nbsp;&lt;/span&gt;&lt;span dir="ltr" id=":1et"&gt; Import : select client.p1&lt;wbr&gt;&lt;/wbr&gt;2 password: test123&lt;/span&gt;&lt;br /&gt;
&lt;div class="kd" id=":1fm"&gt;
&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-7780916082505744688?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=yS4ywUXWDQo:je9v9r_dHdg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=yS4ywUXWDQo:je9v9r_dHdg:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/yS4ywUXWDQo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/7780916082505744688/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=7780916082505744688&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7780916082505744688?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7780916082505744688?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/yS4ywUXWDQo/step-by-step-method-to-create-ssl.html" title="Step by step method to create a SSL certificate for your websites" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/11/step-by-step-method-to-create-ssl.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAMQXc_eyp7ImA9WhRSEks.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-2977601146272699073</id><published>2011-11-14T16:00:00.001+05:30</published><updated>2011-11-14T16:03:00.943+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-14T16:03:00.943+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Open Source tools" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Troubleshooting" /><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><category scheme="http://www.blogger.com/atom/ns#" term="Networking" /><title>How to troubleshoot IP conflicts between Servers / Systems</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
when we have ip conflicts between two Systems/Servers and you dont 
know what server ping is responding. Just give below command it requires
 nmap to be installed&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;nmap -sV -O -v ipaddress&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
From the below i found that the response is coming from Server1.demo.com and more to it we&lt;br /&gt;
can also see what operating system it is running and what are the open ports of that server.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;root@naresh:/home/cp# nmap -sV -O -v 192.168.1.12&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
Starting Nmap 5.00 ( &lt;a href="http://nmap.org/" target="_blank"&gt;http://nmap.org&lt;/a&gt; ) at 2011-11-14 15:27 IST&lt;br /&gt;
NSE: Loaded 3 scripts for scanning.&lt;br /&gt;
Initiating ARP Ping Scan at 15:27&lt;/div&gt;
Scanning 192.168.1.12 [1 port]&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Completed ARP Ping Scan at 15:27, 0.02s elapsed (1 total hosts)&lt;br /&gt;
Initiating Parallel DNS resolution of 1 host. at 15:27&lt;br /&gt;
Completed Parallel DNS resolution of 1 host. at 15:27, 0.03s elapsed&lt;br /&gt;
Initiating SYN Stealth Scan at 15:27&lt;/div&gt;
Scanning 192.168.1.12 [1000 ports]&lt;br /&gt;
Discovered open port 3306/tcp on 192.168.1.12&lt;br /&gt;
Discovered open port 111/tcp on 192.168.1.12&lt;br /&gt;
Discovered open port 80/tcp on 192.168.1.12&lt;br /&gt;
Discovered open port 25/tcp on 192.168.1.12&lt;br /&gt;
Discovered open port 8080/tcp on 192.168.1.12&lt;br /&gt;
Discovered open port 53/tcp on 192.168.1.12&lt;br /&gt;
Discovered open port 443/tcp on 192.168.1.12&lt;br /&gt;
Discovered open port 8009/tcp on 192.168.1.12&lt;br /&gt;
Discovered open port 2049/tcp on 192.168.1.12&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Completed SYN Stealth Scan at 15:27, 0.04s elapsed (1000 total ports)&lt;br /&gt;
Initiating Service scan at 15:27&lt;/div&gt;
Scanning 9 services on 192.168.1.12&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Completed Service scan at 15:28, 46.06s elapsed (9 services on 1 host)&lt;/div&gt;
Initiating OS detection (try #1) against 192.168.1.12&lt;br /&gt;
NSE: Script scanning 192.168.1.12.&lt;br /&gt;
NSE: Script Scanning completed.&lt;br /&gt;
Host 192.168.1.12 is up (0.000088s latency).&lt;br /&gt;
Interesting ports on &lt;a href="http://192.168.1.12/" target="_blank"&gt;192.168.1.12&lt;/a&gt;:&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
Not shown: 991 closed ports&lt;br /&gt;
PORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE SERVICE&amp;nbsp;&amp;nbsp;&amp;nbsp; VERSION&lt;br /&gt;
25/tcp&amp;nbsp;&amp;nbsp; open&amp;nbsp; smtp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Postfix smtpd&lt;br /&gt;
53/tcp&amp;nbsp;&amp;nbsp; open&amp;nbsp; tcpwrapped&lt;br /&gt;
80/tcp&amp;nbsp;&amp;nbsp; open&amp;nbsp; http&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apache httpd 2.2.12 ((Ubuntu))&lt;br /&gt;
111/tcp&amp;nbsp; open&amp;nbsp; rpcbind&lt;br /&gt;
443/tcp&amp;nbsp; open&amp;nbsp; ssl/http&amp;nbsp;&amp;nbsp; Apache httpd 2.2.12 ((Ubuntu))&lt;br /&gt;
2049/tcp open&amp;nbsp; rpcbind&lt;br /&gt;
3306/tcp open&amp;nbsp; mysql&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MySQL 5.1.37-1ubuntu5.5&lt;br /&gt;
8009/tcp open&amp;nbsp; ajp13?&lt;br /&gt;
8080/tcp open&amp;nbsp; http&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apache Tomcat/Coyote JSP engine 1.1&lt;br /&gt;
MAC Address: 00:25:90:62:4B:62 (Super Micro Computer)&lt;br /&gt;
Device type: general purpose&lt;br /&gt;
Running: Linux 2.6.X&lt;br /&gt;
OS details: Linux 2.6.24 - 2.6.28&lt;br /&gt;
Uptime guess: 0.113 days (since Mon Nov 14 12:45:28 2011)&lt;br /&gt;
Network Distance: 1 hop&lt;br /&gt;
TCP Sequence Prediction: Difficulty=197 (Good luck!)&lt;br /&gt;
IP ID Sequence Generation: All zeros&lt;/div&gt;
Service Info: Host:&amp;nbsp; &lt;a href="http://server1.demo.com/" target="_blank"&gt;Server1.demo.com&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-2977601146272699073?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=hdUQfcBA638:onRpsaarKuw:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=hdUQfcBA638:onRpsaarKuw:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/hdUQfcBA638" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/2977601146272699073/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=2977601146272699073&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2977601146272699073?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2977601146272699073?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/hdUQfcBA638/how-to-troubleshoot-ip-conflits-between.html" title="How to troubleshoot IP conflicts between Servers / Systems" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/11/how-to-troubleshoot-ip-conflits-between.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMDQn06eyp7ImA9WhdVFkQ.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-4207226944743113050</id><published>2011-09-22T17:23:00.000+05:30</published><updated>2011-09-22T17:24:33.313+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-22T17:24:33.313+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><category scheme="http://www.blogger.com/atom/ns#" term="Frequently Used Commands" /><category scheme="http://www.blogger.com/atom/ns#" term="Bash" /><title>How to get home directory of a prticular user in bash scripting or  a single command</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
The below command gets the home directory of user if at all the user exists&lt;br /&gt;




&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;getent passwd naresh | cut -f6 -d:&lt;/b&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-4207226944743113050?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=I0UeOW7f3yU:K6VyA4VeAZI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=I0UeOW7f3yU:K6VyA4VeAZI:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/I0UeOW7f3yU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/4207226944743113050/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=4207226944743113050&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/4207226944743113050?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/4207226944743113050?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/I0UeOW7f3yU/how-to-get-home-directory-of-prticular.html" title="How to get home directory of a prticular user in bash scripting or  a single command" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/09/how-to-get-home-directory-of-prticular.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0AGQnY-eip7ImA9WhdVEE0.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-4415803576117826584</id><published>2011-09-14T16:04:00.001+05:30</published><updated>2011-09-14T17:32:03.852+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-14T17:32:03.852+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><title>Bash script to add some line to a file at specific line number</title><content type="html">I wrote this example to show how to append JAVA_OPTS parameters to startup.sh of tomcat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
NLINE=2&lt;br /&gt;
s=" export JAVA_OPTS=\"$JAVA_OPTS -Xms1024m -Xmx1024m -XX:MaxPermSize=256m\""&lt;br /&gt;
sp="  "&lt;br /&gt;
awk -vn="$NLINE" -vs="$s" -vsp="$sp" 'NR==n{$0=$0 sp s}1' startup.sh &gt;temp&lt;br /&gt;
mv temp startup.sh&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sp is space given so that if something exists in that line it will give some space and &lt;br /&gt;
append our command or string&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-4415803576117826584?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=WWbBxsdfT3U:4h91O1dXyj8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=WWbBxsdfT3U:4h91O1dXyj8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/WWbBxsdfT3U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/4415803576117826584/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=4415803576117826584&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/4415803576117826584?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/4415803576117826584?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/WWbBxsdfT3U/bash-script-to-add-some-line-to-file-at.html" title="Bash script to add some line to a file at specific line number" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/09/bash-script-to-add-some-line-to-file-at.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYGQH44fip7ImA9WhdQGU0.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-6859751200271415740</id><published>2011-08-21T11:13:00.002+05:30</published><updated>2011-08-21T11:25:21.036+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-21T11:25:21.036+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions" /><title>I just ran 'chmod -x /bin/chmod'. What did I do? How do I recover?</title><content type="html">( or )&lt;br /&gt;
&lt;br /&gt;
What to do if you cannot execute CHMOD? &lt;br /&gt;
&lt;br /&gt;
This is a tricky question.. you have just removed execute permission on chmod.&lt;br /&gt;
Result of that is you cannot modify file permissions . Not even for chmod itself .&lt;br /&gt;
chmod remains usless on your system.&lt;br /&gt;
&lt;br /&gt;
Here is the solution for the problem&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;sudo /lib/ld-linux.so.2 /bin/chmod 755 /bin/chmod&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;perl -e 'chmod(0755, "/bin/chmod")' &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-6859751200271415740?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=LPUy0VujOgg:DQHhx96mouc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=LPUy0VujOgg:DQHhx96mouc:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/LPUy0VujOgg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/6859751200271415740/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=6859751200271415740&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/6859751200271415740?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/6859751200271415740?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/LPUy0VujOgg/i-just-ran-chmod-x-binchmod-what-did-i.html" title="I just ran 'chmod -x /bin/chmod'. What did I do? How do I recover?" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/08/i-just-ran-chmod-x-binchmod-what-did-i.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EFQX48eyp7ImA9WhdQF0g.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-3120310387906931142</id><published>2011-08-19T17:36:00.000+05:30</published><updated>2011-08-19T17:36:50.073+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-19T17:36:50.073+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><title>Solution : Backtrack 5 Live blank screen</title><content type="html">&lt;br /&gt;
I have downloaded backtrack 5 DVD and was trying to live boot from my Laptop.&lt;br /&gt;
&lt;br /&gt;
Once i am in text mode and as root user.&lt;br /&gt;
&lt;br /&gt;
I gave command &lt;b&gt;startx&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Just to turn command mode to GUI mode .&lt;br /&gt;
&lt;br /&gt;
My system was showing a blank screen .. Searched online but did not find solutions&lt;br /&gt;
&lt;br /&gt;
So I have tried my own troubleshooting methods and found that it was Graphics related issue.&lt;br /&gt;
&lt;br /&gt;
Fix : Hope problem is because you are using a laptop with graphic card and BT is not able to&lt;br /&gt;
     load specific drivers for your graphic card.&lt;br /&gt;
So go to BIOS either disable graphic card or &lt;br /&gt;
&lt;br /&gt;
Change Graphic mode from Switching to discrete &lt;br /&gt;
&lt;br /&gt;
for me it worked !! let me know if you still have problems will come up with other solutions...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-3120310387906931142?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=zGzVBe9BxyA:M1f2ZW-j5y0:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=zGzVBe9BxyA:M1f2ZW-j5y0:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/zGzVBe9BxyA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/3120310387906931142/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=3120310387906931142&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/3120310387906931142?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/3120310387906931142?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/zGzVBe9BxyA/solution-backtrack-5-live-blank-screen.html" title="Solution : Backtrack 5 Live blank screen" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/08/solution-backtrack-5-live-blank-screen.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEMQXg6fSp7ImA9WhdSEUo.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-2538543658667817568</id><published>2011-07-20T20:41:00.000+05:30</published><updated>2011-07-20T20:41:20.615+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-20T20:41:20.615+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><category scheme="http://www.blogger.com/atom/ns#" term="Frequently Used Commands" /><title>Rsync current directory using SSH port to remote host</title><content type="html">&lt;b&gt;/usr/bin/rsync -rave  "ssh -p 22222 -l root" --delete . 192.168.1.111:/tmp&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-2538543658667817568?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=1JCIwwe2xdc:NbdMgUkWYD8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=1JCIwwe2xdc:NbdMgUkWYD8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/1JCIwwe2xdc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/2538543658667817568/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=2538543658667817568&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2538543658667817568?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2538543658667817568?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/1JCIwwe2xdc/rsync-current-directory-using-ssh-port.html" title="Rsync current directory using SSH port to remote host" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/07/rsync-current-directory-using-ssh-port.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EMR3o4eip7ImA9WhdSEEs.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-5877423099193581626</id><published>2011-07-19T15:31:00.000+05:30</published><updated>2011-07-19T15:31:26.432+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-19T15:31:26.432+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><category scheme="http://www.blogger.com/atom/ns#" term="Bash" /><title>Bash script to check command-line arguments and set default if not present</title><content type="html">if [ -n "$1" ]&lt;br /&gt;
# Test whether command-line argument is present (non-empty).&lt;br /&gt;
then&lt;br /&gt;
  lines=$1&lt;br /&gt;
else  &lt;br /&gt;
  lines=$LINES # Default, if not specified on command-line.&lt;br /&gt;
fi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-5877423099193581626?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=fjzb7Blhx6c:Dhhu7-cSxrs:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=fjzb7Blhx6c:Dhhu7-cSxrs:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/fjzb7Blhx6c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/5877423099193581626/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=5877423099193581626&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/5877423099193581626?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/5877423099193581626?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/fjzb7Blhx6c/bash-script-to-check-command-line.html" title="Bash script to check command-line arguments and set default if not present" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/07/bash-script-to-check-command-line.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMGQno7cCp7ImA9WhdTFk4.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-4110910863268282218</id><published>2011-07-14T15:43:00.000+05:30</published><updated>2011-07-14T15:43:43.408+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-14T15:43:43.408+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Social Awareness" /><title>HOW TO IMPROVE YOUR LIFE HOW TO IMPROVE YOURSELF</title><content type="html">Personality:&lt;br /&gt;
1. Don't compare your life to others'. You have no idea what their journey is all about.&lt;br /&gt;
2. Don't have negative thoughts of things you cannot control. Instead invest your energy in the positive present moment&lt;br /&gt;
3. Don't over do; keep your limits&lt;br /&gt;
4. Don't take yourself so seriously; no one else does&lt;br /&gt;
5. Don't waste your precious energy on gossip&lt;br /&gt;
6. Dream more while you are awake&lt;br /&gt;
7. Envy is a waste of time. You already have all you need..&lt;br /&gt;
8. Forget issues of the past. Don't remind your partner of his/her mistakes of the past. That will ruin your present happiness.&lt;br /&gt;
9. Life is too short to waste time hating anyone. Don't hate others.&lt;br /&gt;
10. Make peace with your past so it won't spoil the present&lt;br /&gt;
11. No one is in charge of your happiness except you&lt;br /&gt;
12. Realize that life is a school and you are here to learn.&lt;br /&gt;
Problems are simply part of the curriculum that appear and fade away like algebra class but the lessons you learn will last a lifetime.&lt;br /&gt;
13. Smile and laugh more&lt;br /&gt;
14. You don't have to win every argument. Agree to disagree.&lt;br /&gt;
&lt;br /&gt;
Community:&lt;br /&gt;
15. Call your family often&lt;br /&gt;
16. Each day give something good to others&lt;br /&gt;
17. Forgive everyone for everything&lt;br /&gt;
18. Spend time with people over the age of 70 &amp; under the age of 6&lt;br /&gt;
19. Try to make at least three people smile each day&lt;br /&gt;
20. What other people think of you is none of your business&lt;br /&gt;
21. Your job will not take care of you when you are sick. Your family and friends will. Stay in touch.&lt;br /&gt;
&lt;br /&gt;
Life:&lt;br /&gt;
22. Put GOD first in anything and everything that you think, say and do.&lt;br /&gt;
23. GOD heals everything&lt;br /&gt;
24. Do the right things&lt;br /&gt;
25. However good or bad a situation is, it will change&lt;br /&gt;
26. No matter how you feel, get up, dress up and show up&lt;br /&gt;
27. The best is yet to come&lt;br /&gt;
28. Get rid of anything that isn't useful, beautiful or joyful&lt;br /&gt;
29. When you awake alive in the morning, thank GOD for it&lt;br /&gt;
30. If you know GOD you will always be happy. So, be happy.&lt;br /&gt;
&lt;br /&gt;
While you practice all of the above, share this knowledge with the people you love, people you school with,&lt;br /&gt;
people you play with, people you work with and people you live with.&lt;br /&gt;
Not only will it enrich YOUR life, but also that of those around you&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-4110910863268282218?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=p86ttJ6TMxI:1qTJksMpCvE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=p86ttJ6TMxI:1qTJksMpCvE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/p86ttJ6TMxI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/4110910863268282218/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=4110910863268282218&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/4110910863268282218?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/4110910863268282218?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/p86ttJ6TMxI/how-to-improve-your-life-how-to-improve.html" title="HOW TO IMPROVE YOUR LIFE HOW TO IMPROVE YOURSELF" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/07/how-to-improve-your-life-how-to-improve.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQBRHYzfCp7ImA9WhZaGUg.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-1377193022108345229</id><published>2011-07-06T18:15:00.000+05:30</published><updated>2011-07-06T18:15:55.884+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-06T18:15:55.884+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><title>how to encrypt your scripts using sch</title><content type="html">Dont want to give your scripts to any one but want to give someone to execute for specific period of time then this is what you are looking for .&lt;br /&gt;
We can also give timeline in which the script can be used.&lt;br /&gt;
&lt;br /&gt;
Also you will not be revealing you passwords in the script.&lt;br /&gt;
&lt;br /&gt;
SCH will encrypt shell scripts using RC4 and make executable binary.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.7.tgz"&gt;http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.7.tgz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
shc [ -e date ] [ -m addr ] [ -i iopt ] [ -x cmnd ]&lt;br /&gt;
     [ -l lopt ] [ -ACDhTv ] -f script&lt;br /&gt;
&lt;br /&gt;
shc -e date ( script will not run afterdate specified )&lt;br /&gt;
    -m "Please contact support " (message to display after we run the expired scirpt)&lt;br /&gt;
&lt;br /&gt;
shc -e 01/06/2010 -m "You are late to run this script." -f script.sh&lt;br /&gt;
&lt;br /&gt;
./script.sh.x&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.datsi.fi.upm.es/~frosal/sources/shc.html"&gt;http://www.datsi.fi.upm.es/~frosal/sources/shc.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I have tried to hack the encrypted binary that came as output, but was not successful&lt;br /&gt;
I used bashdb and GDB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-1377193022108345229?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=VMOlMToDC4Q:Bfkli1KoJ7I:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=VMOlMToDC4Q:Bfkli1KoJ7I:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/VMOlMToDC4Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/1377193022108345229/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=1377193022108345229&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/1377193022108345229?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/1377193022108345229?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/VMOlMToDC4Q/how-to-encrypt-your-scripts-using-sch.html" title="how to encrypt your scripts using sch" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/07/how-to-encrypt-your-scripts-using-sch.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MMQnk-fip7ImA9WhZaEUs.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-2527583400426093820</id><published>2011-06-27T13:26:00.001+05:30</published><updated>2011-06-27T13:28:03.756+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-27T13:28:03.756+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Open Source tools" /><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><title>Per user mac based bandwidth monitor for routers</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
Want to calculate how much bandwidth each user (mac address) is using&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ./wrtbwmon setup&lt;br /&gt;
&amp;nbsp; &amp;nbsp;./wrtbwmon update /tmp/usage.db offpeak&lt;br /&gt;
&amp;nbsp; &amp;nbsp;./wrtbwmon publish /tmp/usage.db /www/user/usage.htm /jffs/users.txt&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Here is open source solution &lt;a href="http://code.google.com/p/wrtbwmon/"&gt;ClickHere&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Below is the script &amp;nbsp;(&lt;b&gt;wrtbwmon &lt;/b&gt;)&lt;/div&gt;&lt;div&gt;---------------------------&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;LAN_IFACE=$(nvram get lan_ifname)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;lock()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;while [ -f /tmp/wrtbwmon.lock ]; do&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;if [ ! -d /proc/$(cat /tmp/wrtbwmon.lock) ]; then&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;echo "WARNING : Lockfile detected but process $(cat /tmp/wrtbwmon.lock) does not exist !"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;rm -f /tmp/wrtbwmon.lock&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;fi&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;sleep 1&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;done&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo $$ &amp;gt; /tmp/wrtbwmon.lock&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;unlock()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;rm -f /tmp/wrtbwmon.lock&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;case ${1} in&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;"setup" )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;#Create the RRDIPT CHAIN (it doesn't matter if it already exists).&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;iptables -N RRDIPT 2&amp;gt; /dev/null&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;#Add the RRDIPT CHAIN to the FORWARD chain (if non existing).&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;iptables -L FORWARD --line-numbers -n | grep "RRDIPT" | grep "1" &amp;gt; /dev/null&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;if [ $? -ne 0 ]; then&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;iptables -L FORWARD -n | grep "RRDIPT" &amp;gt; /dev/null&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;if [ $? -eq 0 ]; then&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;echo "DEBUG : iptables chain misplaced, recreating it..."&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;iptables -D FORWARD -j RRDIPT&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;fi&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;iptables -I FORWARD -j RRDIPT&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;fi&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;#For each host in the ARP table&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;grep ${LAN_IFACE} /proc/net/arp | while read IP TYPE FLAGS MAC MASK IFACE&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;do&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;#Add iptable rules (if non existing).&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;iptables -nL RRDIPT | grep "${IP} " &amp;gt; /dev/null&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;if [ $? -ne 0 ]; then&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;iptables -I RRDIPT -d ${IP} -j RETURN&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;iptables -I RRDIPT -s ${IP} -j RETURN&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;fi&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;done&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;;;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;"update" )&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;[ -z "${2}" ] &amp;amp;&amp;amp; echo "ERROR : Missing argument 2" &amp;amp;&amp;amp; exit 1&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;# Uncomment this line if you want to abort if database not found&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;# [ -f "${2}" ] || exit 1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;lock&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;#Read and reset counters&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;iptables -L RRDIPT -vnxZ -t filter &amp;gt; /tmp/traffic_$$.tmp&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;grep -v "0x0" /proc/net/arp &amp;nbsp;| while read IP TYPE FLAGS MAC MASK IFACE&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;do&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;#Add new data to the graph. Count in Kbs to deal with 16 bits signed values (up to 2G only)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;#Have to use temporary files because of crappy busybox shell&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;grep ${IP} /tmp/traffic_$$.tmp | while read PKTS BYTES TARGET PROT OPT IFIN IFOUT SRC DST&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;do&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;[ "${DST}" = "${IP}" ] &amp;amp;&amp;amp; echo $((${BYTES}/1000)) &amp;gt; /tmp/in_$$.tmp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;[ "${SRC}" = "${IP}" ] &amp;amp;&amp;amp; echo $((${BYTES}/1000)) &amp;gt; /tmp/out_$$.tmp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;done&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;IN=$(cat /tmp/in_$$.tmp)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;OUT=$(cat /tmp/out_$$.tmp)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;rm -f /tmp/in_$$.tmp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;rm -f /tmp/out_$$.tmp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;if [ ${IN} -gt 0 -o ${OUT} -gt 0 ]; &amp;nbsp;then&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;echo "DEBUG : New traffic for ${MAC} since last update : ${IN}k:${OUT}k"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;LINE=$(grep ${MAC} ${2})&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;if [ -z "${LINE}" ]; then&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;echo "DEBUG : ${MAC} is a new host !"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;PEAKUSAGE_IN=0&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;PEAKUSAGE_OUT=0&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;OFFPEAKUSAGE_IN=0&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;OFFPEAKUSAGE_OUT=0&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;else&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;PEAKUSAGE_IN=$(echo ${LINE} | cut -f2 -s -d, )&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;PEAKUSAGE_OUT=$(echo ${LINE} | cut -f3 -s -d, )&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;OFFPEAKUSAGE_IN=$(echo ${LINE} | cut -f4 -s -d, )&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;OFFPEAKUSAGE_OUT=$(echo ${LINE} | cut -f5 -s -d, )&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;fi&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;if [ "${3}" = "offpeak" ]; then&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;OFFPEAKUSAGE_IN=$((${OFFPEAKUSAGE_IN}+${IN}))&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;OFFPEAKUSAGE_OUT=$((${OFFPEAKUSAGE_OUT}+${OUT}))&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;else&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;PEAKUSAGE_IN=$((${PEAKUSAGE_IN}+${IN}))&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;				&lt;/span&gt;PEAKUSAGE_OUT=$((${PEAKUSAGE_OUT}+${OUT}))&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;fi&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;grep -v "${MAC}" ${2} &amp;gt; /tmp/db_$$.tmp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;mv /tmp/db_$$.tmp ${2}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;			&lt;/span&gt;echo ${MAC},${PEAKUSAGE_IN},${PEAKUSAGE_OUT},${OFFPEAKUSAGE_IN},${OFFPEAKUSAGE_OUT},$(date "+%d-%m-%Y %H:%M") &amp;gt;&amp;gt; ${2}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;fi&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;done&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;#Free some memory&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;rm -f /tmp/*_$$.tmp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;unlock&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;;;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;"publish" )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;[ -z "${2}" ] &amp;amp;&amp;amp; echo "ERROR : Missing argument 2" &amp;amp;&amp;amp; exit 1&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;[ -z "${3}" ] &amp;amp;&amp;amp; echo "ERROR : Missing argument 3" &amp;amp;&amp;amp; exit 1&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;USERSFILE="/etc/dnsmasq.conf"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;[ -f "${USERSFILE}" ] || USERSFILE="/tmp/dnsmasq.conf"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;[ -z "${4}" ] || USERSFILE=${4}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;[ -f "${USERSFILE}" ] || USERSFILE="/dev/null"&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;# first do some number crunching - rewrite the database so that it is sorted&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;lock&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;touch /tmp/sorted_$$.tmp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;cat ${2} | while IFS=, read MAC PEAKUSAGE_IN PEAKUSAGE_OUT OFFPEAKUSAGE_IN OFFPEAKUSAGE_OUT LASTSEEN&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;do&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;		&lt;/span&gt;echo ${PEAKUSAGE_IN},${PEAKUSAGE_OUT},${OFFPEAKUSAGE_IN},${OFFPEAKUSAGE_OUT},${MAC},${LASTSEEN} &amp;gt;&amp;gt; /tmp/sorted_$$.tmp&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;done&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;unlock&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # create HTML page&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "&lt;title&gt;Traffic&lt;/title&gt;&lt;script type="\&amp;quot;text/javascript\&amp;quot;"&gt;
" &gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "function getSize(size) {" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "var prefix=new Array(\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\"); var base=1000;" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "var pos=0; while (size&gt;base) { size/=base; pos++; } if (pos &gt; 2) precision=1000; else precision = 1;" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "return (Math.round(size*precision)/precision)+' '+prefix[pos];}" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "
&lt;/script&gt;&lt;br /&gt;
&lt;h1&gt;Total Usage :&lt;/h1&gt;" &amp;gt;&amp;gt; ${3}&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "" &amp;gt;&amp;gt; ${3}&lt;br /&gt;
&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "&lt;script type="\&amp;quot;text/javascript\&amp;quot;"&gt;
" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;









&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "var values = new Array(" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sort -n /tmp/sorted_$$.tmp | while IFS=, read PEAKUSAGE_IN PEAKUSAGE_OUT OFFPEAKUSAGE_IN OFFPEAKUSAGE_OUT MAC LASTSEEN&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; do&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "new Array(" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USER=$(grep "${MAC}" "${USERSFILE}" | cut -f2 -s -d, )&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ -z "$USER" ] &amp;amp;&amp;amp; USER=${MAC}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "\"${USER}\",${PEAKUSAGE_IN}000,${PEAKUSAGE_OUT}000,${OFFPEAKUSAGE_IN}000,${OFFPEAKUSAGE_OUT}000,\"${LASTSEEN}\")," &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; done&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "0);" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;









&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "for (i=0; i &lt; values.length-1; i++) {document.write(\"&lt;tr&gt;&lt;td&gt;\");" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "document.write(values[i][0]);document.write(\"&lt;/td&gt;&lt;td&gt;\");" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "document.write(getSize(values[i][1]));document.write(\"&lt;/td&gt;&lt;td&gt;\");" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "document.write(getSize(values[i][2]));document.write(\"&lt;/td&gt;&lt;td&gt;\");" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "document.write(getSize(values[i][3]));document.write(\"&lt;/td&gt;&lt;td&gt;\");" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "document.write(getSize(values[i][4]));document.write(\"&lt;/td&gt;&lt;td&gt;\");" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "document.write(values[i][5]);document.write(\"&lt;/td&gt;&lt;/tr&gt;
\");" &gt;&gt; ${3}&lt;/div&gt;&lt;div&gt;








&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "}
&lt;/script&gt;&lt;/div&gt;&lt;table border="1"&gt;&lt;tbody&gt;
&lt;tr bgcolor="silver"&gt;&lt;th&gt;User&lt;/th&gt;&lt;th&gt;Peak download&lt;/th&gt;&lt;th&gt;Peak upload&lt;/th&gt;&lt;th&gt;Offpeak download&lt;/th&gt;&lt;th&gt;Offpeak upload&lt;/th&gt;&lt;th&gt;Last seen&lt;/th&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;" &amp;gt;&amp;gt; ${3}&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "&lt;br /&gt;
&lt;small&gt;This page was generated on `date`&lt;/small&gt;" 2&amp;gt;&amp;amp;1 &amp;gt;&amp;gt; ${3}&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo "" &amp;gt;&amp;gt; ${3}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #Free some memory&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rm -f /tmp/*_$$.tmp&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;*)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo "Usage : $0 {setup|update|publish} [options...]"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo "Options : "&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo " &amp;nbsp; $0 setup"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo " &amp;nbsp; $0 update database_file [offpeak]"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo " &amp;nbsp; $0 publish database_file path_of_html_report [user_file]"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo "Examples : "&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo " &amp;nbsp; $0 setup"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo " &amp;nbsp; $0 update /tmp/usage.db offpeak"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo " &amp;nbsp; $0 publish /tmp/usage.db /www/user/usage.htm /jffs/users.txt"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo "Note : [user_file] is an optional file to match users with their MAC address"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;echo " &amp;nbsp; &amp;nbsp; &amp;nbsp; Its format is : 00:MA:CA:DD:RE:SS,username , with one entry per line"&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;exit&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;;;&lt;/div&gt;&lt;div&gt;esac&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-2527583400426093820?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=_TL2hZuPl1w:oGt8pDLZ6pE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=_TL2hZuPl1w:oGt8pDLZ6pE:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/_TL2hZuPl1w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/2527583400426093820/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=2527583400426093820&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2527583400426093820?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2527583400426093820?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/_TL2hZuPl1w/per-user-mac-based-bandwidth-monitor.html" title="Per user mac based bandwidth monitor for routers" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/06/per-user-mac-based-bandwidth-monitor.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQDRn46fip7ImA9WhZbEk8.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-1131332453270012471</id><published>2011-06-16T17:09:00.000+05:30</published><updated>2011-06-16T17:09:37.016+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-16T17:09:37.016+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><title>How to extract 7zip files in ubuntu</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;First install 7zip package&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;sudo apt-get install p7zip&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
( you will need universal repository to run the above command )&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
after installing &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7z x my7Zzipfile&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-1131332453270012471?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=No7zScIQgks:Om8uCU1rJKk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=No7zScIQgks:Om8uCU1rJKk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/No7zScIQgks" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/1131332453270012471/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=1131332453270012471&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/1131332453270012471?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/1131332453270012471?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/No7zScIQgks/how-to-extract-7zip-files-in-ubuntu.html" title="How to extract 7zip files in ubuntu" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/06/how-to-extract-7zip-files-in-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8DRn46cSp7ImA9WhZVF0g.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-7641516604463532364</id><published>2011-05-30T17:30:00.002+05:30</published><updated>2011-05-30T17:31:17.019+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-30T17:31:17.019+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bash" /><title>Script to check weather user is root or not</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;if [ "$UID" -ne "$ROOT_UID" ]&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;then&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;echo "Must be root to run this script."&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;exit $E_NOTROOT&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;fi&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-7641516604463532364?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=knUIAbLCHfM:6aKqk4CS0Ew:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=knUIAbLCHfM:6aKqk4CS0Ew:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/knUIAbLCHfM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/7641516604463532364/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=7641516604463532364&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7641516604463532364?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7641516604463532364?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/knUIAbLCHfM/script-to-check-weather-user-is-root-or.html" title="Script to check weather user is root or not" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/05/script-to-check-weather-user-is-root-or.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4HRXk9fip7ImA9WhRSEks.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-7188309950291843890</id><published>2011-05-30T17:29:00.001+05:30</published><updated>2011-11-14T16:05:34.766+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-14T16:05:34.766+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><category scheme="http://www.blogger.com/atom/ns#" term="Bash" /><title>Script to check weather user is root or not</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
if [ "$UID" -ne "$ROOT_UID" ]&lt;br /&gt;
then&lt;br /&gt;
&amp;nbsp;echo "Must be root to run this script."&lt;br /&gt;
&amp;nbsp;exit $E_NOTROOT&lt;br /&gt;
fi&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-7188309950291843890?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=J399Ur7oK8c:D7L0AJfD1Xk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=J399Ur7oK8c:D7L0AJfD1Xk:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/J399Ur7oK8c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/7188309950291843890/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=7188309950291843890&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7188309950291843890?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7188309950291843890?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/J399Ur7oK8c/script-to-check-weather-user-is-root-or_30.html" title="Script to check weather user is root or not" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/05/script-to-check-weather-user-is-root-or_30.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04GR308eCp7ImA9WhZWGEw.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-6218465949571139086</id><published>2011-05-19T18:57:00.001+05:30</published><updated>2011-05-19T19:02:06.370+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-19T19:02:06.370+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><category scheme="http://www.blogger.com/atom/ns#" term="Troubleshooting" /><category scheme="http://www.blogger.com/atom/ns#" term="Vyatta" /><title>How to Restore Vyatta grub</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&amp;nbsp;&lt;strong&gt;grub&amp;gt; linux /boot/vmlinuz root=/dev/sda1&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;grub&amp;gt; initrd /boot/initrd&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;grub&amp;gt; boot&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
once we boot OS using this commands, We have to re-install grub to make it perminant&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;grub-install /dev/sda&lt;/strong&gt; &lt;br /&gt;
&lt;br /&gt;
will install grub now just reboot and relax !!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-6218465949571139086?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=bEg6-IknBkY:G8yaBey2_ZI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=bEg6-IknBkY:G8yaBey2_ZI:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/bEg6-IknBkY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/6218465949571139086/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=6218465949571139086&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/6218465949571139086?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/6218465949571139086?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/bEg6-IknBkY/how-to-restore-vyatta-grub.html" title="How to Restore Vyatta grub" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/05/how-to-restore-vyatta-grub.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIFSHw5fyp7ImA9WhZWEE4.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-7719132337313559650</id><published>2011-05-06T16:17:00.005+05:30</published><updated>2011-05-10T20:11:59.227+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T20:11:59.227+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Social Awareness" /><title>Make a Deal fraud in Hyderabad Victim's Society, In orbit mall city center</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hi all,&lt;br /&gt;
ha ha...&amp;nbsp;laughing seeing the title Victim's society......&lt;br /&gt;
&lt;br /&gt;
I am one of the victim of "make a deal" fraud done in hyderabad ( lost 50K)&lt;br /&gt;
My name is Naresh&lt;br /&gt;
Contact no : 9000608609&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&amp;nbsp;this fraud happened in "In-Orbit" and "City Center" Malls in Hyderabad.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;Here is what happened..&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;Stalls were setup in these malls attracting customers to pay Rs 50 and get gift vouchers/mobile recharge worth Rs 250, immediately.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;Customers were promised to get Reebok vouchers to be mailed to their address.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;The caveat however is the customer has to use his/her "Debit Card" to make initial Rs 50 payment.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;As soon as the card is swiped and pin entered the details were captured, i believe in the card swipe machine.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;After a few days when salaries were credited to the account, these fraudsters had cleaned the account.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;I heard of customers who were happy getting Baskin Robins vouchers immediately, and these "satisfied customers" informed friends and family to avail this amazing "Make a deal" offer.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Lets all fight in common.....Lets join our hands&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;I posted this to unite all victims so that we can fight back !!!&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px;"&gt;Feel free to contact me and join in group&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Police told we will be gathered to record a statement...Don't know how far police will help us.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;Lessons we learnt:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;--------------------------------&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;1) Use credit cards, We have time to block the transaction if it is Unauthorized&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;2) Don't reveal Debit Card pins even to your friends.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;3) Don't use Debit card of your salary account anywhere. ( Transaction done once salary got&amp;nbsp;credited)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp; Maintain alternative Debit cards with small amounts&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;4) Frequently change ATM pins, account passwords.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
News about this scam on DC&lt;br /&gt;
-----------------------------------------&lt;br /&gt;
&lt;div class="separator" dir="rtl" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_eIsexi2mSxg/TcjYH6UZ-PI/AAAAAAAABDc/tX30GBBWXA0/s576/scam.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/_eIsexi2mSxg/TcjYH6UZ-PI/AAAAAAAABDc/tX30GBBWXA0/s400/scam.jpg" width="326" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-7719132337313559650?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=LClyiQGQxOI:IL5PV1hoyBU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=LClyiQGQxOI:IL5PV1hoyBU:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/LClyiQGQxOI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/7719132337313559650/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=7719132337313559650&amp;isPopup=true" title="11 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7719132337313559650?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7719132337313559650?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/LClyiQGQxOI/make-deal-fraud-in-hyderabad-victims.html" title="Make a Deal fraud in Hyderabad Victim's Society, In orbit mall city center" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_eIsexi2mSxg/TcjYH6UZ-PI/AAAAAAAABDc/tX30GBBWXA0/s72-c/scam.jpg" height="72" width="72" /><thr:total>11</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/05/make-deal-fraud-in-hyderabad-victims.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cDSHo-fSp7ImA9WhZXFUw.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-2561911651744520132</id><published>2011-05-04T19:54:00.000+05:30</published><updated>2011-05-04T19:54:39.455+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-04T19:54:39.455+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="apache" /><category scheme="http://www.blogger.com/atom/ns#" term="svn" /><title>How to add apache user to SVN repository ?</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Add user and password&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;htpasswd -m /etc/apache2/dav_svn.passwd username1&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Add entry for that user in the following file&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;vi /etc/apache2/dav_svn.authz&lt;/strong&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-2561911651744520132?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=VdyslHsw054:hvBTHSAmerA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=VdyslHsw054:hvBTHSAmerA:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/VdyslHsw054" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/2561911651744520132/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=2561911651744520132&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2561911651744520132?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2561911651744520132?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/VdyslHsw054/how-to-add-apache-user-to-svn.html" title="How to add apache user to SVN repository ?" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/05/how-to-add-apache-user-to-svn.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4AQXY8eSp7ImA9WhZQF0w.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-714116792907171142</id><published>2011-04-25T13:22:00.000+05:30</published><updated>2011-04-25T13:22:20.871+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-25T13:22:20.871+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips and Tricks" /><title>Fastest way of transferring files between 2 server's over network</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Below are file transfer tips from the geek..&lt;br /&gt;
&lt;br /&gt;
Fastest way of transferring files between 2 server's over network&lt;br /&gt;
&lt;br /&gt;
-- SCP : (20MB/sec)&lt;br /&gt;
-- FTP : requires ftp installed id/password&amp;nbsp; : 40MB/sec&lt;br /&gt;
-- NetCAT : might work if netcat is installed.&amp;nbsp; : 60MB/sec&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;strong&gt;source : tar -cvzf /dir/ |netcat -l 7777&lt;br /&gt;
&amp;nbsp;&amp;nbsp; client :&amp;nbsp; netcat source_ip:7777 |tar -xvzf path&lt;br /&gt;
&lt;/strong&gt;-- Using Python / WGet : Ninja Master : 80MB/sec&lt;br /&gt;
&lt;br /&gt;
Server:&lt;br /&gt;
&amp;nbsp;&lt;strong&gt;# cd $folder_have the file&lt;br /&gt;
&amp;nbsp;# Start python webserver with this command. &lt;br /&gt;
&amp;nbsp;python -m SimpleHTTPServer&lt;br /&gt;
&lt;/strong&gt;Client : &lt;br /&gt;
&amp;nbsp; wget -c &lt;a href="http://x.x.x.239:8000/$file" target="_blank"&gt;http://x.x.x.239:8000/$file&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
-c will recover from a file break if something broke half way.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-714116792907171142?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=l-JeKNpF5_w:hb-Z0UcHQR8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=l-JeKNpF5_w:hb-Z0UcHQR8:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/l-JeKNpF5_w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/714116792907171142/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=714116792907171142&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/714116792907171142?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/714116792907171142?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/l-JeKNpF5_w/fastest-way-of-transferring-files.html" title="Fastest way of transferring files between 2 server's over network" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/04/fastest-way-of-transferring-files.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0MGQX4_eyp7ImA9WhZQEU8.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-7631316706057488696</id><published>2011-04-18T17:53:00.000+05:30</published><updated>2011-04-18T17:53:40.043+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-18T17:53:40.043+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="security" /><category scheme="http://www.blogger.com/atom/ns#" term="iptables" /><title>Iptables Port forwarding for VNC</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;pre class="prettyprint"&gt;&lt;span class="lit"&gt;&lt;pre class="prettyprint"&gt;&lt;span class="lit"&gt;&lt;/span&gt; &lt;/pre&gt;&lt;pre class="prettyprint"&gt;&lt;span class="lit"&gt;&lt;/span&gt; /sbin/iptables -A PREROUTING -t nat -p tcp -d $NATIP --dport 5900 -m 
state --state NEW,ESTABLISHED,RELATED -j DNAT --to 192.168.0.2:5900&lt;pre class="prettyprint"&gt;&lt;span class="lit"&gt;&lt;/span&gt; &lt;/pre&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-7631316706057488696?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=IOLvDMv7Gu4:IBvTkuSLoa4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=IOLvDMv7Gu4:IBvTkuSLoa4:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/IOLvDMv7Gu4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/7631316706057488696/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=7631316706057488696&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7631316706057488696?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/7631316706057488696?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/IOLvDMv7Gu4/iptables-port-forwarding-for-vnc.html" title="Iptables Port forwarding for VNC" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/04/iptables-port-forwarding-for-vnc.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMNQ3syeCp7ImA9WhZQEU8.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-2648812389893851726</id><published>2011-04-18T17:35:00.002+05:30</published><updated>2011-04-18T17:38:12.590+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-18T17:38:12.590+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu" /><title>Monitor your Boot Sequence with Bootchart</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Ubuntu – Monitor your Boot Sequence with Bootchart&lt;br /&gt;
&lt;br /&gt;
About Bootchart&lt;br /&gt;
Bootchart is a tool used to analyse your system performance in linux boot process. &lt;br /&gt;
It process all the required information accumulated during the boot process&lt;br /&gt;
(CPU usage and disk usage) which will then display as PNG, SVG, EPS encoded chart. &lt;br /&gt;
First of all you will have to Install Bootchart on Ubuntu. &lt;br /&gt;
&lt;br /&gt;
Installation&lt;br /&gt;
&lt;br /&gt;
sudo aptitude install bootchart&lt;br /&gt;
Reboot your PC&lt;br /&gt;
&lt;br /&gt;
When you restart your computer Bootchart will create a graphical illustration in .png format. &lt;br /&gt;
Disabling and Enabling Bootchart&lt;br /&gt;
To disable Bootchart just use these code: &lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
&lt;br /&gt;
sudo update-rc.d -f stop-bootchart remove&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Removing any system startup links for /etc/init.d/stop-bootchart&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; /etc/rc2.d/S99stop-bootchart&lt;br /&gt;
&amp;nbsp;&amp;nbsp; /etc/rc3.d/S99stop-bootchart&lt;br /&gt;
&amp;nbsp;&amp;nbsp; /etc/rc4.d/S99stop-bootchart&lt;br /&gt;
&amp;nbsp;&amp;nbsp; /etc/rc5.d/S99stop-bootchart&lt;br /&gt;
&lt;br /&gt;
And to re-enable just use these codes: &lt;br /&gt;
&lt;br /&gt;
cd /etc/init.d&lt;br /&gt;
&lt;br /&gt;
sudo update-rc.d stop-bootchart start 99 2 3 4 5 .&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Adding system startup for /etc/init.d/stop-bootchart ...&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; /etc/rc2.d/S99stop-bootchart -&amp;gt; ../init.d/stop-bootchart&lt;br /&gt;
&amp;nbsp;&amp;nbsp; /etc/rc3.d/S99stop-bootchart -&amp;gt; ../init.d/stop-bootchart&lt;br /&gt;
&amp;nbsp;&amp;nbsp; /etc/rc4.d/S99stop-bootchart -&amp;gt; ../init.d/stop-bootchart&lt;br /&gt;
&amp;nbsp;&amp;nbsp; /etc/rc5.d/S99stop-bootchart -&amp;gt; ../init.d/stop-bootchart&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-2648812389893851726?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=uxV_YdPAUMc:cxt2Pug_UjM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=uxV_YdPAUMc:cxt2Pug_UjM:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/uxV_YdPAUMc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/2648812389893851726/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=2648812389893851726&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2648812389893851726?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/2648812389893851726?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/uxV_YdPAUMc/monitor-your-boot-sequence-with.html" title="Monitor your Boot Sequence with Bootchart" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/04/monitor-your-boot-sequence-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMARX87fip7ImA9WhZRFU0.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-5645148377085634890</id><published>2011-04-11T12:17:00.000+05:30</published><updated>2011-04-11T12:17:24.106+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-11T12:17:24.106+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Scripting" /><title>Common Scripting errors for beginners</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;when i&amp;nbsp; started scripting i had these errors in&amp;nbsp;the begenning&amp;nbsp;. The most common mistakes one makes during his initial stages of scripting are.&lt;br /&gt;
&lt;br /&gt;
1.Check script file permissions. A script needs execute permission&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.We should not use default values that generate errors.If you&lt;br /&gt;
&amp;nbsp; give those your script execution breaks in the middle.&lt;br /&gt;
&lt;br /&gt;
3.We must supply parameters as required ie make parameter mandatory&lt;br /&gt;
&amp;nbsp; if parameter is to be provided for sure, or else it throws an error.&lt;br /&gt;
&lt;br /&gt;
4. Resuable script should not be hard-coded values.Use parameters&amp;nbsp; instead.&lt;br /&gt;
&lt;br /&gt;
5.Commenting the script is very important... Make it a habbit to write&lt;br /&gt;
&amp;nbsp; comments.Also specify in comments if script has multiple parameters.&lt;br /&gt;
&amp;nbsp; you can also write examples in comments for better understanding.&lt;br /&gt;
&lt;br /&gt;
6. Error handling is a must for scripting&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-5645148377085634890?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=-JXPdHp6_yw:ix_7URqbbHQ:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=-JXPdHp6_yw:ix_7URqbbHQ:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/-JXPdHp6_yw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/5645148377085634890/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=5645148377085634890&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/5645148377085634890?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/5645148377085634890?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/-JXPdHp6_yw/common-scripting-errors-for-beginners.html" title="Common Scripting errors for beginners" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/04/common-scripting-errors-for-beginners.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYGRXY9cSp7ImA9WhZREk0.&quot;"><id>tag:blogger.com,1999:blog-110134089985063272.post-1094444699334097040</id><published>2011-04-07T23:45:00.000+05:30</published><updated>2011-04-07T23:45:24.869+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-07T23:45:24.869+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Citrix" /><title>what is Citrix presentation server ?</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Citrix presentation server uses ICA protocol&lt;br /&gt;
&lt;br /&gt;
allow to remotely access individual application.&lt;br /&gt;
&lt;br /&gt;
It appears on the task-bar so we can toggle around the screens.&lt;br /&gt;
&lt;br /&gt;
Adds management infrastructure ( allow more sessions on to server)&lt;br /&gt;
&lt;br /&gt;
ability to start applications from a web site&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/110134089985063272-1094444699334097040?l=blog.learnadmin.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=FOfMt1PWpTA:kcFNFbeL7wI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/Linux/unixAdministration?a=FOfMt1PWpTA:kcFNFbeL7wI:63t7Ie-LG7Y"&gt;&lt;img src="http://feeds.feedburner.com/~ff/Linux/unixAdministration?d=63t7Ie-LG7Y" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Linux/unixAdministration/~4/FOfMt1PWpTA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.learnadmin.com/feeds/1094444699334097040/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=110134089985063272&amp;postID=1094444699334097040&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/1094444699334097040?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/110134089985063272/posts/default/1094444699334097040?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Linux/unixAdministration/~3/FOfMt1PWpTA/what-is-citrix-presentation-server.html" title="what is Citrix presentation server ?" /><author><name>Naresh Surampudi</name><uri>http://www.blogger.com/profile/12095471814465183650</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="8" src="http://4.bp.blogspot.com/_eIsexi2mSxg/SjIcLFDbEUI/AAAAAAAAAu4/3aq85F-nDiE/S220/Naresh.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://blog.learnadmin.com/2011/04/what-is-citrix-presentation-server.html</feedburner:origLink></entry></feed>

