<?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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>WING LOONWING LOON</title>
	
	<link>http://wingloon.com</link>
	<description>linux, vmware &amp; blogging</description>
	<lastBuildDate>Tue, 07 May 2013 06:29:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WingLoon" /><feedburner:info uri="wingloon" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>How To Detect a New Hard Disk Without Rebooting VMware Linux Guest</title>
		<link>http://feedproxy.google.com/~r/WingLoon/~3/1jvJjKcZ5ZI/</link>
		<comments>http://wingloon.com/2013/05/07/how-to-detect-a-new-hard-disk-without-rebooting-vmware-linux-guest/#comments</comments>
		<pubDate>Tue, 07 May 2013 06:29:00 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1247</guid>
		<description><![CDATA[In this how to, I assume you have already added in a new hard disk in your VMware Linux guest machine. You can detect the new hard disk or rescan entire SCSI bus without rebooting the VMware Linux guest. This how to has been tested on VMware ESXi 5.0 and CentOS 5.8 as the Linux [...]]]></description>
				<content:encoded><![CDATA[<p>In this how to, I assume you have already added in a new hard disk in your VMware Linux guest machine. You can detect the new hard disk or rescan entire SCSI bus without rebooting the VMware Linux guest. This how to has been tested on VMware ESXi 5.0 and CentOS 5.8 as the Linux guest. </p>
<p><span id="more-1247"></span></p>
<p>Below image shown is a new hard disk add: -</p>
<p><img src="http://i1311.photobucket.com/albums/s670/wingloon/vmware/vmaddhdd1_zps98f6c8e2.jpg" /></p>
<p>Below image shown is output of &#8220;fdisk -l&#8221; before the new hard disk is added: -</p>
<p><img src="http://i1311.photobucket.com/albums/s670/wingloon/vmfdiskhdd1_zpsb46049a5.jpg" /></p>
<p>Now, once the new hard disk is added, type the magic oneliner command below to detect the new hard disk or rescan the SCSI bus: -</p>
<p><code>ls /sys/class/scsi_host/ | while read host ; do echo "- - -" > /sys/class/scsi_host/$host/scan ; done</code></p>
<p>Below image shown is output of &#8220;fdisk -l&#8221; after the new hard disk is added and oneliner command above is run: -</p>
<p><img src="http://i1311.photobucket.com/albums/s670/wingloon/vmfdiskhdd2_zps37d54578.jpg" /></p>
<p>You will see a new disk <strong>/dev/sdd</strong> as above. You can also verify the new hard disk using dmesg output as below: -</p>
<p><img src="http://i1311.photobucket.com/albums/s670/wingloon/vmware/vmaddhdd2_zpse1937269.jpg" /></p>
<img src="http://feeds.feedburner.com/~r/WingLoon/~4/1jvJjKcZ5ZI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2013/05/07/how-to-detect-a-new-hard-disk-without-rebooting-vmware-linux-guest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wingloon.com/2013/05/07/how-to-detect-a-new-hard-disk-without-rebooting-vmware-linux-guest/</feedburner:origLink></item>
		<item>
		<title>How To Setup Squid Authenticate with Radius on CentOS 6.4</title>
		<link>http://feedproxy.google.com/~r/WingLoon/~3/jaa6EBxzqCs/</link>
		<comments>http://wingloon.com/2013/05/04/how-to-setup-squid-authenticate-with-radius-on-centos-6-4/#comments</comments>
		<pubDate>Fri, 03 May 2013 16:06:14 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1244</guid>
		<description><![CDATA[In this how to, I assume you already have a setup running FreeRADIUS server. I am going to share how to install and setup Squid 3.1.10 on CentOS 6.4 version. This how to has been tested on Windows 7 and Chrome 26.0.1410.64 as a client. First, we must ensure everything are up to date by [...]]]></description>
				<content:encoded><![CDATA[<p>In this how to, I assume you already have a setup running FreeRADIUS server. I am going to share how to install and setup Squid 3.1.10 on CentOS 6.4 version. This how to has been tested on Windows 7 and Chrome 26.0.1410.64 as a client.</p>
<p><span id="more-1244"></span></p>
<p>First, we must ensure everything are up to date by running the following commands: -</p>
<p><code>yum check-update<br />
yum -y update</code></p>
<p>Next, start installing Squid by running the following command: -</p>
<p><code>yum -y install squid</code></p>
<p>Now, add the following <a href="http://www.squid-cache.org/Doc/config/auth_param/" target="_blank">auth_param</a> and <a href="http://www.squid-cache.org/Doc/config/http_access/" target="_blank">http_access</a> config below in /etc/squid/squid.conf file after line 6: -</p>
<p><code># Radius Authentication<br />
auth_param basic program /usr/lib64/squid/squid_radius_auth -f /etc/squid/squid_radius_auth.conf<br />
auth_param basic children 5<br />
auth_param basic realm My-Squid-Server<br />
auth_param basic credentialsttl 2 hours<br />
auth_param basic casesensitive off<br />
acl radius-auth proxy_auth REQUIRED</code></p>
<p><code># Allow Radius Authorized Users<br />
http_access allow radius-auth</code></p>
<p>Next, include the following config below in /etc/squid/squid_radius_auth.conf file: -</p>
<p><code># Radius server and secret<br />
server 1.2.3.4<br />
secret my-secret-here</code></p>
<p>Now, start Squid service and create a system startup links for Squid so it starts automatically whenever the system boots up: -</p>
<p><code>service squid start<br />
chkconfig squid on</code></p>
<p>Next, setup your favourite web browser to use port 3128. You will be prompted to enter username and password to start web browsing.</p>
<p>Finally, with all the configuration above I hope you are able to use and enjoy your Squid proxy server. Thank you.</p>
<img src="http://feeds.feedburner.com/~r/WingLoon/~4/jaa6EBxzqCs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2013/05/04/how-to-setup-squid-authenticate-with-radius-on-centos-6-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wingloon.com/2013/05/04/how-to-setup-squid-authenticate-with-radius-on-centos-6-4/</feedburner:origLink></item>
		<item>
		<title>How To Setup Static IP Address on a Headless Raspberry Pi</title>
		<link>http://feedproxy.google.com/~r/WingLoon/~3/EPa9n59Bp-M/</link>
		<comments>http://wingloon.com/2013/01/24/how-to-setup-static-ip-address-on-a-headless-raspberry-pi/#comments</comments>
		<pubDate>Wed, 23 Jan 2013 22:30:12 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1237</guid>
		<description><![CDATA[Fortunately, I bought a Raspberry Pi and I plan to use it as a video surveillance server. In this tutorial, I am going to configure the Raspberry Pi without connecting it to a display, keyboard and mouse based on Raspbian &#8220;wheezy&#8221; image in the SD card (SSH is enabled default). There are two options to [...]]]></description>
				<content:encoded><![CDATA[<p>Fortunately, I bought a <a href="http://www.raspberrypi.org/quick-start-guide" target="_blank">Raspberry Pi</a> and I plan to use it as a <a href="http://www.zoneminder.com" target="_blank">video surveillance</a> server. In this tutorial, I am going to configure the Raspberry Pi without connecting it to a display, keyboard and mouse based on <a href="http://www.raspberrypi.org/downloads" target="_blank">Raspbian</a> &#8220;wheezy&#8221; image in the SD card (SSH is enabled default).</p>
<p><span id="more-1237"></span></p>
<p>There are two options to setup the static IP address. First option is to determine the DHCP leased IP address to Raspberry Pi by either looking at your router&#8217;s DHCP server lease information or perform a simple network scan.</p>
<p>DHCP IP Address Lease<br />
<img src="http://i1311.photobucket.com/albums/s670/wingloon/linux/raspberrypi/rpidhcl1.jpg" /></p>
<p>Network Scan<br />
<img src="http://i1311.photobucket.com/albums/s670/wingloon/linux/raspberrypi/rpinwsc1.jpg" /></p>
<p>Once the IP address of Raspberry Pi is determined, you can SSH to it using PuTTY in Windows. In this /etc/network/interfaces file, remove the line below: -</p>
<p><code>iface eth0 inet dhcp</code></p>
<p>and replace it with below: -</p>
<p><code>iface eth0 inet static<br />
address 192.168.1.11<br />
netmask 255.255.255.0<br />
gateway 192.168.1.1</code></p>
<p>Finally, issue the &#8220;<strong>reboot</strong>&#8221; command to have the configuration change applied and it should boot up with the configured static IP address.</p>
<p>Second option is by editing the SD card on a Linux machine. I am using Backtrack to mount the SD card and edit the file using command below: -</p>
<p><code>mount /dev/sdb2 /mnt</code></p>
<p><code>vi /mnt/etc/network/interfaces</code></p>
<p>Finally, you need to run the &#8220;<strong>sync</strong>&#8221; command and &#8220;<strong>umount</strong>&#8221; command to safely remove the SD card. Place the SD card into Raspberry Pi and it should boot up with the configured static IP address.</p>
<p>With these two options above, you can connect to the configured IP address remotely using SSH and start configuring the Raspberry Pi.</p>
<img src="http://feeds.feedburner.com/~r/WingLoon/~4/EPa9n59Bp-M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2013/01/24/how-to-setup-static-ip-address-on-a-headless-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wingloon.com/2013/01/24/how-to-setup-static-ip-address-on-a-headless-raspberry-pi/</feedburner:origLink></item>
		<item>
		<title>How To Setup My Maxis Fiber Broadband Using TP-Link TL-MR3420 and OpenWrt</title>
		<link>http://feedproxy.google.com/~r/WingLoon/~3/SIt3qkLj9Ac/</link>
		<comments>http://wingloon.com/2012/08/16/how-to-setup-my-maxis-fiber-broadband-using-tp-link-tl-mr3420-and-openwrt/#comments</comments>
		<pubDate>Thu, 16 Aug 2012 13:32:25 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1231</guid>
		<description><![CDATA[Today I want to share with you a setup of Maxis Fiber Broadband using TP-Link TL-MR3420 v1.2 and OpenWrt trunk version but this setup is not a 100% replacement to Maxis Thomson wireless router with phone. I will assume you have flash your TP-Link TL-MR3420 with OpenWrt trunk and install luci. I am using r33132 [...]]]></description>
				<content:encoded><![CDATA[<p>Today I want to share with you a setup of Maxis Fiber Broadband using TP-Link TL-MR3420 v1.2 and OpenWrt trunk version but this setup is not a 100% replacement to Maxis Thomson wireless router with phone. I will assume you have flash your TP-Link TL-MR3420 with OpenWrt trunk and install luci. I am using r33132 version. Below is how my connection looks like: -</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/maxis/MaxisFTTH-MR3420.jpg" /></p>
<p><span id="more-1231"></span></p>
<p>Login into your OpenWrt and configure the switch VLAN on eth0 as below: -</p>
<p>VLAN 1 = CPU &#8211; tagged, Port 1 &#8211; off, Port 2 &#8211; off, Port 3 &#8211; off, Port 4 &#8211; off<br />
VLAN 621 = CPU &#8211; tagged, Port 1 &#8211; tagged, Port 2 &#8211; off, Port 3 &#8211; off, Port 4 &#8211; off</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/maxis/mfmr342001.jpg" /></p>
<p>After successfully apply the VLAN configuration above, goto WAN interface and configure the PPPoE username and password as below: -</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/maxis/mfmr342002.jpg" /></p>
<p>Next, you need to select &#8220;eth0.621&#8243; VLAN interface as WAN like below: -</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/maxis/mfmr342003.jpg" /></p>
<p>After successfully apply the WAN interface configuration above, goto LAN interface and select &#8220;eth1&#8243; Ethernet adapter as LAN like below: -</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/maxis/mfmr342004.jpg" /></p>
<p>Now you need to reboot the TP-Link TL-MR3420 to have the changes apply and it will be able to successfully connected to PPPoE like below: -</p>
<p><img src="http://i211.photobucket.com/albums/bb125/wlsiew/maxis/mfmr342006.jpg" /></p>
<p>Note: The ports label in black are not usable for Huawei EchoLife HG850a and TP-Link TL-MR3420.</p>
<img src="http://feeds.feedburner.com/~r/WingLoon/~4/SIt3qkLj9Ac" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2012/08/16/how-to-setup-my-maxis-fiber-broadband-using-tp-link-tl-mr3420-and-openwrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wingloon.com/2012/08/16/how-to-setup-my-maxis-fiber-broadband-using-tp-link-tl-mr3420-and-openwrt/</feedburner:origLink></item>
		<item>
		<title>How To Install VMware Virtual Disk Development Kit (VDDK) 5.0 Update 1 on CentOS 5.7</title>
		<link>http://feedproxy.google.com/~r/WingLoon/~3/nS41HNWowF8/</link>
		<comments>http://wingloon.com/2012/05/29/how-to-install-vmware-virtual-disk-development-kit-vddk-5-0-update-1-on-centos-5-7/#comments</comments>
		<pubDate>Tue, 29 May 2012 06:45:00 +0000</pubDate>
		<dc:creator>wingloon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wingloon.com/?p=1229</guid>
		<description><![CDATA[In this how to, I am going to share how to install VMware Virtual Disk Development Kit (VDDK) 5.0 Update 1 (build 614080) on CentOS 5.7 32-bit hardware platform. You need libfuse.so.2 library to install VDDK. Please make sure you login as root. 1. Download rpmforge-release package wget -c http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm 2. RPM install DAG&#8217;s GPG [...]]]></description>
				<content:encoded><![CDATA[<p>In this how to, I am going to share how to install <a href="http://www.vmware.com/support/developer/vddk/" target="_blank">VMware Virtual Disk Development Kit</a> (VDDK) 5.0 Update 1 (build 614080) on CentOS 5.7 32-bit hardware platform. You need <strong>libfuse.so.2</strong> library to install VDDK. Please make sure you login as root.</p>
<p><span id="more-1229"></span></p>
<p>1. Download rpmforge-release package<br />
<code>wget -c http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm</code></p>
<p>2. RPM install DAG&#8217;s GPG key<br />
<code>rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt</code></p>
<p>3. RPM verify the package you have downloaded<br />
<code>rpm -K rpmforge-release-0.5.2-2.el5.rf.i386.rpm</code></p>
<p>4. RPM install RPMforge<br />
<code>rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm</code></p>
<p>5. Yum install fuse<br />
<code>yum -y install fuse fuse-libs</code></p>
<p>6. Download VMware-vix-disklib-5.0.0-614080.i386.tar.gz Virtual Disk Development Kit (VDDK) 5.0 U1 from<br />
<code>http://www.vmware.com/support/developer/vddk/</code></p>
<p>7. Extract VMware-vix-disklib-5.0.0-614080.i386.tar.gz<br />
<code>tar xvfz VMware-vix-disklib-5.0.0-614080.i386.gz -C /tmp</code></p>
<p>8. Install Virtual Disk Development Kit (VDDK) 5.0 U1<br />
<code>cd /tmp/vmware-vix-disklib-distrib<br />
./vmware-install.pl</code></p>
<p>9. Include Virtual Disk Development Kit (VDDK) 5.0 U1 Linux Library<br />
<code>echo '/usr/lib/vmware-vix-disklib/lib32' > /etc/ld.so.conf.d/vmware-vix-disklib.conf<br />
ldconfig</code></p>
<p>Now, you can run vmware-mount and vmware-vdiskmanager. Thank you for reading this and I hope you enjoy it.</p>
<img src="http://feeds.feedburner.com/~r/WingLoon/~4/nS41HNWowF8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wingloon.com/2012/05/29/how-to-install-vmware-virtual-disk-development-kit-vddk-5-0-update-1-on-centos-5-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wingloon.com/2012/05/29/how-to-install-vmware-virtual-disk-development-kit-vddk-5-0-update-1-on-centos-5-7/</feedburner:origLink></item>
	</channel>
</rss>
