<?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</title>
	<atom:link href="http://www.surlyjake.com/tag/debian/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>Linux command line bandwidth monitor</title>
		<link>http://www.surlyjake.com/linux/linux-command-line-bandwidth-monitor/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=linux-command-line-bandwidth-monitor</link>
		<comments>http://www.surlyjake.com/linux/linux-command-line-bandwidth-monitor/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 21:50:48 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[eth]]></category>
		<category><![CDATA[iface]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=521</guid>
		<description><![CDATA[You can find out how much bandwidth your linux machine is using with a simple tool called &#8220;bwm-ng&#8221;. In Debian, install it with aptitude install bwm-ng Then, just type &#8216;bwm-ng&#8217; in the command line. It will give you something like this: bwm-ng v0.6 (probing every 5.000s), press 'h' for help input: /proc/net/dev type: rate - [...]]]></description>
			<content:encoded><![CDATA[<p>You can find out how much bandwidth your linux machine is using with a simple tool called &#8220;bwm-ng&#8221;. In Debian, install it with</p>
<pre><code>aptitude install bwm-ng</code></pre>
<p>Then, just type &#8216;bwm-ng&#8217; in the command line. It will give you something like this:</p>
<pre><code>bwm-ng v0.6 (probing every 5.000s), press 'h' for help
  input: /proc/net/dev type: rate
  -         iface                   Rx                   Tx                Total
  ==============================================================================
               lo:           0.00 KB/s            0.00 KB/s            0.00 KB/s
             eth0:        2221.47 KB/s           48.13 KB/s         2269.60 KB/s
  ------------------------------------------------------------------------------
            total:        2221.47 KB/s           48.13 KB/s         2269.60 KB/s</code></pre>
<p>Pressing the &#8220;h&#8221; key while it is running wil actually pull up a nice menu to change some of the options you are looking at.</p>
<p>bwm-ng is very basic, &#8220;<strong>iptraf</strong>&#8221; is another tool that provides some more functionality if you want to drill further into what is moving in and out of your box.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/linux-command-line-bandwidth-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install backupexec 12.5 agent on Debian Lenny</title>
		<link>http://www.surlyjake.com/linux/install-backupexec-125-agent-on-debian-lennyinstall-backupexec-125-agent-on-debian-lenny/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=install-backupexec-125-agent-on-debian-lennyinstall-backupexec-125-agent-on-debian-lenny</link>
		<comments>http://www.surlyjake.com/linux/install-backupexec-125-agent-on-debian-lennyinstall-backupexec-125-agent-on-debian-lenny/#comments</comments>
		<pubDate>Tue, 12 May 2009 20:24:16 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Lenny]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[backupexec]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=388</guid>
		<description><![CDATA[The path to it is BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar.gz\BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar\pkgs\Linux\VRTSralus.tar.gz\VRTSralus.tar\VRTSralus-12.5.2213-0.i386.deb Unfortunately, the Deb package doesn&#8217;t specify It&#8217;s dependencies. You need to manually install the libstdc++5 package. aptitude install libstdc++5 You can follow the rest of the install here: http://insanelabs.com/debian/linux-symantec-backup-exec-12-and-debian-etch-3264/]]></description>
			<content:encoded><![CDATA[<p>The path to it is</p>
<pre><code>BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar.gz\BEWS_12.5.2213_LINUX-UNIX-MAC-SAP_AGENTS.tar\pkgs\Linux\VRTSralus.tar.gz\VRTSralus.tar\VRTSralus-12.5.2213-0.i386.deb</code></pre>
<p>Unfortunately, the Deb package doesn&#8217;t specify It&#8217;s dependencies. You need to manually install the libstdc++5 package.</p>
<pre><code>aptitude install libstdc++5</code></pre>
<p>You can follow the rest of the install here: <a href="http://insanelabs.com/debian/linux-symantec-backup-exec-12-and-debian-etch-3264/" target="_blank">http://insanelabs.com/debian/linux-symantec-backup-exec-12-and-debian-etch-3264/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/install-backupexec-125-agent-on-debian-lennyinstall-backupexec-125-agent-on-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Join Debian Lenny to Active Directory using Samba</title>
		<link>http://www.surlyjake.com/linux/samba/join-debian-lenny-to-active-directory-using-samba/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=join-debian-lenny-to-active-directory-using-samba</link>
		<comments>http://www.surlyjake.com/linux/samba/join-debian-lenny-to-active-directory-using-samba/#comments</comments>
		<pubDate>Fri, 01 May 2009 20:48:45 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Lenny]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[winbind]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=338</guid>
		<description><![CDATA[If you install GNOME on Debian and intend to use it as a server, first thing you should do is remove the network-manager and network-manager-gnome packages. This tool can be helpful on a desktop, but since we are tweaking DNS, IP addresses, and perhaps even NIC bonding, the network-manager can screw up your settings. aptitude [...]]]></description>
			<content:encoded><![CDATA[<p>If you install GNOME on Debian and intend to use it as a server, first thing you should do is remove the network-manager and network-manager-gnome packages. This tool can be helpful on a desktop, but since we are tweaking DNS, IP addresses, and perhaps even NIC bonding, the network-manager can screw up your settings.</p>
<pre><code>aptitude purge network-manager-gnome network-manager </code></pre>
<p>If this is a VMware Virtual machine, install VMware tools. The prerequisites for Debian Lenny are:</p>
<pre><code>aptitude install build-essential openssl libssl-dev linux-headers-$(uname -r) psmiscapt</code></pre>
<p>You may have to manually create a DNS entry for your server. Just to be safe, do that now.</p>
<p>If you plan to support NTFS-like ACL&#8217;s, install support for it now.</p>
<pre><code>aptitude install acl</code></pre>
<p>now, you need to mount the partition with ACL&#8217;s enabled, to do this, edit your /etc/fstab.</p>
<pre><code>nano /etc/fstab</code></pre>
<p>The line I needed looked like this:</p>
<pre><code>/dev/sda9    /    ext3    acl,defaults    0    1</code></pre>
<p>The important part is to get &#8220;acl&#8221; into the options list. Dont forget the comma.<br />
I recommend rebooting just to make sure your fstab is set before you continue.<br />
It&#8217;s easy to screw something up here and make your system unbootable, so if you reboot, and cant get your system back up and running, get into single user mode, and use this command. (You will have to adjust /dev/sda1 to your root partition. In my experience, it is usually /dev/sda1 or /dev/hda1. Use fdisk -l to list the partitions on the disk.</p>
<pre><code>mount -o remount,rw /dev/sda1</code></pre>
<p>Now lets get the samba and kerberos software packages installed.</p>
<pre><code>aptitude install samba ntpdate smbclient winbind krb5-config krb5-user</code></pre>
<p>Put in the Workgroup/domain info when prompted if you like. They will set up some .conf files for you, but we&#8217;re not going to use them anyways. We wont worry about WINS for now.<br />
Now lets stop samba and winbind:</p>
<pre><code>/etc/init.d/samba stop
/etc/init.d/winbind stop</code></pre>
<p>move the /etc/samba files somewhere</p>
<pre><code>mkdir /etc/samba/vanillaconf
mv /etc/samba/* /etc/samba/vanillaconf/</code></pre>
<p>create your own /etc/samba/smb.conf: Make sure that the domain and realm fields are all caps.</p>
<pre><code>[global]
workgroup               =       ((DOMAIN))
server string           =       %h server
wins support            =       no

security                =       ads
realm                   =       ((DOMAIN)).COM
encrypt passwords       =       yes
obey pam restrictions   =        yes

winbind use default domain    =    yes
winbind enum users   =      yes
winbind enum groups =      yes
template shell         =       /bin/bash
idmap uid               =       10000-20000
idmap gid               =       10000-20000
</code></pre>
<p>sync time</p>
<pre><code>ntpdate ((domain controller))</code></pre>
<p>now that samba knows what domain its part of, and we have a basic config for it, we need to get the authentication part working. Kerberos is the softare that communicates with your Active Directory domain to authenticate users.</p>
<pre><code>nano /etc/krb5.conf</code></pre>
<p>configure domain in /etc/krb5.conf. important parts:</p>
<pre><code>[libdefaults]
default_realm = ((domain)).COM
[realms]
((DOMAIN.COM)) = {
        kdc = ((domain controller))
        kdc = ((backup DC))
        admin_server = (domain controller))
}
[domain_realm]
        .(domain).com = (domain controller).(domain).COM</code></pre>
<p>do a test by typing:</p>
<pre><code>kinit [username]</code></pre>
<p>then type:</p>
<pre><code>klist</code></pre>
<p>if you get some output looking like this, you are ready to go.</p>
<pre><code>Ticket cache: FILE:/tmp/krb5cc_0
Default principal: (username)@(domain).COM

Valid starting     Expires            Service principal
04/27/09 13:54:23  04/27/09 23:54:26  krbtgt/(domain).COM@(domain).COM
        renew until 04/27/09 23:54:23</code></pre>
<p>To get Debian to recognize your Active Directory users, you need to update /etc/nsswitch.conf</p>
<pre><code>nano /etc/nsswitch.conf</code></pre>
<p>add &#8220;winbind&#8221; to the passwd and group lines. if you have &#8220;compat&#8221; in the line, put in like this:</p>
<pre><code>passwd:         compat winbind
passwd_compat:  winbind
group:          compat winbind
group_compat:   winbind
</code></pre>
<p>Now start samba and winbind back up</p>
<pre><code>/etc/init.d/winbind start
/etc/init.d/samba start</code></pre>
<p>Join your machine to the domain.</p>
<pre><code>net ads join -U (administrative user)</code></pre>
<p>You should see</p>
<pre><code>Joined '(server name)' to realm '(domain).com'</code></pre>
<p>If you see</p>
<pre><code>No DNS domain configured for '(servername)'. Unable to perform DNS Update.
DNS update failed!</code></pre>
<p>Don&#8217;t worry. Just create an entry in your DNS server for the samba machiine.<br />
Test if winbind is working properly with</p>
<pre><code>wbinfo -t</code></pre>
<p>If you get</p>
<pre><code>checking the trust secret via RPC calls failed
Could not check secret</code></pre>
<p>Then restart winbind:</p>
<pre><code>/etc/init.d/winbind restart</code></pre>
<p>allow AD accounts to logon to the machine:</p>
<pre><code># /etc/pam.d/common-account
account    sufficient    pam_winbind.so
account    required    pam_unix.so
</code></pre>
<pre><code># /etc/pam.d/common-auth
auth    sufficient    pam_winbind.so
auth    required    pam_unix.so use_first_pass nullok_secure</code></pre>
<pre><code># /etc/pam.d/common-session
session    required    pam_mkhomedir.so skel=/etc/skel/ umask=0066
session    sufficient    pam_winbind.so
session required    pam_unix.so</code></pre>
<p>It is critical that &#8220;obey pam restrictions&#8221; is set to &#8220;yes&#8221;. in your smb.conf for these pam settings to take effect.There are some other changes to these Pam.d settings i decided to make upon putting the server into production. I will write about that in another page [link].</p>
<p>Now, give your admin group from AD root access to the box</p>
<pre><code>aptitude install sudo
visudo</code></pre>
<p>add this line:</p>
<pre><code>%(domain)\\tcp ALL =(ALL) ALL</code></pre>
<p>When creating shares, to give an AD user access to a share, use:(More info in the future)</p>
<pre><code>valid users    =    (domain)\username</code></pre>
<p>to give an AD group access to a share, use:</p>
<pre><code>valid users    =    @(domain)\groupname</code></pre>
<p>Sometimes, I have to reboot my windows client machine to make it work&#8230; fyi.<br />
Sources:</p>
<ul>
<li>O&#8217;reilly Samba book 3rd Edition.</li>
<li><a href="http://www.ccs.neu.edu/home/battista/documentation/winbind/index.html">http://www.ccs.neu.edu/home/battista/documentation/winbind/index.html</a></li>
<li>&#8230;Countless articles, mailing lists, forums.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/samba/join-debian-lenny-to-active-directory-using-samba/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Rip and convert to MP3 files in Debian Lenny</title>
		<link>http://www.surlyjake.com/linux/debian-lenny/rip-and-convert-to-mp3-files-in-debian-lenny/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rip-and-convert-to-mp3-files-in-debian-lenny</link>
		<comments>http://www.surlyjake.com/linux/debian-lenny/rip-and-convert-to-mp3-files-in-debian-lenny/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 02:53:45 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Lenny]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[rip]]></category>
		<category><![CDATA[sound juicer]]></category>
		<category><![CDATA[soundconverter]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=328</guid>
		<description><![CDATA[To create an MP3 audio file in Lenny, you need to install the proper package to encode them. I suggest you add the &#8220;debian-multimedia&#8221; repository while you are at it. Edit your  /etc/apt/sources.list and add: deb http://www.debian-multimedia.org lenny main run aptitude update then install the gstreamer lame encoder: aptitude install gstreamer0.10-lame Then you are done. [...]]]></description>
			<content:encoded><![CDATA[<p>To create an MP3 audio file in Lenny, you need to install the proper package to encode them. I suggest you add the &#8220;<a href="http://www.debian-multimedia.org/" target="_blank">debian-multimedia</a>&#8221; repository while you are at it. Edit your  /etc/apt/sources.list and add:</p>
<pre><code>deb http://www.debian-multimedia.org lenny main</code></pre>
<p>run</p>
<pre><code>aptitude update</code></pre>
<p>then install the gstreamer lame encoder:</p>
<pre><code>aptitude install gstreamer0.10-lame</code></pre>
<p>Then you are done. You can launch soundconverter and convert formats to MP3 using VBR and other technologies. You can also use sound juicer to Rip CD&#8217;s</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-lenny/rip-and-convert-to-mp3-files-in-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install the proprietary Closed source version of Virtualbox on Debian Lenny</title>
		<link>http://www.surlyjake.com/linux/debian-lenny/install-the-proprietary-closed-source-version-of-virtualbox-on-debian-lenny/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=install-the-proprietary-closed-source-version-of-virtualbox-on-debian-lenny</link>
		<comments>http://www.surlyjake.com/linux/debian-lenny/install-the-proprietary-closed-source-version-of-virtualbox-on-debian-lenny/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 17:21:28 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Lenny]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=291</guid>
		<description><![CDATA[I like the closed source version of virtualbox. I just do. This is how to install it quickly and simply: add this to sources.list deb http://download.virtualbox.org/virtualbox/debian lenny non-free run this to get the public key and install it: wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- &#124; sudo apt-key add - then just install it aptitude install virtualbox-2.1 this [...]]]></description>
			<content:encoded><![CDATA[<p>I like the closed source version of virtualbox. I just do. This is how to install it quickly and simply:</p>
<p>add this to sources.list</p>
<pre><code>deb http://download.virtualbox.org/virtualbox/debian lenny non-free</code></pre>
<p>run this to get the public key and install it:</p>
<pre><code>wget -q http://download.virtualbox.org/virtualbox/<span class="searchword0">deb</span>ian/sun_vbox.asc -O- | sudo apt-key add -</code></pre>
<p>then just install it</p>
<pre><code>aptitude install virtualbox-2.1</code></pre>
<p>this will automatically create the group &#8220;vboxusers&#8221; and add the user who installed it to the group. If you need to add others:</p>
<pre><code>sudo adduser `[username]` vboxusers</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-lenny/install-the-proprietary-closed-source-version-of-virtualbox-on-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Debian Lenny Nvidia Drivers using binary packages</title>
		<link>http://www.surlyjake.com/linux/debian-lenny/install-debian-lenny-nvidia-drivers-using-binary-packages/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=install-debian-lenny-nvidia-drivers-using-binary-packages</link>
		<comments>http://www.surlyjake.com/linux/debian-lenny/install-debian-lenny-nvidia-drivers-using-binary-packages/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 03:30:40 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Debian Lenny]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=287</guid>
		<description><![CDATA[As usual, the official Debian wiki has a great writeup on getting the Drivers installed. http://wiki.debian.org/NvidiaGraphicsDrivers. Do yourself a favor and read the document. It will give you the full story and not just the regurgitated short version below. I use debian because I like the packaging system. I think it works well. why add [...]]]></description>
			<content:encoded><![CDATA[<p>As usual, the official Debian wiki has a great writeup on getting the Drivers installed.<a href="http://wiki.debian.org/NvidiaGraphicsDrivers" target="_blank"> http://wiki.debian.org/NvidiaGraphicsDrivers</a>. Do yourself a favor and read the document. It will give you the full story and not just the regurgitated short version below. I use debian because I like the packaging system. I think it works well. why add the agony of recompiling drivers whenever you update kernels and whatnot. Since X was broken, The key was to switch to a console session BEFORE logging in using GDM. As soon as the login page comes up, press CTRL+ALT+F2. This is what I had to be able to log in and use my X session:</p>
<p>Login as root.</p>
<p>I used the netinst disk and had to add the &#8220;non-free&#8221; and &#8220;contrib&#8221; repositories. to do this, edit /etc/apt/sources.list.</p>
<pre><code>nano /etc/apt/sources.list</code></pre>
<p>Find the line line that has something like</p>
<pre><code>deb http://mirror.cc.columbia.edu/pub/linux/debian/debian/ lenny main
deb-src http://mirror.cc.columbia.edu/pub/linux/debian/debian/ lenny main
</code></pre>
<p>add &#8220;contrib non-free&#8221; to the end of both of these lines and then do a &#8220;aptitude update&#8221;</p>
<pre><code># apt-get install module-assistant nvidia-kernel-common
# m-a auto-install nvidia-kernel${VERSION}-source
# apt-get install nvidia-glx${VERSION}</code></pre>
<p>In the device section, add</p>
<pre><code>Driver "nvidia"</code></pre>
<p>Restart GDM (and subsequently X)</p>
<pre><code># invoke-rc.d gdm restart</code></pre>
<p>Install The nvidia settings interface thingy if you want. This can also verify if the driver is actually running.</p>
<pre><code>aptitude install nvidia-settings</code></pre>
<p>In debian, the package doesn&#8217;t install a shortcut for some reason, so just launch it by typing &#8220;nvidia-settings&#8221; into the console.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/linux/debian-lenny/install-debian-lenny-nvidia-drivers-using-binary-packages/feed/</wfw:commentRss>
		<slash:comments>0</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>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>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>
	</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! -->