<?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>Matt's Blog</title>
	<atom:link href="http://blog.mattsoft.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.mattsoft.net</link>
	<description>Hmm.. My finger points!</description>
	<lastBuildDate>Mon, 20 Feb 2012 11:41:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ventrilo Init Script</title>
		<link>http://blog.mattsoft.net/?p=277</link>
		<comments>http://blog.mattsoft.net/?p=277#comments</comments>
		<pubDate>Mon, 20 Feb 2012 11:06:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=277</guid>
		<description><![CDATA[I searched around a bit, but couldn&#8217;t find an init.d script for Ventrilo. I found a few, but they all either sucked, or didn&#8217;t work. So I picked the best one for a template and improved it. Save this file to /etc/init.d/ventrilo and use the command &#8220;service ventrilo start&#8221; to start the server.
#!/bin/sh
# Ventrilo script [...]]]></description>
			<content:encoded><![CDATA[<p>I searched around a bit, but couldn&#8217;t find an init.d script for Ventrilo. I found a few, but they all either sucked, or didn&#8217;t work. So I picked the best one for a template and improved it. Save this file to /etc/init.d/ventrilo and use the command &#8220;service ventrilo start&#8221; to start the server.</p>
<blockquote><p>#!/bin/sh<br />
# Ventrilo script init by Matthew Kemmerer<br />
# For ventrilo server v3.x</p>
<p>VENTPATH=/usr/bin/ventrilo</p>
<p>case &#8220;$1&#8243; in<br />
start)<br />
echo &#8220;Starting Ventrilo Server.&#8221;<br />
cd $VENTPATH<br />
./ventrilo_srv -d<br />
usleep 500000<br />
renice -5 `cat $VENTPATH/ventrilo_srv.pid`<br />
echo &#8220;Ventrilo Server Started&#8221;<br />
;;<br />
stop)<br />
echo &#8220;Shutting Down Ventrilo Server.&#8221;<br />
cd $VENTPATH<br />
kill `cat $VENTPATH/ventrilo_srv.pid`<br />
echo &#8220;Ventrilo Server Is Now Down&#8221;<br />
;;<br />
restart)<br />
echo &#8220;Restarting Ventrilo Server&#8230;&#8221;<br />
cd $VENTPATH<br />
kill `cat $VENTPATH/ventrilo_srv.pid`<br />
usleep 500000<br />
service ventrilo start<br />
echo &#8220;Ventrilo Server Restarted&#8221;<br />
;;<br />
status)<br />
cd $VENTPATH<br />
./ventrilo_status -c1 -t127.0.0.1<br />
;;<br />
*)<br />
echo &#8220;Usage: $0 {start|stop|restart}&#8221;<br />
exit 1<br />
esac<br />
exit 0</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=277</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>my idea to further improve multi-monitors</title>
		<link>http://blog.mattsoft.net/?p=271</link>
		<comments>http://blog.mattsoft.net/?p=271#comments</comments>
		<pubDate>Sun, 11 Dec 2011 14:07:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=271</guid>
		<description><![CDATA[a lot of great inventions come from people just filling a need. I have a need that I think would be a great invention to add to synergy. I&#8217;ve seen people describe synergy as a cross between vnc and a kvm switch. this idea kinda adds more vnc to the mix.
my current setup is 2 [...]]]></description>
			<content:encoded><![CDATA[<p>a lot of great inventions come from people just filling a need. I have a need that I think would be a great invention to add to synergy. I&#8217;ve seen people describe synergy as a cross between vnc and a kvm switch. this idea kinda adds more vnc to the mix.</p>
<p>my current setup is 2 computers, one linux and one windows. each computer has dual monitors. sometimes when I&#8217;m doing some programming on windows, I find myself really wanting a third screen to put up some code or document or something to look off while I do my work on the other 2 windows screens. usually, what I want to put up on the 3rd screen is something that can only be done on windows, so my 2 linux screens go to waste. the easiest solution for me is to grab my windows laptop and use that as a 5th screen. now it&#8217;s getting out of hand. I can only fit 3 screens on my desk as it is. vnc somehow has the answer.</p>
<p>here&#8217;s my idea. it&#8217;s a bit complicated to implement, so it probably wont be seen for a long time, if ever, but it would be an amazing piece of software. start with some kind of virtual screen driver. something that will add a virtual monitor to the system without actual hardware, but instead outputs only to a vnc server of sorts. the opposite system then connects to and displays that vnc server. it multiplies the number of screens you can have on your system, kinda like what a real kvm switch would do. if you have 2 screens and 2 systems, one screen on each, you could use hot keys to switch between dual monitors on each system without a kvm switch. with my current setup, I could turn my main linux screen into a 3rd windows screen, or the other way around. go from 4 to 6 or 8 screens without more monitors.</p>
<p>is there some way to possibly set this up manually? it would need some kind of vnc server that acts like a virtual video driver. they have something like this in virtualization servers already. I can vnc into the virtual systems running on my server, and they have a virtual display driver. on one of my virtual systems, the driver is called Cirrus Logic 5446 Compatible Graphics Adapter. could I add something like that driver to a system that&#8217;s not virtual and doesn&#8217;t have a host os to talk to. thanks for taking the time to read my thoughts.</p>
<p>EDIT, 30 minutes later: It was so hard to describe my idea, I didn&#8217;t think I&#8217;d even know what to search for, but I found a solution!! Check out this software http://www.zoneos.com/zonescreen.htm It installs a ZoneScreen Virtual Display Driver, and shows up in the display properties as another screen. It&#8217;s hidden of course. There&#8217;s no real display adapter, so no place to plug in a real monitor. It comes with a modified TightVNC server and client to run. I installed the driver and set up the 3rd screen and run the server on my windows xp system, then run the client on my fedora linux system with wine. Go to full screen, and it looks like I have 3 monitors on my windows system! More screen space for me to do my work. I love it!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=271</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>recent aquirements</title>
		<link>http://blog.mattsoft.net/?p=268</link>
		<comments>http://blog.mattsoft.net/?p=268#comments</comments>
		<pubDate>Sun, 11 Dec 2011 11:23:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=268</guid>
		<description><![CDATA[I was using someone elses wireless router for a while, but they took it to use, so I needed one. I got a used Linksys WRT610N. It supports dual band wireless N, which I think is the fastest connection available right now. Not that I need it, I don&#8217;t have anything that supports N. The [...]]]></description>
			<content:encoded><![CDATA[<p>I was using someone elses wireless router for a while, but they took it to use, so I needed one. I got a used Linksys WRT610N. It supports dual band wireless N, which I think is the fastest connection available right now. Not that I need it, I don&#8217;t have anything that supports N. The reason I got it, it has a 4 port gigabit switch build in. 2 devices in one, so I don&#8217;t have to spend more money in the future on a gigabit switch. The backbone of my network is extremely fast, but has a limited number of gigabit ports, which were all in use by servers and desktops. Setup only took a few minutes. First, I disable most of the router features, DHCP, NAT, and UPNP. This turns the wireless router into a wireless access point. Those features I disabled would only interfere with the existing network I&#8217;m plugging it into. Especially DHCP. If left enabled, it will only confuse the other computers and devices on the network, and loss of connectivity is very possible for devices not even using wifi. Next I set up the wireless secutiry, which is always the biggest pain of the whole thing. Once that&#8217;s done, it&#8217;s safe to plug into the network and start using it. The wireless access point plugs into the netgear managed switch stack, which plugs into the virtualization server running the router software, which finally plugs into the cable modem. All gigabit. Roughly 10 times faster than a standard home network.</p>
<p style="text-align: center;"><img class="aligncenter" title="Linksys WRT610N" src="/images/linksyswrt610n.jpg" alt="" width="382" height="252" /></p>
<p>Next, something a lot cheaper than a second hand wireless router. This camping stove is actually made out of a soda can. It weights only 11 grams, a few grams less than an empty soda can. You can use 91% rubbing alcohol or heet gas antifreeze. Both of which can be found at any gas station. 1oz of fuel lasts about 8 minutes, but only takes about 5 minutes to boil 2 cups of water. It fits nicely inside my small camping pot, and a full meal can be made in a few minutes with less than a shot glass of fuel. You&#8217;d think heet would smell bad and maybe make the food taste bad. Actually, when lit, heet has less of a smell than rubbing alcohol. I don&#8217;t smell much of anything after it burns out. Alcohol has a yellow/orange flame. Heet has a blue flame like pictured.</p>
<p style="text-align: center;"><img class="alignnone" title="alcohol stove" src="/images/alcoholstove.png" alt="" width="500" height="375" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=268</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes on cross-process communication</title>
		<link>http://blog.mattsoft.net/?p=263</link>
		<comments>http://blog.mattsoft.net/?p=263#comments</comments>
		<pubDate>Sat, 12 Nov 2011 21:04:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=263</guid>
		<description><![CDATA[In my search for the best way to communicate between processes (seperate exe&#8217;s), I&#8217;ve come across some interesting techniques. I&#8217;d like to highlight some of the features and downfalls of what I&#8217;ve found for future reference. This quest is just about over, as I&#8217;m finishing up my code for this project.
Sockets &#8211; The first method [...]]]></description>
			<content:encoded><![CDATA[<p>In my search for the best way to communicate between processes (seperate exe&#8217;s), I&#8217;ve come across some interesting techniques. I&#8217;d like to highlight some of the features and downfalls of what I&#8217;ve found for future reference. This quest is just about over, as I&#8217;m finishing up my code for this project.</p>
<p><strong>Sockets</strong> &#8211; The first method that comes to mind is to use a socket. TCP could be used for a stateful connection, or UDP to send information blindly and wait for a response. Localhost can be used for both sending and binding, which avoids hacks from over the network or the internet, but firewall exceptions will still need to be handled on some systems. None of this is very hard to do, but the down side of using a socket is the added overhead on the system. A single port or 2 may not sound like much, but TCP/UDP are complex protocols, which leads me to believe there&#8217;s a better way.</p>
<p><strong>Memory Map</strong> &#8211; A memory map is when an isolated chunk of memory is shared and accessible by multiple processes. I&#8217;ve had a prototype project of this working, and seems stable enough to use in the right situation, but timing is a price you&#8217;ll have to pay. App A can send information to the shared memory space, but app B doesn&#8217;t know of its existence until a timer is triggered to check it. If the receiving app isn&#8217;t actively checking the memory space for incoming data, the data will be stuck there clogging the mailbox, so to speak. In this case, your only 2 options are to overwrite the contents, or keep waiting.</p>
<p><strong>Subclassing</strong> &#8211; Subclassing is when a program inserts its own function in before the normal event handling. Let me try to explain this a little better. Say you click on a window, or type something into a text box. Those events get sent from the Windows OS into the program. Those events can be intercepted by subclassing, sorta like a man in the middle. As it sounds, there is a lot of power that can be harnessed using this method. Along with that power comes a lot of danger. If implemented improperly, your program can crash, or even the IDE (development environment) if you&#8217;re running it from there. I&#8217;ve found some great code by Paul Caton, on PlanetSourceCode.com, which doesn&#8217;t crash the IDE when stopping or pausing the project. I still have yet to see how it performs as part of my full Grow Control project, but I have high hopes. If it fails to meet my expectations, I may have to try moving the subclassing into a DLL or OCX to try preventing crashes while developing.</p>
<p>The second part of subclassing is SendMessage and WM_SETTEXT. This simulates sending an event to the app with a string. This can be captured by the subclass proc function before it makes it to the form. This is easy enough to do with a single line of code. The hard part was grabbing the string back from the captured event. I&#8217;ve uploaded my code to PlanetSourceCode, and below is the trick to getting the job done.</p>
<blockquote><p>l = lstrlen(lParam)<br />
If l Then<br />
Call CopyMemory(sString, lParam, l)<br />
PointerToString = StrConv(sString, vbUnicode)<br />
End If</p></blockquote>
<p><strong>Mutex</strong> &#8211; The subclassing method above is what I plan to use, but I think this is worth mentioning too. Mutex stands for mutual exclusion. It&#8217;s an api for creating a named lock. Only one mutex can be created with a unique name. (they can be shared, but that&#8217;s not what we&#8217;re going for here, so nevermind that.) It can&#8217;t send strings or commands for communication, but it is very useful for managing the number of instances of an app are allowed to run. Most of the code examples I found on the internet are missing a critical part. You must first run the ReleaseMutex api <em>before</em> CloseHandle. If the handle is only closed and ReleaseMutex isn&#8217;t used, the Mutex lock remains until the apps process is ended. This works out fine if you&#8217;re only intending to use it to allow a single instance, but it poses a problem if another app is trying to test the lock and not leaving it enforced. Use this api properly and it will prove to be extremely useful.</p>
<blockquote><p>Handle = CreateMutex(0&amp;, 1&amp;, Name)<br />
If Handle &lt;&gt; 0 Then<br />
If WaitForSingleObject(Handle, 0) = 0 Then<br />
MsgBox Handle<br />
ReleaseMutex Handle<br />
End If<br />
CloseHandle Handle<br />
End If</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=263</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new cable modem installed</title>
		<link>http://blog.mattsoft.net/?p=256</link>
		<comments>http://blog.mattsoft.net/?p=256#comments</comments>
		<pubDate>Tue, 30 Aug 2011 02:09:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=256</guid>
		<description><![CDATA[No more residential internet for me. I now have commercial cable internet. I have a new Motorola SurfBoard 6121. So far I&#8217;ve figured out that the modem supports gigabit, and it runs open source linux. I have gigabit ethernet from my desktop computer, into the non-blocking network switches, then from there into the server which [...]]]></description>
			<content:encoded><![CDATA[<p>No more residential internet for me. I now have commercial cable internet. I have a new Motorola SurfBoard 6121. So far I&#8217;ve figured out that the modem supports gigabit, and it runs open source linux. I have gigabit ethernet from my desktop computer, into the non-blocking network switches, then from there into the server which runs a linux router, then gigabit from the router built into the server, right into the cable modem. So my computer is pretty much connected into the modem at gigabit speed. This is the first time I&#8217;ve ever gotten the actual speed I&#8217;m paying for! The old cable internet was 15/3MB download/upload. I now have 8/2 and get better speed. I actually get 1000kbs download and 250kbs upload. Ping rates are about the same as before. 30ms to google.com and 20ms to mattsoft.net . Still waiting for the static ip&#8217;s to be set up. By plugging in an unknown mac address to the isp&#8217;s network, it gives me a residential ip, and testing shows incoming ports are still blocked using this ip. Once the static ip&#8217;s are set, there shouldn&#8217;t be any blocked ports anymore! I can use port 80 for a web server, 53 for a name server, email server, game servers, streaming servers.. whatever I want to set up will no longer be blocked. More news on the web server move tomorrow once I&#8217;m static.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=256</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>public/private keys on linux</title>
		<link>http://blog.mattsoft.net/?p=248</link>
		<comments>http://blog.mattsoft.net/?p=248#comments</comments>
		<pubDate>Thu, 11 Aug 2011 09:52:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=248</guid>
		<description><![CDATA[this is a quick reference guide for ssh public keys
public key - goes on the remote machine that you&#8217;ll be connecting to

~/.ssh/authorized_keys
chmod 700 .ssh
chmod 644 authorized_keys

private key - goes on your local system that you&#8217;ll be connecting from

~/.ssh/id_rsa
chmod 700 .ssh
chmod 600 id_rsa

generate a key:
ssh-keygen -t rsa
this will create 2 files

id_rsa &#8211; this file can be [...]]]></description>
			<content:encoded><![CDATA[<p>this is a quick reference guide for ssh public keys</p>
<p><strong>public key -</strong> goes on the remote machine that you&#8217;ll be connecting to</p>
<ul>
<li>~/.ssh/authorized_keys</li>
<li>chmod 700 .ssh</li>
<li>chmod 644 authorized_keys</li>
</ul>
<p><strong>private key -</strong> goes on your local system that you&#8217;ll be connecting from</p>
<ul>
<li>~/.ssh/id_rsa</li>
<li>chmod 700 .ssh</li>
<li>chmod 600 id_rsa</li>
</ul>
<p><strong>generate a key:</strong></p>
<blockquote><p>ssh-keygen -t rsa</p></blockquote>
<p><strong>this will create 2 files</strong></p>
<ol>
<li>id_rsa &#8211; this file can be left on the local machine</li>
<li>id_rsa.pub &#8211; this file can be copied to the remote machine&#8217;s authorized_keys file</li>
</ol>
<p>this line will install the public key into the remote system automatically</p>
<blockquote><p>ssh-copy-id -i ~/.ssh/id_rsa.pub username@host</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=248</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bandwidth shot down by isp</title>
		<link>http://blog.mattsoft.net/?p=239</link>
		<comments>http://blog.mattsoft.net/?p=239#comments</comments>
		<pubDate>Sat, 06 Aug 2011 06:47:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=239</guid>
		<description><![CDATA[imagine this. you&#8217;re paying your internet provider every month for them to provide your internet access, and netflix for their streaming service to the wii or pc or whatever. you go on hulu.com, justin.tv, youtube.com&#8230; all the normal sources for your internet entertainment. then a day comes along where your isp (the one you&#8217;re paying [...]]]></description>
			<content:encoded><![CDATA[<p>imagine this. you&#8217;re paying your internet provider every month for them to provide your internet access, and netflix for their streaming service to the wii or pc or whatever. you go on hulu.com, justin.tv, youtube.com&#8230; all the normal sources for your internet entertainment. then a day comes along where your isp (the one you&#8217;re paying good money for) sends you a letter saying &#8220;you use the internet to much and we&#8217;re shutting you down!&#8221; bull shit. I pay for the fastest broadband connection I can get in my area. I pay good money for it! <strong>who the hell are they to dictate what I can and cannot do on my internet connection!</strong> if I was breaking laws, I would have been shut down for that reason, but purely for bandwidth usage? money hungry corporate ass holes.</p>
<p>so here&#8217;s my current plan.. commercial internet has finally come down in price a little, and is somewhat reasonable. it costs about twice as much money for a slightly slower connection.. I&#8217;ll be on the same exact shared cable internet network, but without their crappy restrictions and blocked ports. it costs them $0 to set up my static ip, unblock the ports, and allow me to use the bandwidth I want, but they make double from me.</p>
<p>they want me to use less bandwidth? ok.. so now I&#8217;m downloading many gigs of backups from my webserver, and switching to an account with the same isp that will give me what should be truly &#8220;unlimited bandwidth&#8221;. I think they failed at that point, but they&#8217;re getting more money&#8230; so many reasons to call bull shit on them.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=239</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>some tips for fstab</title>
		<link>http://blog.mattsoft.net/?p=237</link>
		<comments>http://blog.mattsoft.net/?p=237#comments</comments>
		<pubDate>Wed, 03 Aug 2011 05:38:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=237</guid>
		<description><![CDATA[I&#8217;m installing centos 6 on my server, like I said in my previous post. I was working on it last night and some bad things happened. I did get samba working. all it needed was 2 reboots&#8230; but anyway, I had an ext3 partition for /files then my virtual disks and iso&#8217;s and mounted hard [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m installing centos 6 on my server, like I said in my previous post. I was working on it last night and some bad things happened. I did get samba working. all it needed was 2 reboots&#8230; but anyway, I had an ext3 partition for /files then my virtual disks and iso&#8217;s and mounted hard drives and everything will go under that. during one of my reboots, the partition got corrupted somehow. it was still there but came up unknown and lost the ext3 format. that&#8217;s fine, there wasn&#8217;t much on it yet anyway. what went so horribly wrong was the drive letters decided to reorder themselves, putting my main boot drive at /dev/sdd, instead of /dev/sda. this changed the letter for every drive I have installed in the system. here&#8217;s how to fix it using a UUID (universally unique identifier). first type this command:</p>
<blockquote><p>ls -l /dev/disk/by-uuid</p></blockquote>
<p>this will list the UUID for each partition on each drive. in your /etc/fstab file, normally you would type /dev/sda1 to identify the drive and partition. instead, here is an example line using UUID:</p>
<blockquote><p>UUID=73209d0d-0a63-4553-8c87-1c93428c44b8 /files    ext3    defaults        1 2</p></blockquote>
<p>now, if the drive letters change, the UUID will still be the same and be updated to point to the same drive.</p>
<p>here&#8217;s another quick tip to mounting a windows or samba share to your filesystem:</p>
<blockquote><p>//hostname/sharename/          /media/sharename            cifs    username=user,password=pass   0 0</p></blockquote>
<p>that line goes in /etc/fstab then just run the mount command to finish:</p>
<blockquote><p>mount /media/sharename</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=237</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>upgrading home server to centos 6</title>
		<link>http://blog.mattsoft.net/?p=234</link>
		<comments>http://blog.mattsoft.net/?p=234#comments</comments>
		<pubDate>Mon, 01 Aug 2011 12:05:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=234</guid>
		<description><![CDATA[I&#8217;m installing the new centos 6 on my server this week and I came across a useful command, I thought I&#8217;d post it. I&#8217;ll post more about the server next.
I was trying to run &#8220;yum install qemu&#8221; and it was giving me an error &#8220;Transaction Check Error:&#8221; and a package name. I think what&#8217;s happening [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m installing the new centos 6 on my server this week and I came across a useful command, I thought I&#8217;d post it. I&#8217;ll post more about the server next.</p>
<p>I was trying to run &#8220;yum install qemu&#8221; and it was giving me an error &#8220;Transaction Check Error:&#8221; and a package name. I think what&#8217;s happening is the package was installed by rpm and yum wont install over top the old one, so have to remove the old rpm first. here&#8217;s how:</p>
<p>rpm -e &#8211;nodeps &#8211;allmatches qemu</p>
<p>on a side note.. centos no longer comes with xen&#8230; sad, I liked it. I started working on installing xen manually, then I changed my mind and went the easier route, so I don&#8217;t have to deal with upgrade problems later down the road. something called kvm is the new build in virtualization for centos. still working on installing it. hope all goes well. networking still looks like a complicated pain in the ass, but it does look much simpler then it was with xen! no more custom network bridge scripts I&#8217;m hoping, but we&#8217;ll see.</p>
<p>EDIT 10/8/2011 &#8211; I&#8217;ve been running into a problem when I do a yum update. I was messing with a beta version of java at one point and one of the updates conflicted with it. couldn&#8217;t find any information anywhere on the specific error, so here&#8217;s how I fixed it. &#8220;rpm -qa \*java\*&#8221; shows me a list of installed rpm&#8217;s. then I ran &#8220;rpm -e &#8211;nodeps &lt;packagename&gt;&#8221;. I also had to &#8220;yum remove flash-plugin&#8221; for some reason, but yum is now updating as I type this. next I hope to install flash-plugin again and hope minecraft still works.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=234</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>router rant</title>
		<link>http://blog.mattsoft.net/?p=230</link>
		<comments>http://blog.mattsoft.net/?p=230#comments</comments>
		<pubDate>Tue, 19 Jul 2011 08:08:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://blog.mattsoft.net/?p=230</guid>
		<description><![CDATA[I have some computer venting to do. it saddens me deeply when people don&#8217;t listen to me. crappy hardware will give you crappy performance. that, and it&#8217;s never a good idea to run a serious server on a residential router. I have to back brazil firewall 100% or more. I&#8217;d almost place my life in [...]]]></description>
			<content:encoded><![CDATA[<p>I have some computer venting to do. it saddens me deeply when people don&#8217;t listen to me. crappy hardware will give you crappy performance. that, and it&#8217;s never a good idea to run a serious server on a residential router. I have to back brazil firewall 100% or more. I&#8217;d almost place my life in its hands.</p>
<p>those home routers have crappy hardware to start with. 300-500mhz cpu, and very little ram. grab a decade old computer and clean it up, seriously. those old 500mhz amd&#8217;s can almost run without a fan, and they were the leading performing cpu at their time. I loved having one in my desktop at one time. give it 64mb ram or something. that&#8217;s even many times more then it needs, but it&#8217;s good to have extra no matter what the case. find a 1 or 2gb hard drive and install brazil firewall. that old system is the same, if not better hardware then a standard router.</p>
<p>honestly, I don&#8217;t know what the limits are for a linux router like this. I&#8217;ve read stories of people running an entire city on one in an emergency, hardware failure. I think it was based in anchorage alaska. I remember it took them until the next day to get parts for the real routers. see if you can find the story online. I&#8217;ve read other stories/reviews of people testing this router with OC speed trunks. OC lines are the fiber optic cables that make up the internets network. they are the internet. if you can easily set up a router on an ordinary desktop and have the performance of an OC-192, that&#8217;s some serious power to be considering.</p>
<p>the first year I had a brazilfw router set up, I had it go down twice. what happened was, it was an old pentium 133 and the cpu fan died both times. I don&#8217;t know how many hours that router ran without a fan before it finally locked up. that system had a 1gb hard drive in it that would load into a ram drive and shut down after it booted. no hard drive spinning, a small cpu fan, and I wired the power supply fan to run on 5 volts, so this system was whisper quiet. now days, I run a more complex setup. I have the same brazilfw software running, but it&#8217;s running virtually, with no actual hardware. I love my setup, and I&#8217;ll never go back to a linksys. my cable modem plugs directly into a quad core 9000 something.. gigabit from there into a stack of netgear managed switches! this thing handles anything I try to give it. the only limitation is my cable modem. I&#8217;ll upgrade to fiber when it&#8217;s available.</p>
<p>care to know what I&#8217;ve seen it handle on my own network? I&#8217;ve had lan parties, torrent server runs constantly, minecraft server, ventrilo, web server and database, 3tb+ file server, pbx, and anything else I can think of, all runs on the same hardware at the same time. downloading torrents and iso&#8217;s, 3 hd streams, music streaming, playing video games, browsing the web, and using voip. can do it all at the same time, without any of them breaking up.</p>
<p>I think I&#8217;m done with my rant for now. my point, I&#8217;ve seen what it can do, and I know it works well, but zero people listen to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mattsoft.net/?feed=rss2&amp;p=230</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

