<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>L.A.M.N.K</title>
	
	<link>http://www.lamnk.com/blog</link>
	<description>Free your mind ... and your ass will follow</description>
	<lastBuildDate>Thu, 26 Aug 2010 12:52:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/lamnk" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="lamnk" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Sometimes it’s beyond your imagination</title>
		<link>http://www.lamnk.com/blog/computer/sometimes-its-beyond-your-imagination/</link>
		<comments>http://www.lamnk.com/blog/computer/sometimes-its-beyond-your-imagination/#comments</comments>
		<pubDate>Mon, 17 May 2010 16:49:52 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=227</guid>
		<description><![CDATA[The sheer stupidity of this registration form is unfathomable. Not only they don&#8217;t allow white spaces, they also forbid vietnamese characters ! How can I submit my name now ?! On the other side, i really give kudos to LacViet for having an usable ecommerce site. They make online transactions quite pleasant to go through [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>The sheer stupidity of this registration form is unfathomable. Not only they don&#8217;t allow white spaces, they also forbid vietnamese characters ! How can I submit my name now ?!</p>
<p><img src="http://imgur.com/FMMSj.png" alt="lacviet mtd registration form stupidity" /></p>
<p>On the other side, i really give kudos to <a href="http://www.lacviet.com.vn">LacViet</a> for having an usable ecommerce site. They make online transactions quite pleasant to go through (except the atrocity above, of course)</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/computer/sometimes-its-beyond-your-imagination/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Interesting Windows hotkeys you should know about</title>
		<link>http://www.lamnk.com/blog/computer/interesting-windows-hotkeys-you-should-know-about/</link>
		<comments>http://www.lamnk.com/blog/computer/interesting-windows-hotkeys-you-should-know-about/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 15:51:30 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[hotkey]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=220</guid>
		<description><![CDATA[Vim has shown me the power of muscle memory. That&#8217;s why i always try to learn hotkeys of any thing i use daily. Managing your desktop environment of course is one of those tasks. Below are non-trivial and useful windows hotkeys that you probably don&#8217;t know about. Win + Pause = System Properties Win + [...]


Related posts:<ol><li><a href='http://www.lamnk.com/blog/vpn/how-to-fix-cisco-vpn-client-error-442-on-windows-vista/' rel='bookmark' title='Permanent Link: How to fix Cisco VPN Client error 442 on Windows Vista'>How to fix Cisco VPN Client error 442 on Windows Vista</a></li>
<li><a href='http://www.lamnk.com/blog/computer/reset-tcpip-networking-stack-in-windows-7-and-vista/' rel='bookmark' title='Permanent Link: Reset TCP/IP networking stack in Windows 7 and Vista'>Reset TCP/IP networking stack in Windows 7 and Vista</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgur.com/qo8f0.png" alt="non trivial windows hotkeys" /></p>
<p>Vim has shown me the power of muscle memory. That&#8217;s why i always try to learn hotkeys of any thing i use daily. Managing your desktop environment of course is one of those tasks.</p>
<p>Below are non-trivial and useful windows hotkeys that you probably don&#8217;t know about.</p>
<p><strong>Win + Pause</strong> = System Properties</p>
<p><strong>Win + D</strong> = Show Desktop</p>
<p><strong>Win + M</strong> = Minimize all windows</p>
<p><strong>Win + E</strong> = Launch Win Explorer (@ My Computer),</p>
<p><strong>Win + R</strong> = Run Command</p>
<p><strong>Win + L</strong> = Lock the screen</p>
<p><strong>Win + X</strong> = Open Windows Mobility Center</p>
<p><strong>Win + T</strong> = Shift through windows list in task bar (Win7)</p>
<p><strong>Win + P</strong> = Change display output between Computer and Projector</p>
<p><strong>Win + B</strong> = Let you select items in task bar&#8217;s tray</p>
<p><strong>Ctrl + Esc</strong> = Start Menu (for those who use old keyboard)</p>
<p><strong>Ctrl + Shift + Esc</strong>  = Show Task Manager</p>
<p><strong>Win + Shift + M</strong> = Maximize all windows</p>
<p><strong>Alt + Spacebar + X</strong> = Maximize window</p>
<p><strong>Alt + Spacebar + N</strong> = Minimize window</p>
<p><strong>Alt + Spacebar + R</strong> = Restore</p>
<p><strong>Alt + Tab</strong> = Shift between Windows (this one is trivial but do you know that <strong>Alt + Shift + Tab</strong> = Shift between Windows in reverse order ?)</p>
<p><strong>Ctrl+ Shift + F10</strong> = Shows Context Menu (Mouse Right Click Effect)</p>
<p>Application Specific (generally): <strong>Ctrl + S</strong> = Save, <strong>F3/Ctrl + F</strong> = Find</p>
<p>Desktop/Win Explorer: <strong>F2</strong> = Rename File,  <strong>F3/Win + S</strong> = Launch Search</p>


<p>Related posts:<ol><li><a href='http://www.lamnk.com/blog/vpn/how-to-fix-cisco-vpn-client-error-442-on-windows-vista/' rel='bookmark' title='Permanent Link: How to fix Cisco VPN Client error 442 on Windows Vista'>How to fix Cisco VPN Client error 442 on Windows Vista</a></li>
<li><a href='http://www.lamnk.com/blog/computer/reset-tcpip-networking-stack-in-windows-7-and-vista/' rel='bookmark' title='Permanent Link: Reset TCP/IP networking stack in Windows 7 and Vista'>Reset TCP/IP networking stack in Windows 7 and Vista</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/computer/interesting-windows-hotkeys-you-should-know-about/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Php-fpm error after reinstall PHP</title>
		<link>http://www.lamnk.com/blog/computer/php-fpm-error-after-reinstall-php/</link>
		<comments>http://www.lamnk.com/blog/computer/php-fpm-error-after-reinstall-php/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 02:51:31 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php-fpm]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=216</guid>
		<description><![CDATA[Error: lamnk@lamnk:~% sudo php-fpm start Starting php_fpm Error in argument 1, char 1: no argument for option - Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f ] php-cgi [args...] -a Run interactively -C Do not chdir to the script's directory -c &#124; Look for php.ini file in this directory -n No php.ini file will be [...]


Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/' rel='bookmark' title='Permanent Link: Error compiling PHP on CentOS 64 bit'>Error compiling PHP on CentOS 64 bit</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/strange-error-when-compile-vpnc/' rel='bookmark' title='Permanent Link: Strange error when compile vpnc'>Strange error when compile vpnc</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Error:</p>
<blockquote><p>
<code>lamnk@lamnk:~% sudo php-fpm start</p>
<p>Starting php_fpm Error in argument 1, char 1: no argument for option -<br />
Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f ] php-cgi [args...]<br />
-a Run interactively<br />
-C Do not chdir to the script's directory<br />
-c | Look for php.ini file in this directory<br />
-n No php.ini file will be used<br />
-d foo[=bar] Define INI entry foo with value 'bar'<br />
-e Generate extended information for debugger/profiler<br />
-f Parse . Implies `-q'<br />
-h This help -i PHP information<br />
-l Syntax check only (lint)<br />
-m Show compiled in modules -q Quiet-mode. Suppress HTTP Header output.<br />
-s Display colour syntax highlighted source.<br />
-v Version number<br />
-w Display source with stripped comments and whitespace.<br />
-z Load Zend extension<br />
................................... failed</code>
</p></blockquote>
<p>Reason:</p>
<blockquote><p>The old config file php-fpm.conf is located at /etc. However the new config file is moved to /usr/etc.</p></blockquote>
<p>I don&#8217;t know why is that. I&#8217;ve used the exact same old configuration directives &#8230;</p>
<p>Fix:</p>
<blockquote><p>Move or copy php-fpm.conf from /etc to /usr/etc. Problem solved.</p></blockquote>


<p>Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/' rel='bookmark' title='Permanent Link: Error compiling PHP on CentOS 64 bit'>Error compiling PHP on CentOS 64 bit</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/strange-error-when-compile-vpnc/' rel='bookmark' title='Permanent Link: Strange error when compile vpnc'>Strange error when compile vpnc</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/computer/php-fpm-error-after-reinstall-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reset TCP/IP networking stack in Windows 7 and Vista</title>
		<link>http://www.lamnk.com/blog/computer/reset-tcpip-networking-stack-in-windows-7-and-vista/</link>
		<comments>http://www.lamnk.com/blog/computer/reset-tcpip-networking-stack-in-windows-7-and-vista/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 01:44:22 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=212</guid>
		<description><![CDATA[Sometimes your DHCP service is not able to pull an IP addresse, that means the network stack on Windows goes banana. To fix that, open command prompt with administrator privilege (click on Start -> type in &#8220;cmd&#8221; -> right click on the command prompt and choose &#8220;Run as Administrator&#8221;) and type these command: netsh int [...]


Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/run-cygwin-on-vista-as-administrator/' rel='bookmark' title='Permanent Link: Run Cygwin on Vista as Administrator'>Run Cygwin on Vista as Administrator</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/how-to-fix-cisco-vpn-client-error-442-on-windows-vista/' rel='bookmark' title='Permanent Link: How to fix Cisco VPN Client error 442 on Windows Vista'>How to fix Cisco VPN Client error 442 on Windows Vista</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/how-to-fix-error-27848-2738-at-cisco-vpn-installation/' rel='bookmark' title='Permanent Link: How to fix error 27848 / 2738 at Cisco VPN installation'>How to fix error 27848 / 2738 at Cisco VPN installation</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Sometimes your DHCP service is not able to pull an IP addresse, that means the network stack on Windows goes banana. To fix that, open command prompt with administrator privilege (click on Start -> type in &#8220;cmd&#8221; -> right click on the command prompt and choose &#8220;Run as Administrator&#8221;) and type these command:</p>
<blockquote><p><code>netsh int ip reset C:\netsh.log.txt<br />
netsh winsock reset</code></p></blockquote>
<p>&#8230; then all your network configuration is reset.</p>


<p>Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/run-cygwin-on-vista-as-administrator/' rel='bookmark' title='Permanent Link: Run Cygwin on Vista as Administrator'>Run Cygwin on Vista as Administrator</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/how-to-fix-cisco-vpn-client-error-442-on-windows-vista/' rel='bookmark' title='Permanent Link: How to fix Cisco VPN Client error 442 on Windows Vista'>How to fix Cisco VPN Client error 442 on Windows Vista</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/how-to-fix-error-27848-2738-at-cisco-vpn-installation/' rel='bookmark' title='Permanent Link: How to fix error 27848 / 2738 at Cisco VPN installation'>How to fix error 27848 / 2738 at Cisco VPN installation</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/computer/reset-tcpip-networking-stack-in-windows-7-and-vista/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Almost there …</title>
		<link>http://www.lamnk.com/blog/all-about-me/almost-there/</link>
		<comments>http://www.lamnk.com/blog/all-about-me/almost-there/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 06:23:59 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Shine on you crazy diamond]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=202</guid>
		<description><![CDATA[Yesterday I wanted to clean around my home directory: rm dmesg.txt feh_02 * boot.txt test.txt test.txt~ xxxtest.txt And this is the result: zsh: sure you want to delete all the files in /home/lamnk [yn]? n zsh: sure you want to delete all the files in /home/lamnk [yn]? y rm: cannot remove `feh_02': No such file [...]


Related posts:<ol><li><a href='http://www.lamnk.com/blog/vpn/can-not-compile-cisco-vpn-client-on-opensuse-103-64bit/' rel='bookmark' title='Permanent Link: Can not compile Cisco VPN client on openSUSE 10.3 64bit'>Can not compile Cisco VPN client on openSUSE 10.3 64bit</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/how-to-install-cisco-vpn-client-on-ubuntu-jaunty-jackalope-and-karmic-koala-64-bit/' rel='bookmark' title='Permanent Link: How to install Cisco VPN client on Ubuntu Jaunty Jackalope and Karmic Koala 64 bit'>How to install Cisco VPN client on Ubuntu Jaunty Jackalope and Karmic Koala 64 bit</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I wanted to clean around my home directory:</p>
<blockquote><p><code>rm dmesg.txt feh_02 * boot.txt test.txt test.txt~ xxxtest.txt</code></p></blockquote>
<p>And this is the result:</p>
<blockquote><p><code>zsh: sure you want to delete all the files in /home/lamnk [yn]? n<br />
zsh: sure you want to delete all the files in /home/lamnk [yn]? y<br />
rm: cannot remove `feh_02': No such file or directory<br />
rm: cannot remove `Customization': Is a directory<br />
rm: cannot remove `Desktop': Is a directory<br />
rm: cannot remove `Documents': Is a directory<br />
rm: cannot remove `Download': Is a directory<br />
rm: cannot remove `Dropbox': Is a directory<br />
rm: cannot remove `Ebooks': Is a directory<br />
rm: cannot remove `Movies': Is a directory<br />
rm: cannot remove `Music': Is a directory<br />
rm: cannot remove `Photos': Is a directory<br />
rm: cannot remove `Pictures': Is a directory<br />
rm: cannot remove `Truyentranh': Is a directory<br />
rm: cannot remove `backup': Is a directory<br />
rm: cannot remove `builds': Is a directory<br />
rm: cannot remove `boot.txt': No such file or directory<br />
rm: cannot remove `test.txt': No such file or directory<br />
rm: cannot remove `test.txt~': No such file or directory<br />
rm: cannot remove `xxxtest.txt': No such file or directory<br />
</code></p></blockquote>
<p>Luckily i didn&#8217;t issue <code>rm -rf</code> as usual &#8230;</p>
<p>I will look at shell&#8217;s warning before press Y</p>
<p>I will look at shell&#8217;s warning before press Y</p>
<p>I will look at shell&#8217;s warning before press Y</p>
<p>[repeat 1000 times]</p>
<p>&#8230; and still press y on reflex &#8230;</p>


<p>Related posts:<ol><li><a href='http://www.lamnk.com/blog/vpn/can-not-compile-cisco-vpn-client-on-opensuse-103-64bit/' rel='bookmark' title='Permanent Link: Can not compile Cisco VPN client on openSUSE 10.3 64bit'>Can not compile Cisco VPN client on openSUSE 10.3 64bit</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/how-to-install-cisco-vpn-client-on-ubuntu-jaunty-jackalope-and-karmic-koala-64-bit/' rel='bookmark' title='Permanent Link: How to install Cisco VPN client on Ubuntu Jaunty Jackalope and Karmic Koala 64 bit'>How to install Cisco VPN client on Ubuntu Jaunty Jackalope and Karmic Koala 64 bit</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/all-about-me/almost-there/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Cisco VPN client on Ubuntu Jaunty Jackalope and Karmic Koala 64 bit</title>
		<link>http://www.lamnk.com/blog/vpn/how-to-install-cisco-vpn-client-on-ubuntu-jaunty-jackalope-and-karmic-koala-64-bit/</link>
		<comments>http://www.lamnk.com/blog/vpn/how-to-install-cisco-vpn-client-on-ubuntu-jaunty-jackalope-and-karmic-koala-64-bit/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 09:54:53 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[VPN]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=195</guid>
		<description><![CDATA[Update 2010-08-26: You can now install with this patch applied. It&#8217;s all the old patches combined. cd vpnclient/setup/directory/ wget http://www.lamnk.com/download/fixes.patch patch < ./fixes.patch sudo ./vpn_install This patch is tested on Ubuntu Lucid Lynx 10.04 LTS on 32bit and 64bit. Old post: Cisco module again doesn't let us compile against the new kernel in Ubuntu 9.04 [...]


Related posts:<ol><li><a href='http://www.lamnk.com/blog/vpn/how-to-install-cisco-vpn-client-on-ubuntu-hardy-heron-804/' rel='bookmark' title='Permanent Link: How to install Cisco VPN client on Ubuntu Hardy Heron 8.04 64 bit'>How to install Cisco VPN client on Ubuntu Hardy Heron 8.04 64 bit</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/with-kernel-2624-you-will-need-a-patch-to-install-cisco-vpn-client/' rel='bookmark' title='Permanent Link: With kernel 2.6.24 you will need a patch to install Cisco VPN Client'>With kernel 2.6.24 you will need a patch to install Cisco VPN Client</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/can-not-compile-cisco-vpn-client-on-opensuse-103-64bit/' rel='bookmark' title='Permanent Link: Can not compile Cisco VPN client on openSUSE 10.3 64bit'>Can not compile Cisco VPN client on openSUSE 10.3 64bit</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Update 2010-08-26</strong>: You can now install with <a href="http://www.lamnk.com/download/fixes.patch">this patch</a> applied. It&#8217;s all the old patches combined.</p>
<blockquote><p><code>cd vpnclient/setup/directory/<br />
wget http://www.lamnk.com/download/fixes.patch<br />
patch < ./fixes.patch<br />
sudo ./vpn_install<br />
</code></p></blockquote>
<p>This patch is tested on Ubuntu Lucid Lynx 10.04 LTS on 32bit and 64bit.</p>
<p><strong>Old post</strong>:<br />
Cisco module again doesn't let us compile against the new kernel in Ubuntu 9.04 and 9.10 beta:</p>
<blockquote><p><code>/home/lamnk/vpnclient/interceptor.c: In function ‘interceptor_init’:<br />
/home/lamnk/vpnclient/interceptor.c:132: error: ‘struct net_device’ has no member named ‘hard_start_xmit’<br />
/home/lamnk/vpnclient/interceptor.c:133: error: ‘struct net_device’ has no member named ‘get_stats’<br />
/home/lamnk/vpnclient/interceptor.c:134: error: ‘struct net_device’ has no member named ‘do_ioctl’<br />
/home/lamnk/vpnclient/interceptor.c: In function ‘add_netdev’:<br />
/home/lamnk/vpnclient/interceptor.c:271: error: ‘struct net_device’ has no member named ‘hard_start_xmit’<br />
/home/lamnk/vpnclient/interceptor.c:272: error: ‘struct net_device’ has no member named ‘hard_start_xmit’<br />
/home/lamnk/vpnclient/interceptor.c: In function ‘remove_netdev’:<br />
/home/lamnk/vpnclient/interceptor.c:294: error: ‘struct net_device’ has no member named ‘hard_start_xmit’<br />
make[2]: *** [/home/lamnk/vpnclient/interceptor.o] Error 1<br />
make[1]: *** [_module_/home/lamnk/vpnclient] Error 2<br />
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-1-generic'<br />
make: *** [default] Error 2<br />
Failed to make module "cisco_ipsec.ko".</code></p></blockquote>
<p>Before installtion I assume that you have the latest version 4.8.02.0030 and the required packages for compiling ie gcc, libstdc++6 ... The kernel version should be from 2.6.30 to 2.6.32</p>
<ul>
<li>Download the client and extract it</li>
<li>Go to vpnclient folder:<br />
<blockquote><code>cd vpnclient</code></p></blockquote>
</li>
<li>Download patch file for 64 bit and apply it (users on 32bit systems can skip this step):<br />
<blockquote><p><code>wget http://lamnk.com/download/vpnclient-linux-4.8.02-64bit.patch</code></p></blockquote>
<p></p>
<blockquote><p><code>patch < ./vpnclient-linux-4.8.02-64bit.patch</code></p></blockquote>
<p></p>
<blockquote><p><code>sed -i 's/^CFLAGS/EXTRA_CFLAGS/' Makefile</code></p></blockquote>
</li>
<li>Download patch file for newer kernel (2.6.30+) and apply it:<br />
<blockquote><p><code>wget http://lamnk.com/download/vpnclient-linux-2.6.31-final.diff</code></p></blockquote>
<p></p>
<blockquote><p><code>patch < ./vpnclient-linux-2.6.31-final.diff</code></p></blockquote>
</li>
<li>Next we must edit a kernel source file<br />
<blockquote><p><code>sudo sed -i 's/const\ struct\ net_device_ops\ \*netdev_ops;/struct\ net_device_ops\ \*netdev_ops;/' `find /usr/src -name netdevice.h`</code></p></blockquote>
<p>Yes, it is a one liner, you should copy &#038; paste that command instead of typing <img src='http://www.lamnk.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  The command's translation into English: find the string <code>const struct net_device_ops *netdev_ops;</code> and change it to <code>struct net_device_ops *netdev_ops;</code> in the file locates at<br />
<blockquote><code>find /usr/src -name netdevice.h</code></p></blockquote>
</li>
<li>And finally, install Cisco VPN Client:<br />
<blockquote><p><code>sudo ./vpn_install</code></p></blockquote>
</li>
</ul>
<p>The patch files are not from me. All credit goes to the people at <a href="http://forum.tuxx-home.at/viewtopic.php?f=15&#038;t=790&#038;sid=0f466816287ec0ec3941772532ab725e">tuxx-home.at forum</a></p>
<p>If you can't install or have a problem please leave a comment</p>


<p>Related posts:<ol><li><a href='http://www.lamnk.com/blog/vpn/how-to-install-cisco-vpn-client-on-ubuntu-hardy-heron-804/' rel='bookmark' title='Permanent Link: How to install Cisco VPN client on Ubuntu Hardy Heron 8.04 64 bit'>How to install Cisco VPN client on Ubuntu Hardy Heron 8.04 64 bit</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/with-kernel-2624-you-will-need-a-patch-to-install-cisco-vpn-client/' rel='bookmark' title='Permanent Link: With kernel 2.6.24 you will need a patch to install Cisco VPN Client'>With kernel 2.6.24 you will need a patch to install Cisco VPN Client</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/can-not-compile-cisco-vpn-client-on-opensuse-103-64bit/' rel='bookmark' title='Permanent Link: Can not compile Cisco VPN client on openSUSE 10.3 64bit'>Can not compile Cisco VPN client on openSUSE 10.3 64bit</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/vpn/how-to-install-cisco-vpn-client-on-ubuntu-jaunty-jackalope-and-karmic-koala-64-bit/feed/</wfw:commentRss>
		<slash:comments>80</slash:comments>
		</item>
		<item>
		<title>Compile rtorrent on CentOS 64bit</title>
		<link>http://www.lamnk.com/blog/computer/compile-rtorrent-on-centos-64bit/</link>
		<comments>http://www.lamnk.com/blog/computer/compile-rtorrent-on-centos-64bit/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 06:51:04 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[libsigc++]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pkgconfig]]></category>
		<category><![CDATA[rtorrent]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=177</guid>
		<description><![CDATA[I always fall for this error when compile rtorrent, so &#8230; : Error: checking for STUFF... configure: error: Package requirements (sigc++-2.0) were not met: No package 'sigc++-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables STUFF_CFLAGS and STUFF_LIBS to avoid the [...]


Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/' rel='bookmark' title='Permanent Link: Error compiling PHP on CentOS 64 bit'>Error compiling PHP on CentOS 64 bit</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/strange-error-when-compile-vpnc/' rel='bookmark' title='Permanent Link: Strange error when compile vpnc'>Strange error when compile vpnc</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/can-not-compile-cisco-vpn-client-on-opensuse-103-64bit/' rel='bookmark' title='Permanent Link: Can not compile Cisco VPN client on openSUSE 10.3 64bit'>Can not compile Cisco VPN client on openSUSE 10.3 64bit</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I always fall for this error when compile rtorrent, so &#8230; :</p>
<p><strong>Error:</strong></p>
<blockquote><p><code><br />
checking for STUFF... configure: error: Package requirements (sigc++-2.0) were not met:</code></p>
<p><code>No package 'sigc++-2.0' found</code></p>
<p><code>Consider adjusting the PKG_CONFIG_PATH environment variable if you<br />
installed software in a non-standard prefix.</code></p>
<p><code>Alternatively, you may set the environment variables STUFF_CFLAGS<br />
and STUFF_LIBS to avoid the need to call pkg-config.<br />
See the pkg-config man page for more details.</code></p></blockquote>
<p><strong>Fix:</strong></p>
<blockquote><p><code>$ updatedb<br />
$ locate pkgconfig | grep sigc++-2.0.pc</code></p></blockquote>
<p>You will see something like <code>/usr/lib/pkgconfig/sigc++-2.0.pc</code>. If it is not there, then go install <a href="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/">libsigc++</a> (it&#8217;s not in official CentOS repo).<br />
Then define the PKG_CONFIG_PATH variable as the configure script suggests:</p>
<blockquote><p><code>$ export PKG_CONFIG_PATH=/usr/lib/pkgconfig/</code></p></blockquote>
<p>Run configure script for libtorrent again. <code>--prefix=</code> should be the same for libsigc++, libtorrent and rtorrent, otherwise they will complain <img src='http://www.lamnk.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<blockquote><p><code>./configure --prefix=/usr &amp;&amp; make</code></p></blockquote>


<p>Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/error-compiling-php-on-centos-64-bit/' rel='bookmark' title='Permanent Link: Error compiling PHP on CentOS 64 bit'>Error compiling PHP on CentOS 64 bit</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/strange-error-when-compile-vpnc/' rel='bookmark' title='Permanent Link: Strange error when compile vpnc'>Strange error when compile vpnc</a></li>
<li><a href='http://www.lamnk.com/blog/vpn/can-not-compile-cisco-vpn-client-on-opensuse-103-64bit/' rel='bookmark' title='Permanent Link: Can not compile Cisco VPN client on openSUSE 10.3 64bit'>Can not compile Cisco VPN client on openSUSE 10.3 64bit</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/computer/compile-rtorrent-on-centos-64bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import Excel .xls files into R</title>
		<link>http://www.lamnk.com/blog/econometrics/import-excel-xls-files-into-r/</link>
		<comments>http://www.lamnk.com/blog/econometrics/import-excel-xls-files-into-r/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 16:11:45 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Econometrics]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[xls]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=173</guid>
		<description><![CDATA[What is R ? R is a programming language and software environment for statistical computing and graphics. It is developed by statisticians around the world and is free software, released under the GNU General Public License. In order to import .xls file into R, we must convert the file to csv first. One way to [...]


Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/wordpress-blank-screen-of-death/' rel='bookmark' title='Permanent Link: WordPress Blank Screen of Death'>WordPress Blank Screen of Death</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>What is R ? R is a programming language and software environment for statistical computing and graphics. It is developed by<br />
statisticians around the world and is free software, released under the GNU General Public License.</p>
<p>In order to import .xls file into R, we must convert the file to csv first. One way to this is to open xls files in a speadsheet application and then export to csv format. Another way is to use a small convert program, handily available on &#8230; Google. An example: <a href="http://search.cpan.org/~ken/xls2csv-1.06/script/xls2csv">xls2csv</a>:</p>
<blockquote><p><code>xls2csv -x dataset.xls -c dataset.csv</code></p></blockquote>
<p>After converting to csv, import data with</p>
<blockquote><p><code>> dataset1 <- read.csv(file = "~/dataset.csv")</code></p></blockquote>


<p>Related posts:<ol><li><a href='http://www.lamnk.com/blog/computer/wordpress-blank-screen-of-death/' rel='bookmark' title='Permanent Link: WordPress Blank Screen of Death'>WordPress Blank Screen of Death</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/econometrics/import-excel-xls-files-into-r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternative PHP Cache – APC – impact</title>
		<link>http://www.lamnk.com/blog/computer/alternative-php-cache-apc-impact/</link>
		<comments>http://www.lamnk.com/blog/computer/alternative-php-cache-apc-impact/#comments</comments>
		<pubDate>Thu, 21 May 2009 12:45:32 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[apc]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=157</guid>
		<description><![CDATA[Picture worths thousand words &#8230; I have never used a PHP accelerator before. Now it is a must to install APC for every new server (if you have enough memory to throw around). No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Picture worths thousand words &#8230;</p>
<div class="wp-caption alignnone" style="width: 497px"><a href="http://img32.imageshack.us/img32/6125/apccpuimprovement.png"><img title="apc cpu improvement" src="http://img32.imageshack.us/img32/6125/apccpuimprovement.png" alt="apc cpu improvement" width="487" height="252" /></a><p class="wp-caption-text">apc cpu improvement</p></div>
<p>I have never used a PHP accelerator before. Now it is a must to install APC for every new server (if you have enough memory to throw around).</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/computer/alternative-php-cache-apc-impact/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kamehameha in real life</title>
		<link>http://www.lamnk.com/blog/all-about-me/kamehameha-in-real-life/</link>
		<comments>http://www.lamnk.com/blog/all-about-me/kamehameha-in-real-life/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 17:41:54 +0000</pubDate>
		<dc:creator>Lamnk</dc:creator>
				<category><![CDATA[Shine on you crazy diamond]]></category>
		<category><![CDATA[funny]]></category>

		<guid isPermaLink="false">http://www.lamnk.com/blog/?p=134</guid>
		<description><![CDATA[Can&#8217;t stop LOL If you don&#8217;t know that Kamehameha is, read Dragon Ball serie. No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Can&#8217;t stop LOL <img src='http://www.lamnk.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><img src="http://img5.imageshack.us/img5/9397/w173948184.gif" alt="Kamezoko kamehameha" /></p>
<p>If you don&#8217;t know that <em>Kamehameha</em> is, read <a href="http://en.wikipedia.org/wiki/Dragon_ball">Dragon Ball</a> serie.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.lamnk.com/blog/all-about-me/kamehameha-in-real-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.241 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-08-28 03:58:48 -->
