<?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 Lenny</title>
	<atom:link href="http://www.surlyjake.com/category/linux/debian-lenny/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surlyjake.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2011 15:28:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Install backupexec 12.5 agent on Debian Lenny</title>
		<link>http://www.surlyjake.com/2009/05/install-backupexec-125-agent-on-debian-lennyinstall-backupexec-125-agent-on-debian-lenny/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-backupexec-125-agent-on-debian-lennyinstall-backupexec-125-agent-on-debian-lenny</link>
		<comments>http://www.surlyjake.com/2009/05/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_<a href="http://www.surlyjake.com/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">LINUX</a>-UNIX-MAC-SAP_AGENTS.tar.gz\BEWS_12.5.2213_<a href="http://www.surlyjake.com/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">LINUX</a>-UNIX-MAC-SAP_AGENTS.tar\pkgs\<a href="http://www.surlyjake.com/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a>\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 <a href="http://www.surlyjake.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> 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>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/05/install-backupexec-125-agent-on-debian-lennyinstall-backupexec-125-agent-on-debian-lenny/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/05/install-backupexec-125-agent-on-debian-lennyinstall-backupexec-125-agent-on-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Group share for a Active Directory domain group with Samba</title>
		<link>http://www.surlyjake.com/2009/05/create-a-group-share-for-a-domain-group-with-samba/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-group-share-for-a-domain-group-with-samba</link>
		<comments>http://www.surlyjake.com/2009/05/create-a-group-share-for-a-domain-group-with-samba/#comments</comments>
		<pubDate>Wed, 06 May 2009 20:38:36 +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[share]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=370</guid>
		<description><![CDATA[Once you have joined your samba server to your domain and have set up user authentication, creating a share that will allow a group of users to access files is pretty simple.  We need to create a folder that is owned by the root user and the domain group. The samba share will inherit permissions [...]]]></description>
			<content:encoded><![CDATA[<p>Once you have joined your <a href="http://www.surlyjake.com/tag/samba/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Samba">samba</a> server to your domain and have set up user authentication, creating a <a href="http://www.surlyjake.com/tag/share/" class="st_tag internal_tag" rel="tag" title="Posts tagged with share">share</a> that will allow a group of users to access files is pretty simple.  We need to create a folder that is owned by the root user and the domain group. The samba <a href="http://www.surlyjake.com/tag/share/" class="st_tag internal_tag" rel="tag" title="Posts tagged with share">share</a> will inherit permissions from the parent folder.  Here is an example for creating a folder for a domain group called &#8220;corporate_HR&#8221;. The domain is called &#8220;acme&#8221;. There is administrative support group called &#8220;admins&#8221;. Setting the folder&#8217;s permissions to &#8220;2771&#8243; means that the owner (root) and the group (corporate_HR) have full access.  The &#8220;2&#8243; is a setgid bit. It will force all new files created under the HR folder to take the group parameter from it&#8217;s parent.  We use the &#8220;force group&#8221; parameter to ensure that permissions are set properly when a member of the &#8220;ACME\admins&#8221; group accesses the files.</p>
<p>login as root.</p>
<p>to set up the filesystem:</p>
<pre><code>cd /home
mkdir HR
chgrp corporate_HR HR
chmod 2771 HR</code></pre>
<p>set up the share:</p>
<pre><code>[HR]
comment    =    share for corporate HR group
readonly    =   no
inherrit owner    =    yes
inherit permissions    =    yes
authorized users    =    @ACME\corporate_HR @ACME\admins
force group    =    ACME\corporate_HR</code></pre>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/05/create-a-group-share-for-a-domain-group-with-samba/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/05/create-a-group-share-for-a-domain-group-with-samba/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Join Debian Lenny to Active Directory using Samba</title>
		<link>http://www.surlyjake.com/2009/05/join-debian-lenny-to-active-directory-using-samba/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=join-debian-lenny-to-active-directory-using-samba</link>
		<comments>http://www.surlyjake.com/2009/05/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 <a href="http://www.surlyjake.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> GNOME on <a href="http://www.surlyjake.com/tag/debian/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debian">Debian</a> 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 <a href="http://www.surlyjake.com/tag/lenny/" class="st_tag internal_tag" rel="tag" title="Posts tagged with lenny">Lenny</a> are:</p>
<pre><code>aptitude install build-essential openssl libssl-dev <a href="http://www.surlyjake.com/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">linux</a>-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 <a href="http://www.surlyjake.com/tag/samba/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Samba">samba</a> and kerberos software packages installed.</p>
<pre><code>aptitude install samba ntpdate smbclient <a href="http://www.surlyjake.com/tag/winbind/" class="st_tag internal_tag" rel="tag" title="Posts tagged with winbind">winbind</a> 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 <a href="http://www.surlyjake.com/tag/active-directory/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Active Directory">Active Directory</a> 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 machine.<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)\\(admin's group) ALL =(ALL) ALL</code></pre>
<p>When creating shares, to give an AD user access to a <a href="http://www.surlyjake.com/tag/share/" class="st_tag internal_tag" rel="tag" title="Posts tagged with share">share</a>, 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>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/05/join-debian-lenny-to-active-directory-using-samba/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/05/join-debian-lenny-to-active-directory-using-samba/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Rip and convert to MP3 files in Debian Lenny</title>
		<link>http://www.surlyjake.com/2009/03/rip-and-convert-to-mp3-files-in-debian-lenny/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rip-and-convert-to-mp3-files-in-debian-lenny</link>
		<comments>http://www.surlyjake.com/2009/03/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 <a href="http://www.surlyjake.com/tag/mp3/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mp3">MP3</a> audio file in <a href="http://www.surlyjake.com/tag/lenny/" class="st_tag internal_tag" rel="tag" title="Posts tagged with lenny">Lenny</a>, you need to <a href="http://www.surlyjake.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> 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.<a href="http://www.surlyjake.com/tag/debian/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debian">debian</a>-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 <a href="http://www.surlyjake.com/tag/soundconverter/" class="st_tag internal_tag" rel="tag" title="Posts tagged with soundconverter">soundconverter</a> and convert formats to MP3 using VBR and other technologies. You can also use <a href="http://www.surlyjake.com/tag/sound-juicer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sound juicer">sound juicer</a> to <a href="http://www.surlyjake.com/tag/rip/" class="st_tag internal_tag" rel="tag" title="Posts tagged with rip">Rip</a> CD&#8217;s</p>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/03/rip-and-convert-to-mp3-files-in-debian-lenny/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/03/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/2009/02/install-the-proprietary-closed-source-version-of-virtualbox-on-debian-lenny/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-the-proprietary-closed-source-version-of-virtualbox-on-debian-lenny</link>
		<comments>http://www.surlyjake.com/2009/02/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 <a href="http://www.surlyjake.com/tag/virtualbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with virtualbox">virtualbox</a>. I just do. This is how to <a href="http://www.surlyjake.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> it quickly and simply:</p>
<p>add this to sources.list</p>
<pre><code>deb http://download.virtualbox.org/virtualbox/<a href="http://www.surlyjake.com/tag/debian/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debian">debian</a> <a href="http://www.surlyjake.com/tag/lenny/" class="st_tag internal_tag" rel="tag" title="Posts tagged with lenny">lenny</a> 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>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/02/install-the-proprietary-closed-source-version-of-virtualbox-on-debian-lenny/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/02/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/2009/02/install-debian-lenny-nvidia-drivers-using-binary-packages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-debian-lenny-nvidia-drivers-using-binary-packages</link>
		<comments>http://www.surlyjake.com/2009/02/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 <a href="http://www.surlyjake.com/tag/debian/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Debian">Debian</a> 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/<a href="http://www.surlyjake.com/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">linux</a>/debian/debian/ <a href="http://www.surlyjake.com/tag/lenny/" class="st_tag internal_tag" rel="tag" title="Posts tagged with lenny">lenny</a> main
deb-src http://mirror.cc.columbia.edu/pub/linux/debian/debian/ <a href="http://www.surlyjake.com/tag/lenny/" class="st_tag internal_tag" rel="tag" title="Posts tagged with lenny">lenny</a> 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 <a href="http://www.surlyjake.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> module-assistant <a href="http://www.surlyjake.com/tag/nvidia/" class="st_tag internal_tag" rel="tag" title="Posts tagged with nvidia">nvidia</a>-kernel-common
# m-a auto-<a href="http://www.surlyjake.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> nvidia-kernel${VERSION}-source
# apt-get <a href="http://www.surlyjake.com/tag/install/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install">install</a> nvidia-glx${VERSION}</code></pre>
<p>In the device section, add</p>
<pre><code><a href="http://www.surlyjake.com/tag/driver/" class="st_tag internal_tag" rel="tag" title="Posts tagged with driver">Driver</a> "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>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/02/install-debian-lenny-nvidia-drivers-using-binary-packages/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/02/install-debian-lenny-nvidia-drivers-using-binary-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

