<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Walker News &#187; Search Results  &#187;  3-minutes</title>
	<atom:link href="http://www.walkernews.net/search/3-minutes/feed/rss2/" rel="self" type="application/rss+xml" />
	<link>http://www.walkernews.net</link>
	<description>A capsule of walker's experience in life...</description>
	<lastBuildDate>Sun, 29 Jan 2012 16:29:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Install NRPE On RedHat Linux?</title>
		<link>http://www.walkernews.net/2011/03/21/how-to-install-nrpe-on-redhat-linux/</link>
		<comments>http://www.walkernews.net/2011/03/21/how-to-install-nrpe-on-redhat-linux/#comments</comments>
		<pubDate>Sun, 20 Mar 2011 16:19:58 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=7370</guid>
		<description><![CDATA[A guide used to install Nagios Remote Plugin Executor (NRPE) on Redhat Linux/RHEL, Fedora, CentOS.]]></description>
			<content:encoded><![CDATA[Nagios, an open source computer/network monitoring system, can monitor remote servers actively or passively. For active mode check, one can use check_by_ssh to execute Nagios plugin on remote hosts, check_snmp via SNMP protocol, NRPE addon (Nagios Remote Plugin Executor), etc.<br />
<span id="more-7370"></span><br />
The focus of this subject is active mode status checking using NRPE solution that supports SSL encryption and smaller communication overhead (as compare to SSH solution), better security control, etc.<br />
<br /><span class="subhead2">A brief intro of how NRPE works with Nagios Core</span><br />
<br />Nagios Core process on server executes check_nrpe plugin to connect NRPE listener (daemon) on remote host that in turn executes Nagios plugin to check system/service status. <br />
<br />Therefore, you need to compile NRPE on Nagios server (for check_nrpe binary) and remote server (for NRPE listener binary).<br />
<br /><span class="subhead2">How to compile and install NRPE on RHEL 5.2</span><br />
<br />NOTE:<br />
<ul>
<li>Though this reference is based on RHEL 5.2, it should be applicable to Fedora and CentOS.<br />
&nbsp;</li>
<li>Prior to compile NRPE source files, uses rpm command to confirm the system has installed openssl, libssl, gcc, etc.<br />
&nbsp;</li>
<li>In additional, <a href="http://www.walkernews.net/2011/03/19/how-to-install-nagios-on-redhat-linux-in-3-minutes/">compile and install Nagios Plugins</a> (refer to steps for &#8220;Nagios Plugins&#8221; and &#8220;create user account for running nagios&#8221; ONLY, if this standard plugins package is not already installed).<br />
&nbsp;</li>
<li>To play safe, compile NRPE source files on each Linux servers that require NRPE binaries.<br />
&nbsp;</li>
<li>On Nagios server, stop after executing &#8220;make install-plugin&#8221; command (see below).</li>
</ul>
<br />Firstly, login as root and <a href="http://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE-%252D-Nagios-Remote-Plugin-Executor/details" target="_blank">download NRPE</a> to local disk. If the Linux machine has direct access to Internet, just run this wget to download NRPE v2.12 (latest version at this time of writing):<br />
<pre>
wget http://prdownloads.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
</pre>
<br />Extract NRPE source files from the compressed tarball:<br />
<pre>
tar -zxvf nrpe-2.12.tgz
cd nrpe-2.12
</pre>
<br />Run configure file. The use of &#8220;with-nrpe_port&#8221; is optional, which is only applicable for those who want to change NRPE default listening port from 5666 to other port number (e.g. 63636):<br />
<pre>
./configure --with-nrpe_port=63636
</pre>
<br />Compile NRPE source files (pipe output to tee command is optionally, but duplicate output to file could be useful for tracing errors that happen during compilation):<br />
<pre>
make all | tee nrpe.make.all.log
</pre>
<br />Install NRPE plugin (will automatically copy src/check_nrpe to /usr/local/nagios/libexec directory):<br />
<pre>
make install-plugin
</pre>
<blockquote>
Stop here if this procedure is applied on Nagios server (as mentioned above). Continue next step if this procedure is done on remote server (to be monitored by Nagios server).
</blockquote>
<br />Install the daemon (NRPE listener) and sample of NRPE config file:<br />
<pre>
make install-daemon
make install-daemon-config
</pre>
<br />Append the entry of NRPE listener and port number to /etc/services file, e.g.:<br />
<pre>
nrpe      63636/tcp      # NRPE Listener
</pre>
<br />Edit /usr/local/nagios/etc/nrpe.cfg to change &#8220;allowed_hosts&#8221; from &#8220;127.0.0.1&#8243; to the Nagios server IP address where check_nrpe plugin is running.<br />
<blockquote>
In my test, the &#8220;CHECK_NRPE: Error &#8211; Could not complete SSL handshake.&#8221; rejection is caused by &#8220;allowed_hosts&#8221; setting in nrpe.cfg file :(
</blockquote>
<br />Add this entry to /etc/rc.local file for Linux to run NRPE listener automatically after boot-up (for some reasons I couldn&#8217;t get NRPE daemon up via xinetd service):<br />
<pre>
/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
</pre>
<br />To run NRPE daemon (listener) immediately, just manually execute that line in /etc/rc.local file. To terminate NRPE listener, execute ps command to find out the PID of NRPE:<br />
<pre>
ps -elf | grep nrpe | grep -v grep
</pre>
<br />Then run <code>kill -9 &lt;NRPE_PID&gt;</code> to stop it.<br />
<br />Now, let&#8217;s check NRPE installation to confirm it works. So, make sure the NRPE daemon is running on remote server (login as root):<br />
<pre>
netstat -tulpan | grep nrpe
</pre>
<br />Confirm the RedHat Firewall is not running (for simplicity) or ensure it allows Nagios server connects to NRPE listening port number. In my test, the &#8220;Connection refused or timed out&#8221; is caused by RedHat Firewall.<br />
<br />Login to Nagios server as root or nagios user and run check_nrpe to confirm it can communicate with NRPE daemon on remote host (that listening to TCP port number 63636, in this example):<br />
<pre>
cd /usr/local/nagios/libexec
./check_nrpe -H &lt;NRPE_Listener_IP&gt; 63636
</pre>
<br />If it displays &#8220;NRPE v2.12&#8243; (the version used in this guide), it means everything OK and set to configure Nagios Core (e.g. /usr/local/nagios/etc/objects/linux.cfg, etc.) for monitoring that particular remote host using NRPE addon solution.<br />
<ul class="related_post"><li><a href="http://www.walkernews.net/2011/06/19/how-to-setup-vpn-server-using-pptpd-on-rhel/" title="How To Setup VPN Server Using pptpd On RHEL?">How To Setup VPN Server Using pptpd On RHEL?</a></li><li><a href="http://www.walkernews.net/2011/06/05/how-to-do-interactive-search-and-replace-using-vi-editor/" title="How To Do Interactive Search And Replace Using Vi Editor?">How To Do Interactive Search And Replace Using Vi Editor?</a></li><li><a href="http://www.walkernews.net/2011/05/12/how-to-configure-vnc-server-to-use-gnome-desktop-on-centos/" title="How To Configure VNC Server To Use GNOME Desktop On CentOS?">How To Configure VNC Server To Use GNOME Desktop On CentOS?</a></li><li><a href="http://www.walkernews.net/2011/05/09/how-to-load-and-remove-linux-usb-mass-storage-driver/" title="How To Load And Remove Linux USB Mass Storage Driver?">How To Load And Remove Linux USB Mass Storage Driver?</a></li><li><a href="http://www.walkernews.net/2011/05/08/how-to-disable-linux-usb-drive/" title="How To Disable Linux USB Drive?">How To Disable Linux USB Drive?</a></li><li><a href="http://www.walkernews.net/2011/05/03/how-to-create-auto-ftp-script-on-linux/" title="How To Create Auto FTP Script On Linux?">How To Create Auto FTP Script On Linux?</a></li><li><a href="http://www.walkernews.net/2011/05/02/how-to-enable-linux-logout-script/" title="How To Enable Linux Logout Script?">How To Enable Linux Logout Script?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2011/03/21/how-to-install-nrpe-on-redhat-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Restart VNC Server After VNC Service Hangs or Stops Unexpectedly?</title>
		<link>http://www.walkernews.net/2009/04/03/how-to-restart-vnc-server-after-vnc-service-hangs-or-stops-unexpectedly/</link>
		<comments>http://www.walkernews.net/2009/04/03/how-to-restart-vnc-server-after-vnc-service-hangs-or-stops-unexpectedly/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 10:32:55 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[VNC]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2322</guid>
		<description><![CDATA[Do you know how to restart VNC server when you realize the VNC service might has hung up or stopped?]]></description>
			<content:encoded><![CDATA[How difficult is to restart the VNC server or service? Well, there is certainly no difficulty at all, if you&#8217;re in front of the server.<br />
<span id="more-2322"></span><br />
Now, imagine that server is at few hundred miles away and nobody is there to restart that bloody machine.<br />
<br /><!--wgadh-->Worst still, simply reboot the machine might not able restart the <a href="http://www.walkernews.net/2007/07/05/how-to-setup-linux-vnc-server/" title="How to setup VNC server in Linux machine?" rel="bookmark">VNC server</a>.<br />
<br />So, what could you do in order to get the VNC server back to work? Precisely, if you can&#8217;t VNC to the remote server, how could you attempt to restart the VNC service?<br />
<br />OK, here are the tips and tricks for VNC server running in Windows or Linux machine.<br />
<br />To apply this method, however, there must be network connection between you and the remote server.<br />
<br /><span class="subhead">Restart VNC service of a remote computer running Windows 2000 or above</span><br />
<br />You must do the following steps on a computer running Windows 2000 or above as well. Let say this is a Windows Vista Ultimate machine.<br />
<br />1) Click the Vista Orb (Start button), right-click on <span class="subhead2">Computer</span> and select <span class="subhead2">Manage</span> option from the pop-up menu. This will open Computer Management window.<br />
<br />2) Right-click the <span class="subhead2">Computer Management (Local)</span>, the top node on left pane, and select <span class="subhead2">Connect to another computer&#8230;</span>.<br />
<br />Alternatively, click the <span class="subhead2">Action</span> menu to find the same option.<br />
<br />3) In the Select Computer dialog box, opt for <span class="subhead2">Another Computer</span> and type the computer name in the text box.<br />
<br />If you can&#8217;t remember the computer name, click <span class="subhead2">Browse</span> button follow by <span class="subhead2">Advanced</span> button and click <span class="subhead2">Find Now</span> to list all computers detected.<br />
<br />Now, hopefully this step will be succeed. Otherwise, it ends here :-(<br />
<br />Once you&#8217;ve connected the remote computer, click <span class="subhead2">Services and applications</span> node on the left pane of Computer Management window. From there, locate the VNC service on the right pane and restart it.<br />
<br /><span class="subhead">Restart VNC service of a remote computer running Red Hat Enterprise Linux</span><br />
<br />With Linux, this job is easier :-)<br />
<br />Other than network connection, you must able to remotely login the Linux server, be it the vulnerable telnet or secure <a href="http://www.walkernews.net/2007/07/21/how-to-setup-ssh-port-forwarding-in-3-minutes/" title="How to setup SSH port forwarding in 3 minutes - good to secure the VNC connection!" rel="bookmark">SSH protocol</a>.<br />
<br />After login to Linux command prompt (via telnet or SSH), just execute <code>service vncserver restart</code>, if the <a href="http://www.walkernews.net/2008/06/20/configure-vnc-server-to-auto-start-up-in-red-hat-linux/" title="How to configure VNC server to start up automatically when Linux boots up or reboot?" rel="bookmark">VNC server is configured to auto-start when Linux boots up / reboot</a>.<br />
<br />If there is no auto-start setup, then do the manual ways as you&#8217;ve done:<br />
<br />1) If the VNC server process stills exists, and it was started with DISPLAY:1, then kill it will command <code>vncserver -kill :1</code><br />
<br />2) Start it again by executing <code>vncserver :1</code><br />
<br />Now, you can confirm the VNC server is up again by executing <a href="http://www.walkernews.net/2007/05/27/linux-commands-to-check-network-connection/" title="Good Linux commands to troubleshoot network connection issues." rel="bookmark">netstat command</a>:<br />
<pre>
netstat -tulpan | grep vnc
</pre>
<br />If the VNC server is started for DISPLAY:1, the netstat result should shows Xvnc listening to three different ports: 5801, 5901, and 6001.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/04/06/how-to-fix-scp-and-ssh-login-prompt-is-very-slow-in-linux/" title="How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux">How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux</a></li><li><a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How To Allow Root Login To Telnet Server In Linux?">How To Allow Root Login To Telnet Server In Linux?</a></li><li><a href="http://www.walkernews.net/2008/11/20/how-to-fix-telnet-rejection-error-of-name-or-service-not-known-illegal-seek/" title="How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek">How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek</a></li><li><a href="http://www.walkernews.net/2009/07/01/how-to-turn-off-or-disable-the-citrix-beep-sound/" title="How To Turn Off Or Disable The Citrix Beep Sound?">How To Turn Off Or Disable The Citrix Beep Sound?</a></li><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/10/red-hat-linux-5-man-page-displays-weird-characters/" title="Red Hat Linux 5 Man Page Displays Weird Characters">Red Hat Linux 5 Man Page Displays Weird Characters</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-disable-keyboard-power-button/" title="How To Disable Keyboard Power Button?">How To Disable Keyboard Power Button?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/04/03/how-to-restart-vnc-server-after-vnc-service-hangs-or-stops-unexpectedly/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How To Quit From Telnet Login Prompt Immediately?</title>
		<link>http://www.walkernews.net/2009/03/19/how-to-quit-from-telnet-login-prompt-immediately/</link>
		<comments>http://www.walkernews.net/2009/03/19/how-to-quit-from-telnet-login-prompt-immediately/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 14:48:22 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[Telnet]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2206</guid>
		<description><![CDATA[Is there a proper way to exit from telnet login prompt other than forcibly kill the telnet client process?]]></description>
			<content:encoded><![CDATA[To many of you, this is not an interested post. However, it will not cost much for recording it here as a reference.<br />
<br /><span class="subhead">Question:</span> You&#8217;re accessing <a href="http://www.walkernews.net/2007/03/29/brighten-linux-ls-command-output-with-ls_colors/" title="How to make the Linux command console looks brighter in dark console?" rel="bookmark">Linux command prompt</a> in front of server console or via remote access client (be it a <a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How to allow root user login to telnet server directly?" rel="bookmark">insecure telnet</a> or <a href="http://www.walkernews.net/2007/07/21/how-to-setup-ssh-port-forwarding-in-3-minutes/" title="How to setup secured SSH port forwarding in 3 minutes?" rel="bookmark">encrypted SSH connection</a>).<br />
<span id="more-2206"></span><br />
<!--wgadh-->Then, from that Linux command prompt, you make a telnet connection to other <a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How to install and start telnet server in Red Hat Linux?" rel="bookmark">telnet server</a> (be it a Unix/Linux-based or the Windows Telnet server).<br />
<br />While at telnet login prompt, you find out that is not the right telnet server to access and want to quit immediately.<br />
<br />So, how could you exit from the telnet login prompt immediately, without waiting for it to time out or forcibly terminate the telnet client process?<br />
<br /><span class="subhead">Answer:</span> I find out that the telnet client of either Windows Vista Ultimate or Red Hat Enterprise Linux 4 supports the same &#8220;escape&#8221; key.<br />
<br />This special key, better known as &#8220;escape character&#8221; brings up the <span style="font-weight:bold;">telnet &gt;</span> command prompt instantly when it&#8217;s pressed.<br />
<br />As seen in this following screenshot, the &#8220;escape character&#8221; is <span style="font-weight:bold;">^]</span>. That&#8217;s to say, press <span style="font-weight:bold;">CTRL</span> and <span style="font-weight:bold;">]</span> together for the <span style="font-weight:bold;">telnet &gt;</span> command prompt and just enter <code>quit</code> command to end the telnet client process properly:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/telnet-client.jpg" alt="Telnet client - how to exit from telnet login prompt immediately?" title="Telnet client - how to exit from telnet login prompt immediately?" /><br />
<br />With this &#8220;proper&#8221; way, there is no need to wait for time out, simply close Putty window, or execute kill -9 command from another session.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How To Allow Root Login To Telnet Server In Linux?">How To Allow Root Login To Telnet Server In Linux?</a></li><li><a href="http://www.walkernews.net/2008/11/20/how-to-fix-telnet-rejection-error-of-name-or-service-not-known-illegal-seek/" title="How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek">How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek</a></li><li><a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How To Install And Start Telnet Server In Red Hat Linux?">How To Install And Start Telnet Server In Red Hat Linux?</a></li><li><a href="http://www.walkernews.net/2009/07/01/how-to-turn-off-or-disable-the-citrix-beep-sound/" title="How To Turn Off Or Disable The Citrix Beep Sound?">How To Turn Off Or Disable The Citrix Beep Sound?</a></li><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/" title="How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?">How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/03/19/how-to-quit-from-telnet-login-prompt-immediately/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Create Volume Group And File System With LVM2 In Linux?</title>
		<link>http://www.walkernews.net/2009/03/07/how-to-create-volume-group-and-file-system-with-lvm2-in-linux/</link>
		<comments>http://www.walkernews.net/2009/03/07/how-to-create-volume-group-and-file-system-with-lvm2-in-linux/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 09:43:32 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[3-Minutes]]></category>
		<category><![CDATA[Disk Management]]></category>
		<category><![CDATA[Dummy]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[RHEL]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=2046</guid>
		<description><![CDATA[This is another attempt to document a simple guide, about how to create a new Volume Group and build a new file system on a Logical Volume, base on Red Hat Enterprise Linux 4 and LVM2 toolkits.]]></description>
			<content:encoded><![CDATA[<a href="http://www.walkernews.net/2007/02/27/extend-lvm-disk-space-with-new-hard-disk/" title="How to extend the size of a LVM Volume Group with more hard disk?" rel="bookmark">LVM</a>, shorts for Logical Volume Management, is available in most modern Linux distributions. If I recall correctly, the disk layout for file systems of Red Hat Enterprise Linux 4 default installation is based on Logical Volume Management.<br />
<span id="more-2046"></span><br />
<!--wgadh-->As the name implies, <a href="http://www.walkernews.net/2007/07/02/how-to-create-linux-lvm-in-3-minutes/" title="How to create a new Linux volume group in 3-minutes?" rel="bookmark">LVM</a> is a software technique to consolidate a group multiple block devices (hard disk or disk partition) and present them to OS as a single disk volume. In other words, system administrator can build or create a 500GB file system with 2 units of 250GB hard disk.<br />
<br />Another advantage of using LVM implementation is flexibility to perform on-the-fly resize for the file system that built on this virtual disk partition, by adding in more physical hard disks and disk partitions.<br />
<br /><img src='http://www.walkernews.net/wp-content/uploads/2007/07/lvm-digram.jpg' alt='A visualized concept diagram of the Linux Logical Volume Manager or LVM.' /><br />
<sup>A visualized concept diagram of the Linux Logical Volume Manager or LVM</sup><br />
<br /><span class="subhead">How to create a new volume group (VG) and file system on Logical Volume (LV)?</span><br />
<br />Base on <span class="subhead2">RHEL4 and LVM2</span> as the platform, here is the summary of steps to build a new volume group (VG), create a Logical Volume (LV), followed by making new file system on it.<br />
<blockquote>
As with most Linux commands, the LVM and file system related commands come with number of option switches to extend or overwrite the command default behaviour.<br />
<br />Obviously, this general guide doesn&#8217;t cover detail of all option switches. For your own good sake, just vet through the command manual page to see if any of those option switches applicable to your environment.
</blockquote>
<br />1) Use <code>lvmdiskscan</code> to find out how many block devices (hard disks or disk partitions) seen by OS are currently used for LVM:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/lvm-disk.jpg" alt="Using lvmdiskscan to check the number of hard disks detected by OS." title="Using lvmdiskscan to check the number of hard disks detected by OS." /><br />
<br />2) With reference to lvmdiskscan output, the <span class="fpath">/dev/sda2</span> disk partition is not currently used for LVM. However, it might be used by Red Hat.<br />
<br />So, you&#8217;ve to verify or confirm which of the non-LVM block devices are not currently used by Red Hat with the <a href="http://www.walkernews.net/2007/07/13/df-and-du-command-show-different-used-disk-space/" title="Why the Linux df and du commands show different used disk space?" rel="bookmark">df command</a>. For example, this following <code>df -h</code> output clearly indicates that <span class="fpath">/dev/sda2</span> and <span class="fpath">/dev/sda3</span> are actually mounted as root and boot file system respectively:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/linux-file-system.jpg" alt="Using df -h command to check Linux file system size and free disk space." title="Using df -h command to check Linux file system size and free disk space." /><br />
<br />3) Now, let say I decides to create the new Volume Group (VG) with two unused SCSI hard disks, <span class="fpath">/dev/sdh</span> and <span class="fpath">/dev/sdi</span>. So, let&#8217;s use the pvcreate command to initialize these two SCSI hard disks for use by LVM:<br />
<pre>
pvcreate /dev/sdh /dev/sdi
</pre>
<br />The pvcreate command creates the VGDA, shorts of Volume Group Descriptor Area, for LVM to keep track Physical Extent (PE) allocation history, among other things. The initialized hard disk is known as Physical Volume (PV).<br />

<blockquote>
The manual page suggests setting a DOS disk partition to Linux LVM partition type (0x8e) prior to execute pvcreate command. But, why not to keep a standard by explicitly creating or changing non-LVM partition to LVM partition type?<br />
<br />1) To change existing, non-LVM disk partition to <span class="subhead2">LVM partition type (0x8e)</span> by using fdisk command:<br />
<br /><img src="http://www.walkernews.net/wp-content/uploads/2009/03/linux-lvm-fdisk-1.jpg" alt="Using Linux fdisk command to change a partition to LVM partition type." title="Using Linux fdisk command to change a partition to LVM partition type." /><br />
<br />2) To use the entire hard disk for LVM, simply proceed with fdisk to create one primary partition to take up whole hard disk space and then set the partition type to 0x8e.<br />
<br />The pvcreate manual page, however, suggest a faster approach by destroying the existing partition table, with this dd command:<br />
<pre>
dd if=/dev/zero of=/dev/sdi bs=512 count=1
</pre>
</blockquote>
<br />4) Now, use vgcreate command to create a new Volume Group called vg7, using the block devices (<span class="fpath">/dev/sdh</span> and <span class="fpath">/dev/sdi</span>) initialized by pvcreate command in previous step (you may run <code>pvdisplay</code> to see difference of before and after executing vgcreate command):<br />
<pre>
vgcreate -s 16M vg7 /dev/sdh /dev/sdi
</pre>
<br />A Volume Group can be thought of a container that house all the PV specified by <code>vgcreate</code> or <code>vgextend</code> command. Conceptually, you should regard Volume Group as a <span class="subhead2">virtual hard disk</span>, as you can see later that it&#8217;s possible to &#8220;partition&#8221; the Volume Group into Logical Volume (LV).<br />
<br />The <span class="fpath">-s</span> option switches specify the physical extent size (PE size) of the volume group. If this is not specifying, the default PE size is 4MB, which is best for most applications.<br />
<blockquote>
The maximum number of PE per Logical Volume (LV) is not applicable in LVM2. However, high number of PE could affect LVM tool performance.<br />
<br />As such, set a bigger PE size could effectively reducing number of PE per VG and LV (if the VG is big enough).
</blockquote>
<br />Take note that the name of VG must not conflict with existing VG. To list existing VG in system, execute <code>vgscan</code><br />
<br />5) Next, we proceed to partition Volume Group into Logical Volume. A file system can only be built on Logical Volume (LV) but not Volume Group (VG). Therefore, at least one LV must be created per VG. For example, this lvcreate command create a 400MB Logical Volume (virtual disk partition) called lvol3 in the Volume Group called vg7:<br />
<pre>
lvcreate -L 400M -n lvol3 vg7
</pre>
<br />Similar to VG, the name of LV must not crash with the existing LV in the same VG. Again, this can be verified by executing <code>lvscan</code><br />
<blockquote>
To use all free Physical Extent in Volume Group for Logical Volume, you can use <span class="fpath">-l</span> option switch to specify the number of PE to create the LV. The number of free PE in Volume Group vg7 can be checked by executing <code>vgdisplay vg7</code>
</blockquote>
<br />6) Now, with the new Logical Volume (lvol3), we can create file system on this virtual disk partition. For example, this mkfs command create the Linux EXT3 file system on Logical Volume <span class="fpath">/dev/vg7/lvol3</span>, with <span class="fpath">-m 2</span> option switch to specify 2% of the <a href="http://www.walkernews.net/2007/02/28/tune2fs-increase-linux-free-disk-space/" title="How to reduce file system reserved block for more free disk space in Linux?" rel="bookmark">file system blocks reserved for super-user</a>.:<br />
<pre>
mkfs -t ext3 -m 2 -v /dev/vg7/lvol3
</pre>
<br />The full path of logical volume can be checked by executing <code>lvscan</code> command.<br />
<br />7) Once the mkfs successfully creates EXT3 file system, it&#8217;s ready to mount the new file system. First, create a directory as mount point, let say this:<br />
<pre>
mkdir /NewVGMnt
</pre>
<br />8) Then execute the mount command to mount the new file system to /NewVGMnt:<br />
<pre>
mount -t ext3 /dev/vg7/lvol3 /mnt/NewVGMnt
</pre>
<br />To verify the mount point, just type <code>df -h</code> command to confirm it&#8217;s done successfully. To enable Linux automatically mount the new file system during boot-up, include this new file system to /etc/fstab system file.<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2009/02/08/using-ibm-db2-monitoring-tool-db2pd-to-document-database-server-profile/" title="Using IBM DB2 Monitoring Tool db2pd To Document Database Server Profile">Using IBM DB2 Monitoring Tool db2pd To Document Database Server Profile</a></li><li><a href="http://www.walkernews.net/2008/07/06/how-to-create-iso-image-of-directory-or-filesystem-in-linux/" title="How To Create An ISO Image Of Directory / Filesystem In Linux">How To Create An ISO Image Of Directory / Filesystem In Linux</a></li><li><a href="http://www.walkernews.net/2008/06/20/configure-vnc-server-to-auto-start-up-in-red-hat-linux/" title="Configure VNC Server To Auto Start Up In Red Hat Linux">Configure VNC Server To Auto Start Up In Red Hat Linux</a></li><li><a href="http://www.walkernews.net/2008/03/01/excel-trend-line-to-predict-db2-tablespaces-free-page/" title="Excel Trend Line To Predict DB2 Tablespaces Free Page">Excel Trend Line To Predict DB2 Tablespaces Free Page</a></li><li><a href="http://www.walkernews.net/2008/02/24/db2-sql-to-query-tablespace-free-pages-statistics/" title="DB2 SQL To Query Tablespace Free Pages Statistics">DB2 SQL To Query Tablespace Free Pages Statistics</a></li><li><a href="http://www.walkernews.net/2008/02/18/how-to-log-db2-tablespaces-free-pages-statistics/" title="How To Log DB2 Tablespaces Free Pages Statistics">How To Log DB2 Tablespaces Free Pages Statistics</a></li><li><a href="http://www.walkernews.net/2008/01/15/how-to-install-rhel4-in-hp-netserver-lh3000/" title="How To Install RHEL4 In HP NetServer LH3000">How To Install RHEL4 In HP NetServer LH3000</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2009/03/07/how-to-create-volume-group-and-file-system-with-lvm2-in-linux/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How To Install And Start Telnet Server In Red Hat Linux?</title>
		<link>http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/</link>
		<comments>http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 17:26:48 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[KnowHow]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Telnet]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=1403</guid>
		<description><![CDATA[If you really can't live with Linux without using the insecure telnet protocol, how could you install and turn on the telnet daemon in Linux server?]]></description>
			<content:encoded><![CDATA[Every server administrators should and must know that telnet protocol is not secure, because data packets transfer between telnet server and client not encrypted.<br />
<span id="more-1403"></span><br />
That&#8217;s to say, anyone who use sniffer to capture network packets can read the plain text transfer over <!--wgadh-->the network. If the packets captured contain login credentials, the server access and security control will be compromised.<br />
<br />Thus, by default, most Linux distributions install <a href="http://www.walkernews.net/2007/07/21/how-to-setup-ssh-port-forwarding-in-3-minutes/" title="How to configure SSH port forwarding in 3 minutes or less?" rel="bookmark">SSH server</a> and not telnet. <a href="http://www.walkernews.net/tag/linux/" title="All posts related to Linux in WalKerNews.net" rel="bookmark">Red Hat Linux</a> even explicitly categorize telnet server as one of the &#8220;legacy network servers&#8221;.<br />
<br />However, what if you really want the Linux machine running such insecure protocol? <br />
<br /><span class="subhead">How to install and start the insecure telnet server (in Red Hat Linux Enterprise 4)?</span><br />
<ol>
<li>Look for the telnet-server RPM file in the installation CD/DVD and install it from command line, e.g. <code>rpm -Uvh telnet-server-0.17-31.EL4.3</code>.
<br />Alternatively, login to GNOME Desktop, go to Application menu, System Settings, and click Add/Remove Applications to bring up Package Management window:<br />
<br /><div style="max-width:500px;"><img src="http://www.walkernews.net/wp-content/uploads/2008/11/linux-telnet-server.jpg" alt="How to install and start telnet server in Red Hat Linux?" title="How to install and start telnet server in Red Hat Linux?" width="450" height="417" class="size-full wp-image-1404" /></div><sup>How to install and start telnet server in Red Hat Linux?</sup><br />
<br />Select Legacy Network Server (tick the check box), click Details link to bring up Legacy Network Server Package Details window, and select Telnet-Server to proceed with the installation.<br />
&nbsp;</li>
<li>At <a href="http://www.walkernews.net/2008/07/07/linux-dummy-guide-how-to-send-email-with-content-and-attachment/" title="How to send email with attachment in Linux command prompt?" rel="bookmark">Linux command prompt</a>, execute <code>chkconfig telnet on</code> to allow the xinetd spawns telnet-server processes upon client requests.
<br />Alternatively, edit the telnet configuration file (/etc/xinetd.d/telnet) and change <code>disable = yes</code> to <code>disable = no</code>.<br />
&nbsp;</li>
<li>Make sure the xinetd is running on your Linux default runlevel. To be sure, configure xinetd to start at runlevel 3, 4, and 5:
<pre>
chkconfig --level 345 xinetd on
</pre>
<br />If xinetd is not currently running (run <code>ps -elf | grep xinetd</code>), execute <code>service xinetd start</code> or <code>service xinetd restart</code> to start/restart it.
</li>
</ol>
<br />The running xinetd (extend Internet service daemon) listens to telnet client request on port 23 and spawn the telnet-server (/usr/sbin/in.telnetd) upon request, shut it down when telnet client drop the connection.<br />
<br />To confirm xinetd is listening to port 23, execute the <a href="http://www.walkernews.net/2007/05/27/linux-commands-to-check-network-connection/" title="One of the useful Linux utility to check network connection." rel="bookmark">netstat utility</a>:<br />
<pre>
netstat -tulpan | grep 23
</pre>
<br />
<ul class="related_post"><li><a href="http://www.walkernews.net/2008/11/20/how-to-fix-telnet-rejection-error-of-name-or-service-not-known-illegal-seek/" title="How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek">How To Fix Telnet Rejection Error of Name or Service Not Known: Illegal Seek</a></li><li><a href="http://www.walkernews.net/2009/03/18/how-to-allow-root-login-to-telnet-server-in-linux/" title="How To Allow Root Login To Telnet Server In Linux?">How To Allow Root Login To Telnet Server In Linux?</a></li><li><a href="http://www.walkernews.net/2008/11/06/linux-how-to-backup-and-restore-directory-with-tar-over-ssh-connection/" title="Linux: How To Backup And Restore Directory With Tar Over SSH Connection?">Linux: How To Backup And Restore Directory With Tar Over SSH Connection?</a></li><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/" title="How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?">How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?</a></li><li><a href="http://www.walkernews.net/2008/11/21/how-to-check-what-kernel-build-options-enabled-in-the-linux-kernel/" title="How To Check What Kernel Build Options Enabled In The Linux Kernel?">How To Check What Kernel Build Options Enabled In The Linux Kernel?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux: How To Backup And Restore Directory With Tar Over SSH Connection?</title>
		<link>http://www.walkernews.net/2008/11/06/linux-how-to-backup-and-restore-directory-with-tar-over-ssh-connection/</link>
		<comments>http://www.walkernews.net/2008/11/06/linux-how-to-backup-and-restore-directory-with-tar-over-ssh-connection/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 17:53:44 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[KnowHow]]></category>
		<category><![CDATA[Restore]]></category>
		<category><![CDATA[Secure Shell]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tar]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=1285</guid>
		<description><![CDATA[If your local disk has insufficient free disk space to keep the tarball (tar archive or .tar file), why not perform tar over SSH to create or extract the tarball at remote server?]]></description>
			<content:encoded><![CDATA[As per internal disaster recovery code, we have to redo DR server setup exercise every year, as to get sysadmins familiar with processes that are not frequently done and take chance to confirm latest updates deployed to live server are also working well in DR server.<br />
<span id="more-1285"></span><br />
So, it&#8217;s unavoidable to backup some directories on live machine and restore them to DR box. Problem is that the live system has <a href="http://www.walkernews.net/2007/02/28/tune2fs-increase-linux-free-disk-space/" title="How to use tune2fs command to reclaim some reserved disk space as free disk space during emergency?" rel="bookmark">insufficient free disk space</a> to create tarball (tar archive or .tar file), as some of the directories are bulky.<br />
<!--wgadh-->In this situation, flexibility of <a href="http://www.walkernews.net/tag/linux/" title="All posts related to Linux system in WalkerNews.net" rel="bookmark">Linux system</a> comes into picture. Instead of creating the tarball at live system, we opt to backup and restore over network!<br />
<br />In brief, it&#8217;s a method called <span class="subhead2">tar over SSH</span>, where we are going to create tarball of directories on live server, pipe it over <a href="http://www.walkernews.net/2008/05/11/how-to-keep-inactive-ssh-session-from-disconnected/" title="How to prevent an idle ssh connection from disconnected?" rel="bookmark">SSH connection</a> (secure shell connection), and untar the tarball on remote DR server at one go (i.e. enter a series of <a href="http://www.walkernews.net/2007/05/27/linux-commands-to-check-network-connection/" title="Two of the many Linux commands used to check Linux networking-related problem." rel="bookmark">Linux commands</a> on one line and press ENTER key to execute them).<br />
<br /><span class="subhead">How to backup and restore Linux file system with Tar command over SSH connection?</span><br />
<br />This is the commands template:<br />
<pre>
tar -zcvpf - dir1 dir2 | ssh root@walkernews.net "cd /usr/local/share/lib; tar -zxvpf -"
</pre>
<br />where<br />
<ul>
<li>tar option switch
<ul>
<li><code>-z</code> and <code>-c</code> meant to create (-c) a compressed tarball using gzip (-z)</li>
<li><code>-v</code> meant to verbosely list files processed</li>
<li><code>-p</code> meant to preserve file permission information</li>
<li><code>-f</code> meant the tarball output location. In this example, the tarball is created to &#8211; (i.e. stdin or standard input).<br />
&nbsp;</li>
</ul>
</li>
<li>dir1 and dir2 are the target directories to be backup<br />
&nbsp;</li>
<li><code>|</code> is the pipeline, meant the Linux inter-process communication (IPC).<br />
&nbsp;</li>
<li>the SSH remote shell command execution group the series of commands in double-quotation mark, in which it login to remote DR server (e.g. <a href="http://www.walkernews.net" title="WalkerNews.net - a capsule of Walker experience in life..." rel="bookmark">walkernews.net</a>) using root user account, changes working directory to /usr/local/share/lib follow by untar the tarball data stream from stdin input of first tar command (the tarball creation that initiated on live server).</li>
</ul>
<br />Now, what about if you want to tar backup directories of local system onto remote DR server? I.e. to create tarball of local directories onto remote server over <a href="http://www.walkernews.net/2007/07/21/how-to-setup-ssh-port-forwarding-in-3-minutes/" title="How to setup ssh port forwarding in 3 minutes?" rel="bookmark">SSH connection</a> (use either one of these two commands; where backup.tgz is a gzip-compressed tarball file name):<br />
<pre>
tar -zcvpf - dir1 dir2 | ssh root@walkernews.net "cd /backupdir; cat > backup.tgz"
</pre>
<br />or<br />
<pre>
tar -zcvpf - dir1 dir2 | ssh root@walkernews.net "cd /backupdir; dd of=backup.tgz"
</pre>
<br />
<ul class="related_post"><li><a href="http://www.walkernews.net/2008/11/19/how-to-install-and-start-telnet-server-in-red-hat-linux/" title="How To Install And Start Telnet Server In Red Hat Linux?">How To Install And Start Telnet Server In Red Hat Linux?</a></li><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/02/how-to-regenerate-putty-based-rsa-public-key-from-its-private-key/" title="How To Regenerate Putty-based RSA Public-key From Its Private-key?">How To Regenerate Putty-based RSA Public-key From Its Private-key?</a></li><li><a href="http://www.walkernews.net/2009/04/06/how-to-fix-scp-and-ssh-login-prompt-is-very-slow-in-linux/" title="How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux">How To Fix: SCP And SSH Login Prompt Is Very Slow In Linux</a></li><li><a href="http://www.walkernews.net/2009/03/22/how-to-fix-server-refused-our-key-error-that-caused-by-putty-generated-rsa-public-key/" title="How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?">How To Fix &#8220;Server Refused Our Key&#8221; Error That Caused By Putty Generated RSA Public Key?</a></li><li><a href="http://www.walkernews.net/2009/02/02/using-linux-awk-regular-expression-to-read-big-log-file/" title="Using Linux Awk Regular Expression To Read Big Log File">Using Linux Awk Regular Expression To Read Big Log File</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/11/06/linux-how-to-backup-and-restore-directory-with-tar-over-ssh-connection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Crack Targus DEFCON CL Laptop Lock BY CHANCE In 3 Seconds?</title>
		<link>http://www.walkernews.net/2008/07/20/how-to-crack-targus-defcon-cl-laptop-lock-by-chance-in-3-seconds/</link>
		<comments>http://www.walkernews.net/2008/07/20/how-to-crack-targus-defcon-cl-laptop-lock-by-chance-in-3-seconds/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 05:41:45 +0000</pubDate>
		<dc:creator>Walker</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Cable Lock]]></category>
		<category><![CDATA[DEFCON CL]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Know-how]]></category>
		<category><![CDATA[Laptop]]></category>
		<category><![CDATA[Targus]]></category>

		<guid isPermaLink="false">http://www.walkernews.net/?p=827</guid>
		<description><![CDATA[Do you know how easy for someone to unlock or crack a laptop lock in just 3 seconds? Check this out...]]></description>
			<content:encoded><![CDATA[Believe me, it&#8217;s not a 3-seconds or <a href="http://www.walkernews.net/tag/3-minutes/" title="All 3-minutes related posts in WalkerNews.net" rel="bookmark">3-minutes</a> job to unlock, to break or to crack a laptop cable lock, especially the Targus DEFCON lock that built with cut-resistant, vinyl-coated, galvanized steel cable and a user-settable combination lock with up to 10,000 possible settings!<br />
<span id="more-827"></span><br />
<!--wgadm-->But, you&#8217;ll know how could someone &#8220;crack&#8221; your laptop lock &#8220;by chance&#8221; in just three seconds&#8230;<br />
<br />Question 1: Where do you normally use the laptop computer cable lock? Most likely the answer is in the office.<br />
<br />Question 2: How many people used to scramble or reset the security code after unlocking the laptop for a meeting at next door?<br />
<br />Well, I&#8217;m afraid that not many users remember to reset the security code, i.e. leave the cable lock in unlock state.<br />
<br /><div style="max-width:500px;"><img src="http://www.walkernews.net/wp-content/uploads/2008/07/targus-defconcl-a.jpg" alt="How to crack a highly secured Targus DEFCON CL laptop lock in just 3 seconds?" title="How to crack a highly secured Targus DEFCON CL laptop lock in just 3 seconds?" width="500" height="305" class="size-full wp-image-829" /></div><sup>How to crack a highly secured Targus DEFCON CL laptop lock in just 3 seconds?</sup><br />
<br />So, it happened last week in my office. A 3rd-party office cleaner, who came for cleaning works during lunch hour, stole a premium Dell XPS M1330 that was secured with a Targus DEFCON CL lock (the branded cable lock bundled with most Dell laptop package).<br />
<br />The CCTV footage shows that the guy unlocked the &#8220;super secured&#8221; cable lock as if he knows the security code.<br />
<br />Is there a <a href="http://www.walkernews.net/2007/04/01/unlock-nokia-cellphone-for-free/" title="Freeware to unlock a forgotten Nokia DCIT-4 security lock code." rel="bookmark">master unlock code</a> of this 30 over bucks cable lock, that allowed him to crack it so easily?<br />
<br />(We highly believe that) the answer is the careless of owner. The manager recalled that he used to leave the cable lock in unlock state whenever he took the laptop away his office, especially when rushed for a meeting.<br />
<br />So happen that he used to back his cubic after lunch in case the meeting was in morning session, and the cleaner is so smart to remember his security code of the cable lock that was left in unlock status.<br />
<br />That&#8217;s how the cleaner crack the Targus DEFCON CL Laptop lock <span class="subhead2">BY CHANCE</span> in 3 seconds on the next day lunch hour, when the manager left for lunch with his Dell laptop &#8220;locked&#8221; in office.<br />
<br />This careless could lead someone to break just any cable locks, not limited to the tough Targus DEFCON CL lock!<br />
<br />Verdict: Remember to scramble / reset the security code after unlock the laptop!<br />

<ul class="related_post"><li><a href="http://www.walkernews.net/2008/06/24/bypass-exchange-server-attachment-filtering-system/" title="Bypass Exchange Server Attachment Filtering System">Bypass Exchange Server Attachment Filtering System</a></li><li><a href="http://www.walkernews.net/2010/03/14/how-to-record-wireless-router-connection-log/" title="How To Record Wireless Router Connection Log?">How To Record Wireless Router Connection Log?</a></li><li><a href="http://www.walkernews.net/2009/05/24/is-there-a-reliable-cracked-software-why-use-genuine-software/" title="Is there A Reliable Cracked Software? Why Use Genuine Software?">Is there A Reliable Cracked Software? Why Use Genuine Software?</a></li><li><a href="http://www.walkernews.net/2009/05/22/how-to-configure-windows-update-proxy-server-settings-in-windows-vista-sp1/" title="How To Configure Windows Update Proxy Server Settings In Windows Vista SP1?">How To Configure Windows Update Proxy Server Settings In Windows Vista SP1?</a></li><li><a href="http://www.walkernews.net/2009/05/11/how-to-use-putty-generated-rsa-key-to-login-linux-openssh-server/" title="How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?">How To Use Putty-generated RSA Key To Login Linux OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/03/how-to-create-putty-based-rsa-public-key-for-openssh-server/" title="How To Create Putty-based RSA Public-key For OpenSSH Server?">How To Create Putty-based RSA Public-key For OpenSSH Server?</a></li><li><a href="http://www.walkernews.net/2009/05/02/how-to-regenerate-putty-based-rsa-public-key-from-its-private-key/" title="How To Regenerate Putty-based RSA Public-key From Its Private-key?">How To Regenerate Putty-based RSA Public-key From Its Private-key?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.walkernews.net/2008/07/20/how-to-crack-targus-defcon-cl-laptop-lock-by-chance-in-3-seconds/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

