<?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>PacketFOG</title>
	<atom:link href="http://www.packetfog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.packetfog.com</link>
	<description>Internet and Computer Tech Blog</description>
	<lastBuildDate>Tue, 03 Jan 2012 06:42:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Low Orbit Ion Cannon</title>
		<link>http://www.packetfog.com/low-orbit-ion-cannon/</link>
		<comments>http://www.packetfog.com/low-orbit-ion-cannon/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 06:17:15 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Hack Tools]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=87</guid>
		<description><![CDATA[Seems the worlds a buzz about the low orbit ion cannon. Even the FBI is all over it, as if it was a wepon of mass destruction. The Low Orbit Ion Cannon (LOIC) is a great peice of open source &#8230; <a href="http://www.packetfog.com/low-orbit-ion-cannon/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Seems the worlds a buzz about the low orbit ion cannon. Even the FBI is all over it, as if it was a wepon of mass destruction.   The Low Orbit Ion Cannon (LOIC) is a great peice of open source software but it is a perfect example of how a bit of information in the wrong hands can be big trouble.</p>
<p>First the FBI &#8211; i cant beleave how there are kids sitting in jail right now that the FBI has put there becuase they downloaded and used the LOIC, and what are they facing? 15 years!! You know how many times I get d-dosed and the provider says &#8220;Sorry for your luck, welcome to the internet&#8221;</p>
<p>Second are the script kiddies &#8211; How do i know they are script kiddies? They downloaded HACKING tools that are open soruce, then complain their antiviruse say its a viruse.   READ the source code!</p>
<p>For those of you wanting to check it out goto http://sourceforge.net/projects/loic/</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Flow-orbit-ion-cannon%2F&amp;title=Low%20Orbit%20Ion%20Cannon" id="wpa2a_2"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/low-orbit-ion-cannon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MythTV on VMWARE &#8211; Debugging</title>
		<link>http://www.packetfog.com/mythtv-on-vmware-debugging/</link>
		<comments>http://www.packetfog.com/mythtv-on-vmware-debugging/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 20:23:57 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[MythTV]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=69</guid>
		<description><![CDATA[After installing on centos (see Centos Compile post) i had lots of dead locks. Here is the stetup i use to reproduce them . Run mythbackend to initialize the database (if not done so initially) mythbackend Setup xinitrc to launch &#8230; <a href="http://www.packetfog.com/mythtv-on-vmware-debugging/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After installing on centos (see <a href="http://www.packetfog.com/compile-mythtv-with-git-on-centos-6-x/" title="Compile MythTV on Centos">Centos Compile</a> post) i had lots of dead locks.  Here is the stetup i use to reproduce them .<br />
<span id="more-69"></span><br />
Run mythbackend to initialize the database (if not done so initially)<br />
<code>mythbackend</code></p>
<p>Setup xinitrc to launch a graphic front end<br />
<code><br />
echo twm \&#038; > ~/.xinitrc<br />
echo xterm >> ~/.xinitrc</code></p>
<p>Create Dummy Movie file for Config<br />
<code>touch /1.mpg</code><br />
Start XWindows</p>
<p><code>startx</code></p>
<p>In XTerm run mythtv-config</p>
<p><code>mythtv-config</code></p>
<p>Configure myth as follows</p>
<p>General &#8211; Next through everything<br />
Capture Card &#8211;  Create a DEMO capture card with the location of file:/1.mpg<br />
Video Sources &#8211; Create TEST setup as no grabber<br />
Channels &#8211; Add a channel, Name Callsigh test number 1 video source test<br />
Source Input &#8211; Configure input TEST with source Test default channel 1<br />
storage &#8211; Default Storage  /tmp</p>
<p>exit and save</p>
<p>In Shell start mythbackend and front eend</p>
<p><code><br />
mythbackend &#038;<br />
export DISPLAY=:0<br />
mythfrontend &#038;<br />
</code></p>
<p>Crash occurs at the begginging after pressing the left or right arrow. See console.</p>
<p>Copy of the VMWARE rared into 3 parts<br />
<a href="http://uploading.com/files/4m57e4m4/MythTest.part01.rar/">MythTest.part01.rar &#8211; 488.3 MB</a><br />
<a href="http://www.megaupload.com/?d=IPUKMW97">MythTest.part02.rar &#8211; 488.3 MB</a><br />
<a href="http://www.megaupload.com/?d=U0C3YCHR">MythTest.part03.rar &#8211; ~6MB</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Fmythtv-on-vmware-debugging%2F&amp;title=MythTV%20on%20VMWARE%20%26%238211%3B%20Debugging" id="wpa2a_4"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/mythtv-on-vmware-debugging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos Upgrade 6.0 to 6.2</title>
		<link>http://www.packetfog.com/centos-upgrade-6-0-to-6-2/</link>
		<comments>http://www.packetfog.com/centos-upgrade-6-0-to-6-2/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 05:23:08 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=49</guid>
		<description><![CDATA[To easly upgrade Centos 6.x to a newer 6.x simply issue the yum update reboot]]></description>
			<content:encoded><![CDATA[<p>To easly upgrade Centos 6.x to a newer 6.x simply issue the </p>
<p>yum update<br />
reboot</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Fcentos-upgrade-6-0-to-6-2%2F&amp;title=Centos%20Upgrade%206.0%20to%206.2" id="wpa2a_6"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/centos-upgrade-6-0-to-6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Canada&#8217;s multitude of choices for telephone service</title>
		<link>http://www.packetfog.com/canadas-multitude-of-choices-for-telephone-service/</link>
		<comments>http://www.packetfog.com/canadas-multitude-of-choices-for-telephone-service/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 16:00:31 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[Cell]]></category>
		<category><![CDATA[Canada]]></category>
		<category><![CDATA[Rang]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=58</guid>
		<description><![CDATA[I as speaking with some pople the other day about the mass amount of choices we have as canadians for cell phone service, and it astounds me that people beleave this to be true. I mean sure, every other commercial &#8230; <a href="http://www.packetfog.com/canadas-multitude-of-choices-for-telephone-service/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I as speaking with some pople the other day about the mass amount of choices we have as canadians for cell phone service, and it astounds me that people beleave this to be true.  I mean sure, every other commercial on the radio is a cell phone company trying to push its own cell phone plan, but the reality is the chouices are not so plentiful.</p>
<p><span id="more-58"></span></p>
<p>Every one knows of the big three Bell, Rogers and Telus.  Three completly differnt companies right? Wrong.  Telus and Bell have agreaments signed to share their tower space.  This means that they are dependent on each other because Teluses infrustructure is much stronger out west, and bells in central/eastern canada.  What does this mean? It means you wont find GREAT deals on those carriers, at least not long term ones!</p>
<p>So now we are down to two, Bell/Telus and Rogers.  But wait you say? There is Fido, Koodo and Solo? Try Rogers, Telus and Bell under a differnt name.  Thats right, each company started (or bought out) another company that looks and feels like a seperate company but in the end are the same guys!  Sure they have a differnt call center, and target a differnt audiance, but in the end it goes into the same pocket&#8230; but hey we have viriaty right?</p>
<p>The only true pioneers in this field are companies like Mobilicty and Wind Mobile.  They set up their own towers and if you ever compair their prices, they are out of this world&#8230;&#8230; But their network is small and thye have unlinited &#8220;HOME ZONES&#8221; because they have to pay the Big Three for coverage outside them.</p>
<p>So in the end Canadians have lots of choices for the same type of cell service and approximatly the same prices!  </p>
<p>PS: Ejoy the contracts!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Fcanadas-multitude-of-choices-for-telephone-service%2F&amp;title=Canada%26%238217%3Bs%20multitude%20of%20choices%20for%20telephone%20service" id="wpa2a_8"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/canadas-multitude-of-choices-for-telephone-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android E-Mail &#8211; To The Cloud</title>
		<link>http://www.packetfog.com/android-e-mail-to-the-cloud/</link>
		<comments>http://www.packetfog.com/android-e-mail-to-the-cloud/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 05:20:17 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=51</guid>
		<description><![CDATA[Had a question today &#8220;How do i add outlook emails into my android device&#8221;. Well the easiest way i could think of is to get a GMail account. By getting a Gmail account, you can add your other e-mail accounts &#8230; <a href="http://www.packetfog.com/android-e-mail-to-the-cloud/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Had a question today &#8220;How do i add outlook emails into my android device&#8221;.</p>
<p>Well the easiest way i could think of is to get a GMail account.  By getting a Gmail account, you can add your other e-mail accounts as an &#8220;import&#8221; feature, and setup alternative outgoing e-mail accounts and thus making your GMail a hub for all your incomming e-mail. To add these email accounts click on the Gear at the top right corner of your gmail screen, select Gmail Settings.  Once in the setting screen select the Import Account tab.<br />
<span id="more-51"></span><br />
You can leave outlook as is (as long as you check the Leave E-mail on the server button in Gmail, and it may not be a bad idea to leave the e-mails on the server for a few days in outlook) or you can switch over to IMAP view and have &#8220;read&#8221; e-mails synced.</p>
<p>But since Gmail is &#8220;free&#8221; and all android devices play well with GMail, its the best setup for a &#8220;cloud&#8221; email!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Fandroid-e-mail-to-the-cloud%2F&amp;title=Android%20E-Mail%20%26%238211%3B%20To%20The%20Cloud" id="wpa2a_10"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/android-e-mail-to-the-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating KEYS for OpenVPN Server on Windows</title>
		<link>http://www.packetfog.com/creating-keys-for-openvpn-server-on-windows/</link>
		<comments>http://www.packetfog.com/creating-keys-for-openvpn-server-on-windows/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 04:51:35 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=47</guid>
		<description><![CDATA[Ok so to create a CA for your openvpn here is what you do 0) install openvpn 1) drop to dos start run cmd enter 2) goto your openvpn dirctory cd &#8220;C:\Program Files (x86)\OpenVPN\easy-rsa 3) cd easy-rsa 4) create a &#8230; <a href="http://www.packetfog.com/creating-keys-for-openvpn-server-on-windows/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ok so to create a CA for your openvpn here is what you do<br />
<span id="more-47"></span><br />
0) install openvpn <img src='http://www.packetfog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
1) drop to dos </p>
<p>start<br />
run<br />
cmd<br />
enter</p>
<p>2) goto your openvpn dirctory<br />
cd &#8220;C:\Program Files (x86)\OpenVPN\easy-rsa</p>
<p>3) cd easy-rsa</p>
<p>4) create a vars.bat by using the sample<br />
copy vars.bat.sample vars.bat</p>
<p>5) customize vars.bat<br />
notepad vars.bat<br />
(if they are all jumped togeteh, launch wordpad and open the file from there)</p>
<p>Important field: set KEY_DIR=keys<br />
this is where all your keys will be put,  they will be prepended with HOME if you dont do Fully Qualified Path, remember where this goes<br />
near the bottom are some stuff that makes your certs look official</p>
<p>SAVE</p>
<p>6) back to command l in, run vars<br />
vars.bat</p>
<p>(nothing happens.. or so it seams)</p>
<p>7) clean out your key<br />
clean-all</p>
<p> <img src='http://www.packetfog.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> build-dh</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Fcreating-keys-for-openvpn-server-on-windows%2F&amp;title=Creating%20KEYS%20for%20OpenVPN%20Server%20on%20Windows" id="wpa2a_12"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/creating-keys-for-openvpn-server-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your Face Will Be Your Password</title>
		<link>http://www.packetfog.com/your-face-will-be-your-password/</link>
		<comments>http://www.packetfog.com/your-face-will-be-your-password/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 06:38:28 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=90</guid>
		<description><![CDATA[So i read the article &#8220;Trouble Remembering Passwords In Future Face Need&#8220;. I remember last year Toshiba had this for their laptops, along with alot of other companies. If memory serves a properly shaded picture of the owner was all &#8230; <a href="http://www.packetfog.com/your-face-will-be-your-password/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So i read the article &#8220;<a href="http://www.dailymail.co.uk/sciencetech/article-2080918/Trouble-remembering-passwords-In-future-face-need-.html" >Trouble Remembering Passwords In Future Face Need</a>&#8220;.  I remember last year Toshiba had this for their laptops, along with alot of other companies.  </p>
<p>If memory serves  a properly shaded picture of the owner was all you needed to unlock the computers.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Fyour-face-will-be-your-password%2F&amp;title=Your%20Face%20Will%20Be%20Your%20Password" id="wpa2a_14"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/your-face-will-be-your-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compile MythTV with GIT on Centos 6.x</title>
		<link>http://www.packetfog.com/compile-mythtv-with-git-on-centos-6-x/</link>
		<comments>http://www.packetfog.com/compile-mythtv-with-git-on-centos-6-x/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 20:16:00 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=66</guid>
		<description><![CDATA[I used the Centos NetInstall disk, pointing it to the 6.2 repos to save on updates later. Installed CENTOS using Minimal defalts. Once installed i installed Nano as i HATE VI but whatever you use is ok. Step 1 - &#8230; <a href="http://www.packetfog.com/compile-mythtv-with-git-on-centos-6-x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p></code>I used the Centos NetInstall disk, pointing it to the 6.2 repos to save on updates later.</p>
<p>Installed CENTOS using  Minimal defalts. Once installed i installed Nano as i HATE VI but whatever you use is ok.</p>
<p><!--[more]--></p>
<p><strong>Step 1 - Enable CentosPLUS, Repositories etc</strong><br />
<code>nano /etc/yum.repos.d/CentOS-Base.repo</code><br />
Under [CentosPlus] change Enable to 1, Save and Exit</p>
<p>Install EPEL and RPM Fusion</p>
<p><code><br />
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm<br />
rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/6/i386/rpmfusion-free-release-6-0.1.noarch.rpm<br />
</code></p>
<p>Update your installation and reboot<br />
<code><br />
yum -y update<br />
reboot<br />
</code></p>
<p><strong>Step 2 - Disable Nouvaeu</strong><br />
I guess this is optional but i need to disable Nouvaeu for nvidia drivers to work. soo</p>
<p><code><br />
nano /boot/grub/grub.conf<br />
</code><br />
Add the following to the end of the KERNEL line: rdblacklist=nouveau<br />
Next blacklist it and rebuild initrd<br />
<code><br />
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf<br />
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname  -r)-nouveau.img<br />
dracut /boot/initramfs-$(uname -r).img $(uname -r)<br />
reboot<br />
</code><br />
finally after reboot remove the driver (if installed)<br />
<code><br />
yum remove xorg-x11-drv-nouveau</code></p>
<p><strong>Step 3 - Dev tools and Prerequisits</strong><br />
Install the Dev tools to build Myth, and the prerequisits<br />
<code><br />
yum groupinstall 'Development Tools'<br />
yum -y install qt-devel lame-mp3x lame-devel qtwebkit-devel perl-Net-UPnP.noarch  perl-DBI perl-ExtUtils-MakeMaker  python-lxml yasm MySQL-python mysql-server qt-mysql libvdpau-devel alsa-lib-devel ccache<br />
</code></p>
<p>If you are going to be using the graphical front end (IE not Backend SLAVE only on this one) install X and setup the xinitrc file<br />
<code>yum install xorg-x11-xinit xorg-x11-server-Xorg  twm  xterm</code><br />
<strong>Step 4 - Download and Compile</strong><br />
<code></p>
<p>cd /usr/src<br />
git clone -b fixes/0.24 git://github.com/MythTV/mythtv.git mythtv<br />
cd mythtv/mythtv<br />
./configure<br />
</code></p>
<p>If everythign checks out</p>
<p><code><br />
make<br />
make install<br />
</code></p>
<p><strong>Step 5 - Config</strong><br />
Configure and start database<br />
<code><br />
cd database<br />
chkconfig mysqld --level 2345 on<br />
service mysqld start<br />
mysql < mc.sql<br />
</code></p>
<p>Setup Libraries</p>
<p><code><br />
echo /usr/local/lib64/ > /etc/ld.so.conf.d/locallib.conf<br />
echo /usr/local/lib/   >> /etc/ld.so.conf.d/locallib.conf<br />
ldconfig -v<br />
</code></p>
<p>Reboot</p>
<p><strong>Step 6 - Testing</strong><br />
Since MYTHTV keeps crashig on my i have it running in an VM environment, for testing i setup a basic config</p>
<p><strong>Once i get Myth stable on this install i will update with rest config rules</strong></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Fcompile-mythtv-with-git-on-centos-6-x%2F&amp;title=Compile%20MythTV%20with%20GIT%20on%20Centos%206.x" id="wpa2a_16"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/compile-mythtv-with-git-on-centos-6-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compile nVidia v256.53 on Kernel 3.1</title>
		<link>http://www.packetfog.com/compile-nvidia-v256-53-on-kernel-3-1/</link>
		<comments>http://www.packetfog.com/compile-nvidia-v256-53-on-kernel-3-1/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 23:35:18 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=79</guid>
		<description><![CDATA[As luck would have it my Asus board needs to run on v256 because anything higher the audio dies after an X reboot (See nVidia Asus Board Gefore 8330. But starting with kernel 3.0 it will no longer compile, so &#8230; <a href="http://www.packetfog.com/compile-nvidia-v256-53-on-kernel-3-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As luck would have it my Asus board needs to run on v256 because anything higher the audio dies after an X reboot (See <a href="http://www.packetfog.com/nvidia-asus-board-geforce-8300-hdmi-audio-fails/">nVidia Asus Board Gefore 8330</a>.</p>
<p>But starting with kernel 3.0 it will no longer compile, so out came the hacker in me and started hacking away at the files and i got it to work.  Not much modification needs to be made to get it to work actually. Most of it is just test to make sure the kernel is a hard-coded compatible one.</p>
<p>Here is how to do it<br />
<span id="more-79"></span></p>
<p>1) Download the driver<br />
<a href="http://us.download.nvidia.com/XFree86/Linux-x86_64/256.53/NVIDIA-Linux-x86_64-256.53.run"> v256.53 64x</a><br />
<a href="http://us.download.nvidia.com/XFree86/Linux-x86/256.53/NVIDIA-Linux-x85-256.53.run"> v256.53 32</a></p>
<p>2) make is executable<br />
<code>chmod a+x NVIDIA-Linux-i386-256.53.run</code></p>
<p>3) start the installation process with the &#8211;keep command line<br />
<code>./NVIDIA-Linux-i386-256.53.run --keep</code></p>
<p>4) when the License agrement hits, press CTRL+c to stop the installation</p>
<p>5)  Create a patch file in your fav editor (vi, nano, what ever)</p>
<pre>
diff -u NVIDIA-Linux-x86_64-256.53/kernel/conftest.sh kernel/conftest.sh
--- NVIDIA-Linux-x86_64-256.53/kernel/conftest.sh       2010-08-27 23:28:03.000000000 -0400
+++ kernel/conftest.sh  2011-12-30 18:17:02.927239154 -0500
@@ -76,10 +76,9 @@
 }

 build_cflags() {
-    BASE_CFLAGS="-D__KERNEL__ \
+    BASE_CFLAGS="-O2 -D__KERNEL__ \
 -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
 -nostdinc -isystem $ISYSTEM"
-
     if [ "$OUTPUT" != "$SOURCES" ]; then
         OUTPUT_CFLAGS="-I$OUTPUT/include2 -I$OUTPUT/include"
         if [ -f "$OUTPUT/include/generated/autoconf.h" ]; then
diff -u NVIDIA-Linux-x86_64-256.53/kernel/nv.c kernel/nv.c
--- NVIDIA-Linux-x86_64-256.53/kernel/nv.c      2010-08-27 23:28:03.000000000 -0400
+++ kernel/nv.c 2011-12-30 18:17:10.259238711 -0500
@@ -423,7 +423,6 @@
 static struct file_operations nv_fops = {
     .owner     = THIS_MODULE,
     .poll      = nv_kern_poll,
-    .ioctl     = nv_kern_ioctl,
 #if defined(HAVE_UNLOCKED_IOCTL)
     .unlocked_ioctl = nv_kern_unlocked_ioctl,
 #endif
diff -u NVIDIA-Linux-x86_64-256.53/kernel/nv-linux.h kernel/nv-linux.h
--- NVIDIA-Linux-x86_64-256.53/kernel/nv-linux.h        2010-08-27 23:28:03.000000000 -0400
+++ kernel/nv-linux.h   2011-12-30 18:17:06.935238932 -0500
@@ -34,6 +34,8 @@
 #  error This driver does not support 2.5 kernels!
 #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)
 #  define KERNEL_2_6
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 99)
+#  define KERNEL_2_6
 #else
 #  error This driver does not support development kernels!
 #endif
@@ -87,7 +89,7 @@
 #if !defined(KERNEL_2_4)
 #include
<linux/sched.h>            /* suser(), capable() replacement   */
 #include
<linux/moduleparam.h>      /* module_param()                   */
-#include
<linux/smp_lock.h>         /* kernel_locked                    */
+/*#include
<linux/smp_lock.h>         /* kernel_locked                    */
 #include <asm/tlbflush.h>           /* flush_tlb(), flush_tlb_all()     */
 #include <asm/kmap_types.h>         /* page table entry lookup          */
 #endif
</pre>
<p>6) patch your insatllation (where yourpatch.diff is the filename of the patch you just created)<br />
<code>patch -p0 < yourpatch.diff</code></p>
<p>7) run the nvidia installer<br />
<code>NVIDIA-Linux-x86_64-256.53/nvidia-installer</code></p>
<p> <img src='http://www.packetfog.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Continue as normal</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Fcompile-nvidia-v256-53-on-kernel-3-1%2F&amp;title=Compile%20nVidia%20v256.53%20on%20Kernel%203.1" id="wpa2a_18"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/compile-nvidia-v256-53-on-kernel-3-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nvidia &#8211; ASUS board GeForce 8300 &#8211; HDMI Audio Fails</title>
		<link>http://www.packetfog.com/nvidia-asus-board-geforce-8300-hdmi-audio-fails/</link>
		<comments>http://www.packetfog.com/nvidia-asus-board-geforce-8300-hdmi-audio-fails/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 23:23:55 +0000</pubDate>
		<dc:creator>JT</dc:creator>
				<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://www.packetfog.com/?p=77</guid>
		<description><![CDATA[I waited patiently for a fix from Nvidia but i dont think it will come. The problem After upgrading to nVidia driver 260.19.29, Everythign works great but after X closes the first time after a clean boot, audio dies. Apperntly &#8230; <a href="http://www.packetfog.com/nvidia-asus-board-geforce-8300-hdmi-audio-fails/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I waited patiently for a fix from Nvidia but i dont think it will come.  The problem</p>
<p>After upgrading to nVidia driver  260.19.29, Everythign works great but after X closes the first time after a clean boot, audio dies.  Apperntly im not the only one with this problem.  So i read and i read and found nothing.  </p>
<p>Basically<br />
For all drivers >= V260:<br />
* sound over HDMI is working exactly once after a reboot<br />
* if I try to restart X, im losing sound permanently until I reboot the machine</p>
<p>But:<br />
* if I stop X and exchange the driver by an old one (V195 or V256) WITHOUT rebooting, im getting back sound.</p>
<p>This does not work for any Driver >=260, swapping the driver back to one of these Versions still requires a reboot to get sound working again</p>
<p>No Solution? Only think you can do is run 256.53.</p>
<p>You can find it here</p>
<p>http://us.download.nvidia.com/XFree86/Linux-x86_64/256.53/NVIDIA-Linux-x86_64-256.53.run</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.packetfog.com%2Fnvidia-asus-board-geforce-8300-hdmi-audio-fails%2F&amp;title=Nvidia%20%26%238211%3B%20ASUS%20board%20GeForce%208300%20%26%238211%3B%20HDMI%20Audio%20Fails" id="wpa2a_20"><img src="http://www.packetfog.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.packetfog.com/nvidia-asus-board-geforce-8300-hdmi-audio-fails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

