<?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>SurlyJake &#187; Debian Etch</title>
	<atom:link href="http://www.surlyjake.com/category/linux/debian-etch/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surlyjake.com</link>
	<description></description>
	<lastBuildDate>Tue, 29 Jun 2010 21:27:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Debian eth0, eth1, eth2, in Virtualbox or VMware Virtual machines when copying</title>
		<link>http://www.surlyjake.com/linux/debian-etch/debian-eth0-eth1-eth2-etc-in-vms-when-copying/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=debian-eth0-eth1-eth2-etc-in-vms-when-copying</link>
		<comments>http://www.surlyjake.com/linux/debian-etch/debian-eth0-eth1-eth2-etc-in-vms-when-copying/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 19:44:17 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[eth]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=60</guid>
		<description><![CDATA[Debian uses udev. Udev handles mapping MAC&#8217;s to the appropriate /dev/eth(X) file. If you copy a Virtual machine, Udev will remember the MAC address of the old NIC. When you copy the machine, the virtual host usually generates a new MAC address for the VM. Udev will assign the new Device to eth1, eth2, and [...]]]></description>
			<content:encoded><![CDATA[<p>Debian uses udev. Udev handles mapping MAC&#8217;s to the appropriate /dev/eth(X) file. If you copy a Virtual machine, Udev will remember the MAC address of the old NIC. When you copy the machine, the virtual host usually generates a new MAC address for the VM.<br />
Udev will assign the new Device to eth1, eth2, and so on. If you want to change your NIC assignments make Udev forget the old MAC.<br />
In Debian 5 (lenny) it is in this file:</p>
<pre><code>/etc/udev/rules.d/70-persistent-net.rules</code></pre>
<p>In Debian 4 (etch) it is in this file:</p>
<pre><code>/etc/udev/rules.d/z25_persistent-net.rules
</code></pre>
<p>To apply changes in Lenny: &#8220;udevadm trigger&#8221; or &#8220;udevtrigger&#8221; (in Etch)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-etch/debian-eth0-eth1-eth2-etc-in-vms-when-copying/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Debian Samba share. no password. read only</title>
		<link>http://www.surlyjake.com/linux/debian-etch/debian-samba-share-no-password-read-only/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=debian-samba-share-no-password-read-only</link>
		<comments>http://www.surlyjake.com/linux/debian-etch/debian-samba-share-no-password-read-only/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 18:28:24 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=63</guid>
		<description><![CDATA[Just install samba server: apt-get install samba edit the config: nano /etc/samba/smb.conf set security to &#8220;share&#8221; security = share and guest account to nobody guest account = nobody then you just need to create your share like this: [guest share] comment = a guest share path = /path/to/files browseable = yes read only = yes [...]]]></description>
			<content:encoded><![CDATA[<p>Just install samba server:</p>
<pre><code>apt-get install samba
</code></pre>
<p>edit the config:</p>
<pre><code>nano /etc/samba/smb.conf
</code></pre>
<p>set security to &#8220;share&#8221;</p>
<pre><code>security = share
</code></pre>
<p>and guest account to nobody</p>
<pre><code>guest account = nobody
</code></pre>
<p>then you just need to create your share like this:</p>
<pre><code>[guest share]
comment = a guest share
path = /path/to/files
browseable = yes
read only = yes
guest ok = yes
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-etch/debian-samba-share-no-password-read-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL table storage engine (switching from MyIsam to InnoDB)</title>
		<link>http://www.surlyjake.com/mysql/mysql-table-storage-engine-switching-from-myisam-to-innodb/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mysql-table-storage-engine-switching-from-myisam-to-innodb</link>
		<comments>http://www.surlyjake.com/mysql/mysql-table-storage-engine-switching-from-myisam-to-innodb/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 04:14:56 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[engine]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=58</guid>
		<description><![CDATA[I know I did this the hard way. there is a command that you can issue that will convert them on the fly. what I did was mysqldump the database, reinstall mysql(because of other reasons), and then edit the dump so that the line that specified the engine reads &#8220;ENGINE=INNODB&#8221; instead of &#8220;ENGINE=MyISAM&#8221;.Then I imported [...]]]></description>
			<content:encoded><![CDATA[<p>I know I did this the hard way. there is a command that you can issue that will convert them on the fly. what I did was mysqldump the database, reinstall mysql(because of other reasons), and then edit the dump so that the line that specified the engine reads &#8220;ENGINE=INNODB&#8221; instead of &#8220;ENGINE=MyISAM&#8221;.Then I imported the dump.</p>
<p>I was getting annoyed that when listing my tables in phpmyadmin,  it would show the list of tables in InnoDB (which is what i wanted), but then, when showing the summary at the bottom of the page, said &#8220;MyIsam&#8221;. I easily got rid of it by adding &#8220;default-storage-engine=InnoDB&#8221; to my &#8220;my.cnf&#8221; file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/mysql/mysql-table-storage-engine-switching-from-myisam-to-innodb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL server &#8211;purge and reinstall</title>
		<link>http://www.surlyjake.com/mysql/mysql-server-purge-and-reinstall/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=mysql-server-purge-and-reinstall</link>
		<comments>http://www.surlyjake.com/mysql/mysql-server-purge-and-reinstall/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 04:06:03 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[purge]]></category>
		<category><![CDATA[reinstall]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=55</guid>
		<description><![CDATA[Screwed around for a bit. messed up MySQL. I decided to remove &#8211;purge, and start fresh. Unfortunately, the reinstall wouldn&#8217;t work. Long story short, i had to remove &#8220;mysql-server, mysql-server-5.0, and mysql-common&#8221;. when i ran this, it also pulled out other dependencies, but i just reinstalled them all. voila! worky.]]></description>
			<content:encoded><![CDATA[<p>Screwed around for a bit. messed up MySQL. I decided to remove &#8211;purge, and start fresh. Unfortunately, the reinstall wouldn&#8217;t work. Long story short, i had to remove &#8220;mysql-server, mysql-server-5.0, and mysql-common&#8221;. when i ran this, it also pulled out other dependencies, but i just reinstalled them all. voila! worky.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/mysql/mysql-server-purge-and-reinstall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apt gives a &#8220;Segmentation faulty tree&#8221;</title>
		<link>http://www.surlyjake.com/linux/debian-etch/apt-gives-a-segmentation-faulty-tree/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=apt-gives-a-segmentation-faulty-tree</link>
		<comments>http://www.surlyjake.com/linux/debian-etch/apt-gives-a-segmentation-faulty-tree/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 01:59:08 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[apt]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=53</guid>
		<description><![CDATA[when running an update: sudo aptitude Ouch!  Got SIGSEGV, dying.. apparently, just remove some files: sudo rm /var/cache/apt/*.bin now everything is back to normal.]]></description>
			<content:encoded><![CDATA[<p>when running an update:<br />
<code>sudo aptitude<br />
Ouch!  Got SIGSEGV, dying..<br />
</code><br />
apparently, just remove some files:<br />
<code>sudo rm /var/cache/apt/*.bin<br />
</code><br />
now everything is back to normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-etch/apt-gives-a-segmentation-faulty-tree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zabbix 1.6 Proxy with Debian</title>
		<link>http://www.surlyjake.com/linux/debian-etch/zabbix-16-proxy-with-debian/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=zabbix-16-proxy-with-debian</link>
		<comments>http://www.surlyjake.com/linux/debian-etch/zabbix-16-proxy-with-debian/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 19:10:21 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[Zabbix]]></category>
		<category><![CDATA[1.6]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=42</guid>
		<description><![CDATA[I set up a Zabbix Proxy today on a little VM. looks to work nicely. Intructions will be kept up to date on this page.]]></description>
			<content:encoded><![CDATA[<p>I set up a Zabbix Proxy today on a little VM. looks to work nicely. Intructions will be kept up to date on <a title="this page" href="http://www.surlyjake.com/?page_id=44" target="_self">this page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-etch/zabbix-16-proxy-with-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Staying on time in Debian</title>
		<link>http://www.surlyjake.com/linux/debian-etch/staying-on-time-in-debian/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=staying-on-time-in-debian</link>
		<comments>http://www.surlyjake.com/linux/debian-etch/staying-on-time-in-debian/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 17:41:54 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[ntpd]]></category>
		<category><![CDATA[ntupdate]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=38</guid>
		<description><![CDATA[To stay on time, you should really use ntpd. It is a daemon that runs all the time and makes tiny changes to the system clock. All you need to do is install ntp: aptitude install ntp after it&#8217;s installed, I encourage you to go over to http://www.pool.ntp.org/zone/@ and pick a pool in your continental [...]]]></description>
			<content:encoded><![CDATA[<p>To stay on time, you should really use ntpd. It is a daemon that runs all the time and makes tiny changes to the system clock. All you need to do is install ntp:</p>
<pre><code>aptitude install ntp
</code></pre>
<p>after it&#8217;s installed, I encourage you to go over to <a href="http://www.pool.ntp.org/zone/@">http://www.pool.ntp.org/zone/@</a> and pick a pool in your continental zone. Debian has some defaults, and they are fine, i just like using the ntp pool. If you want to change where you are syncing to, open up /etc/ntp.conf and change the &#8220;server&#8221; lines.</p>
<pre><code>nano /etc/ntp.conf
</code></pre>
<p>to manually sync Debian&#8217;s time, just install &#8220;ntpdate&#8221;</p>
<pre><code>apt-get install ntpdate
</code></pre>
<p>run this:</p>
<pre><code>ntupdate-debian [a ntp server]
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-etch/staying-on-time-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uninstall MySQL 5 from Debian</title>
		<link>http://www.surlyjake.com/mysql/uninstall-mysql-5-from-debian/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=uninstall-mysql-5-from-debian</link>
		<comments>http://www.surlyjake.com/mysql/uninstall-mysql-5-from-debian/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 14:12:32 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Zabbix]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=34</guid>
		<description><![CDATA[I completely. completely messed up MySQL. Badly. I wiped out the data directory (/var/lib/mysql in Debian) and the went to remove mysql &#8230; apt-get remove --purge mysql-server That only deleted something like 86K. dissapointing. It looks like &#8220;mysql-server&#8221; is a shortcut pointing to the latest version of the software. The real software is found  under [...]]]></description>
			<content:encoded><![CDATA[<p>I completely. <span style="text-decoration: underline;">completely </span>messed up MySQL. Badly. I wiped out the data directory (/var/lib/mysql in Debian) and the went to remove mysql &#8230;<br />
<code>apt-get remove --purge mysql-server<br />
</code><br />
That only deleted something like 86K. dissapointing. It looks like &#8220;mysql-server&#8221; is a shortcut pointing to the latest version of the software. The real software is found  under the name &#8220;mysql-server-50&#8243;. So what made it happen was:<br />
<code>apt-get remove --purge mysql-server*<br />
</code><br />
That&#8217;ll wipe out whatever mysql install is in place.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/mysql/uninstall-mysql-5-from-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debian 4.0r4 NIC bonding</title>
		<link>http://www.surlyjake.com/linux/debian-etch/debian-40r4-nic-bonding/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=debian-40r4-nic-bonding</link>
		<comments>http://www.surlyjake.com/linux/debian-etch/debian-40r4-nic-bonding/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 18:26:21 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Etch]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[aggregating]]></category>
		<category><![CDATA[bonding]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=20</guid>
		<description><![CDATA[Install package ifenslave-2.6. apt-get install ifenslave make sure the real NICs kernel modules are loaded automatically modprobe --list &#124; grep -i bonding edit /etc/network/interfaces to look like this: auto bond0 iface bond0 inet static address 192.168.1.59 netmask 255.255.255.0 gateway 192.168.1.1 up /sbin/ifenslave bond0 eth0 eth1 down /sbin/ifenslave -d bond0 eth0 eth1 broadcast 192.168.1.255 make sure [...]]]></description>
			<content:encoded><![CDATA[<p>Install package ifenslave-2.6.</p>
<pre><code>apt-get install ifenslave
</code></pre>
<p>make sure the real NICs kernel modules are loaded automatically</p>
<pre><code>modprobe --list | grep -i bonding
</code></pre>
<p>edit /etc/network/interfaces to look like this:</p>
<pre><code>auto bond0
iface bond0 inet static
address 192.168.1.59
netmask 255.255.255.0
gateway 192.168.1.1
up /sbin/ifenslave bond0 eth0 eth1
down /sbin/ifenslave -d bond0 eth0 eth1
broadcast 192.168.1.255</code></pre>
<p>make sure to remove ALL of the lines refering to old eth0 or eth1 settings.</p>
<p>add the following lines to your /etc/modprobe.d/arch/i386:</p>
<pre><code>alias bond0 bonding
options bonding mode=1 miimon=100 downdelay=200 updelay=200</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-etch/debian-40r4-nic-bonding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->