<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>flipcore</title>
	
	<link>http://flipcore.com</link>
	<description>rm -rf /dev/internet</description>
	<pubDate>Sat, 12 Jul 2008 20:27:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/flipcore" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>VMware Player: Make it faster</title>
		<link>http://flipcore.com/2008/07/vmware-player-make-it-faster/</link>
		<comments>http://flipcore.com/2008/07/vmware-player-make-it-faster/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 20:17:14 +0000</pubDate>
		<dc:creator>fouad</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://flipcore.com/?p=5</guid>
		<description><![CDATA[
I use vmware a lot for development and networking experimentation&#8217;s. My system is getting very slow when 4 instances of vmware are trying to access (destroy?) the hard drive. Recently one of my coworker told me that was possible to speed up vmware by 40%. A very interesting tuning , it avoided me to buy [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="float: left;" src="http://www.xconomy.com/wordpress/wp-content/images/2007/09/vmware_180.jpg" alt="" width="180" height="180" /></p>
<p>I use vmware a lot for development and networking experimentation&#8217;s. My system is getting very slow when 4 instances of vmware are trying to access (destroy?) the hard drive. Recently one of my coworker told me that was possible to speed up vmware by 40%. A very interesting tuning , it avoided me to buy a new computer <img src='http://flipcore.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
The principle of this tuning is to use the RAM as the temporary directory.<br />
<br/><br/><br/><br />
Step 1: Edit VM config file</p>
<p>The file is usually located at /etc/vmware/config<br />
Edit the file and make sure you have this line in it</p>
<pre>tmpDirectory = "/dev/shm"
</pre>
<p>Step 2: Mounting /dev/shm</p>
<p>Edit /etc/fstab and add the following line.</p>
<pre>tmpfs                   /dev/shm                tmpfs   defaults,size=1G,noatime        0 0</pre>
<p>I&#8217;m getting really good results by setting the size of the partition as the same size of the ram I have.</p>
<p>Step 3: Mount and Run</p>
<p>Now mount the partition and give it shot.<br />
You will see a huge difference.</p>
<p>You may have some other tricks to make it smoking faster, please share it in the comment section!</p>
]]></content:encoded>
			<wfw:commentRss>http://flipcore.com/2008/07/vmware-player-make-it-faster/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to use NDISWRAPPER</title>
		<link>http://flipcore.com/2008/07/how-to-use-ndiswrapper/</link>
		<comments>http://flipcore.com/2008/07/how-to-use-ndiswrapper/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 11:45:52 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://flipcore.com/?p=4</guid>
		<description><![CDATA[NDISWRAPPER is a program used to wrap windows drivers to the linux kernel. This makes it easy to use windows XP drivers on a Linux PC.
I will show you how to install the bt voyager drivers using NDISWRAPPER:
Step 1 - Dowloaded and installed latest Bt voyager drivers from BT&#8217;s website on my windows box. Once [...]]]></description>
			<content:encoded><![CDATA[<p>NDISWRAPPER is a program used to wrap windows drivers to the linux kernel. This makes it easy to use windows XP drivers on a Linux PC.</p>
<p>I will show you how to install the bt voyager drivers using NDISWRAPPER:</p>
<p>Step 1 - Dowloaded and installed latest Bt voyager drivers from BT&#8217;s website on my windows box. Once installed I went into program files/BT VOYAGER/ folder and copied all over to my ubuntu box.</p>
<p>Step 2 - Make sure your Voyager 1055 device is connected to your ubuntu box. Installed latest ndiswrapper-1.9 from hardy&#8217;s repos.</p>
<p>Step -3 - In terminal  type following once you are in folder where you copied the BT voyager files to.<br />
Code:</p>
<p>sudo ndiswrapper -i bcmrndis.inf</p>
<p>don&#8217;t worry if you get invalid error. just carry on!</p>
<p>Step -4 - Run<br />
Code:</p>
<p>ndiswrapper -l</p>
<p>, it is &#8216;ell&#8217; not one</p>
<p>Step -5 - copy files over<br />
Code:</p>
<p>sudo cp -v  usb8023.sys RNDISMP.sys /etc/ndiswrapper/bcmrndis/</p>
<p>Step -6 - Run again<br />
Code:</p>
<p>ndiswrapper -l</p>
<p>and then<br />
Code:</p>
<p>sudo modprobe ndiswrapper</p>
<p>Step -7 - create new file -<br />
Code:</p>
<p>sudo gedit /etc/udev/rules.d/99-custom.rules</p>
<p>Step -8 - copy paste the following:<br />
#START**<br />
BUS==&#8221;usb&#8221;,<br />
SYSFS{idProduct}==&#8221;0715&#8243;,<br />
SYSFS{idVendor}==&#8221;1690&#8243;,<br />
RUN+=&#8221;/bin/sh -c &#8216;echo 1 &gt; /sys/$devpath/device/bConfigurationValue&#8217;&#8221;<br />
#END**</p>
<p>then save and exit</p>
<p>Unplug your adapter and plug it back. Everything works hopefully for you as well.</p>
<p>configure your wireless using network manager and then off you go.</p>
<p>If you want you can make ndiswrapper load on startup with:</p>
<p>$ sudo ndiswrapper -m</p>
]]></content:encoded>
			<wfw:commentRss>http://flipcore.com/2008/07/how-to-use-ndiswrapper/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SSH Pimping</title>
		<link>http://flipcore.com/2008/07/ssh-pimping/</link>
		<comments>http://flipcore.com/2008/07/ssh-pimping/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 08:59:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://flipcore.com/?p=3</guid>
		<description><![CDATA[X11 Fowarding
X11 forwarding is an amazing option. You can run pretty much any application remotely. To do that it&#8217;s very simple. You only need to connect with the switch -X.
fouad@kungfu:~$ ssh -X user@remote_ip
[fouad@monk ~]$ gedit
One thing you want to verify is to assure that X11 Forwarding is enabled on the other hand.
Magic! Magic!
Running a remote [...]]]></description>
			<content:encoded><![CDATA[<h2>X11 Fowarding</h2>
<p>X11 forwarding is an amazing option. You can run pretty much any application remotely. To do that it&#8217;s very simple. You only need to connect with the switch -X.</p>
<blockquote><p>fouad@kungfu:~$ ssh -X user@remote_ip<br />
[fouad@monk ~]$ gedit</p></blockquote>
<p>One thing you want to verify is to assure that X11 Forwarding is enabled on the other hand.</p>
<p>Magic! Magic!</p>
<h2>Running a remote command</h2>
<p>Let say you want to run a certain command and you also need to pipe it to local command, ssh gives you a way to accomplish it.</p>
<blockquote><p>fouad@kungfu:~$ ssh fouad@monk &#8216;df -h&#8217; | grep /boot<br />
/dev/sda1              99M   46M   49M  49% /boot<br />
fouad@kungfu:~$</p></blockquote>
<h2>Connecting password less</h2>
<p>This is a secure way to login to a remote machine without getting asked for a password.</p>
<p>Step 1: Generating a key</p>
<blockquote><p>fouad@kungfu:~$ ssh-keygen -t dsa -f .ssh/id_dsa</p></blockquote>
<p>You will be asked to provide a a pass phrase.<br />
You can leave it blank if you want to.</p>
<p>Step 2: Setup the remote server<br />
Many ways can be used to transfer the file, I personally prefer doing this<br />
by scp.</p>
<blockquote><p>fouad@kungfu:~$ scp .ssh/id_dsa.pub username@remote_ip:~/.ssh/id_dsa.pub</p></blockquote>
<p>Once the transfer completed , logon to your remote server and follow this steps.</p>
<blockquote><p>fouad@monk: cd .ssh<br />
fouad@monk: cat id_dsa.pub &gt;&gt; authorized_keys<br />
fouad@monk: chmod 640 authorized_keys</p></blockquote>
<p>We don&#8217;t need the id_dsa.pub anymore , you can remove it.<br />
Now you can disconnect and reconnect without having to put your password.<br />
This can save you alot of time if you have to frequently reconnect to a server or to many servers.</p>
<blockquote><p>fouad@kungfu:~$ ssh remote_ip<br />
Last login: Tue Jul  1 06:15:54 2008 from 192.168.1.106<br />
[fouad@monk ~]$ uname -a<br />
Linux monk 2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:49:24 EDT 2008 i686 i686 i386 GNU/Linux<br />
[fouad@monk ~]$</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://flipcore.com/2008/07/ssh-pimping/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
