<?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>Haiders WebSpace &#187; Linux</title>
	<atom:link href="http://blog.creativeitp.com/category/posts-and-articles/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.creativeitp.com</link>
	<description>Let&#039;s talk about IT</description>
	<lastBuildDate>Sat, 27 Feb 2010 13:15:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Share Windows Internet Connection with Linux</title>
		<link>http://blog.creativeitp.com/posts-and-articles/windows/share-windows-internet-connection-with-linux/</link>
		<comments>http://blog.creativeitp.com/posts-and-articles/windows/share-windows-internet-connection-with-linux/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 20:16:37 +0000</pubDate>
		<dc:creator>Haider al-Khateeb</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.creativeitp.com/?p=301</guid>
		<description><![CDATA[This article is for you if you have internet connection in your Windows and would like to share it with a Linux box as well. To do that your windows machine should have two network cards connected, one for the internet service and the other one to connect to your other machine or to a [...]]]></description>
			<content:encoded><![CDATA[<p>This article is for you if you have internet connection in your Windows and would like to share it with a Linux box as well. To do that your windows machine should have two network cards connected, one for the internet service and the other one to connect to your other machine or to a hub/switch if you want to share it with more computers.</p>
<p><span id="more-301"></span><br />
Connect the cables. Once done, you should first enable Internet Connection Sharing on your Windows machine. To do that, right-click your Internet connection and select &#8220;<b>Properties</b>&#8220;. Then click the &#8220;<b>Advanced</b>&#8221; tab. Now simply put a tick on the following option:</p>
<p>&#8220;<i>Allow other network users to connect through this computer&#8217;s Internet connection</i>&#8221;</p>
<p>This should give your Network card the following static IP address: <b>192.168.0.1</b>. This address will represent the gateway address for the other computers in your LAN to connect to the Internet. </p>
<p>Now, move to your Linux box and use the following command to give it an IP address and a Subnet Mask:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ifconfig</span> eth0 192.168.0.131 netmask 255.255.255.0</pre></div></div>

<p>The following command is then used to set the default gateway</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">route add <span style="color: #660033;">-net</span> default gw 192.168.0.1</pre></div></div>

<p>Finally, you will need to update your Linux DNS servers file. Get the two DNS servers IPs by typing<br />
&#8220;<b>Ipconfig /all</b>&#8221; In the command prompt of your Windows machine, and then add them to &#8220;<b>/etc/resolv.conf</b>&#8221; in your Linux using your favorite editor. For instance, to open the file with nano use the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>resolv.conf</pre></div></div>

<p>That’s all, try to test the connection between the two computers by pinging their IP addresses and then test your DNS configuration with any of the following commands from your Linux box:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">host google.com
&nbsp;
nslookup google.com
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">ping</span> google.com</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.creativeitp.com/posts-and-articles/windows/share-windows-internet-connection-with-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install BackTrack in VMware Workstation</title>
		<link>http://blog.creativeitp.com/posts-and-articles/linux/install-backtrack-in-vmware-workstation/</link>
		<comments>http://blog.creativeitp.com/posts-and-articles/linux/install-backtrack-in-vmware-workstation/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 21:03:15 +0000</pubDate>
		<dc:creator>Haider al-Khateeb</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.creativeitp.com/?p=277</guid>
		<description><![CDATA[You first need to download BackTrack’s VMWare Image for the final available release from the following link: http://www.backtrack-linux.org/downloads/ At the time of writing this post the final release is BackTrack 4 so the download gave me the following zip file: bt4-final-vm.zip Now we should do the following: First unzip the file. The result is a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.creativeitp.com/wp-content/uploads/2010/02/BackTrack4-Final-2010-02-07-03-15-30.png" target="_blank"><img src="http://blog.creativeitp.com/wp-content/uploads/2010/02/BackTrack4-Final-2010-02-07-03-15-30-300x225.png" alt="" title="BackTrack4-Final-2010-02-07" width="300" height="225" class="aligncenter size-medium wp-image-292" /></a></p>
<p>You first need to download BackTrack’s VMWare Image for the final available release from the following link:</p>
<p><a href="http://www.backtrack-linux.org/downloads/" target="_blank">http://www.backtrack-linux.org/downloads/</a></p>
<p>At the time of writing this post the final release is BackTrack 4 so the download gave me the following zip file:</p>
<p><b>bt4-final-vm.zip</b></p>
<p>Now we should do the following:</p>
<p><span id="more-277"></span></p>
<ol>
<li> First unzip the file. The result is a folder called: <b>BackTrack4-Final</b><br />
</p>
<li> Move <b>BackTrack4-Final</b> and its contents to the Virtual Machines folder created for you by VMware when you first installed it. Under Windows 7 it is located at:<br />
C:\Users\{Your User Name}\Documents\Virtual Machines<br />
</p>
<li> Run VMware Workstation<br />
</p>
<li> From the menu bar, select <b>File</b> &#8211;> <b>Open</b> and navigate to the <b>BackTrack4-Final</b> folder. Inside the folder you should find: <b>BackTrack4-Final.vmx</b>. Open it.<br />
</p>
<li> Now that the image is loaded into your VMware Desktop, click: <b>Power on this virtual machine</b>.<br />
</p>
<li> Most likely, you will get the following dialog:
<p>&#8220;This virtual machine may have been moved or copied.</p>
<p>In order to configure certain management and networking features, VMware Workstation needs to know if you moved this virtual machine or if you copied it.&#8221;</p>
<p>Choose <b>I copied it</b> and proceed.<br />
</p>
<li> If everything goes well, and it should, BackTrack will ask you to log in. The username will be <b>root</b> and the password is <b>toor</b>.<br />
</p>
<li> Once logged in as a root, type <b>startx</b> to run the graphical interface.<br />
</p>
<li> The internet/network is not connected by default in BackTrack, to start it run the Konsole and enter the <b>start-network</b> command.<br />
</p>
<li> If that did not work, open <b>Wicd manager</b> (K menu  &#8211;> Internet &#8211;> Wicd manager) and click <b>Connect</b>. The status bar should show something like:
<p><b>Connected to wired network (IP: xxx.xxx.xxx.xxx)</b></ol>
<p>If you get that, it means you connected BackTrack to the network successfully! Well done</p>
<p>At the end, make sure  you have the latest kernel sources by running the following commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> linux-source
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">tar</span> jxpf linux-source-<span style="color: #7a0874; font-weight: bold;">&#123;</span>version<span style="color: #7a0874; font-weight: bold;">&#125;</span>.tar.bz2
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> linux-source-<span style="color: #7a0874; font-weight: bold;">&#123;</span>version<span style="color: #7a0874; font-weight: bold;">&#125;</span> linux
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> linux
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">zcat</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>config.gz <span style="color: #000000; font-weight: bold;">&gt;</span> .config
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">make</span> scripts
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">make</span> prepare</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.creativeitp.com/posts-and-articles/linux/install-backtrack-in-vmware-workstation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
