<?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>Sumanta's WeBlog</title>
	<atom:link href="http://sumanta679.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sumanta679.wordpress.com</link>
	<description>Tick-tock...tick-tock...tick-tock...</description>
	<lastBuildDate>Wed, 01 Feb 2012 18:41:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sumanta679.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sumanta's WeBlog</title>
		<link>http://sumanta679.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sumanta679.wordpress.com/osd.xml" title="Sumanta&#039;s WeBlog" />
	<atom:link rel='hub' href='http://sumanta679.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Ubuntu 11.10 and Mobile broadband connection with Nokia</title>
		<link>http://sumanta679.wordpress.com/2012/02/01/ubuntu-11-10-and-mobile-broadband-connection-with-nokia/</link>
		<comments>http://sumanta679.wordpress.com/2012/02/01/ubuntu-11-10-and-mobile-broadband-connection-with-nokia/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 18:41:35 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[mobile broadband]]></category>
		<category><![CDATA[lsusb]]></category>
		<category><![CDATA[dmesg]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=221</guid>
		<description><![CDATA[WIth Ubuntu 11.10, when you connect your nokia phone using USB cable, it is detected as a CD device (for some reason I have no idea of) if you select &#8220;connect to Internet&#8221; from the phone&#8217;s menu after connecting. As shown in the &#8220;dmesg&#8221; output: [ 9569.002260] scsi 8:0:0:0: CD-ROM            Nokia    XXX              1.0  PQ: 0 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=221&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>WIth Ubuntu 11.10, when you connect your nokia phone using USB cable, it is detected as a CD device (for some reason I have no idea of) if you select &#8220;connect to Internet&#8221; from the phone&#8217;s menu after connecting. As shown in the &#8220;dmesg&#8221; output:</p>
<pre>[ 9569.002260] scsi 8:0:0:0: CD-ROM            Nokia    XXX              1.0  PQ: 0 ANSI: 2</pre>
<p>In this case the &#8220;mobile broadband&#8221; connection is not shown by the network manager, and you won&#8217;t be able to connect using it. Instead, select &#8220;PC Suite mode&#8221; from the phone menu after connecting it to the computer. The output of &#8220;lsusb&#8221; should show something like this:</p>
<pre>Bus 002 Device 007: ID 0421:00ab Nokia Mobile Phones XXX (PC Suite mode)</pre>
<p>which shows that the mobile is connected using PC Suite mode. Then you should be able to see the &#8220;mobile broadband&#8221; section in the network manager dropdown applet. Just configure according to your country and operator, and enjoy!</p>
<p>P.S: You will see your mobile&#8217;s model number in place of the XXX in the dmesg and lsusb output.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=221&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2012/02/01/ubuntu-11-10-and-mobile-broadband-connection-with-nokia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
		<item>
		<title>NS3 and BRITE integration (NS-3-BRITE) for topology creation</title>
		<link>http://sumanta679.wordpress.com/2011/12/18/ns3-and-brite-integration-ns-3-brite-for-topology-creation/</link>
		<comments>http://sumanta679.wordpress.com/2011/12/18/ns3-and-brite-integration-ns-3-brite-for-topology-creation/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 12:59:52 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[brite]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[ns-3]]></category>
		<category><![CDATA[ns-3-brite]]></category>
		<category><![CDATA[ns3]]></category>
		<category><![CDATA[topology]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=214</guid>
		<description><![CDATA[BRITE is a tool to generate topology similar to CAIDA topologies. I needed a tool to convert BRITE topologies to NS-3 topology. Found a branch of NS-3 which does exactly that here. However, it is not yet merged to actual ns-3-dev branch, so I had to either download the special branch or somehow patch my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=214&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>BRITE is a tool to generate topology similar to CAIDA topologies. I needed a tool to convert BRITE topologies to NS-3 topology. Found a branch of NS-3 which does exactly that <a href="http://code.nsnam.org/jpelkey3/ns-3-brite-modular">here</a>. However, it is not yet merged to actual ns-3-dev branch, so I had to either download the special branch or somehow patch my current ns-3 download. I decided for the later, and extracted the patch from <a href="http://codereview.appspot.com/4517125/">here</a>. After patching, followed the instruction from <a href="http://www.nsnam.org/wiki/index.php/Ns3_BRITE_Integration#Build_Instructions">here</a>:</p>
<ul>
<li>Downloaded BRITE and built it:</li>
</ul>
<pre> $: hg clone <a href="http://code.nsnam.org/jpelkey3/BRITE" rel="nofollow">http://code.nsnam.org/jpelkey3/BRITE</a>
 $: cd BRITE
 $: make</pre>
<ul>
<li>Then CDed to my patched NS-3 source, and configured and build it with BRITE support:</li>
</ul>
<pre>$: ./waf configure --with-brite=/path/to/brite/source
$: ./waf</pre>
<ul>
<li>Then I copied the BRITE example provided with the patch to the scratch directory and ran it:</li>
</ul>
<pre> $: ./waf --run 'scratch/brite-generic-example --verbose=1'</pre>
<p>All of these instructions are copied from the wiki page of the BRITE integration project, in case the wiki page goes missing. If you want the patch, <a href="http://sumanta679.files.wordpress.com/2011/12/ns-3-brite-patch.pdf">here</a> it is taken using hg diff from my ./ns-allinone-3.12.1/ns-3.12.1 directory. Sorry for the pdf file instead of normal text diff file. WordPress for some weird reason doesn&#8217;t allow uploading txt file as an attachment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=214&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2011/12/18/ns3-and-brite-integration-ns-3-brite-for-topology-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
		<item>
		<title>Build and install NS-3-DCE in Ubuntu 11.04 (C library missing problem)</title>
		<link>http://sumanta679.wordpress.com/2011/11/24/build-and-install-ns-3-dce-in-ubuntu-11-04-c-library-missing-problem/</link>
		<comments>http://sumanta679.wordpress.com/2011/11/24/build-and-install-ns-3-dce-in-ubuntu-11-04-c-library-missing-problem/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 19:02:48 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[dce]]></category>
		<category><![CDATA[direct code execution]]></category>
		<category><![CDATA[ns-3]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=210</guid>
		<description><![CDATA[I wanted to install ns-3-dce from furbani&#8217;s branch in my Ubuntu 11.04 machine with 64bit processor. I got every instruction from the wiki page he manages: http://www-sop.inria.fr/members/Frederic.Urbani/ns3dceccnx/getting-started.html#getting-started. However, when I checked out the ns-3-dce branch and ran the script to build and install everything, I ended up getting a weired error in the waf build [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=210&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted to install ns-3-dce from furbani&#8217;s branch in my Ubuntu 11.04 machine with 64bit processor. I got every instruction from the wiki page he manages: http://www-sop.inria.fr/members/Frederic.Urbani/ns3dceccnx/getting-started.html#getting-started. However, when I checked out the ns-3-dce branch and ran the script to build and install everything, I ended up getting a weired error in the waf build output. It automatically download and built the dev branch, and the other necessary things. After that, when it tries to build the dce branch itself, it says &#8220;c library not found&#8221;. Out of suspicion I went out to check my libc version because I heard the dce branch is still very libc version dependent. But unfortunately, I couldn&#8217;t find libc.so.6 file in my /lib/ directory, and if I tried to install libc6, apt-get was saying that its already installed. Then I figured that in Ubuntu 11.04 they have decided to put some of the libraries in some different path in the /lib directory to allow both 32 and 64 bit libraries to stay side by side. As the waf configuration system hard-codes the path of these libraries, so it couldn&#8217;t find the libc library in correct place. So, I had to create a symlink to the library:</p>
<p>$sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib/libc.so.6</p>
<p>Then I ran the script again (I removed the checking out parts, because the necessary things are already pulled out). Now it was complaining about the pthread library. I did the same thing for these libraries as well:</p>
<p>/lib$ sudo ln -s /lib/x86_64-linux-gnu/libpthread* .</p>
<p>Then the whole config and building process went well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=210&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2011/11/24/build-and-install-ns-3-dce-in-ubuntu-11-04-c-library-missing-problem/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
		<item>
		<title>Minimal Debian installation without X GUI</title>
		<link>http://sumanta679.wordpress.com/2011/09/02/minimal-debian-installation-without-x-gui/</link>
		<comments>http://sumanta679.wordpress.com/2011/09/02/minimal-debian-installation-without-x-gui/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 16:41:34 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=206</guid>
		<description><![CDATA[I needed a barebone debian installation for my virtualbox which I will use for creating a virtual network. I have tried with a 1 gig harddisk, and standard debian installation without X, but that already took like 90% of the space, and I couldn&#8217;t install much after. So I started again, this time chose expert [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=206&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I needed a barebone debian installation for my virtualbox which I will use for creating a virtual network. I have tried with a 1 gig harddisk, and standard debian installation without X, but that already took like 90% of the space, and I couldn&#8217;t install much after. So I started again, this time chose expert installation option.  In this option, I was able to control everything, and I chose to install just no software at all. So the processes installed just the base system with the kernel and so on. And after installation only 44% of my 1 gig HD was used <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  then I installed gcc (52% used), and jdk (92% used).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/206/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=206&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2011/09/02/minimal-debian-installation-without-x-gui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
		<item>
		<title>Connect multiple virtualbox together with host machine to create virtual network</title>
		<link>http://sumanta679.wordpress.com/2011/09/01/200/</link>
		<comments>http://sumanta679.wordpress.com/2011/09/01/200/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 18:46:00 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=200</guid>
		<description><![CDATA[I needed a virtual network to test my oncoming staff, and instead of vmware thought that I am gonna try virtualbox this time. One reason is the size of course, very small with almost all the vmware facilities. Well, downloaded and installed bare debian with only command line interface (I needed to minimize HD requirement [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=200&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I needed a virtual network to test my oncoming staff, and instead of vmware thought that I am gonna try virtualbox this time. One reason is the size of course, very small with almost all the vmware facilities. Well, downloaded and installed bare debian with only command line interface <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  (I needed to minimize HD requirement as I was gonna make multiple copies of the same VM). However, then I was having hard time to create a network between these VMs. After spending one night trying different thing and reading different websites, I found the following:</p>
<ul>
<li>set the networking to &#8220;host only adapter&#8221; (which is normally called vboxnet0). You should also be able to see vboxnet0 adapter in your host machine. This is used to create this virtual network that we are going to use for communicating among the machines.</li>
<li>The DHCP server should by default be on for this interface, meaning that you don&#8217;t have to manually assign IP addresses to them. But if you want a static IP on each of your machines, please disable DHCP and assign static IP address to eth0. For static addresses, use the following lines in your /etc/network/interfaces file (modify as needed, replace x as you wish):</li>
</ul>
<blockquote>
<pre><code>allow-hotplug eth0
iface eth0 inet static
address 192.168.x.x
netmask 255.255.255.0
network 192.168.x.0
broadcast 192.168.21.255
gateway 192.168.x.1 (make this address your host machines vboxnet0 address, configurable from the virtualbox gui)</code></pre>
</blockquote>
<ul>
<li>Now start your first machine with host only adapter. After starting up, and checking with ifconfig that your eth0 interface has got some IP address, which is in the same subnet with the host machines vboxnet0 interface, you can try to ping the host from the guest. This should work without any problem.</li>
<li>Now, go to the file <span style="color:#0000ff;">/etc/udev/rules.d/70-persistent-net.rules</span> and you should find one line of configuration there (except for the comments). Delete that line. This line actually binds the interface MAC address with the actual interface. When we are going to clone the harddisk of this VM for making multiple VMs this MAC binding would be invalid (as the new machines will have different MAC address). It is safe to delete this line, as it will be generated again during bootup.</li>
<li>Now shut down the machine: <span style="color:#0000ff;">sudo shutdown -h now</span></li>
<li>Create as many copies of the harddisk as needed: <span style="color:#0000ff;">vboxmanage clonevdi debian.vdi debian2.vdi</span> repeat this command as many times as you want for new vdi files.</li>
<li>Then create new VMs using these newly created vdi files. And set networking mode to &#8220;host only&#8221; for each of the machines. Now, when you start up the machines they should bind their own MAC address with the eth0 interface.</li>
<li>This should be enough to communicate among all the VMs and the host machine. However, none of the VMs have Internet connectivity, as they don&#8217;t have a default gateway to forward the packets. I have added default gw to the host machine&#8217;s virtual interface, but no success. I will update if I can find a solution.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=200&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2011/09/01/200/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple programming tricks (slowly accumulated)</title>
		<link>http://sumanta679.wordpress.com/2011/07/24/simple-programming-tricks-slowly-accumulated/</link>
		<comments>http://sumanta679.wordpress.com/2011/07/24/simple-programming-tricks-slowly-accumulated/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 15:36:04 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=189</guid>
		<description><![CDATA[If we need a few random coin flips together, then its far more efficient to generate one random number, and then use the bits of that number instead of flipping a coin multiple times. Sample code can be (This portion of code takes a random number and inspect the LSB each time to check whether [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=189&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>If we need a few random coin flips together, then its far more efficient to generate one random number, and then use the bits of that number instead of flipping a coin multiple times. Sample code can be (This portion of code takes a random number and inspect the LSB each time to check whether it&#8217;s an one or not, then right shifts the bit out.):</li>
</ul>
<pre>      for (int R = random(); (R &amp; 1) == 1; R &gt;&gt;= 1)
          do something
      else
          do something else</pre>
<ul>
<li>To reverse the bits of a byte a bit faster than looping through a for loop:</li>
</ul>
<pre>      uint8_t reverse(uint8_t b)
      {
           uint8_t rev = (b &gt;&gt; 4) | ((b &amp; 0xf) &lt;&lt; 4);
           rev = ((rev &amp; 0xcc) &gt;&gt; 2) | ((rev &amp; 0x33) &lt;&lt; 2);
           rev = ((rev &amp; 0xaa) &gt;&gt; 1) | ((rev &amp; 0x55) &lt;&lt; 1);
           return rev;
      }</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/189/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=189&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2011/07/24/simple-programming-tricks-slowly-accumulated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
		<item>
		<title>Avro keyboard in 64 bit Ubuntu 11.04</title>
		<link>http://sumanta679.wordpress.com/2011/07/23/avro-keyboard-in-64-bit-ubuntu-11-04/</link>
		<comments>http://sumanta679.wordpress.com/2011/07/23/avro-keyboard-in-64-bit-ubuntu-11-04/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 06:37:41 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[avro]]></category>
		<category><![CDATA[bangla]]></category>
		<category><![CDATA[bengali]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=186</guid>
		<description><![CDATA[আহ, উবুন্তুতে বাংলা লেখার মজাই আলাদা। আমার আগের উবুন্তু ছিল ১০.০৪ আর তাতে অভ্র ইন্সটল করার উপায় অভ্রর সাইটে বলে দেওয়া আছে। কিন্তু তারপর যখন আমি ৬৪ বিট উবুন্তু ১১.০৪ এ এলাম একটা নতুন মেশিনে, তখন আমি সিওর ছিলাম না যে অভ্র কাজ করবে কিনা। কিন্তু অভ্র ছাড়া বেশিদিন থাকাও সম্ভব না, কাজেই ইন্সটলেশন প্রক্রিয়া [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=186&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>আহ, উবুন্তুতে বাংলা লেখার মজাই আলাদা। আমার আগের উবুন্তু ছিল ১০.০৪ আর তাতে অভ্র ইন্সটল করার উপায় অভ্রর সাইটে বলে দেওয়া আছে। কিন্তু তারপর যখন আমি ৬৪ বিট উবুন্তু ১১.০৪ এ এলাম একটা নতুন মেশিনে, তখন আমি সিওর ছিলাম না যে অভ্র কাজ করবে কিনা। কিন্তু অভ্র ছাড়া বেশিদিন থাকাও সম্ভব না, কাজেই ইন্সটলেশন প্রক্রিয়া শুরু করে দিলাম। অভ্রর সাইটে দেওয়া আছে ৩২ বিট বাইনারী, ওটা ৬৪ বিটে কাজ করবে কিনা জানতাম না, কাজেই সময় নষ্ট না করে ঠিক করলাম সোর্স থেকে কম্পাইল করবো যাতে নেটিভ ৬৪ বিট বাইনারী পাই। কম্পাইলেশন খুবই সোজা, সব নির্দেশনা আছে <a title="কোড কম্পাইল" href="http://code.google.com/p/scim-avro/wiki/InstallingScimAvroFromSourceOnUbuntu" target="_blank">এখানে</a>। সংক্ষেপে বললেঃ</p>
<ul>
<li>প্রথমে scim-dev ইন্সটল করতে হবে (এটা জরুরী কিনা জানি না, পরে আমাকে আবার শুধু scim ও ইন্সটল করতে হয়েছিল)</li>
<li>তারপর গুগল কোড থেকে সোর্স ডাউনলোড করে নিতে হবেঃ <tt>svn checkout <strong><em>http</em></strong>://scim-avro.googlecode.com/svn/trunk/ scim-avro-read-only</tt></li>
<li>ওপরের কমান্ড কাজ করতে হলে অবশ্যি svn (subversion) ইন্সটল করা থাকতে হবে।</li>
<li>তারপর যেখানে সোর্স ডাউনলোড করলেন সেখানে গিয়ে নিচের কমান্ডগুলো একে একে দিতে হবেঃ</li>
</ul>
<p style="padding-left:60px;">sudo chmod 777 configure</p>
<p style="padding-left:60px;">sudo ./configure</p>
<p style="padding-left:60px;">sudo make</p>
<p style="padding-left:60px;">sudo make install</p>
<ul>
<li>এখন আপনার অভ্র প্রস্তুত, পরবর্তি কাজ হল scim চালানো। কমান্ড প্রম্পটে গিয়ে লিখুনঃ im-switch -c এটা আপনাকে কিছু চয়েস দিবে, যেখান থেকে scim বেছে নিতে হবে। যদি এই সময় আপনি scim নামে কোন চয়েস না পান, তাইলে system-&gt;administration-&gt;synaptic এ যান, গিয়ে scim দিয়ে খোজ দিন, এবং ইন্সটল করুন। তারপর আবার চেষ্টা করুন। এবার আশা করি scim ইনপুট মেথড পাবেন। ওটা সিলেক্ট করে লগ আউট করে আবার লগ ইন করুন।</li>
<li>এখন আপনি একটা কীবোর্ডের ছবি দেখতে পাবার কথা আপনার টাস্ক বারে। ওটার উপরে ক্লিক করে সেটিংসে গিয়ে ঠিক করে দিয়ে পারবেন কোন বোতাম চাপলে ভাষা বদলাবে। আমি যেমন F12 ব্যবহার করি।</li>
<li>ব্যস, শেষ। এখন খালি F12 চাপুন, আর দেখুন আপনার টাইপিং ভাষা বদলায় কিনা <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </li>
<li>মনের আনন্দে বাংলায় লিখুন।</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=186&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2011/07/23/avro-keyboard-in-64-bit-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
		<item>
		<title>Embed fonts and change title in pdf documents for conferences</title>
		<link>http://sumanta679.wordpress.com/2011/03/01/embed-fonts-and-change-title-in-pdf-documents-for-conferences/</link>
		<comments>http://sumanta679.wordpress.com/2011/03/01/embed-fonts-and-change-title-in-pdf-documents-for-conferences/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 19:26:03 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdftitle]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=176</guid>
		<description><![CDATA[I often stumble into font embed problems while submitting a paper to some conferences. Another problem that I face when generating pdf documents from latex source is the title of the pdf file is often very weired, such as the name of the last eps figure I added to the file and so on. hyperref [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=176&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I often stumble into font embed problems while submitting a paper to some conferences. Another problem that I face when generating pdf documents from latex source is the title of the pdf file is often very weired, such as the name of the last eps figure I added to the file and so on. hyperref packet is a good one to customize pdf title, author and so on, however, for simple papers I did not want to use hyperref package and get all the side effects. Then I found one simple solution to both font embedding and title changing. The following command modifies any pdf files and embeds all fonts in it, and then also changes the pdf title to be the same as the pdf file name.</p>
<pre>gs -sDEVICE=pdfwrite -q -dBATCH -dNOPAUSE -dSAFER -dPDFX -dPDFSETTINGS=/prepress -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -sOutputFile=embedded_file.pdf -c '&lt;&gt; setdistillerparams' -f source_file.pdf -c quit</pre>
<p>After the command is executed on source_file.pdf, then there will be a new file named embedded_file.pdf, and also the pdf title will be changed to embedded_file. You can verify the font embedding using pdffonts. Just issue the command:</p>
<pre>pdffonts embedded_file.pdf</pre>
<p>and it will show which fonts are used in the file and which are embedded.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=176&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2011/03/01/embed-fonts-and-change-title-in-pdf-documents-for-conferences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
		<item>
		<title>Dia and latex, and the boundingbox problem</title>
		<link>http://sumanta679.wordpress.com/2010/12/26/dia-and-latex-and-the-boundingbox-problem/</link>
		<comments>http://sumanta679.wordpress.com/2010/12/26/dia-and-latex-and-the-boundingbox-problem/#comments</comments>
		<pubDate>Sun, 26 Dec 2010 20:21:26 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[boundingbox]]></category>
		<category><![CDATA[dia]]></category>
		<category><![CDATA[dvi]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[pdflatex]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=172</guid>
		<description><![CDATA[I was preparing an article where I had to insert some flowcharts. I used Dia to create those charts and exported them to eps for including in my latex document. However, for each and every figure my image was invisible in the pdf file generated by pdflatex. I tried everything, I tried to change the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=172&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was preparing an article where I had to insert some flowcharts. I used Dia to create those charts and exported them to eps for including in my latex document. However, for each and every figure my image was invisible in the pdf file generated by pdflatex. I tried everything, I tried to change the eps file to pdf, png, svg and so on without any positive result. I always got the &#8220;no boundingbox&#8221; error. I even tried to run my eps file through pstoeps program to recreate boundingbox, but no luck.</p>
<blockquote><p>cat flow_step1.eps | ps2eps &gt; test.eps</p></blockquote>
<p>I was very frustrated, and silently cursing ubuntu for not having a program similar to MS Visio, which I loved when I worked in Windows. Then suddenly I though of changing my tex compiler, and hit jackpot. I changed from pdflatex to latex+dvipdf and it worked right away. The eps file generated by Dia worked without any problem with this combination.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=172&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2010/12/26/dia-and-latex-and-the-boundingbox-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding LTE branch to NS-3</title>
		<link>http://sumanta679.wordpress.com/2010/11/24/adding-lte-branch-to-ns-3/</link>
		<comments>http://sumanta679.wordpress.com/2010/11/24/adding-lte-branch-to-ns-3/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 22:48:30 +0000</pubDate>
		<dc:creator>sumanta679</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[branch]]></category>
		<category><![CDATA[hg]]></category>
		<category><![CDATA[lte]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[ns-3]]></category>
		<category><![CDATA[ns3]]></category>

		<guid isPermaLink="false">http://sumanta679.wordpress.com/?p=161</guid>
		<description><![CDATA[I talked about how to merge pyviz branch to the ns-3-dev branch and then configure it. Today I tried to also add LTE support to NS-3. A branch containing LTE implementation for NS3 is there in the repository of giuseppe piro (http://code.nsnam.org/giuseppepiro/ns-3-lte/). After I pulled it using the command hg pull -u http://code.nsnam.org/giuseppepiro/ns-3-lte/ from my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=161&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I talked about how to merge pyviz branch to the ns-3-dev branch and then configure it. Today I tried to also add LTE support to NS-3. A branch containing LTE implementation for NS3 is there in the repository of giuseppe piro (http://code.nsnam.org/giuseppepiro/ns-3-lte/). After I pulled it using the command</p>
<blockquote><p>hg pull -u http://code.nsnam.org/giuseppepiro/ns-3-lte/</p></blockquote>
<p>from my ns-3-dev directory, I tried to merge it, but got some weired error called &#8220;hg abort: multiple heads&#8221;. This error requires that you merge with a specific head revision. Use the command</p>
<blockquote><p>hg heads</p></blockquote>
<p>to get the information about all the heads in there. And then you can get the revision number for a particular head in the changeset title:</p>
<blockquote><p>changeset:   6862:4466edc1f3d5</p></blockquote>
<p>and the revision is the number before colon (:). So just use</p>
<blockquote><p>hg merge -r revision_number</p></blockquote>
<p>to merge the intended head to your codebase. But after that I received the error message that I have outstanding uncommitted merge. Then I remember I didn&#8217;t commit the previous pyviz merge I did. So issue the command</p>
<blockquote><p>hg commit -m &#8220;merge pyviz&#8221;</p></blockquote>
<p>which then showed error that I dont have username: hg abort: no username supplied. This requires that I have a file named .hgrc in my home directory with the following content:</p>
<blockquote>
<pre><code>[ui]
username = Your Name &lt;your@mail&gt;
</code></pre>
</blockquote>
<p>And then issue the commit command again. It should pass now and commit any outstanding merges. Then issue the merge command again to merge the new pulled LTE branch. Then commit this new merge again with similar commit command. Then run waf to compile the new LTE codes.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sumanta679.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sumanta679.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sumanta679.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sumanta679.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sumanta679.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sumanta679.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sumanta679.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sumanta679.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sumanta679.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sumanta679.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sumanta679.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sumanta679.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sumanta679.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sumanta679.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sumanta679.wordpress.com&amp;blog=7306295&amp;post=161&amp;subd=sumanta679&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sumanta679.wordpress.com/2010/11/24/adding-lte-branch-to-ns-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0e963379bca98bc6e8b85f629a5b145?s=96&#38;d=monsterid&#38;r=G" medium="image">
			<media:title type="html">sumanta679</media:title>
		</media:content>
	</item>
	</channel>
</rss>
