<?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>nazham.com &#187; Computing</title>
	<atom:link href="http://nazham.com/category/computing/feed/" rel="self" type="application/rss+xml" />
	<link>http://nazham.com</link>
	<description>Jarvis, sometimes you gotta run before you can walk.</description>
	<lastBuildDate>Tue, 01 Jun 2010 06:07:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Things To Do Immediately After Getting Your TMNet UNIFI (HSBB)</title>
		<link>http://nazham.com/2010/06/01/things-to-do-immediately-after-getting-your-tmnet-unifi-hsbb/</link>
		<comments>http://nazham.com/2010/06/01/things-to-do-immediately-after-getting-your-tmnet-unifi-hsbb/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 05:58:08 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[HSBB]]></category>
		<category><![CDATA[Router]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[TMNet]]></category>
		<category><![CDATA[UNIFI]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=1053</guid>
		<description><![CDATA[On March 2010, Telekom Malaysia Berhad (TM) launched its High Speed Broadband (HSBB) service, called 'UniFi'. I'm going to talk about the security (or the lack thereof) of the default WiFi router setup.


No related posts.]]></description>
			<content:encoded><![CDATA[<p><strong><em>Little Introduction:</em></strong></p>
<p>On March 2010, Telekom Malaysia Berhad (TM) launched its High Speed Broadband (HSBB) service, called &#8216;<a href="http://www.unifi.my/unifi/index.php?option=com_content&amp;view=article&amp;id=58&amp;Itemid=58">UniFi</a>&#8216;. TM’s UniFi high speed broadband packages comprises services of high speed Internet, video (IPTV), and phone, with speeds of 5 Mbps, 10Mbps and 20Mbps.</p>
<p>Upon sign up, the customer will receive 4 pieces of equipment:</p>
<ul>
<li>Fiber Broadband Termination Unit (BTU), ie. where you connect the fiber optic cable into.</li>
<li>WiFi router (D-Link, D-615 with custom firmware), which is plugged into the fiber BTU.</li>
<li>Set-Top box for IPTV and VoD, which will plug into the WiFi router.</li>
<li>DECT phone plugged into the Fiber BTU.</li>
</ul>
<p>I&#8217;m not going to rant about the UniFi or TMNet&#8217;s services, nor speed, nor the much debated bandwith cap that TM said they&#8217;re going to impose.</p>
<p>I&#8217;m going to talk about the security (or the lack thereof) of the default WiFi router setup.</p>
<p><span id="more-1053"></span></p>
<p>Once the customer signed-up for UniFi services, the TM&#8217;s technician will do all the equipment installations in your premises/homes for you. Nice, BUT, the default WiFi router setup done by the technicians has very low security features:</p>
<ul>
<li>The router is not configured to drop ICMP packet, making an attacker able to ping those unprotected routers, telling him it&#8217;s alive and connected to the internet.</li>
<li>The firewall is disabled.</li>
<li>The router has remote access enabled. Making it worse, it has no authorised IP filter (has default config of 0.0.0.0, meaning anybody, anywhere, can log in to your router web interface). The web interface port number are also set to default.</li>
<li>And the BIGGEST, BADDEST flaw: The router&#8217;s Administrator password is still the default ones!!</li>
</ul>
<p>With the default configurations as above, even a child with a web browser sitting miles away could go into your routers!! I&#8217;ve done this personally, where I can easily scan a range of UniFi&#8217;s IP addresses, and log on to their routers.</p>
<p>I understood if the above setup is to ease TM&#8217;s effort to do some troubleshooting/support remotely for their customers. However, The least they can do is change the default administrators password for the WiFi routers! Change the password to something unique for each customer. They still can keep records of the users router&#8217;s password if they need to do troubleshooting/support purposes remotely.</p>
<p>Not all TM&#8217;s customers are technically savvy to secure their own home networking. So, the purpose of this article is to share/educate/guide some basic protection for your home network.</p>
<p><strong><em>Secure your home network:</em></strong></p>
<p>Login in to your router&#8217;s web interface. Open a web browser, go to http://192.168.0.1 . You will be prompt for admin username and password. Open your D-Link Router manual for more info.</p>
<p><strong>1. Change your Router&#8217;s Administrator password.</strong></p>
<ul>
<li>Go to &#8216;Maintenance&#8217; tab, under &#8216;Admin Password&#8217; section. Rename your password there.</li>
</ul>
<p><strong>2. Rename your Wireless Network Name/ SSID.</strong><br />
The default SSID has the customer&#8217;s name, i.e.: myfirstname@unifi. This possible could leads to privacy issues, as outsiders knows who&#8217;s using what ISP services (UniFi, Streamyx, etc).</p>
<ul>
<li>Go to &#8216;Setup&#8217; tab, click &#8216;Wireless Setup&#8217; menu on the left.</li>
<li>Under &#8216;Multiple Wireless Network Name (SSIDS)&#8217; section, click &#8216;Multiple Wireless Network Name Setup&#8217; button.</li>
<li>You will be taken to a page with &#8216;Wireless Network Name&#8217; section. Rename your existing Wireless Network Name/SSID there.</li>
</ul>
<p><strong>3. Disable Remote Access to your router.</strong></p>
<ul>
<li>Go to &#8216;Maintenance&#8217; tab, under &#8216;Remote Management&#8217; section. Un-check &#8216;Enable Remote Management:&#8217; check box.</li>
</ul>
<p><strong>4. Enable Firewall</strong></p>
<ul>
<li>Go to &#8216;Advanced&#8217; tab, click &#8216;Firewall &amp; DMZ&#8217; menu on the left.</li>
<li>Under &#8216;Outside Firewall Setting&#8217; section, checked the &#8216;Enable WAN to LAN Firewall :&#8217; check box.</li>
<li>Then, checked all the check box inside the rows of &#8216;DOS ATTACK&#8217;, &#8216;POST SCAN ATTACK&#8217; and &#8216;SERVICE FILTER&#8217;.</li>
<li>To find out what all these settings do, feel free to Google each of the check box descriptions.</li>
</ul>
<p>Few suggestions to TM, I strongly recommends that the technicians doing the UniFi&#8217;s installation, increase some level of customers home networking security. The very basic they can do is to change the WiFi routers default administrator&#8217;s password upon installation, and keep that password if they need to do troubleshooting/support purposes remotely.</p>
<p>Be safe.</p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2010%2F06%2F01%2Fthings-to-do-immediately-after-getting-your-tmnet-unifi-hsbb%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2010/06/01/things-to-do-immediately-after-getting-your-tmnet-unifi-hsbb/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Playing 1080p Video in Ubuntu Without Lag</title>
		<link>http://nazham.com/2010/04/24/playing-1080p-video-in-ubuntu-without-lag/</link>
		<comments>http://nazham.com/2010/04/24/playing-1080p-video-in-ubuntu-without-lag/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 13:34:12 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[1080p]]></category>
		<category><![CDATA[Blue Ray]]></category>
		<category><![CDATA[HD]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[mkv]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>
		<category><![CDATA[VLC]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=1048</guid>
		<description><![CDATA[Playing 1080p Video in Ubuntu Without Lag

Related posts:<ol><li><a href='http://nazham.com/2009/12/02/how-to-check-for-open-ports-in-ubuntu/' rel='bookmark' title='Permanent Link: How to Check for Open Ports in Ubuntu'>How to Check for Open Ports in Ubuntu</a> <small>There are various ways to view for open ports on...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have not-so-bad specs for my laptop:<br />
- Dell XPS M1530<br />
- Intel Code 2 Duo CPU 2.40GHz<br />
- 4GB RAM<br />
- Running Ubuntu Karmic Koala 9.10</p>
<p>I have no problem running 720p .mkv HD video files. No lagging, no dropped frames whatsover. However, when running 1080p .mkv files, especially those big sizes full-HD Blue Ray medias, I have:<br />
- Lagging,<br />
- Dropped frames,<br />
- 100% CPU utilizations.</p>
<p>It doesn&#8217;t matter if I&#8217;m using VLC, or Totem Movie Player, it will always have those problem above. From what I&#8217;ve read, this is probably due to FFMpeg codecs for H.264 decoding.</p>
<p>However, I have a solution, found from <a href="http://ubuntuforums.org/showthread.php?t=1037625">http://ubuntuforums.org/showthread.php?t=1037625</a></p>
<p>Below are the steps:<br />
1. Install mplayer:<br />
<code>sudo apt-get install mplayer-nogui</code></p>
<p>2. Run your 1080p .mkv files with it:<br />
<code>mplayer -vo vdpau -vc ffh264vdpau /path/to/the/mkv/file</code></p>
<p>Now the HD movies playing in my Ubuntu laptop are smooth as it can be.<br />
Try it out. Cheers.</p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2010%2F04%2F24%2Fplaying-1080p-video-in-ubuntu-without-lag%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<br />Related posts:<ol><li><a href='http://nazham.com/2009/12/02/how-to-check-for-open-ports-in-ubuntu/' rel='bookmark' title='Permanent Link: How to Check for Open Ports in Ubuntu'>How to Check for Open Ports in Ubuntu</a> <small>There are various ways to view for open ports on...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2010/04/24/playing-1080p-video-in-ubuntu-without-lag/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Enhance Your Linux Desktop with Conky</title>
		<link>http://nazham.com/2009/07/26/how-to-enhance-your-linux-desktop-with-conky/</link>
		<comments>http://nazham.com/2009/07/26/how-to-enhance-your-linux-desktop-with-conky/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 15:35:29 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=1000</guid>
		<description><![CDATA[I have been using Conky as my desktop monitoring widgets for quite some time now. Before this, I&#8217;ve been using few applications like screenlets and gdesklets, but there&#8217;s a lot of drawbacks on these applications. Among them were limited customizations, it&#8217;s difficult to develop your own widgets, unable to find widgets you&#8217;re looking for, and [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I have been using <strong>Conky</strong> as my desktop monitoring widgets for quite some time now. Before this, I&#8217;ve been using few applications like screenlets and gdesklets, but there&#8217;s a lot of drawbacks on these applications. Among them were limited customizations, it&#8217;s difficult to develop your own widgets, unable to find widgets you&#8217;re looking for, and if you do find them, they are too buggy to be used in the first place.</p>
<p>Then, I&#8217;ve found <a href="http://conky.sourceforge.net/">Conky</a>. I&#8217;ll never turn back.</p>
<p>This is the best system monitor I have ever experienced. It is highly customizable, all you have to do is modify the Conky config file. There&#8217;s a lot of widgets/variables to use, such as system monitoring tools (CPU, RAM, SWAP, Hard Drive, etc), batteries capacity, networking, and more. And best of all, it is very, very easy to create your own widgets. If you know any programming language such as Python, Perl, or even a simple Shell Scripts, then you&#8217;re off to create your own.</p>
<p><span id="more-1000"></span><br />
Installing Conky are easy as executing command below in the terminal:<br />
<code>$ sudo apt-get install conky</code></p>
<p>Next, create your Conky config file. Here is <a href="http://nazham.com/download/conky.conf.txt" target="_blank">my config file</a> I&#8217;m currently using.</p>
<p>Then, execute command below to run Conky. Put it in your startup so that it will be running each time you boot-up your computer:<br />
<code>$ conky -c &lt;path_to_my_conky_config&gt;.conf</code></p>
<p>Below are what my desktop currently looks like with Conky:</p>
<div id="attachment_1007" class="wp-caption aligncenter" style="width: 310px"><a href="http://nazham.com/wp-content/uploads/2009/07/conky-desktop.png"><img class="size-medium wp-image-1007" title="Conky Desktop" src="http://nazham.com/wp-content/uploads/2009/07/conky-desktop-300x187.png" alt="Conky Desktop" width="300" height="187" /></a><p class="wp-caption-text">Conky Desktop</p></div>
<p>In there I&#8217;ve created my own GMail notifier, Google Reader notifier and local TV guide, all using Python. You will find more ideas, screen shots and scripts to use with Conky on <a href="http://ubuntuforums.org/showthread.php?t=281865" target="_blank">Ubuntu Forum</a>.</p>
<p>Cheers.</p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2009%2F07%2F26%2Fhow-to-enhance-your-linux-desktop-with-conky%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2009/07/26/how-to-enhance-your-linux-desktop-with-conky/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Google Wave &#8211; What Email Would Look Like If It Were Invented Today</title>
		<link>http://nazham.com/2009/05/30/google-wave-what-email-would-look-like-if-it-were-invented-today/</link>
		<comments>http://nazham.com/2009/05/30/google-wave-what-email-would-look-like-if-it-were-invented-today/#comments</comments>
		<pubDate>Sat, 30 May 2009 04:25:33 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=917</guid>
		<description><![CDATA[What is a Wave?
A wave is equal parts conversation and document. People can communicate and work together with richly formatted text, photos, videos, maps, and more.
A wave is shared. Any participant can reply anywhere in the message, edit the content and add participants at any point in the process. Then playback lets anyone rewind the [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><strong>What is a <a href="http://wave.google.com/">Wave</a>?</strong></p>
<p>A wave is equal parts conversation and document. People can communicate and work together with richly formatted text, photos, videos, maps, and more.</p>
<p>A wave is shared. Any participant can reply anywhere in the message, edit the content and add participants at any point in the process. Then playback lets anyone rewind the wave to see who said what and when.</p>
<p>A wave is live. With live transmission as you type, participants on a wave can have faster conversations, see edits and interact with extensions in real-time. </p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/v_UyVmITiYQ&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/v_UyVmITiYQ&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>More info on:<br />
<a href="http://wave.google.com/">Google Wave</a><br />
<a href="http://lifehacker.com/5272048/google-wave-is-what-email-would-look-like-if-it-were-invented-today">Google Wave &#8220;Is What Email Would Look Like If It Were Invented Today&#8221;</a><br />
<a href="http://lifehacker.com/5272702/google-wave-video-demo-makes-a-little-more-sense-of-wave">Google Wave Video Demo Makes a Little More Sense of Wave</a></p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2009%2F05%2F30%2Fgoogle-wave-what-email-would-look-like-if-it-were-invented-today%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2009/05/30/google-wave-what-email-would-look-like-if-it-were-invented-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extend Transmission Torrent with Scripts</title>
		<link>http://nazham.com/2009/04/19/extend-transmission-torrent-with-scripts/</link>
		<comments>http://nazham.com/2009/04/19/extend-transmission-torrent-with-scripts/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 13:10:03 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=893</guid>
		<description><![CDATA[Transmission is one of my favourite bittorrent client. However, it&#8217;s lack the feature of running command(s) before or after you have finished downloading. Luckily we can improvise this with the help of transmission-remote, a command based client for transmission, and along with some Linux bash scripting.
Below I have created a simple bash script. What it [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.transmissionbt.com/">Transmission</a> is one of my favourite bittorrent client. However, it&#8217;s lack the feature of running command(s) before or after you have finished downloading. Luckily we can improvise this with the help of <strong>transmission-remote</strong>, a command based client for transmission, and along with some Linux bash scripting.</p>
<p>Below I have created a simple bash script. What it does is, converting all of the finished avi&#8217;s to wmv. The conversion is via <a href="http://www.ffmpeg.org/">ffmpeg</a>. The script below is easily modified to suit your needs, such as:<br />
i &#8211; Copying the finished torrent to another location.<br />
ii &#8211; Doing any conversion to your media.<br />
iii &#8211; Send you mail notifying the torrent have finished downloading.<br />
iv &#8211; etc, etc.</p>
<p>So, let&#8217;s get started.<br />
<span id="more-893"></span></p>
<p>1. Install transmission-remote<br />
<code>sudo apt-get install transmission-remote</code></p>
<p>2. Copy the script below, and save as my_script_name.sh , (or whatever name you prefer, but note the .sh extension).<br />
This is among my early attempts of shell script programming, so go easy on me and feel free to give feedbacks. <img src='http://nazham.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre>
#!/bin/sh

# The absolute path where your torrents are downloaded
# For example: /tmp/download
BASEDIR=/home/myuser/mytorrentpath
LOGPATH=/home/myuser/mywmv.log

# The absolute path to and including the transmission-remote binary
# For example: /usr/bin/transmission-remote
TRANSREMOTE=/usr/bin/transmission-remote
TRANSOPTS=" 127.0.0.1:my_port_number -n my_username:my_password "

DoConvert ()
{
  _AVINAME=$1
  WMVNAME=${_AVINAME%.*}".wmv"
  if [ ! -f "$WMVNAME" ]; then
    #Do conversion here
    echo "converting $_AVINAME" >> $LOGPATH
    ffmpeg -sameq -i "$_AVINAME" -vcodec wmv2 -acodec wmav2 "$WMVNAME" \
    < /dev/null 2> /dev/null
  fi
}

cd $BASEDIR

echo "Starting at `date`" >> $LOGPATH

# Find the first completed torrent
$TRANSREMOTE $TRANSOPTS -l | grep "100%" | grep "Done  " | cut -b71- | while read LINE
do
  if [ -e "$LINE" ]; then
    if [ -h "$LINE" ]; then
      echo "$LINE is already moved" >> $LOGPATH
    else
      if [ -d "$LINE" ]; then
        cd "${LINE}"
        ls -1f *.avi 2>/dev/null | while read AVINAME
	  do
	    DoConvert "$AVINAME"
	  done
        cd -
      else
	DoConvert "$LINE"
      fi
    fi
  else
    echo "torrent $LINE is removed" >> $LOGPATH
  fi
done

echo "-----------------" >> $LOGPATH
</pre>
<p>Save the script on any location you prefer.</p>
<p>3. Create a cron job to run the script. Open the entry to crontab:<br />
<code>crontab -e</code></p>
<p>4. Let say you want to run the script every hour, by the hour, the entry on your cron job should be as below:<br />
<code>0 * * * * sh /home/myuser/my_script_name.sh</code></p>
<p>You can also test the script you&#8217;ve created by executing the command:<br />
<code>sh /home/myuser/my_script_name.sh</code></p>
<p>Enjoy.</p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2009%2F04%2F19%2Fextend-transmission-torrent-with-scripts%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2009/04/19/extend-transmission-torrent-with-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Share Media Between Xbox 360 and Linux</title>
		<link>http://nazham.com/2009/03/09/how-to-share-media-between-xbox-360-and-linux/</link>
		<comments>http://nazham.com/2009/03/09/how-to-share-media-between-xbox-360-and-linux/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 20:02:48 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 8.10]]></category>
		<category><![CDATA[Xbox 360]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=849</guid>
		<description><![CDATA[I&#8217;ve got a little project going on in the past few days. I have a reasonable amount of media; movies, mp3&#8217;s and family pictures in my Linux desktop, Ubuntu 8.10. Would it be nice if I could stream all the movies and music directly from the Linux machine to my Xbox 360? This is a [...]

Related posts:<ol><li><a href='http://nazham.com/2009/12/02/how-to-check-for-open-ports-in-ubuntu/' rel='bookmark' title='Permanent Link: How to Check for Open Ports in Ubuntu'>How to Check for Open Ports in Ubuntu</a> <small>There are various ways to view for open ports on...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a little project going on in the past few days. I have a reasonable amount of media; movies, mp3&#8217;s and family pictures in my Linux desktop, Ubuntu 8.10. Would it be nice if I could stream all the movies and music directly from the Linux machine to my Xbox 360? This is a very easy feat in <strong>Windows</strong>, where we could simply use the <strong>Windows Media Share</strong> option in <strong>Windows Media Player 11</strong>. But, what about Linux?</p>
<p>Xbox-Linux box media sharing could be achieved by using GeeXbox <a href="http://ushare.geexbox.org/" target="_blank">uShare</a>. GeeXboX uShare is a free UPnP A/V &amp; DLNA Media Server for Linux. Installation and configuration explained after the jump below:</p>
<p><span id="more-849"></span><br />
<strong>Installation and Configuration</strong></p>
<p>1. Install uShare by using command:<br />
<code>sudo apt-get install ushare</code></p>
<p>2. Edit the uShare configuration file:<br />
<code>sudo gedit /etc/ushare.conf</code></p>
<p>Example of the uShare config file:</p>
<pre># /etc/ushare.conf
# uShare UPnP Friendly Name (default is 'uShare').
USHARE_NAME=uShare

# Interface to listen to (default is eth0).
# Ex : USHARE_IFACE=eth1
USHARE_IFACE=eth0

# Port to listen to
USHARE_PORT=49153

# Port to listen for Telnet connections
USHARE_TELNET_PORT=

# Directories to be shared (space or CSV list).
# Ex: USHARE_DIR=/dir1,/dir2
USHARE_DIR=/home/myusername/mymediafolder

# Use to override what happens when iconv fails to parse a file name.
USHARE_OVERRIDE_ICONV_ERR=yes

# Enable Web interface (yes/no)
ENABLE_WEB=yes

# Enable Telnet control interface (yes/no)
ENABLE_TELNET=no

# Use XboX 360 compatibility mode (yes/no)
ENABLE_XBOX=yes

# Use DLNA profile (yes/no)
# This is needed for PlayStation3 to work (among other devices)
ENABLE_DLNA=no</pre>
<p>&#8220;USHARE_NAME&#8221; is the display name of your share.<br />
&#8220;USHARE_IFACE&#8221; is the network interface uShare should listen to.<br />
&#8220;USHARE_PORT&#8221; this is the port the uShare server listens on. Make sure this is set to 49153.<br />
&#8220;USHARE_DIR&#8221; is the full path of the folder with your media.<br />
&#8220;ENABLE_WEB&#8221; to turns on the web interface. Make sure this is set to &#8216;yes&#8217;.<br />
&#8220;ENABLE_XBOX&#8221; is what enables Xbox 360 compatibility. Make sure it’s set to &#8216;yes&#8217;.</p>
<p>3. After finished editing the configuration file, save the file.</p>
<p>4. Edit the following file by issuing command below:<br />
<code>sudo gedit /etc/init.d/ushare</code></p>
<p>Find the following lines:</p>
<pre>start-stop-daemon --start --quiet --background --oknodo \
--make-pidfile --pidfile $PIDFILE \
--exec $DAEMON -- $USHARE_OPTIONS</pre>
<p>And change them to:</p>
<pre>start-stop-daemon --start --quiet --background --oknodo \
--make-pidfile --pidfile $PIDFILE \
--exec $DAEMON -- $USHARE_OPTIONS --xbox</pre>
<p>5. Restart uShare<br />
<code>sudo /etc/init.d/ushare stop</code><br />
<code>sudo /etc/init.d/ushare start</code></p>
<p>That&#8217;s pretty much it!</p>
<p>If you have a firewall running, open the firewall connection to your Xbox ip address.</p>
<p>The web interface is available at:<br />
http://your.servers.ip.address:49153/web/ushare.html</p>
<p><strong>Xbox 360 Settings</strong></p>
<p>For your Xbox 360 configuration, make sure they are able to connect to your home network. Just set the networking options in the &#8220;Settings&#8221; blade. You can set the networking options to be automatic, or manual by the simplest settings of the ip address, subnet mask and gateway.</p>
<p><strong>Viewing Your Media</strong></p>
<p>Go to the &#8220;Media&#8221; blade on your Xbox 360 Dashboard. Open your media (Music, Video or Picture). The uShare (or any other name you&#8217;ve given in the uShare config) should be available on the selection source.</p>
<p><a href="http://nazham.com/wp-content/uploads/2009/03/ushare1.jpg"><img class="size-medium wp-image-883 aligncenter" style="border: 0pt none;" title="uShare Xbox 360 Dashboard" src="http://nazham.com/wp-content/uploads/2009/03/ushare1-300x231.jpg" alt="uShare Xbox 360 Dashboard" width="300" height="231" /></a></p>
<p>Open your media in the uShare source. WMV files should not be any problem, but for AVI&#8217;s and any other types, the view-ability depends on the codecs installed on your Xbox.</p>
<p style="text-align: center;"><a href="http://nazham.com/wp-content/uploads/2009/03/ushare2.jpg"><img class="aligncenter size-medium wp-image-888" style="border: 0pt none;" title="uShare video" src="http://nazham.com/wp-content/uploads/2009/03/ushare2-300x194.jpg" alt="uShare video" width="300" height="194" /></a></p>
<p>Next project, wireless connectivity for the Xbox 360. <img src='http://nazham.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I currently have a 10 meter network cable running across the room from my Xbox to the router, which is ridiculous.</p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2009%2F03%2F09%2Fhow-to-share-media-between-xbox-360-and-linux%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<br />Related posts:<ol><li><a href='http://nazham.com/2009/12/02/how-to-check-for-open-ports-in-ubuntu/' rel='bookmark' title='Permanent Link: How to Check for Open Ports in Ubuntu'>How to Check for Open Ports in Ubuntu</a> <small>There are various ways to view for open ports on...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2009/03/09/how-to-share-media-between-xbox-360-and-linux/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>nazham.com on Twitter</title>
		<link>http://nazham.com/2008/12/25/nazhamcom-on-twitter/</link>
		<comments>http://nazham.com/2008/12/25/nazhamcom-on-twitter/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 14:49:14 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=670</guid>
		<description><![CDATA[
I finally embrace Twitter. Yeah, I know. Sometimes I&#8217;m a little bit behind on the social networking trends. So, I finally giving it a go today, and I&#8217;m liking it so far.

What is Twitter?
From Twitter.com:
Twitter is a service for friends, family, and co–workers to communicate and stay connected through the exchange of quick, frequent answers to [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/nazham" target="_blank"><img class="size-full wp-image-690 alignright" title="twitter9" src="http://nazham.com/wp-content/uploads/2008/12/twitter9.png" alt="twitter9" width="180" height="85" border="0" /></a><br />
I finally embrace <a href="http://twitter.com/nazham" target="_blank">Twitter</a>. Yeah, I know. Sometimes I&#8217;m a little bit behind on the social networking trends. So, I finally giving it a go today, and I&#8217;m liking it so far.</p>
<p><img class="size-full wp-image-678 alignnone" src="http://nazham.com/wp-content/uploads/2008/12/twitter_logo_s.png" alt="Twitter" width="175" height="41" /></p>
<p><strong>What is Twitter?</strong><br />
From <a href="http://twitter.com" target="_blank">Twitter.com</a>:</p>
<blockquote><p>Twitter is a service for friends, family, and co–workers to communicate and stay connected through the exchange of quick, frequent answers to one simple question: <strong>What are you doing?</strong><br />
Because even basic updates are meaningful to family members, friends, or colleagues—especially when they’re timely.<br />
With Twitter, you can stay hyper–connected to your friends and always know what they’re doing. Or, you can stop following them any time. You can even set quiet times on Twitter so you’re not interrupted.<br />
<strong>Twitter puts you in control</strong> and becomes a modern antidote to information overload.</p></blockquote>
<p>From <a href="http://en.wikipedia.org/wiki/Twitter" target="_blank">wiki</a>:</p>
<blockquote><p>Twitter is a free social networking and micro-blogging service that allows its users to send and read other users&#8217; updates (otherwise known as tweets), which are text-based posts of up to 140 characters in length.<br />
Updates are displayed on the user&#8217;s profile page and delivered to other users who have signed up to receive them. Senders can restrict delivery to those in their circle of friends (delivery to everyone being the default). Users can receive updates via the Twitter website, SMS, RSS, or email, or through an application.</p></blockquote>
<p>Sometimes things are better explained in sight and sound media. So, here&#8217;s a video on <a href="http://www.commoncraft.com/twitter" target="_blank">Twitter in Plain English</a>, from <a href="http://www.commoncraft.com/" target="_blank">CommonCraft</a>.</p>
<p><object width="425" height="344" data="http://www.youtube.com/v/ddO9idmax0o&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/ddO9idmax0o&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p><a href="http://uk.youtube.com/watch?v=ddO9idmax0o" target="_blank">Twitter in Plain English</a></p>
<p>I&#8217;m very new in Twitter. It would be great if you guys could share your experience. Any tips? Any cool Twitter client apps (Windows, Mac, Linux, Firefox, etc)? Any good interesting tweets to follow? Please, do let us know. <img src='http://nazham.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2008%2F12%2F25%2Fnazhamcom-on-twitter%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2008/12/25/nazhamcom-on-twitter/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Pretty Looking STC Livebox Router</title>
		<link>http://nazham.com/2008/12/02/pretty-looking-stc-livebox-router/</link>
		<comments>http://nazham.com/2008/12/02/pretty-looking-stc-livebox-router/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 12:17:45 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Wireless Router]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=585</guid>
		<description><![CDATA[Usually router looks ugly. They&#8217;re boxy looking and has only monochromatic color with a splash of black. But a few days ago I stumbled upon a fellow blogger&#8217;s post (credit to Pinoy Web Surfer), about a prettiest router round. Check out the design below.
The router, STC Livebox Router, is from Saudi Telecom.


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Usually router looks ugly. They&#8217;re boxy looking and has only monochromatic color with a splash of black. But a few days ago I stumbled upon a fellow blogger&#8217;s post (credit to <a href="http://pinoywebsurfer.blogspot.com/2008/11/prettiest-router-around.html" target="_blank">Pinoy Web Surfer</a>), about a prettiest router round. Check out the design below.<br />
<div class="ngg-galleryoverview" id="ngg-gallery-16-585">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://nazham.com/2008/12/02/pretty-looking-stc-livebox-router/?show=slide">
			[Show as slideshow]		</a>
	</div>

	
	<!-- Thumbnails -->
		
	<div id="ngg-image-50" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://nazham.com/wp-content/gallery/prettyrouter/prettyrouter1.png" title="STC Livebox Router" class="thickbox" rel="set_16" >
								<img title="STC Livebox Router" alt="STC Livebox Router" src="http://nazham.com/wp-content/gallery/prettyrouter/thumbs/thumbs_prettyrouter1.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-49" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://nazham.com/wp-content/gallery/prettyrouter/prettyrouter2.png" title="STC Livebox Router" class="thickbox" rel="set_16" >
								<img title="STC Livebox Router" alt="STC Livebox Router" src="http://nazham.com/wp-content/gallery/prettyrouter/thumbs/thumbs_prettyrouter2.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-48" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://nazham.com/wp-content/gallery/prettyrouter/prettyrouter3.png" title="STC Livebox Router" class="thickbox" rel="set_16" >
								<img title="STC Livebox Router" alt="STC Livebox Router" src="http://nazham.com/wp-content/gallery/prettyrouter/thumbs/thumbs_prettyrouter3.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>

<br />
The router, <a href="http://cagninadesign.com/" target="_blank">STC Livebox Router</a>, is from Saudi Telecom.</p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2008%2F12%2F02%2Fpretty-looking-stc-livebox-router%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2008/12/02/pretty-looking-stc-livebox-router/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Protect Your Wordpress Directory from Public Browsing</title>
		<link>http://nazham.com/2008/11/10/protect-your-wordpress-directory-from-public-browsing/</link>
		<comments>http://nazham.com/2008/11/10/protect-your-wordpress-directory-from-public-browsing/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 14:59:06 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=518</guid>
		<description><![CDATA[Found a really good Wordpress security tips a while ago:
Directories should not be left open for public browsing.
There is a potential problem letting people know what plug-ins you have, or what versions they are. If there is some known exploit that is linked to a plug-in, it could be easy enough for someone to use [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Found a really good <a href="http://www.noupe.com/how-tos/wordpress-security-tips-and-hacks.html" target="_blank">Wordpress security tips</a> a while ago:</p>
<p><strong>Directories should not be left open for public browsing.</strong></p>
<p>There is a potential problem letting people know what plug-ins you have, or what versions they are. If there is some known exploit that is linked to a plug-in, it could be easy enough for someone to use it to their advantage.</p>
<p>To test whether your site is vulnerable to this issue, just go to http://&lt;your_site&gt;/wp-content/plugins<br />
Your site SHOULDN&#8217;T be listing all the plug-ins available on your site.</p>
<p>It&#8217;s fairly simple to protect your Wordpress installation from public browsing:<br />
1. Make an empty wp-content/plugins/index.html file<br />
Or<br />
2. just add this line in your .htaccess file in your root:<br />
<code>Options All -Indexes</code></p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2008%2F11%2F10%2Fprotect-your-wordpress-directory-from-public-browsing%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2008/11/10/protect-your-wordpress-directory-from-public-browsing/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Cleaning up your Ubuntu Filesystem using FSlint</title>
		<link>http://nazham.com/2008/10/23/cleaning-up-your-ubuntu-filesystem-using-fslint/</link>
		<comments>http://nazham.com/2008/10/23/cleaning-up-your-ubuntu-filesystem-using-fslint/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 15:08:38 +0000</pubDate>
		<dc:creator>nazham</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[FSlint]]></category>

		<guid isPermaLink="false">http://nazham.com/?p=422</guid>
		<description><![CDATA[FSlint is a utility to find and clean various forms of unwanted/junk/lint files on your Ubuntu filesystem. For example, one form of unwanted files it finds is duplicate files, bad names, temporary files, files with bad symlinks, empty directory, and others.
To install:
sudo apt-get install fslint
Using Fslint:
If you want to open goto Applications—>System Tools—>FSlint
Screenshot:


Related posts:How to [...]

Related posts:<ol><li><a href='http://nazham.com/2009/12/02/how-to-check-for-open-ports-in-ubuntu/' rel='bookmark' title='Permanent Link: How to Check for Open Ports in Ubuntu'>How to Check for Open Ports in Ubuntu</a> <small>There are various ways to view for open ports on...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pixelbeat.org/fslint/" target="_blank">FSlint</a> is a utility to find and clean various forms of unwanted/junk/lint files on your Ubuntu filesystem. For example, one form of unwanted files it finds is duplicate files, bad names, temporary files, files with bad symlinks, empty directory, and others.</p>
<p>To install:<br />
<code>sudo apt-get install fslint</code></p>
<p>Using Fslint:<br />
If you want to open goto Applications—>System Tools—>FSlint</p>
<p>Screenshot:<br />

<a href="http://nazham.com/wp-content/gallery/fslint/fslint-228.png" title="FSlint Screenshot" class="thickbox" rel="singlepic29" >
	<img class="ngg-singlepic" src="http://nazham.com/wp-content/plugins/nextgen-gallery/nggshow.php?pid=29&amp;width=500&amp;height=300&amp;mode=" alt="FSlint Screenshot" title="FSlint Screenshot" />
</a>
</p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fnazham.com%2F2008%2F10%2F23%2Fcleaning-up-your-ubuntu-filesystem-using-fslint%2F&amp;layout=standard&amp;show_faces=true&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:px; height:px"></iframe>

<br />Related posts:<ol><li><a href='http://nazham.com/2009/12/02/how-to-check-for-open-ports-in-ubuntu/' rel='bookmark' title='Permanent Link: How to Check for Open Ports in Ubuntu'>How to Check for Open Ports in Ubuntu</a> <small>There are various ways to view for open ports on...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://nazham.com/2008/10/23/cleaning-up-your-ubuntu-filesystem-using-fslint/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
