<?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>Elliott C. Back &#187; Linux</title>
	<atom:link href="http://elliottback.com/wp/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://elliottback.com/wp</link>
	<description>Internet &#38; Technology</description>
	<lastBuildDate>Mon, 26 Dec 2011 06:16:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>configure: error: no acceptable C compiler found in $PATH</title>
		<link>http://elliottback.com/wp/configure-error-no-acceptable-c-compiler-found-in-path/</link>
		<comments>http://elliottback.com/wp/configure-error-no-acceptable-c-compiler-found-in-path/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 18:42:04 +0000</pubDate>
		<dc:creator>Elliott Back</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://elliottback.com/wp/archives/2008/09/14/configure-error-no-acceptable-c-compiler-found-in-path/</guid>
		<description><![CDATA[If you get the following command when trying to build a package from source on linux (Fedora 8 in my case), chances are you don&#8217;t have GCC installed:
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
The solution is simple, run one of the following commands to install a C compiler:
CentOS: yum [...]]]></description>
			<content:encoded><![CDATA[<p>If you get the following command when trying to build a package from source on linux (Fedora 8 in my case), chances are you don&#8217;t have GCC installed:</p>
<pre class="brush:bash">configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.</pre>
<p>The solution is simple, run one of the following commands to install a C compiler:</p>
<pre class="brush:bash">CentOS: yum -y install gcc
Fedora: up2date -i gcc</pre>
<p>For me, this installed a few additional helper packages to get me started compiling C-code:</p>
<pre class="brush:bash">Installing:
 gcc                 x86_64      4.1.2-33             fedora              5.3 M
Installing for dependencies:
 cpp                 x86_64      4.1.2-33             fedora              2.9 M
 glibc-devel         x86_64      2.7-2                fedora              2.4 M
 glibc-headers       x86_64      2.7-2                fedora              599 k
 kernel-headers      x86_64      2.6.26.3-14.fc8      updates-newkey      746 k</pre>
]]></content:encoded>
			<wfw:commentRss>http://elliottback.com/wp/configure-error-no-acceptable-c-compiler-found-in-path/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>bash: phpize: command not found</title>
		<link>http://elliottback.com/wp/bash-phpize-command-not-found/</link>
		<comments>http://elliottback.com/wp/bash-phpize-command-not-found/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 18:35:56 +0000</pubDate>
		<dc:creator>Elliott Back</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://elliottback.com/wp/archives/2008/09/14/bash-phpize-command-not-found/</guid>
		<description><![CDATA[If you&#8217;ve encountered this error while trying to build a PHP plugin or an Apache extension, then you&#8217;re simply missing the PHP-Devel package on your system:
-bash: phpize: command not found
To fix this, simple issue one of the commands, depending on your linux O/S:
CentOS:  yum -y install php-devel
Fedora: up2date -i php-devel
Personally, I run yum on [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve encountered this error while trying to build a PHP plugin or an Apache extension, then you&#8217;re simply missing the PHP-Devel package on your system:</p>
<pre class="brush: bash">-bash: phpize: command not found</pre>
<p>To fix this, simple issue one of the commands, depending on your linux O/S:</p>
<pre class="brush: bash">CentOS:  yum -y install php-devel
Fedora: up2date -i php-devel</pre>
<p>Personally, I run yum on my fedora machine, so I would simply use it to install the package.  If you don&#8217;t have yum, check out <a href="http://docs.fedoraproject.org/yum/en/">Managing Software with Yum</a>, a great guide for sysadmins.</p>
]]></content:encoded>
			<wfw:commentRss>http://elliottback.com/wp/bash-phpize-command-not-found/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Unlock your iPhone! Serial HACKED!</title>
		<link>http://elliottback.com/wp/unlock-your-iphone-serial-hacked/</link>
		<comments>http://elliottback.com/wp/unlock-your-iphone-serial-hacked/#comments</comments>
		<pubDate>Sat, 07 Jul 2007 00:32:39 +0000</pubDate>
		<dc:creator>Elliott Back</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://elliottback.com/wp/archives/2007/07/06/unlock-your-iphone-serial-hacked/</guid>
		<description><![CDATA[People have figured out how to run commands on the serial interface of the iPhone, which apparently isn&#8217;t protected:
Your friends at #iPhone made a major breakthrough this morning.
we got a serial console working, here is how
the serial has the same pinouts as iPod serial
use a 6.8kish resistor from pin 21 to gnd
tie pin 11-sergnd to [...]]]></description>
			<content:encoded><![CDATA[<p>People have figured out how to run commands on the serial interface of the iPhone, which apparently isn&#8217;t protected:</p>
<blockquote><p>Your friends at #iPhone made a major breakthrough this morning.<br />
we got a serial console working, here is how<br />
the serial has the same pinouts as iPod serial<br />
use a 6.8kish resistor from pin 21 to gnd<br />
tie pin 11-sergnd to the real ground<br />
use iphoneinterface to send the following commands in recovery mode:<br />
setenv debug-uarts 1<br />
saveenv<br />
reboot<br />
that should work</p>
<p>IT GIVES YOU A FULL INTERACTIVE SHELL<br />
I REPEAT, A FULL INTERACTIVE SHELL</p>
<p>The command list is:</p>
<p><a href="http://iphone.fiveforty.net/geohot/cmdlist.txt" title="http://iphone.fiveforty.net/geohot/cmdlist.txt" target="_blank">iphone.fiveforty.net/geohot/cmdlist.txt</a></p>
<p>You need a level converter, like the max 232 to make this work</p></blockquote>
<p>This means that within a few days someone will package an unlocking program and an easier-to-use interface together to unlock the iPhone&#8217;s SIM card and make it do what it was really meant to do&#8211;let anyone have three or four Apple devices on their person.</p>
<blockquote><p><strong>Related Stories:</strong><br />
<a href="http://elliottback.com/wp/archives/2007/07/03/att-iphone-egde-down/">iPhone Edge Network Dies</a><br />
<a href="http://elliottback.com/wp/archives/2007/07/03/broken-iphone-screens-cracked-photos/">Broken iPhone Screens, oh noes!</a><br />
<a href="http://elliottback.com/wp/archives/2007/07/03/unlock-your-iphone/">The beginning of iPhone hacks</a><br />
<a href="http://elliottback.com/wp/archives/2007/07/02/iphone-activation-problems-errors-hacks-and-solutions/">Activate iPhone instructions for noobs</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://elliottback.com/wp/unlock-your-iphone-serial-hacked/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>bmon for Fedora Core</title>
		<link>http://elliottback.com/wp/bmon-for-fedora-core/</link>
		<comments>http://elliottback.com/wp/bmon-for-fedora-core/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 22:16:58 +0000</pubDate>
		<dc:creator>Elliott Back</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scalability]]></category>

		<guid isPermaLink="false">http://elliottback.com/wp/archives/2007/06/09/bmon-for-fedora-core/</guid>
		<description><![CDATA[If you want to monitoring the bandwidth in/out of your linux server, a tool like bmon is essential.  Use the fedora core RPMs from dries rather than compiling from source, it&#8217;s a lot easier.  For some reason it refused to link to my ncurses, but once I installed the binary I got this [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to monitoring the bandwidth in/out of your linux server, a tool like <a href="http://people.suug.ch/~tgr/bmon/">bmon</a> is essential.  Use the <a href="http://dries.ulyssis.org/rpm/packages/bmon/info.html">fedora core RPMs from dries</a> rather than compiling from source, it&#8217;s a lot easier.  For some reason it refused to link to my ncurses, but once I installed the binary I got this beautiful graph:</p>
<p><img id="image2283" src="http://elliottback.com/wp/wp-content/uploads/2007/06/bmon.png" alt="bmon.png" /></p>
<p>You can run it with <code>bmon -r .1 -R 30</code> to get a 30 second average, or with <code>-o ascii</code> to get terminal &#8220;plain&#8221; output for use with the standard linux pipes, cuts and other tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://elliottback.com/wp/bmon-for-fedora-core/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Iptables Bash Shell Cleanup Script</title>
		<link>http://elliottback.com/wp/iptables-bash-shell-cleanup-script/</link>
		<comments>http://elliottback.com/wp/iptables-bash-shell-cleanup-script/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 05:26:53 +0000</pubDate>
		<dc:creator>Elliott Back</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://elliottback.com/wp/archives/2007/04/12/iptables-bash-shell-cleanup-script/</guid>
		<description><![CDATA[The following script will remove duplicate entries from your iptables banlist by first removing all the entries, making them unique (and sorted) and then adding them to iptables again.  You may want, as extra insurance, to add your server / home ip to the sed delete line to protect against &#8230; accidents:

#!/bin/bash

/sbin/iptables -L -n [...]]]></description>
			<content:encoded><![CDATA[<p>The following script will remove duplicate entries from your iptables banlist by first removing all the entries, making them unique (and sorted) and then adding them to iptables again.  You may want, as extra insurance, to add your server / home ip to the sed delete line to protect against &#8230; accidents:</p>
<pre class="brush:bash">
#!/bin/bash

/sbin/iptables -L -n | cut -d " " -f 12 | sort | sed '/^\s*$/d' | sed '/^\(127\|localhost\|loopback\|0\.\|192.\|your_ips_here\).*$/d' | uniq > /root/ips
/sbin/iptables -F

for ip in `cat /root/ips`
do
/sbin/iptables -I INPUT -s $ip -j DROP
done

/sbin/iptables -L -n
</pre>
<p>I accidentally hosed my server for the last, oh, 30m or so by screwing around with iptables as root.  After it came up, I added the sed rules to make sure I didn&#8217;t accidentally do it again, and then scheduled the cleanup job to run every 8 hours:</p>
<pre class="brush:bash">
chrontab -l
0       */8     *       *       *       /root/iptables-clean.sh
</pre>
<p>Hope this helps someone out there having trouble managing their server&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://elliottback.com/wp/iptables-bash-shell-cleanup-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.193 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-09 12:40:09 -->

