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

<channel>
	<title>Imaging and a little bit of OSS &#187; Linux and OSS</title>
	<atom:link href="http://nuclear-imaging.info/site_content/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://nuclear-imaging.info/site_content</link>
	<description>Yet another techno blog</description>
	<lastBuildDate>Wed, 09 May 2012 13:02:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Live video from a webcam with text overlay</title>
		<link>http://nuclear-imaging.info/site_content/2012/03/04/live-video-from-a-webcam-with-text-overlay/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=live-video-from-a-webcam-with-text-overlay</link>
		<comments>http://nuclear-imaging.info/site_content/2012/03/04/live-video-from-a-webcam-with-text-overlay/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 23:41:47 +0000</pubDate>
		<dc:creator>slash_boot</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Linux and OSS]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[spy]]></category>
		<category><![CDATA[surveillance]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[text overlay]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[vlc player]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://nuclear-imaging.info/site_content/?p=437</guid>
		<description><![CDATA[As a prank project we installed a webcam at the front desk of the our office suite, and plugged it into a Linux machine. Then we had a decommissioned 14 inch monitor face the person who was just walking in so that he/she could see themselves in the monitor with absolute clarity. The text beneath <a href='http://nuclear-imaging.info/site_content/2012/03/04/live-video-from-a-webcam-with-text-overlay/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>As a prank project we installed a webcam at the front desk of the our office suite, and plugged it into a Linux machine. Then we had a decommissioned 14 inch monitor face the person who was just walking in so that he/she could see themselves in the monitor with absolute clarity. The text beneath said &#8220;Smile for the camera&#8221;.</p>
<p>This was an one line implementation with VLC. The terminal command for this would be:</p>
<pre>vlc --sub-filter "marq{marquee=\$t \$\smile for the camera,color=16776960,position=8}" v4l2:////dev/video0</pre>
<p>A false sense of security with some false video surveillance. Of course you can save the stream and turn it into real surveillance.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://nuclear-imaging.info/site_content/2012/03/04/live-video-from-a-webcam-with-text-overlay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAC address spoofing on Linux</title>
		<link>http://nuclear-imaging.info/site_content/2011/03/15/mac-address-spoofing-on-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mac-address-spoofing-on-linux</link>
		<comments>http://nuclear-imaging.info/site_content/2011/03/15/mac-address-spoofing-on-linux/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 23:17:58 +0000</pubDate>
		<dc:creator>slash_boot</dc:creator>
				<category><![CDATA[Linux and OSS]]></category>
		<category><![CDATA[duplicate MAC address]]></category>
		<category><![CDATA[MAC address]]></category>
		<category><![CDATA[manual edit]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[spoofing]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nuclear-imaging.info/site_content/?p=349</guid>
		<description><![CDATA[If you are on a network that has MAC addresses hardwired, i.e. you can only access the network if a certain MAC address is plugged into a specific ethernet jack on the wall, you don&#8217;t have too many options. One option I used recently is spoofing the MAC address of your device. Its done by <a href='http://nuclear-imaging.info/site_content/2011/03/15/mac-address-spoofing-on-linux/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>If you are on a network that has MAC addresses hardwired, i.e. you can only access the network if a certain MAC address is plugged into a specific ethernet jack on the wall, you don&#8217;t have too many options.</p>
<p>One option I used recently is spoofing the MAC address of your device. Its done by editing the hardware address to match the MAC address of the device that&#8217;s allowed on that ethernet jack.</p>
<p>If you are using Linux, make a note of your current IP address in a text file.</p>
<blockquote><p>sudo ifconfig -a | grep eth0 > ~/Desktop/netaddressbak.txt</p></blockquote>
<p>Run the same command on the device that&#8217;s attached to the network to find its MAC address: Lets say its &#8211; 01:82:39:B2:41:30</p>
<p>Before you attach your new device to the ethernet cable, change its MAC address to the one listed above.</p>
<blockquote><p>sudo ifconfig eth0 down<br />
sudo ifconfig eth0 hw ether 01:82:39:B2:41:30<br />
sudo ifconfig eth0 up<br />
sudo ifconfig eth0 | grep HWaddr</p></blockquote>
<p>This should now list the address as 01:82:39:B2:41:30.</p>
<p>You can now attach this device on the network to gain full connectivity (unless there are some programs that are supposed to ping every once in a while).</p>
]]></content:encoded>
			<wfw:commentRss>http://nuclear-imaging.info/site_content/2011/03/15/mac-address-spoofing-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change default size of gnome terminal</title>
		<link>http://nuclear-imaging.info/site_content/2009/10/26/change-default-size-of-gnome-terminal/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=change-default-size-of-gnome-terminal</link>
		<comments>http://nuclear-imaging.info/site_content/2009/10/26/change-default-size-of-gnome-terminal/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 17:12:48 +0000</pubDate>
		<dc:creator>slash_boot</dc:creator>
				<category><![CDATA[Linux and OSS]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://nuclear-imaging.info/site_content/?p=297</guid>
		<description><![CDATA[Its not quite obvious how to change the default size of gnome-terminal from the gconf-editor menu. The terminal itself is a subset of xterm. Gnome-terminal is an xterm emulator, and it follows a termcap file for this. On gnome based distributions (Fedora/SUSE/Debian/Ubuntu etc.) do the following: sudo gedit /usr/share/vte/termcap/xterm There&#8217;s a lot of stuff in <a href='http://nuclear-imaging.info/site_content/2009/10/26/change-default-size-of-gnome-terminal/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Its not quite obvious how to change the default size of gnome-terminal from the gconf-editor menu. The terminal itself is a subset of xterm. Gnome-terminal is an xterm emulator, and it follows a termcap file for this.</p>
<p>On gnome based distributions (Fedora/SUSE/Debian/Ubuntu etc.) do the following:</p>
<blockquote><p>sudo gedit /usr/share/vte/termcap/xterm</p></blockquote>
<p>There&#8217;s a lot of stuff in this file you probably don&#8217;t want to touch, but you can change the line that describes the terminal geometry:</p>
<blockquote><p>xterm-xfree86|xterm-new|xterm terminal emulator (XFree86):\<br />
:am:km:mi:ms:xn:\<br />
:co#80:it#8:li#24:\</p></blockquote>
<p>:co#80 specifies 80 columns, and li#24 specifies 24 lines. Change this to 100 and 30 or whatever you want.</p>
<blockquote><p><strong>:co#100:it#8:li#30:\</strong></p></blockquote>
<p>Now all terminals should open for this default size.</p>
<h5><a title="Default Gnome Termina Size" href="http://forums.fedoraforum.org/showthread.php?t=45607" target="_blank">Adopted from a post on Fedora Forums.</a></h5>
]]></content:encoded>
			<wfw:commentRss>http://nuclear-imaging.info/site_content/2009/10/26/change-default-size-of-gnome-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atheros 5007EG now works in Jaunty Jackalope</title>
		<link>http://nuclear-imaging.info/site_content/2009/01/30/atheros-5007eg-now-works-in-jaunty-jackalope/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=atheros-5007eg-now-works-in-jaunty-jackalope</link>
		<comments>http://nuclear-imaging.info/site_content/2009/01/30/atheros-5007eg-now-works-in-jaunty-jackalope/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 17:08:32 +0000</pubDate>
		<dc:creator>slash_boot</dc:creator>
				<category><![CDATA[Linux and OSS]]></category>
		<category><![CDATA[non-OSS]]></category>
		<category><![CDATA[5007eg]]></category>
		<category><![CDATA[ath5k]]></category>
		<category><![CDATA[atheros]]></category>
		<category><![CDATA[backports]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://nuclear-imaging.info/site_content/?p=42</guid>
		<description><![CDATA[Until today&#8217;s kernel update to 2.6.28.6, the Atheros wifi card was not functioning correctly. Since the update to new kernel, the wifi card can now be used with the ath5k module which can be found in linux-backports-modules. In order to get the Atheros 5007EG card to work, you first need to disable the built-in hardware <a href='http://nuclear-imaging.info/site_content/2009/01/30/atheros-5007eg-now-works-in-jaunty-jackalope/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Until today&#8217;s kernel update to 2.6.28.6, the Atheros wifi card was not functioning correctly. Since the update to new kernel, the wifi card can now be used with the ath5k module which can be found in linux-backports-modules.</p>
<p>In order to get the Atheros 5007EG card to work, you first need to disable the built-in hardware driver.</p>
<blockquote><p>System &gt;&gt; Administration  &gt;&gt; Hardware Drivers &gt; Deactivate &#8220;Support for Atheros 802.11 cards&#8221;</p></blockquote>
<p style="text-align: center;">
<div id="attachment_45" class="wp-caption aligncenter" style="width: 593px"><img class="size-full wp-image-45" title="Hardware Drivers in Januty" src="http://nuclear-imaging.info/site_content/wp-content/uploads/2009/01/jaunty_hw_menu.png" alt="Selection of Hardware Drivers in Januty" width="583" height="480" /><p class="wp-caption-text">Selection of Hardware Drivers in Januty</p></div>
<div id="attachment_43" class="wp-caption aligncenter" style="width: 466px"><img class="size-full wp-image-43" title="Disable Athros Module" src="http://nuclear-imaging.info/site_content/wp-content/uploads/2009/01/jaunty_atheros_disable.png" alt="Disable the Support for Atheros 802.11 cards" width="456" height="578" /><p class="wp-caption-text">Disable the Support for Atheros 802.11 cards</p></div>
<p>After the card has been deactivated, open the terminal and install the backports modules for Jaunty.</p>
<blockquote><p>sudo apt-get update &amp;&amp; sudo apt-get install linux-backports-modules-jaunty</p></blockquote>
<div id="attachment_44" class="wp-caption aligncenter" style="width: 459px"><img class="size-full wp-image-44" title="Jaunty backports" src="http://nuclear-imaging.info/site_content/wp-content/uploads/2009/01/jaunty_backport_modterm.png" alt="Install Jaunty backports modules" width="449" height="174" /><p class="wp-caption-text">Install Jaunty backports modules</p></div>
<p>This adds the ath5k module which supports the Atheros 5007EG card.</p>
<p>The computer needs to be Shutdown and powered back on. Somehow Restarting doesn&#8217;t work at times. The card has to be completely powered down for a few seconds and then started during power up.</p>
<p>You should be able to see the available wireless network list by clicking on the network manager icon. Thereon, you all know what to do <img src='http://nuclear-imaging.info/site_content/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://nuclear-imaging.info/site_content/2009/01/30/atheros-5007eg-now-works-in-jaunty-jackalope/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Record streaming media under Ubuntu</title>
		<link>http://nuclear-imaging.info/site_content/2009/01/21/record-streaming-media-under-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=record-streaming-media-under-ubuntu</link>
		<comments>http://nuclear-imaging.info/site_content/2009/01/21/record-streaming-media-under-ubuntu/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 20:55:04 +0000</pubDate>
		<dc:creator>slash_boot</dc:creator>
				<category><![CDATA[Linux and OSS]]></category>
		<category><![CDATA[mimms]]></category>
		<category><![CDATA[mms]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://nuclear-imaging.info/site_content/?p=19</guid>
		<description><![CDATA[The norm has been to watch live streams over the internet if you are unable to watch a certain program on your TV at a scheduled time. The limitation of these live streams is that you can&#8217;t afford to miss anything, cause there is no way to rewind and replay. Under Windows there are several <a href='http://nuclear-imaging.info/site_content/2009/01/21/record-streaming-media-under-ubuntu/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>The norm has been to watch live streams over the internet if you are unable to watch a certain program on your TV at a scheduled time. The limitation of these live streams is that you can&#8217;t afford to miss anything, cause there is no way to rewind and replay.</p>
<p>Under Windows there are several tools that can capture live streams and save them to a file. These streams are usually broadcasted over the mms:// protocol. Oftentimes, this protocol is wrapped inside a .asx or .wmv wrapper. These wrappers have the information required to fetch the streaming media, either live or recorded.</p>
<p>There is an application in the Universe repository since Gutsy which enables us to store the streaming media as a local file. Its called mimms, and under Intrepid Ibex its running on version 3.2.1-1.</p>
<p>If your universe repository is enable, you can install mimms using aptitude:</p>
<blockquote><p>$ sudo apt-get install mimms</p>
</blockquote>
<div id="attachment_23" class="wp-caption aligncenter" style="width: 564px"><img class="size-full wp-image-23" title="Using mimms" src="http://nuclear-imaging.info/site_content/wp-content/uploads/2009/01/mimms_screenshot.png" alt="Using mimms to record streaming media" width="554" height="204" /><p class="wp-caption-text">Using mimms to record streaming media</p></div>
<p>Once the program is installed, you can do recordings of mms:// streams via terminal. The link of currently streaming video can usually be obtained by<em> right-clicking on the video window and copy-link</em>. To start recording type the copied mms:// link as an argument for mimms, which starts saving the streaming content to your /home/user folder.</p>
<blockquote><p>$ mimms mms://cnnvideo.streamserver.asx</p>
</blockquote>
<p>It displays the size of the output file in real time. You can stop the recording at any time by ctrl-c without damaging the file. This file can then be played using the media player of your choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://nuclear-imaging.info/site_content/2009/01/21/record-streaming-media-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

