<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Vinh Pham&#039;s Blog</title>
	<atom:link href="http://vinhpham.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vinhpham.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 30 Aug 2011 17:41:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vinhpham.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Vinh Pham&#039;s Blog</title>
		<link>http://vinhpham.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vinhpham.wordpress.com/osd.xml" title="Vinh Pham&#039;s Blog" />
	<atom:link rel='hub' href='http://vinhpham.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Virtualbox &#8211; Tutorial for installing guest additions</title>
		<link>http://vinhpham.wordpress.com/2011/07/20/virtualbox-tutorial-for-installing-guest-additions/</link>
		<comments>http://vinhpham.wordpress.com/2011/07/20/virtualbox-tutorial-for-installing-guest-additions/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 09:36:32 +0000</pubDate>
		<dc:creator>nauy</dc:creator>
				<category><![CDATA[Virtualbox]]></category>

		<guid isPermaLink="false">http://vinhpham.wordpress.com/?p=49</guid>
		<description><![CDATA[http://digitizor.com/2009/05/26/how-to-install-virtualbox-guest-additions-for-a-linux-guest/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=49&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://digitizor.com/2009/05/26/how-to-install-virtualbox-guest-additions-for-a-linux-guest/">http://digitizor.com/2009/05/26/how-to-install-virtualbox-guest-additions-for-a-linux-guest/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinhpham.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinhpham.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinhpham.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinhpham.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinhpham.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinhpham.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinhpham.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinhpham.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinhpham.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinhpham.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinhpham.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinhpham.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinhpham.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinhpham.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=49&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinhpham.wordpress.com/2011/07/20/virtualbox-tutorial-for-installing-guest-additions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccc2d412c43f75260c6129a45cf5346f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nauy</media:title>
		</media:content>
	</item>
		<item>
		<title>TinyOS</title>
		<link>http://vinhpham.wordpress.com/2011/07/15/tinyos/</link>
		<comments>http://vinhpham.wordpress.com/2011/07/15/tinyos/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 11:26:51 +0000</pubDate>
		<dc:creator>nauy</dc:creator>
				<category><![CDATA[TinyOS]]></category>

		<guid isPermaLink="false">http://vinhpham.wordpress.com/?p=42</guid>
		<description><![CDATA[How to program a mote: make telosb install,n bsl,/dev/ttyUSB0/ where n is the unique node id and /dev/ttyUSB0/ is the specific port that the mote is attached to. Alternatively the mote can be programmed using the following command: make telosb install,n bsl,ref M4A6J3PH where M4A6J3PH is the unique id of the mote. To get the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=42&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>How to program a mote:</strong><br />
<em>make telosb install,n bsl,/dev/ttyUSB0/</em> </p>
<p>where <em>n</em> is the unique node id and <em>/dev/ttyUSB0/</em> is the specific port that the mote is attached to.</p>
<p>Alternatively the mote can be programmed using the following command:</p>
<p><em>make telosb install,n bsl,ref M4A6J3PH</em> </p>
<p>where M4A6J3PH is the unique id of the mote. To get the id, use the <em>motelist</em> command.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinhpham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinhpham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinhpham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinhpham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinhpham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinhpham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinhpham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinhpham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinhpham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinhpham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinhpham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinhpham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinhpham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinhpham.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=42&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinhpham.wordpress.com/2011/07/15/tinyos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccc2d412c43f75260c6129a45cf5346f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nauy</media:title>
		</media:content>
	</item>
		<item>
		<title>The right way to backup a virtualbox .vdi file</title>
		<link>http://vinhpham.wordpress.com/2010/02/03/the-right-way-to-backup-a-virtualbox-vdi-file/</link>
		<comments>http://vinhpham.wordpress.com/2010/02/03/the-right-way-to-backup-a-virtualbox-vdi-file/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 15:46:08 +0000</pubDate>
		<dc:creator>nauy</dc:creator>
				<category><![CDATA[Virtualbox]]></category>

		<guid isPermaLink="false">http://vinhpham.wordpress.com/?p=34</guid>
		<description><![CDATA[Follow the instructions in this page: http://www.modhul.com/2009/06/17/how-to-clone-or-copy-a-virtualbox-virtual-disk/ In virtualbox, it is possible to define a shared folder that is accessible by both the host OS and the guest OS. Given that guest OS is Linux, to access this shared folder run the following commands: 1. Create a mount point: mkdir shareddir 2. Mount: mount -t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=34&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Follow the instructions in this page:</p>
<address><a href="http://www.modhul.com/2009/06/17/how-to-clone-or-copy-a-virtualbox-virtual-disk/">http://www.modhul.com/2009/06/17/how-to-clone-or-copy-a-virtualbox-virtual-disk/</a></address>
<p>In virtualbox, it is possible to define a shared folder that is accessible by both the host OS and the guest OS.<br />
Given that guest OS is Linux, to access this shared folder run the following commands:<br />
1. Create a mount point:<br />
<strong>mkdir shareddir</strong></p>
<p>2. Mount:<br />
<strong>mount -t vboxsf share shareddir</strong><br />
where share is the shared folder</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinhpham.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinhpham.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinhpham.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinhpham.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinhpham.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinhpham.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinhpham.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinhpham.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinhpham.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinhpham.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinhpham.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinhpham.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinhpham.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinhpham.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=34&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinhpham.wordpress.com/2010/02/03/the-right-way-to-backup-a-virtualbox-vdi-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccc2d412c43f75260c6129a45cf5346f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nauy</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing quagga and Boeing&#8217;s implementation of OSPF MDR extension for running in GTNetS</title>
		<link>http://vinhpham.wordpress.com/2010/02/01/installing-quagga-and-boeings-implementation-of-ospf-mdr-extension-for-running-in-gtnets/</link>
		<comments>http://vinhpham.wordpress.com/2010/02/01/installing-quagga-and-boeings-implementation-of-ospf-mdr-extension-for-running-in-gtnets/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 20:18:41 +0000</pubDate>
		<dc:creator>nauy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinhpham.wordpress.com/?p=25</guid>
		<description><![CDATA[1. Download quagga-0.99.9.tar.gz from http://hipserver.mct.phantomworks.org/ietf/ospf/ and run: tar xvfz quagga-0.99.9.tar.gz 2. Download quagga-0.99.9.ospfv3-manetmdr-gtnets.patch from http://hipserver.mct.phantomworks.org/ietf/ospf/ to the quagga folder in 1. Run the following command: patch -p1 &#60; quagga-0.99.9.ospfv3-manetmdr-gtnets.patch 3. Run the following command in the quagga folder: ./configure 4. Comment out #define VERSION &#8220;0.99.9&#8243; in config.h 5. Goto SRC/ under GTNetS directory and create [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=25&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">1. Download quagga-0.99.9.tar.gz from http://hipserver.mct.phantomworks.org/ietf/ospf/ and run:</p>
<p style="text-align:left;"><strong>tar xvfz quagga-0.99.9.tar.gz</strong></p>
<p style="text-align:left;">2. Download quagga-0.99.9.ospfv3-manetmdr-gtnets.patch from http://hipserver.mct.phantomworks.org/ietf/ospf/ to the quagga folder in 1. Run the following command:</p>
<p style="text-align:left;"><strong>patch -p1 &lt; quagga-0.99.9.ospfv3-manetmdr-gtnets.patch</strong></p>
<p style="text-align:left;">3. Run the following command in the quagga folder:</p>
<p><strong> ./configure</strong></p>
<p>4. Comment out #define VERSION &#8220;0.99.9&#8243; in config.h</p>
<p>5. Goto SRC/ under GTNetS directory and create a link to the quagga directory as follows:</p>
<p><strong> ln -s  /home/user/quagga-0.99.9/ quagga</strong></p>
<p>6. Goto GTNets and run the following command:</p>
<p><strong>make depend </strong></p>
<p><strong> make debug</strong></p>
<p>The installation is now completed</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinhpham.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinhpham.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinhpham.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinhpham.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinhpham.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinhpham.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinhpham.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinhpham.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinhpham.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinhpham.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinhpham.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinhpham.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinhpham.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinhpham.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=25&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinhpham.wordpress.com/2010/02/01/installing-quagga-and-boeings-implementation-of-ospf-mdr-extension-for-running-in-gtnets/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccc2d412c43f75260c6129a45cf5346f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nauy</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing GTNetS on Ubuntu Karmic Koala (9.10)</title>
		<link>http://vinhpham.wordpress.com/2010/02/01/installing-gtnets-on-ubuntu-karmic-koala-9-10/</link>
		<comments>http://vinhpham.wordpress.com/2010/02/01/installing-gtnets-on-ubuntu-karmic-koala-9-10/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 19:57:10 +0000</pubDate>
		<dc:creator>nauy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinhpham.wordpress.com/?p=14</guid>
		<description><![CDATA[1. Download GTNetS-Oct-10-08.tar.gz from http://www.ece.gatech.edu/research/labs/MANIACS/GTNetS/downloads.html 2. tar xvf GTNetS-Oct-10-08.tar.gz 3. GTNetS requires that the following : g++   (g++32 does not work) Qt3 (see FAQ on installations on Ubuntu) 4. g++ is usually preinstalled, so we need to install Qt3. This is an easy task using the Synaptics Package Manager under System -&#62; Administration. On [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=14&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Download GTNetS-Oct-10-08.tar.gz from</p>
<p>http://www.ece.gatech.edu/research/labs/MANIACS/GTNetS/downloads.html</p>
<p>2. tar xvf GTNetS-Oct-10-08.tar.gz</p>
<p>3. GTNetS requires that the following :</p>
<ul>
<li>g++   (g++32 does not work)</li>
<li>Qt3 (see FAQ on installations on Ubuntu)</li>
</ul>
<p>4. g++ is usually preinstalled, so we need to install Qt3. This is an easy task using the Synaptics Package Manager under System -&gt; Administration.</p>
<p>On Ubuntu you may need to install the following packages at the minimum:</p>
<div id="content">
<dd>
<ul>
<li><span style="font-size:small;">libqt3-headers &#8211; Qt3 header files</span></li>
</ul>
<ul>
<li><span style="font-size:small;">libqt3-mt &#8211; Qt GUI Library (Threaded runtime version), Version 3</span></li>
<li><span style="font-size:small;"> libqt3-mt-dev &#8211; Qt development files (Threaded)</span></li>
<li><span style="font-size:small;"> qt3-dev-tools &#8211; Qt3 development tools</span></li>
</ul>
</dd>
</div>
<p>5. After having installed Qt3, we can now install GTNetS running the following command sequentially:</p>
<ul>
<li>make depend</li>
<li>make debug</li>
</ul>
<div id="content">Note! If compilation errors occur for a given file, add the line &#8220;#include &lt;cstring&gt; &#8221; in that file. If this doesn&#8217;t help,  add the line &#8220;#include &lt;cstdlib&gt; &#8221; instead.</div>
<div id="content">
<dd> </dd>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinhpham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinhpham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinhpham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinhpham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinhpham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinhpham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinhpham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinhpham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinhpham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinhpham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinhpham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinhpham.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinhpham.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinhpham.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=14&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinhpham.wordpress.com/2010/02/01/installing-gtnets-on-ubuntu-karmic-koala-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccc2d412c43f75260c6129a45cf5346f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nauy</media:title>
		</media:content>
	</item>
		<item>
		<title>ns2 &#8211; how to debug segmentation faults</title>
		<link>http://vinhpham.wordpress.com/2009/11/28/ns2-how-to-debug-segmentation-faults/</link>
		<comments>http://vinhpham.wordpress.com/2009/11/28/ns2-how-to-debug-segmentation-faults/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 10:52:43 +0000</pubDate>
		<dc:creator>nauy</dc:creator>
				<category><![CDATA[ns-2 stuffs]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[ns2]]></category>

		<guid isPermaLink="false">http://vinhpham.wordpress.com/?p=8</guid>
		<description><![CDATA[1. Set the limit of coredumps to really huge so that they are allways produced, in the terminal window, type: ulimit -c 100000 2. add &#8220;-g&#8221; to the CFLAGS in the Makefile so that debugging is enabled. Run make clean and then make. 3.When a segmentation fault occurs, type: &#8220;gdb -c core&#8220;, then in gdb [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=8&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Set the limit of coredumps  to really huge so that they are allways produced, in the terminal window, type:</p>
<p><strong>ulimit -c 100000</strong></p>
<p>2. add  &#8220;-g&#8221; to the CFLAGS in the Makefile so that debugging is enabled. Run <strong>make clean</strong> and then <strong>make</strong>.</p>
<p>3.When a segmentation fault occurs, type: &#8220;<strong>gdb -c core</strong>&#8220;, then in gdb  tell it  that you want to load symbols from the ns executable with &#8220;<strong>file ns</strong>&#8220;,and  then you can inspect the stack (&#8220;<strong>bt</strong>&#8220;), select a stack frame (&#8220;<strong>select  0</strong>&#8220;) and  inspect the values of variables in that stack frame.</p>
<p>Ref. http://article.gmane.org/gmane.network.simulator.isi/2766/match=segmentation</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinhpham.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinhpham.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinhpham.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinhpham.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinhpham.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinhpham.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinhpham.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinhpham.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinhpham.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinhpham.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinhpham.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinhpham.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinhpham.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinhpham.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=8&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinhpham.wordpress.com/2009/11/28/ns2-how-to-debug-segmentation-faults/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccc2d412c43f75260c6129a45cf5346f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nauy</media:title>
		</media:content>
	</item>
		<item>
		<title>Useful Linux commands</title>
		<link>http://vinhpham.wordpress.com/2009/11/24/useful-linux-commands/</link>
		<comments>http://vinhpham.wordpress.com/2009/11/24/useful-linux-commands/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 10:40:35 +0000</pubDate>
		<dc:creator>nauy</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://vinhpham.wordpress.com/?p=3</guid>
		<description><![CDATA[To list the locations of installed files for a given package: dpkg -L eclipse Check also the cheat sheet for dpkg command: http://www.cyberciti.biz/howto/question/linux/dpkg-cheat-sheet.php To display general information about a single package: apt-cache showpkg eclipse Find all files that begins with &#8220;wtrace.tr.&#8221; and ends with either one or two digits, e.g. &#8220;wtrace.tr.1&#8243; or &#8220;wtrace.tr.10&#8243; in current [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=3&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To list the locations of installed files for a given package:<br />
<strong>dpkg -L eclipse</strong></p>
<p>Check also the cheat sheet for dpkg command:<br />
<a href="http://www.cyberciti.biz/howto/question/linux/dpkg-cheat-sheet.php">http://www.cyberciti.biz/howto/question/linux/dpkg-cheat-sheet.php<br />
</a></p>
<p>To display general information about a single package:<br />
<strong>apt-cache showpkg eclipse</strong></p>
<p>Find all files that begins with &#8220;wtrace.tr.&#8221; and ends with either one or two digits, e.g. &#8220;wtrace.tr.1&#8243; or &#8220;wtrace.tr.10&#8243; in current folder and recursive folders:<br />
<strong>find -regex .*/wtrace.tr.[0-9]+</strong></p>
<p>If we want to find the files as above and at the same time want to  gzip all the files found, we may combine the previous command as follows:<br />
<strong>find -regex .*/wtrace.tr.[0-9]+ -exec gzip {} \;</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vinhpham.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vinhpham.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vinhpham.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vinhpham.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vinhpham.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vinhpham.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vinhpham.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vinhpham.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vinhpham.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vinhpham.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vinhpham.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vinhpham.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vinhpham.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vinhpham.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vinhpham.wordpress.com&amp;blog=10652156&amp;post=3&amp;subd=vinhpham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vinhpham.wordpress.com/2009/11/24/useful-linux-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccc2d412c43f75260c6129a45cf5346f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nauy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
