<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[Ubuntu Forums - Tutorials & Tips]]></title>
		<link>http://ubuntuforums.org</link>
		<description><![CDATA[The place to find Ubuntu related Tips & Tricks.]]></description>
		<language>en</language>
		<lastBuildDate>Sun, 22 Nov 2009 10:38:25 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://ubuntuforums.org/images/misc/rss.jpg</url>
			<title><![CDATA[Ubuntu Forums - Tutorials & Tips]]></title>
			<link>http://ubuntuforums.org</link>
		</image>
		<item>
			<title>HowTO: Comprehensive Guide to Customising GDM and XSplash</title>
			<link>http://ubuntuforums.org/showthread.php?t=1333683&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 22:17:58 GMT</pubDate>
			<description>Image: http://img27.imageshack.us/img27/5962/screenshotpl.png  
Comprehensive Guide to Customising 
GDM and XSplash 
 
 
 
Preface 
This guide is my statement to those people who think that the new GDM login screen is un-customisable.</description>
			<content:encoded><![CDATA[<div><div align="center"><br />
<img src="http://img27.imageshack.us/img27/5962/screenshotpl.png" border="0" alt="" /><br />
<font size="5">Comprehensive Guide to Customising<br />
GDM and XSplash</font><br />
</div><br />
<br />
<font color="Sienna"><font size="4">Preface</font></font><br />
This guide is my statement to those people who think that the new GDM login screen is un-customisable.<br />
<br />
At the beginning of this month, I started playing around with a Netbook I bought back in August. Installed Karmic UNR, and started playing about with it.<br />
<br />
One thing I was looking for in the first place was a consistency across the UI. From Splash Screen, to Login Screen, to Desktop.<br />
Once that was sorted, and I picked up a thing or two about how GDM actually functions now, I then had the mad idea of turning GDM into a minimal desktop for the most basic functions I use everyday - XChat, Empathy and Browsing - and if I need to get to anything else - just login and I have the usual full control to the system and applications again.<br />
<br />
<font color="Red"><b>Before you run anything. I regard all material in this guide to be reasonably safe in terms of security. If you do find a hole or flaw, please contact me with an appropriate fix, if possible.</b></font><br />
<br />
<br />
<font color="Sienna"><font size="4">Changing XSplash Background</font></font><br />
Unfortunately, xsplash has the location of where the background it uses hard coded into the application. So you cannot alter this via changing a setting in a config file.<br />
<br />
Fortunately for us though, we use a Debian system, and such systems are capable of a certain administrative feature called &quot;diverting&quot;.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo dpkg-divert --local --rename --add /usr/share/images/xsplash/bg_2560x1600.jpg</code><hr />
</div>This renames the file 'bg_2560x1600.jpg' to 'bg_2560x1600.jpg.distrib', and sets the package manager config in such a way that if an update of xsplash were to come through, it will save the file as the diverted name (so the locally created file will not be overwritten).<br />
<br />
So that sorted out, just copy the image you want to that location:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo cp /usr/share/backgrounds/TheRainbowisDead.jpg /usr/share/images/xsplash/bg_2560x1600.jpg</code><hr />
</div>And logout/login to see your new xsplash.<br />
<br />
To restore this setting.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo unlink /usr/share/images/xsplash/bg_2560x1600.jpg<br />
sudo dpkg-divert --rename --remove /usr/share/images/xsplash/bg_2560x1600.jpg</code><hr />
</div><font color="Sienna"><font size="4">Changing GDM Background and Theme</font></font><br />
Now this could probably be done in a gconftool-2 command, but I prefer this method:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo cp /usr/share/applications/gnome-appearance-properties.desktop /usr/share/gdm/autostart/LoginWindow</code><hr />
</div>Then logout, and you'll see an appearance window pop up.<br />
Change it to how you prefer it, then close and login as usual.<br />
<br />
When you have logged in after finishing the customising. Just remove the file to prevent it starting up every time.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo unlink /usr/share/gdm/autostart/LoginWindow/gnome-appearance-properties.desktop</code><hr />
</div><br />
<font color="Sienna"><font size="4">Hacking GDM</font></font><br />
GDM still has configuration options that you can edit in gconf. You can get the list <a href="http://library.gnome.org/admin/gdm/2.26/configuration.html.en_GB" target="_blank">here.</a><br />
To run through what I consider to be the &quot;interesting&quot; ones in brief:<br />
<br />
<font color="Sienna"><font size="3">Disable User List</font></font><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo -u gdm gconftool-2 --set /apps/gdm/simple-greeter/disable_user_list --type bool true</code><hr />
</div>Disables the name list in the login screen.<br />
Valid values: true - false<br />
<br />
<font color="Sienna"><font size="3">Change Logo</font></font><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo -u gdm gconftool-2 --set /apps/gdm/simple-greeter/logo_icon_name --type string &quot;distributor-logo&quot;</code><hr />
</div>Changes the logo on the Login Window<br />
Default value: &quot;computer&quot;<br />
<br />
<font color="Sienna"><font size="3">Use Compiz?</font></font><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo -u gdm gconftool-2 --set /apps/gdm/simple-greeter/wm_use_compiz --type bool true</code><hr />
</div>Change default window manager from Metacity to Compiz. Probably just me, but that doesn't seem to take effect?<br />
Valid values: true - false<br />
<br />
<br />
<font color="Sienna"><font size="4">GDM and Compiz</font></font><br />
If the above key change didn't make any difference to you (didn't to me). Don't worry, there is another way!<br />
<br />
Now, to give a brief background, when gdm loads, it opens up all desktop applications inside the directory:<br />
/usr/share/gdm/autostart/LoginWindow/<br />
<br />
So any .desktop file kept in that directory will run whenever gdm loads.<br />
<br />
So! Using the same divert trick as earlier, divert the metacity.desktop file.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo dpkg-divert --local --rename --add /usr/share/gdm/autostart/LoginWindow/metacity.desktop</code><hr />
</div>Then copy over the compiz.desktop file.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo cp /usr/share/app-install/desktop/compiz.desktop /usr/share/gdm/autostart/LoginWindow</code><hr />
</div>This should be doable with any window manager within reason. (ie: mutter). Although feel free to see if any other will work too.<br />
<br />
<br />
<font color="Sienna"><font size="4">GDM and Network Connectivity</font></font><br />
Before we can connect to the Net, we need the Network Manager applet.<br />
<br />
Simple to install:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo cp /usr/share/app-install/desktop/nm-applet.desktop /usr/share/gdm/autostart/LoginWindow</code><hr />
</div><a href="http://davestechsupport.com/blog/2009/01/16/how-to-remove-ubuntus-password-keyring/" target="_blank">Then to set it up</a>, logout and enter in the passphrase/key for your network (presuming you are wireless). Then when asked for a password for a default keyring, leave it blank and just press 'Create'.<br />
You will be prompted with the message: &quot;<b>Store passwords unencrypted?</b>&quot;, just select &quot;Use Unsafe Storage&quot; and the password will be kept in clear text.<br />
<br />
This is essential if you don't want to be bugged by entering in a keyring password every time - and it isn't quite as insecure as it seems. Although the password will be in clear text, permissions deny any user except 'root' and 'gdm' from reading the file.<br />
<br />
<br />
<font color="Sienna"><font size="4">GDM and Firefox, XChat, Empathy</font></font><br />
This little trick in this guide is essentially turning GDM into a minimal desktop session, useful for doing quick web searches, or asking quick questions to friends without the need to login entirely!<br />
<br />
First, we insert Firefox. Now, I prefer to put it into the taskbar using 'alltray'.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install alltray</code><hr />
</div>Then copy over the desktop icon.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo cp /usr/share/app-install/desktop/firefox.desktop /usr/share/gdm/autostart/LoginWindow/</code><hr />
</div>And alter it so it open firefox with alltray:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo sed -i 's/^Exec=/Exec=alltray /' /usr/share/gdm/autostart/LoginWindow/firefox.desktop</code><hr />
</div>Now, when you come to the login screen, Firefox will be in a tray icon.<br />
<br />
The exact same procedure is used for XChat and Empathy too.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo cp /usr/share/app-install/desktop/xchat.desktop /usr/share/gdm/autostart/LoginWindow/<br />
sudo sed -i 's/^Exec=/Exec=alltray /' /usr/share/gdm/autostart/LoginWindow/xchat.desktop</code><hr />
</div>Although, in the case of Empathy, you will have two tray icons if you run the 'sed' command.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo cp /usr/share/app-install/desktop/empathy.desktop /usr/share/gdm/autostart/LoginWindow/<br />
sudo sed -i 's/^Exec=/Exec=alltray /' /usr/share/gdm/autostart/LoginWindow/empathy.desktop</code><hr />
</div>Of the above though - realistically you should only be needing firefox, as you can use it as both an IRC and IM client through either addons or web-based services.<br />
<br />
<br />
<font color="Sienna"><font size="4">GDM Hardening</font></font><br />
This last section of this is all about hardening GDM and reducing as many security breaches as possible.<br />
<br />
<font color="Sienna"><font size="3">What is already restricted?</font></font><br />
GDM itself already comes as pretty restrictive by default.<ul><li>GDM's Home Directory has the permission 750.</li>
<li>URL Handlers are disabled.</li>
<li>Save to Disk is disabled.</li>
<li>Printer Setup and Printing is disabled.</li>
<li>Lock Screen is disabled.</li>
<li>Command Line is disabled. Terminal program is set to /bin/true</li>
<li>The Majority of Keybindings are disabled.</li>
<li>Desktop and File Browsing is disabled.</li>
</ul><br />
<font color="Sienna"><font size="3">What else can be done?</font></font><br />
If anyone has anything more to add, please comment.<br />
<br />
<font color="Sienna"><font size="2"><b>Firefox Tweaking</b></font></font><ul><li>Install security addons. I recommend <a href="http://noscript.net/" target="_blank">No Script</a>.</li>
<li>Open about<b></b>:config and set '<b>browser.privatebrowsing.autostart</b>' to <b>True</b>.</li>
</ul><br />
<font color="Sienna"><font size="2"><b>Disallow Root Logins</b></font></font><br />
For reasons beyond me, GDM doesn't seem to deny root logins.<br />
This can be fixed though.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">gksu gedit /etc/pam.d/gdm</code><hr />
</div>And put below the <b>#%PAM-1.0</b><br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">auth required pam_succeed_if.so user != root quiet</code><hr />
</div>Alternatively, you could use what I believe to be the default behaviour of GDM 2.20<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">auth required pam_succeed_if.so uid &gt;= 1000 quiet<br />
auth required pam_succeed_if.so user != nobody quiet</code><hr />
</div><br />
<font color="Sienna"><font size="4">Last Words</font></font><br />
So, if you put your mind to it, you <b>can</b> make something out of nothing much. Hope you all enjoy the guide as much as I did creating it.<br />
<br />
Thanks for reading.<br />
<br />
Regards<br />
Iain<br />
<br />
TODO:<ul><li>AppArmor :D</li>
<li>Firefox doesn't close cleanly by itself.</li>
<li>Rather than alltray - perhaps tray shortcuts instead?</li>
<li>Enable window switching.</li>
</ul></div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>tinivole</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1333683</guid>
		</item>
		<item>
			<title>How to install the Microsoft VX-1000 webcam</title>
			<link>http://ubuntuforums.org/showthread.php?t=1333343&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 15:59:13 GMT</pubDate>
			<description>I recently bought a Microsoft VX-1000 webcam and spent a few hours trying to install it.  Since i was successful (at least for the video part) i wanted to share the steps i followed with everyone: 
  
 
1. Download the gspca driver from: linuxtv.org 
 
Code: 
--------- 
# wget...</description>
			<content:encoded><![CDATA[<div>I recently bought a Microsoft VX-1000 webcam and spent a few hours trying to install it.  Since i was successful (at least for the video part) i wanted to share the steps i followed with everyone:<br />
 <br />
<br />
1. Download the gspca driver from: linuxtv.org<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"># wget http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz</code><hr />
</div>2. Navigate to the directory where you saved the driver and extract it:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"># tar zxvf tip.tar.gz</code><hr />
</div>3. Enter  the new directory and the v4l subfolder:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"># cd v4l [tab]<br />
# cd v4l</code><hr />
</div>4. <div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"># make</code><hr />
</div>If make returns errors edit the .config created in the same directory and change:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">CONFIG_DVB_FIREDTV=m</code><hr />
</div>to<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">CONFIG_DVB_FIREDTV=n</code><hr />
</div>save and run “make” again.<br />
<br />
5.<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"> # sudo make install</code><hr />
</div>6. Blacklist the sn9c102 module by editing /etc/modprobe.d/blacklist-custom and adding:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">blacklist sn9c102</code><hr />
</div>Save and reboot.<br />
<br />
Your webcam should work now. Test it with Cheese.<br />
<br />
<br />
<b><font size="4">Skype</font></b><br />
<br />
Here's what i did to make it work with Skype:<br />
<br />
1.  Create a file - i named it webcamSkype - with the following in it:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so &amp;&amp; skype</code><hr />
</div>2.  Make it executable:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"># chmod +x webcamSkype</code><hr />
</div>3. Create a launcher on your panel to launch that script.<br />
<br />
Your webcam should work with Skype now.<br />
<br />
Since the gspca driver supports a lot of webcams i am assuming this would work with other webcams as well. <br />
<br />
I couldn't get the microphone to work yet, if someone got it to work please let us know how.<br />
<br />
Thanks to Andrè and Danny for the help</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>N_Nick</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1333343</guid>
		</item>
		<item>
			<title>HOWTO: AviSynth video processing with WINE</title>
			<link>http://ubuntuforums.org/showthread.php?t=1333264&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 14:06:54 GMT</pubDate>
			<description><![CDATA[*=============== 
HOWTO: AviSynth video processing with WINE 
===============* 
 
This guide has been tested with Ubuntu 9.10 "Karmic Koala" and AviSynth 2.6.0 Alpha 2 (090927), but should work in any supported Ubuntu release, with any 2.5+ version of AviSynth (and probably older ones too). 
...]]></description>
			<content:encoded><![CDATA[<div><b>===============<br />
HOWTO: AviSynth video processing with WINE<br />
===============</b><br />
<br />
<i>This guide has been tested with Ubuntu 9.10 &quot;Karmic Koala&quot; and AviSynth 2.6.0 Alpha 2 (090927), but should work in any supported Ubuntu release, with any 2.5+ version of AviSynth (and probably older ones too).<br />
<br />
Unless otherwise noted, all Windows-like paths (e.g. <font face="monospace">c:\windows\system32</font>) in this guide refer to the corresponding locations in your WINE virtual drive (by default, <font face="monospace">~/.wine/drive_c</font>).<br />
<br />
This document is copyright 2009 Firas Kraiem. It can be redistributed in any form, for any purpose, with or without modification, provided that this copyright notice appears in the distribution.</i><br />
<br />
AviSynth is a very powerful video processing tool for Windows. Since it uses Windows-only interfaces like VfW (Video for Windows), AviSynth scripts cannot be used directly as input for Linux video encoding tools. However, a solution exists: <a href="http://akuvian.org/src/avisynth/avs2yuv/" target="_blank">avs2yuv</a> is an utility designed specifically for WINE, which takes an AviSynth script as input, and dumps its output as a yuv4mpeg stream to stdout or to a file, thus allowing further encoding using any encoding tool that supports yuv4mpeg input.<br />
<br />
<br />
<b>Usage</b><br />
<br />
In order to use it, the AviSynth DLLs (<font face="monospace">avisynth.dll</font> and <font face="monospace">devil.dll</font>) must be present in your WINE library path. Just running the AviSynth installer in WINE will do the trick. I also recommend copying <font face="monospace">avs2yuv.exe</font> to <font face="monospace">c:\windows\system32</font> so you can run it by typing just <font face="monospace">wine avs2yuv</font>, instead of its full access path.<br />
<br />
Finally, it is a good idea to have the latest x264 (see for example <a href="http://ubuntuforums.org/showthread.php?t=786095" target="_blank">this guide</a> about compiling it), since the build from the Karmic repositories is too old and lacks some options that make the process slightly easier.<br />
<br />
The avs2yuv homepage shows some usage examples. Another handy one, using x264 for encoding, would be:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">wine avs2yuv input.avs - | x264 --stdin y4m --output output.264 -</code><hr />
</div>The <font face="monospace">--stdin y4m</font> parameter is important: it tells x264 that what it gets on stdin is a yuv4mpeg stream. By default, x264 expects raw YUV data, which is not what you have.<br />
<br />
If you kept the x264 version from the repos, you can use:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">wine avs2yuv -raw input.avs - | x264 --crf 20 --fps 24000/1001 --output output.264 - 848x480</code><hr />
</div>Since the x264 version from the repos does not support y4m on standard input, you have to pass raw YUV data instead, which means that you also have to specify the framerate and resolution of your video stream.<br />
<br />
If you have a lot of similar encodings to do, you can use shell scripts to automate that, for example:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">% cat encoding.sh<br />
#!/bin/sh<br />
#<br />
# Usage:<br />
#<br />
# encoding.sh [input] [pass] [bitrate] [output]<br />
#<br />
# input:&nbsp;  input .avs script<br />
# pass:&nbsp; &nbsp; 1 for first pass, 2 for second pass<br />
# bitrate: bitrate :D<br />
# output:&nbsp; output file<br />
<br />
if [ $2 = 1 ]; then<br />
&nbsp; &nbsp; output=NUL<br />
else<br />
&nbsp; &nbsp; output=$4<br />
fi<br />
<br />
wine avs2yuv $1 - | x264 --preset slower --tune animation \<br />
--pass $2 --bitrate $3 --stats &quot;$4.pass&quot; --bframes 4 --ref 8 \<br />
--trellis 1 --colormatrix bt470bg --stdin y4m --output $output -<br />
<br />
% ./encoding.sh input.avs 1 1500 output.264<br />
[..]<br />
% ./encoding.sh input.avs 2 1500 output.264</code><hr />
</div><br />
<b>Bugs and caveats</b><br />
<ul><li>I couldn't get the GPU AviSynth filters (e.g. fft3dgpu) to work correctly. If someone got them to work, please report in this thread.</li>
<li>RemoveGrain's dynamically linked builds (<font face="monospace">RemoveGrain.dll</font>, <font face="monospace">RemoveGrainSSE2.dll</font>, <font face="monospace">RemoveGrainSSE3.dll</font>, et al.) require the Microsoft Visual C++ 2005 runtime libraries (<font face="monospace">vcrun2005</font> in winetricks). The statically linked builds (<font face="monospace">RemoveGrainS.dll</font>, et al.) do not.</li>
<li>VSFilter will not work correctly with the WINE version from the official Ubuntu repositories, but will with the latest WINE beta (you can get it from the <a href="http://www.winehq.org/download/deb" target="_blank">WINE repositories</a>).</li>
</ul><br />
All other filters I've tested work out of the box. Of course, I can't test them all, so if you find one that doesn't, please report in this thread.</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>Bachstelze</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1333264</guid>
		</item>
		<item>
			<title>Speed up your Karmic PC Tip - 9.10 Karmic ONLY!!</title>
			<link>http://ubuntuforums.org/showthread.php?t=1333077&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 08:04:16 GMT</pubDate>
			<description>I forget where, but I came across this guide and tried it. Wow it makes a huge difference in speed. Please know what you are doing first, tis why I hate posting these tips, but this one really helped my pc. 
* 
THIS IS FOR 9.10 KARMIC USERS ONLY*. 
 
Important tips to make Ubuntu faster 
Faster...</description>
			<content:encoded><![CDATA[<div>I forget where, but I came across this guide and tried it. Wow it makes a huge difference in speed. Please know what you are doing first, tis why I hate posting these tips, but this one really helped my pc.<br />
<b><br />
THIS IS FOR 9.10 KARMIC USERS ONLY</b>.<br />
<br />
Important tips to make Ubuntu faster<br />
Faster boot time:<br />
<br />
Edit /etc/init.d/rc<br />
$ sudo gedit /etc/init.d/rc<br />
<br />
And change the line (line 33)<br />
CONCURRENCY=none<br />
to<br />
CONCURRENCY=shell<br />
----<br />
<br />
<br />
Install preload daemon<br />
<br />
Linux's preload daemon... monitors what programs you use most often and caches these programs and dependent libraries in (unused) memory to speed up application start time. If your system has 1GB or more memory then preload will have a positive effect. Install and start the preload process. Run command<br />
<br />
$ sudo apt-get install -y preload<br />
<br />
It will automatically load at boot.<br />
----<br />
<br />
<br />
Disable IPv6 in the kernel<br />
It seems to me that the lookup of IP version 6 addresses takes a lot of time. Let's disable it.<br />
$ echo 1 | sudo tee /proc/sys/net/ipv6/conf/all/disable_ipv6<br />
<br />
Check its status<br />
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6<br />
0 = Enabled<br />
1 = Disabled<br />
<br />
$ sudo gedit /etc/rc.local<br />
You can put the following blue line to /etc/rc.local (before the &quot;exit 0&quot; line) so it's set at boot up:<br />
<br />
echo 1 &gt; /proc/sys/net/ipv6/conf/all/disable_ipv6<br />
----<br />
<br />
<br />
Disable IPv6 in Firefox<br />
Start Firefox and write about<b></b>:config in the address (location) bar.<br />
<br />
Then look for network.dns.disableIPv6 parameter.<br />
Double click the line and set it to true.  Restart your Firefox.  <br />
 __________________________________________________  ________________________<br />
<br />
<br />
I rebooted my system afterwards JIC, but I'm not sure if needed for full effect.</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>gordong11</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1333077</guid>
		</item>
		<item>
			<title><![CDATA[IMAP - Thunderbird v. 2 and Gmail working in Linux Ubuntu 9.10 & FETCHed Error fixed]]></title>
			<link>http://ubuntuforums.org/showthread.php?t=1332747&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 22:29:31 GMT</pubDate>
			<description>OK, so after my day and a half long struggle to get Thunderbird (version 2.0.0.23) to work perfectly in Ubuntu 9.10 I figured I should share my knowledge and my references. 
 
Sorry if this tutorial is really explanatory, but I want to try to help out all the beginners along with the more advanced...</description>
			<content:encoded><![CDATA[<div>OK, so after my day and a half long struggle to get Thunderbird (version 2.0.0.23) to work perfectly in Ubuntu 9.10 I figured I should share my knowledge and my references.<br />
<br />
Sorry if this tutorial is really explanatory, but I want to try to help out all the beginners along with the more advanced crowd.  (I'm somewhat more advanced, but the tutorials that I found were so non-explanatory that I'm gonna try to be different.) :D ;)<br />
<br />
Anyway, here we go... <br />
<br />
<b>How To make Mozilla Thunderbird version 2.0 and Gmail work with IMAP in Linux Ubuntu 9.10 and fix the FETCHed Error Message</b> <br />
<br />
<ol style="list-style-type: decimal"><li>After downloading and installing Thunderbird via the &quot;Ubuntu Software Center&quot; in Ubuntu, launch Mozilla Thunderbird.</li>
<li>Log onto your Gmail account using your internet browser.</li>
<li>Then go to: <a href="http://mail.google.com/support/bin/answer.py?answer=77662" target="_blank">http://mail.google.com/support/bin/a...y?answer=77662</a><ul><li><u>Note:</u> Step 2 in the link above is wrong.  To access the &quot;Account Settings dialog box in Thunderbird version 2.0, you actually need to go to: Edit -&gt; Account Settings</li>
<li><u>Note:</u> Skip step 21 for now and don't change to any &quot;Recommended Client Settings&quot; given by Gmail.  (You can do this later, for now the basic settings to get this working are all that are needed.)</li>
</ul></li>
<li>Follow the instructions there to set up your Gmail online web account and to set up Thunderbird to connect to Gmail online via IMAP.<ul><li><u>Note:</u> That's 2 parts - first enable IMAP in your web account then set up IMAP in your Thunderbird application (<b>in that order</b>).</li>
</ul></li>
<li>After you have set up your Thunderbird account it should automatically begin to download your mail messages. (Don't worry it is only downloading the subject line not the actual messages so you aren't eating up your hard drive space.)<ul><li><u>Note:</u> If there is nothing being downloaded you may have to click the &quot;Get Mail&quot; button at the top left corner of your Thunderbird window.</li>
</ul></li>
<li>If the download completes and you see all your message without an error message everything worked fine,<ul><li><b><u>But</u>,</b> if you get the following error message:  &quot;The current command did not succeed. The mail server responded: Some messages could not be FETCHed (Failure).&quot; see the instructions to fix it below...</li>
</ul> </li>
</ol><br />
<u><b>Problem:<br />
</b></u>Mozilla Thunderbird gives you this alert when you try to download your messages to the application.<b><br />
Alert:  &quot;The current command did not succeed. The mail server responded: Some messages could not be FETCHed (Failure).&quot;</b><br />
<br />
<u><b>The Fix:</b></u><br />
<ol style="list-style-type: decimal"><li>Close Thunderbird and log out of Gmail online.</li>
<li>Go to: Applications -&gt; Accessories -&gt; Terminal</li>
<li>Enter:<font size="1"> <i><b>sudo cp -p /etc/profile /etc/profile_backup</b></i></font><ul><li><font size="1"><font face="Verdana">This will back up your profile, just in case you need to undo the changes below.</font></font></li>
</ul></li>
<li>Next open the file in the gedit application by typing: <i><b>gksudo gedit /etc/profile</b></i><ul><li>A gedit window should open up.</li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">In the window that opens up, scroll down to the bottom of the text, hit the &quot;Enter&quot; button on your keyboard twice and type the following (on 2 separate lines in the order shown):  <br />
</font></font></font><ul><li><font size="2"><font face="Verdana"><font size="1"><i><b>NSPR_LOG_MODULES=imap:5<br />
NSPR_LOG_FILE=/tmp/imap.log</b></i></font></font></font></li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">Hit the &quot;Enter&quot; button on your keyboard twice more.</font></font></font></li>
<li><font size="2"><font face="Verdana"><font size="1">Save the file and close it.</font></font></font></li>
<li><font size="2"><font face="Verdana"><font size="1">Go back to your Terminal window, which should still be open, and type (exactly):</font></font></font><ul><li><font size="2"><font face="Verdana"><font size="1"><i><b>export NSPR_LOG_MODULES=imap:5</b></i></font></font></font></li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">Hit the &quot;Enter&quot; key.<br />
</font></font></font></li>
<li><font size="2"><font face="Verdana"><font size="1">Then type (exactly):</font></font></font><ul><li><font size="2"><font face="Verdana"><font size="1"><i><b>export NSPR_LOG_FILE=&quot;/tmp/imap.log&quot;</b></i></font></font></font></li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">Hit the &quot;Enter&quot; key again.<br />
</font></font></font></li>
<li><font size="2"><font face="Verdana"><font size="1">Then launch Mozilla Thunderbird from the Terminal by typing:</font></font></font><ul><li><font size="2"><font face="Verdana"><font size="1"><b><i>mozilla-thunderbird</i></b><br />
</font></font></font></li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">If you have your settings defined as described in Steps 2-5 above Thunderbird should start loading the message headers again.  If not hit the &quot;Get Mail&quot; button as described in Step 5.<br />
</font></font></font><ul><li><font size="2"><font face="Verdana"><font size="1">Note: YOU WILL GET THE ERROR/ALERT FAILURE MESSAGE AGAIN!  THIS IS OK. ;)</font></font></font></li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">In the standard view settings of Thunderbird your message subject lines should be listed in a window at the top right of the Thunderbird window...</font></font></font><ul><li><font size="2"><font face="Verdana"><font size="1">It should read: | Subject | Sender | Date | [little button with picture of a table and a down arrow] |</font></font></font></li>
<li><font size="2"><font face="Verdana"><font size="1">Click the little button on the far righthand side, and check &quot;Order Received&quot;<br />
</font></font></font></li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">Then in Ubuntu go through the following menu options and open the &quot;imap.log&quot; file: <br />
</font></font></font><ul><li><font size="2"><font face="Verdana"><font size="1">Places -&gt; Computer -&gt; [Filesystem] -&gt; tmp -&gt; imap.log</font></font></font></li>
<li><font size="2"><font face="Verdana"><font size="1"><u>Note:</u> If while you are in the &quot;imap.log&quot; file it loads a message saying that the file has changed on the disk and asks if you want to reload it answer NO/CANCEL!<br />
</font></font></font></li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">Scroll to the bottom of the imap.log file. <br />
</font></font></font></li>
<li><font size="2"><font face="Verdana"><font size="1">Press the [Ctrl+F] keys and look for the following phrase (minus the quotes):</font></font></font><ul><li><font size="2"><font face="Verdana"><font size="1">&quot;</font></font></font><b>NO Some messages could not be FETCHed</b>&quot;</li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">Search the ENTIRE file and write down or make a note somewhere of which UID numbers are generating the error message from Step 16.</font></font></font><ul><li><font size="2"><font face="Verdana"><font size="1">Here is a sample &quot;imap.log&quot; file to taken from <a href="http://www.google.com/support/forum/p/gmail/thread?tid=1acf74d2c4c1ed46&amp;hl=en&amp;fid=1acf74d2c4c1ed46000478794a8f7f7b" target="_blank">here</a>:</font></font></font></li>
<li><font size="5"><font color="Blue">&quot;</font></font>1344[3f74b68]: 42a5818:imap.gmail.com:S-[Gmail]/All Mail:CreateNewLineFromSocket: * 1 FETCH (UID <b>77 </b>FLAGS (\Seen))<br />
1344[3f74b68]: ReadNextLine [stream=266f8f8 nb=37 needmore=0]<br />
1344[3f74b68]: 42a5818:imap.gmail.com:S-[Gmail]/All Mail:CreateNewLineFromSocket: * 2 FETCH (UID 69923 FLAGS (\Seen))<br />
1344[3f74b68]: ReadNextLine [stream=266f8f8 nb=37 needmore=0]<br />
...<br />
1344[3f74b68]: 42a5818:imap.gmail.com:S-[Gmail]/All Mail:SendData: 9 UID fetch <b>77 </b>(UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Subject Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content-Type)])<br />
1344[3f74b68]: ReadNextLine [stream=266f8f8 nb=51 needmore=0]<br />
1344[3f74b68]: 42a5818:imap.gmail.com:S-[Gmail]/All Mail:CreateNewLineFromSocket: 9 <b>NO Some messages could not be FETCHed</b> (Failure)<font size="5"><font color="Blue">&quot;</font></font></li>
</ul></li>
<li><font size="2"><font face="Verdana"><font size="1">The number that you should be paying attention to and making note of is the &quot;fetch 77&quot; right before the &quot;</font></font></font>(UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS&quot;.</li>
<li>Without closing the &quot;imap.log&quot; file, go back into Thunderbird, which should be still open, and look for the <u>number(s)</u> that you noted from the &quot;fetch ##&quot; in Step 19 above.</li>
<li>Scroll through Thunderbird to find that number under the &quot;Order Received&quot; column from Step 14 above.</li>
<li>Write down the time and date of the message(s) that are causing the fetch error/alert.  (<u><b>THESE MESSAGES ARE THE PROBLEM!</b></u>)</li>
<li>Repeat Steps 21 &amp; 22 until you have found all the problematic messages.</li>
<li>Log back into Gmail web/online version (i.e. www.gmail.com) using your internet browser.</li>
<li>Search for the bad message(s) one-by-one.</li>
<li>Delete the bad message(s) one-by-one.</li>
<li>Logout of Gmail web/version.</li>
<li>Close the &quot;imap.log&quot; file.</li>
<li>Close Mozilla Thunderbird.</li>
<li>Close the Terminal.</li>
<li>Re-launch Mozilla Thunderbird and the <b>problem should be fixed!</b>  :D :KS<ul><li>If the problem still persists, then you may need to find out the date an alternate way.  See the techie way of doing it below...</li>
</ul> </li>
</ol><br />
<u><b>An Alternate Way of Finding the Problem Messages:<br />
</b></u><blockquote><ul><li>These steps will replace Steps 21-23 in &quot;The Fix&quot; listed right above.</li>
</ul></blockquote><ol style="list-style-type: decimal"><li>Open the Terminal window by going to: Applications -&gt; Accessories -&gt; Terminal</li>
<li>Enter:<ul><li><b>openssl s_client -host imap.gmail.com -port 993 -crlf</b></li>
<li><b>? login <i>yourusername@gmail.com password</i></b></li>
<li><b>? select &quot;[Gmail]/All Mail&quot;</b></li>
<li><b>? fetch <i>77</i> fast</b></li>
<li>Note:  You should replace the &quot;77&quot; written in the command above with the number &quot;##&quot; from the &quot;fetch ##&quot; line in the imap.log file.  <i>(See Step 19 in &quot;The Fix&quot; for clarification.)</i></li>
</ul></li>
<li>Repeat the &quot;? fetch&quot; command in Step 2 until you have all the date and times of the problem messages.  (<b><u>AGAIN, THESE ARE THE PROBLEM MESSAGES!</u></b>)</li>
<li>Continue on from Step 24 in &quot;The Fix&quot; listed above.</li>
</ol><br />
You're done!  :popcorn:  Easy right...??  :D</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>specialk1st</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1332747</guid>
		</item>
		<item>
			<title>TIP: Creative soundcard pop/click fix for Karmic Koala.</title>
			<link>http://ubuntuforums.org/showthread.php?t=1332531&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 18:03:36 GMT</pubDate>
			<description><![CDATA[Note: this tip MAY affect other sound cards too. :) 
 
To fix pops/clicks (and maybe the hissing bug too) while listening to audio on Karmic Koala try this... 
 
Open /etc/pulse/default.pa for editing (as root)- 
Go to (on your panel) Applications>Accessories>Terminal and in the box that opens...]]></description>
			<content:encoded><![CDATA[<div>Note: this tip MAY affect other sound cards too. :)<br />
<br />
To fix pops/clicks (and maybe the hissing bug too) while listening to audio on Karmic Koala try this...<br />
<br />
Open /etc/pulse/default.pa for editing (as root)-<br />
Go to (on your panel) Applications&gt;Accessories&gt;Terminal and in the box that opens enter this=<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">gksudo gedit /etc/pulse/default.pa</code><hr />
</div>Terminal will ask you for your USER password (the one you log into Ubuntu with); while you enter it you will see NO input. Don't worry, the password will be there so go ahead and hit your enter key. Gedit will open default.pa for editing.<br />
Scroll down until you find this-<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">### Automatically load driver modules depending on the hardware available<br />
.ifexists module-udev-detect.so<br />
load-module module-udev-detect <br />
.else<br />
### Alternatively use the static hardware detection module (for systems that<br />
### lack udev support)<br />
load-module module-detect<br />
.endif</code><hr />
</div>This line is the one that you want to change-<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">load-module module-udev-detect</code><hr />
</div>Add tsched=0 (that's a zero) to the end of it so it looks like this-<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">load-module module-udev-detect tsched=0</code><hr />
</div>I also commented out (with a # in front of the line) bluetooth support as I don't use it-<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">### Automatically load driver modules for Bluetooth hardware<br />
#.ifexists module-bluetooth-discover.so<br />
#load-module module-bluetooth-discover<br />
#.endif</code><hr />
</div>Then go to File-Save (upper left). When the file is saved a copy of your old version is kept with a ~ (tilde) added to the end. I would recommend renaming the backup (~) file with a different name (default.pabak) so it doesn't get deleted.<br />
Last but not least you can either reboot or kill and restart pulseaudio.<br />
If you have problems/bugs after this edit it is a simple matter to delete the new file and then rename the old one back to default.pa<br />
You can do this through the terminal or by opening nautilus as root-<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">gksudo nautilus</code><hr />
</div>(CTRL+H to show hidden files)<br />
Just be careful running nautilus as root as any changes you make are pretty much PERMANENT!<br />
<br />
Disclaimer:<br />
I have NOT tried running any other audio/sound apps besides Rythmbox after performing this fix. There is a chance it might affect other parts of your audio subsystem (movies, flash, games etc). If you do encounter any problems do the file rename fix stated above.<br />
<br />
Links...<br />
<a href="http://www.pulseaudio.org/wiki/Modules" target="_blank">http://www.pulseaudio.org/wiki/Modules</a><br />
Thanks marmuta (post #7) <a href="http://ubuntuforums.org/showthread.php?t=1005668" target="_blank">http://ubuntuforums.org/showthread.php?t=1005668</a><br />
<a href="https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/336965" target="_blank">https://bugs.launchpad.net/ubuntu/+s...io/+bug/336965</a><br />
and...<br />
<a href="http://www.google.com/search?hl=en&amp;as_q=&amp;as_epq=tsched%3D0&amp;as_oq=Karmic&amp;as_eq=&amp;num=10&amp;lr=&amp;as_filetype=&amp;ft=i&amp;as_sitesearch=&amp;as_qdr=all&amp;as_rights=&amp;as_occt=any&amp;cr=&amp;as_nlo=&amp;as_nhi=&amp;safe=images" target="_blank">http://www.google.com/search?hl=en&amp;a...i=&amp;safe=images</a></div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>Shazaam</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1332531</guid>
		</item>
		<item>
			<title>get your old microsoft serial mouse working on COM1 with 9.10</title>
			<link>http://ubuntuforums.org/showthread.php?t=1331499&amp;goto=newpost</link>
			<pubDate>Thu, 19 Nov 2009 16:43:18 GMT</pubDate>
			<description>to get your old microsoft serial mouse working on COM1 with 9.10 you need to install the gpm package.so in a terminal enter 
Quote: 
 
---Quote--- 
sudo apt-get install gpm 
---End Quote--- 
then ,after it is installed, you enter in terminal 
 
Quote:</description>
			<content:encoded><![CDATA[<div>to get your old microsoft serial mouse working on COM1 with 9.10 you need to install the gpm package.so in a terminal enter<br />
Quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo apt-get install gpm
			
			<hr />
		</td>
	</tr>
	</table>
</div>then ,after it is installed, you enter in terminal<br />
<br />
Quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo inputattach --microsoft /dev/ttyS0
			
			<hr />
		</td>
	</tr>
	</table>
</div>now move your mouse around to see that your serial mouse is working ok.<br />
OK?<br />
now you need to set you computer to run it on startup.<br />
so in a terminal enter<br />
Quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo gedit /etc/rc.local
			
			<hr />
		</td>
	</tr>
	</table>
</div>an editer window opens with<br />
Quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				#!/bin/sh -e<br />
#<br />
# rc.local<br />
#<br />
# This script is executed at the end of each multiuser runlevel.<br />
# Make sure that the script will &quot;exit 0&quot; on success or any other<br />
# value on error.<br />
#<br />
# In order to enable or disable this script just change the execution<br />
# bits.<br />
#<br />
# By default this script does nothing.<br />
<br />
exit 0
			
			<hr />
		</td>
	</tr>
	</table>
</div>now enter<br />
<br />
<br />
Quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				inputattach --microsoft /dev/ttyS0
			
			<hr />
		</td>
	</tr>
	</table>
</div>so that the <b>/etc/rc.local</b> file contains<br />
Quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				#!/bin/sh -e<br />
#<br />
# rc.local<br />
#<br />
# This script is executed at the end of each multiuser runlevel.<br />
# Make sure that the script will &quot;exit 0&quot; on success or any other<br />
# value on error.<br />
#<br />
# In order to enable or disable this script just change the execution<br />
# bits.<br />
#<br />
# By default this script does nothing.<br />
<br />
<b>## added serial mouse input ##<br />
inputattach --microsoft /dev/ttyS0</b><br />
<br />
exit 0
			
			<hr />
		</td>
	</tr>
	</table>
</div>now save this file and close editer.<br />
now ,when you re-boot, your serial mouse will work.</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>raygj</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1331499</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Authenticating Windows to openLDAP server on Ubuntu 9.10]]></title>
			<link>http://ubuntuforums.org/showthread.php?t=1330637&amp;goto=newpost</link>
			<pubDate>Wed, 18 Nov 2009 19:55:37 GMT</pubDate>
			<description><![CDATA[This is a quick guide to setting up LDAP on your server so that Linux/Windows users can join your domain.  This was written specifically because I saw several people complaining that it could not be done on Ubuntu 9.10 and I figured, "Hey I've worked it out, so why not share it?" 
 
I used the...]]></description>
			<content:encoded><![CDATA[<div><font size="2">This is a quick guide to setting up LDAP on your server so that Linux/Windows users can join your domain.  This was written specifically because I saw several people complaining that it could not be done on Ubuntu 9.10 and I figured, &quot;Hey I've worked it out, so why not share it?&quot;</font><br />
<br />
I used the following two resources as a guide.  They provided much of the information, but there was just a few key pieces missing in both of them since 9.10. I hope this helps you.<br />
<br />
I have used the guide at least 4 times on a clean install of Ubuntu 9.10.  It has worked 100% without so much as a hiccup.  It <i>should </i>work for you too ;)<br />
<br />
   <div align="center"><font size="3"><font color="RoyalBlue"><b>LDAP</b></font></font><br />
</div> <font size="2"><br />
</font>   <font size="2"><font color="RoyalBlue"><b>At-a-Glance</b></font></font><font size="2"><br />
  1.Download necessary packages<br />
  2.Prepare the System<br />
  3.Configure slapd<br />
  4.Prepare LDAP for use with Samba<br />
<br />
</font>    <font size="2"><font color="RoyalBlue"><b>Download necessary packages</b></font></font><br />
<br />
  <br />
<br />
          <div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">apt-get   --yes install slapd ldap-utils db4.2-util samba-doc</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">  <br />
<br />
You can use Synaptic Package Manager if you want, just make sure the following four packages are installed (make sure to accept any dependencies as well)<br />
</font>   <ul><li><font size="2">slapd</font></li>
<li><font size="2">ldap-utils</font></li>
<li><font size="2">db4.2-util</font></li>
<li><font size="2">samba-doc<br />
</font></li>
</ul><font size="2">   I chose to use the terminal window because I’ve given you the entire command to just copy and paste.  It’s a lot quicker than searching through Synaptic.<br />
<br />
<font color="RoyalBlue"><b>Prepare the System</b></font><br />
<br />
  Rather than having LDAP store every user we create in the home directory, we’re going to create a separate directory for LDAP to use.  This is really more of a house keeping issue than anything else.  It make keeping track of things a little easier (in my opinion).<br />
<br />
</font><blockquote><font size="2">   1.Make the directory</font><font size="2"><br />
</font><blockquote><font size="2">Open a new terminal window and as a regular user enter</font><br />
</blockquote></blockquote><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">mkdir /ldaphome      </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   2.Make the directory available to everyone</font><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">chmod 777 /ldaphome -R</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote></blockquote><font size="2"><br />
<font color="RoyalBlue"><b>Configure slapd</b></font><br />
<br />
    There is one important thing you should know before following this part of my guide.  slapd’s latest build allows you to dynamically make changes to the directory structure without requiring a restart.  This is a great feature but there is one small problem: It sucks.  I’ve spent HOURS reading the official documentation trying to figure out how to use the stupid thing and it still makes no sense.  It’s bulky, complicated, and requires way too much work to make changes.  It needs some serious revision (like an easy to use GUI) before I make the transition (Or at least some better documentation, shesh).<br />
<br />
  However, using the old method is a temporary solution.  It’s a known fact that at some point the people who release slapd <b><i><u>will</u></i></b> remove support for the older way of modifying slapd.  So you have two choices.<br />
<br />
</font><blockquote><font size="2">   1.Follow this guide to replace the new method (slapd.d directory structure) with the original method (slapd.conf file) and then be forced to upgrade at some point in the (distant, not so distant?) future.</font><br />
<font size="2">   2.Use this guide as a basis for what to do, but learn how to use the new method yourself.</font><br />
</blockquote><font size="2">   Okay, with that out of the way...<br />
<br />
</font><blockquote><font size="2">   1.The first step is to completely remove the slapd.d directory.  To do so open a terminal window with root privileges and enter the following command.</font><br />
</blockquote><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				rm -r /etc/ldap/slapd.d
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"><br />
</font><blockquote><font size="2">   2.Next we need to edit the main slapd file.</font><br />
</blockquote><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">gedit   /etc/default/slapd</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Around the 6th line you should see</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">SLAPD_CONF=</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   We’re going to change the line to</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">SLAPD_CONF=/etc/ldap/slapd.conf</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   3.Add the samba schema for ldap</font><br />
</blockquote><font size="2"><br />
</font><blockquote><font size="2">   Enter the following two commands in a terminal window with root privileges</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">gunzip   /usr/share/doc/samba-doc/examples/LDAP/samba.schema.gz</font></font><br />
<font face="&amp;quot;"><font size="2">cp -v   /usr/share/doc/samba-doc/examples/LDAP/samba.schema /etc/ldap/schema</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   4.Decide on a LDAP administrator password and generate a SSHA hash key for it</font><br />
</blockquote><font size="2"><br />
</font><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				slappasswd   -s YOUR-PASSWORD-GOES-HERE
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"><br />
</font><blockquote><font size="2">   It will return a line that looks something like this:</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">{SSHA}LQFFfwELK3few56afcsdaDSADS135w</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"><br />
</font><blockquote><font size="2">   5.Create an init.lidf file</font><br />
<br />
<font size="2">   In just a minute we’re going to use this file to populate our LDAP server.  Enter the command</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">gedit   /etc/ldap/init.ldif</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"><br />
  Since there is no file by that name yet, gedit will automatically create it for you.  Copy and paste the following into your empty init.ldif file.  Remember to replace each dc=example, dc=local with your own domain information.  Look below the box for a description of the main term in this file.<br />
<br />
          </font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				dn: dc=example,dc=local<br />
objectClass: dcObject<br />
objectClass: organizationalUnit<br />
dc: example<br />
ou: My Example File <br />
<br />
dn: cn=admin, dc=example,dc=local<br />
objectClass: simpleSecurityObject<br />
objectClass: organizationalRole<br />
cn: admin<br />
description: LDAP administratoruser<br />
Password: {SSHA}<b>paste-here-the-results-of-slappaswd</b> <br />
  <br />
dn: ou=Users, dc=example,dc=local<br />
objectClass: organizationalUnit<br />
ou: Users <br />
<br />
dn: ou=Groups, dc=example,dc=local<br />
objectClass: organizationalUnit<br />
ou: Groups <br />
<br />
dn: ou=Computers, dc=example,dc=local<br />
objectClass: organizationalUnit<br />
ou: Computers <br />
<br />
dn: ou=Idmap, dc=example,dc=localobject<br />
Class: organizationalUnit<br />
ou: Idmap
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2"><br />
<br />
<br />
<br />
</font><blockquote><font size="2">    6.Create the slapd.conf file</font><br />
</blockquote><font size="2">   Okay so we’ve told slapd to use the old method of configuration, but the slapd.conf file doesn’t actually exist yet.<br />
<br />
</font><blockquote><font size="2">   To create it enter the following command</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot"><font size="2">gedit   /etc/ldap/slapd.conf</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
  Copy and paste the following then save and close it.   Remember to replace example.local with your actual domain information.<br />
<br />
          </font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2"># Remember to replace suffix &quot;dc=example,dc=local&quot; with your domain name<br />
# Change the rootpw entry with the results from slappaswd (Must match the same you pasted on init.ldif) <br />
<br />
# /etc/ldap/slapd.conf<br />
# This is the main slapd configuration file. See slapd.conf(5) for more<br />
# info on the configuration options.<br />
<br />
 ##################################################  ###################### <br />
<br />
Global Directives: <br />
# Features to permit<br />
#allow bind_v2<br />
<br />
# Schema and objectClass definitions<br />
include         /etc/ldap/schema/core.schema<br />
include         /etc/ldap/schema/cosine.schema<br />
include         /etc/ldap/schema/nis.schema<br />
include         /etc/ldap/schema/inetorgperson.schema<br />
include         /etc/ldap/schema/samba.schema<br />
include         /etc/ldap/schema/misc.schema<br />
<br />
# Where the pid file is put. The init.d script<br />
# will not stop the server if you change this.<br />
pidfile                      /var/run/slapd/slapd.pid<br />
<br />
# List of arguments that were passed to the server<br />
argsfile                   /var/run/slapd/slapd.args<br />
<br />
# Read slapd.conf(5) for possible valuesloglevel        0<br />
# Where the dynamically loaded modules are stored<br />
modulepath               /usr/lib/ldap<br />
moduleload          back_bdb<br />
<br />
# The maximum number of entries that is returned for a search<br />
operationsizelimit 500 <br />
<br />
# The tool-threads parameter sets the actual amount of cpu's that is used<br />
# for indexing.<br />
tool-threads 1 <br />
<br />
##################################################  #####################<br />
# Specific Backend Directives for bdb:<br />
# Backend specific directives apply to this backend until another<br />
# 'backend' directive occurs<br />
backend                   bdb<br />
#checkpoint 512 30 <br />
<br />
##################################################  #####################<br />
# Specific Backend Directives for 'other':<br />
# Backend specific directives apply to this backend until another<br />
# 'backend' directive occurs<br />
#backend                &lt;other&gt; <br />
<br />
##################################################  #####################<br />
# Specific Directives for database #1, of type bdb:<br />
# Database specific directives apply to this databasse until another<br />
# 'database' directive occurs<br />
database              bdb <br />
<br />
# The base of your directory in database #1<br />
suffix                       &quot;dc=example,dc=local&quot; <br />
<br />
# rootdn directive for specifying a superuser on the database. This is needed<br />
# for syncrepl.<br />
rootdn                                &quot;cn=admin,dc=example,dc=local&quot;<br />
rootpw                      {SSHA}iPFTqrtwr3yT3XGQot2wxCuuljKA9vMU <b># REMEMBER!  REPLACE THIS WITH THE RESULTS FROM SLAPPASSWD</b> <br />
<br />
# Where the database file are physically stored for database #1<br />
directory       &quot;/var/lib/ldap&quot; <br />
<br />
# For the Debian package we use 2MB as default but be sure to update this<br />
# value if you have plenty of RAM<br />
dbconfig set_cachesize 0 2097152 0 <br />
<br />
# Sven Hartge reported that he had to set this value incredibly high<br />
# to get slapd running at all. See <a href="http://bugs.debian.org/303057#" target="_blank">http://bugs.debian.org/303057</a><br />
# for more information. <br />
<br />
# Number of objects that can be locked at the same time.<br />
dbconfig set_lk_max_objects 1500<br />
# Number of locks (both requested and granted)<br />
dbconfig set_lk_max_locks 1500<br />
# Number of lockers<br />
dbconfig set_lk_max_lockers 1500 <br />
<br />
# Indexing options for database #1<br />
#index                  objectClass eq, pres<br />
index ou,cn,sn,mail,givenname                            eq,pres,sub<br />
index uidNumber,gidNumber,memberUid        eq,pres<br />
index loginShell                                       eq,pres<br />
index uniqueMember                                                    eq,pres<br />
index uid                                               pres,sub,eq<br />
index displayName                                   pres,sub,eq<br />
index sambaSID                                      eq<br />
index sambaPrimaryGroupSID                                  eq<br />
index sambaDomainName                                            eq<br />
index default                                                                    sub<br />
#index   uid                                 pres,eq,sub <br />
<br />
# Save the time that the entry gets modified, for database #1<br />
lastmod         on <br />
<br />
# Where to store the replica logs for database #1<br />
# replogfile    /var/lib/ldap/replog <br />
<br />
# The userPassword by default can be changed<br />
# by the entry owning it if they are authenticated.<br />
# Others should not be able to see it, except the<br />
# admin entry below<br />
# These access lines apply to database #1 only<br />
access to attrs=userPassword,shadowLastChange,sambaNTPasswor  d,sambaLMPassword<br />
                       by dn=&quot;cn=admin,dc=example,dc=local&quot; </font><font size="2"> write</font><br />
<font size="2">                              by anonymous </font><font size="2">auth        </font><br />
<font size="2">                       by self </font><font size="2">write</font><br />
<font size="2">                       by * none <br />
<br />
# Ensure read access to the base for things like<br />
# supportedSASLMechanisms.  Without this you may<br />
# have problems with SASL not knowing what<br />
# mechanisms are available and the like.<br />
# Note that this is covered by the 'access to *'<br />
# ACL below too but if you change that as people<br />
# are wont to do you'll still need this if you<br />
# want SASL (and possible other things) to work<br />
# happily.<br />
access to dn.base=&quot;&quot; by * read <br />
<br />
# The admin dn has full write access, everyone else<br />
# can read everything.<br />
access to * <br />
             by dn=&quot;cn=admin,dc=example,dc=local&quot; write        <br />
             by * read <br />
<br />
# For Netscape Roaming support, each user gets a roaming<br />
# profile for which they have write access to<br />
#access to dn=&quot;.*,ou=Roaming,o=morsnet&quot;<br />
#                          by dn=&quot;cn=admin,dc=example,dc=ch&quot; write<br />
#                   by dnattr=owner write <br />
<br />
##################################################  ####################<br />
# Specific Directives for database #2, of type 'other' (can be bdb too):<br />
# Database specific directives apply to this databasse until another<br />
# 'database' directive occurs<br />
#database        &lt;other&gt; <br />
<br />
# The base of your directory for database #2<br />
#suffix         &quot;dc=debian,dc=org&quot;</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2"><br />
<br />
<br />
<br />
</font><blockquote><font size="2">   7.Initialize the LDAP database</font><br />
<br />
<br />
<font size="2">   First stop the slapd service</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">/etc/init.d/slapd   stop</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Ensure that the ldap folder is clean</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">rm -rf   /var/lib/ldap/*</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2"> <br />
<font face="Arial">Add the .ldif file you created</font></font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">slapadd -v -l /etc/ldap/init.ldif</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
  If all goes well you should see a final line that looks like this:<br />
<br />
</font>                         <div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">#################### 100.00% eta   none elapsed            none fast!</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2"><br />
<br />
<br />
</font><blockquote><font size="2">   Make sure that LDAP has the correct privileges to access its own directory</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">chown -R openldap:openldap /var/lib/ldap</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Start the slapd service back up</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">/etc/init.d/slapd start</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2">   If everything was done correctly it will say starting OpenLDAP: slapd <br />
  If you get an error message go back and make sure you’ve done everything correctly<br />
<br />
</font><blockquote><font size="2">   8.Test to see if everything is working</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">ldapsearch   -xLLL -b &quot;dc=example,dc=com&quot;</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
  If it’s working then it should list all the entries that we created in the init.ldif file.<br />
<br />
</font><div align="center"><font size="2"><font size="3"><font color="RoyalBlue"><b>Samba</b></font></font></font><br />
</div><font size="2"> <br />
<br />
<b>At-a-Glance</b><br />
  1.Install Samba<br />
  2.Configure Samba<br />
  3.Configure smbldap-tools<br />
<font color="RoyalBlue"><br />
<b>Install Samba</b></font> <br />
<br />
  Again, we have two options of installing Samba.  For those who want to use a bash prompt:<br />
</font><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				apt-get --yes install samba   libpam-smbpass smbldap-tools
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
  For the Synaptic fans make sure you install the following packages<br />
</font>                                                       <ul><li><font size="2">samba (not samba 4.  I imagine everything would work fine if you did install samba4, but the one I’m using (and thus proven to work) is samba.  Additionally at the time of this writing samba 4 was still listed as “Experimental”)</font></li>
<li>libpam-smppass</li>
<li>smbldap-tools</li>
</ul><font size="2"> <font color="RoyalBlue"><b>Configure Samba for use with LDAP</b></font><br />
<br />
</font><blockquote><font size="2">   1.Create Samba folders that have not been automatically created ..</font><br />
<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">mkdir -v   /var/lib/samba/profiles</font></font><br />
<font face="&amp;quot;"><font size="2">chmod 777   /var/lib/samba/profiles</font></font><br />
<font face="&amp;quot;"><font size="2">mkdir -v -p   /var/lib/samba/netlogon</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
</font><blockquote><font size="2">   2.Edit the smb.conf file</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">gedit   /etc/samba/smb.conf</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
  Delete EVERYTHING that is there and replace it with the following.  Be sure to replace EXAMPLE with your information.<br />
<br />
          </font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="Arial"><font size="2"><br />
[global]<br />
</font></font><blockquote><font face="Arial"><font size="2"> # Domain name ..        </font></font><br />
<font face="Arial"><font size="2">workgroup = EXAMPLE        </font></font><br />
<font face="Arial"><font size="2"># Server name - as seen by Windows PCs ..        </font></font><br />
<font face="Arial"><font size="2">netbios name = SERVERNAME        </font></font><br />
<font face="Arial"><font size="2"># Be a PDC ..        </font></font><br />
<font face="Arial"><font size="2">domain logons = Yes        </font></font><br />
<font face="Arial"><font size="2">domain master = Yes        </font></font><br />
<font face="Arial"><font size="2"># Be a WINS server ..        </font></font><br />
<font face="Arial"><font size="2">wins support = true         </font></font><br />
<br />
<font face="Arial"><font size="2">obey pam restrictions = Yes        </font></font><br />
<font face="Arial"><font size="2">dns proxy = No        </font></font><br />
<font face="Arial"><font size="2">os level = 35        </font></font><br />
<font face="Arial"><font size="2">log file = /var/log/samba/log.%m        </font></font><br />
<font face="Arial"><font size="2">max log size = 1000        </font></font><br />
<font face="Arial"><font size="2">syslog = 0        </font></font><br />
<font face="Arial"><font size="2">panic action = /usr/share/samba/panic-action %d        </font></font><br />
<font face="Arial"><font size="2">pam password change = Yes         </font></font><br />
<br />
<font face="Arial"><font size="2"># Allows users on WinXP PCs to change their password when they press Ctrl-Alt-Del</font></font><br />
<font face="Arial"><font size="2">unix password sync = no        </font></font><br />
<font face="Arial"><font size="2">ldap passwd sync = yes         </font></font><br />
<br />
<font face="Arial"><font size="2"># Printing from PCs will go via CUPS ..        </font></font><br />
<font face="Arial"><font size="2">load printers = yes        </font></font><br />
<font face="Arial"><font size="2">printing = cups        </font></font><br />
<font face="Arial"><font size="2">printcap name = cups         </font></font><br />
<br />
<font face="Arial"><font size="2"># Use LDAP for Samba user accounts and groups ..        </font></font><br />
<font face="Arial"><font size="2">passdb backend = ldapsam:ldap://localhost         </font></font><br />
<br />
<font face="Arial"><font size="2"># This must match init.ldif ..        </font></font><br />
<font face="Arial"><font size="2">ldap suffix = dc=example,dc=com        </font></font><br />
<font face="Arial"><font size="2"># The password for cn=admin MUST be stored in /etc/samba/secrets.tdb        </font></font><br />
<font face="Arial"><font size="2"># This is done by running 'sudo smbpasswd -w'.        </font></font><br />
<font face="Arial"><font size="2">ldap admin dn = cn=admin,dc=example,dc=com         </font></font><br />
<br />
<font face="Arial"><font size="2"># 4 OUs that Samba uses when creating user accounts, computer accounts, etc.        </font></font><br />
<font face="Arial"><font size="2"># (Because we are using smbldap-tools, call them 'Users', 'Computers', etc.)        </font></font><br />
<font face="Arial"><font size="2">ldap machine suffix = ou=Computers        </font></font><br />
<font face="Arial"><font size="2">ldap user suffix = ou=Users        </font></font><br />
<font face="Arial"><font size="2">ldap group suffix = ou=Groups        </font></font><br />
<font face="Arial"><font size="2">ldap idmap suffix = ou=Idmap        </font></font><br />
<font face="Arial"><font size="2"># Samba and LDAP server are on the same server in this example.        </font></font><br />
<font face="Arial"><font size="2">ldap ssl = no         </font></font><br />
<br />
<font face="Arial"><font size="2"># Scripts for Samba to use if it creates users, groups, etc.        </font></font><br />
<font face="Arial"><font size="2">add user script = /usr/sbin/smbldap-useradd -m '%u'        </font></font><br />
<font face="Arial"><font size="2">delete user script = /usr/sbin/smbldap-userdel %u        </font></font><br />
<font face="Arial"><font size="2">add group script = /usr/sbin/smbldap-groupadd -p '%g'        </font></font><br />
<font face="Arial"><font size="2">delete group script = /usr/sbin/smbldap-groupdel '%g'        </font></font><br />
<font face="Arial"><font size="2">add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g'        </font></font><br />
<font face="Arial"><font size="2">delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g'        </font></font><br />
<font face="Arial"><font size="2">set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'         </font></font><br />
<br />
<font face="Arial"><font size="2"># Script that Samba users when a PC joins the domain .. </font></font><br />
<font face="Arial"><font size="2">       # (when changing 'Computer Properties' on the PC)<br />
add machine </font></font><font face="Arial"><font size="2">script = /usr/sbin/smbldap-useradd -w '%u' </font></font><br />
<br />
<font face="Arial"><font size="2"># Values used when a new user is created ..        </font></font><br />
<font face="Arial"><font size="2"># (Note: '%L' does not work properly with smbldap-tools 0.9.4-1)    </font></font><br />
<font face="Arial"><font size="2">logon drive =        </font></font><br />
<font face="Arial"><font size="2">logon home =        </font></font><br />
<font face="Arial"><font size="2">logon path = </font></font><br />
<font face="Arial"><font size="2">       logon script =          </font></font><br />
<br />
<font face="Arial"><font size="2"># This is required for Windows XP client .. </font></font><br />
<font face="Arial"><font size="2">       server signing = auto        </font></font><br />
<font face="Arial"><font size="2">server schannel = Auto </font></font><br />
</blockquote><font face="Arial"><font size="2"><br />
[homes]        <br />
</font></font><blockquote><font face="Arial"><font size="2">comment = Home Directories        </font></font><br />
<font face="Arial"><font size="2">valid users = %S </font></font><br />
<font face="Arial"><font size="2">       read only = No        </font></font><br />
<font face="Arial"><font size="2">browseable = No </font></font><br />
</blockquote><font face="Arial"><font size="2">[netlogon]        <br />
</font></font><blockquote><font face="Arial"><font size="2">comment = Network Logon Service </font></font><br />
<font face="Arial"><font size="2">path = /var/lib/samba/netlogon        </font></font><br />
<font face="Arial"><font size="2">admin users = root        </font></font><br />
<font face="Arial"><font size="2">guest ok = Yes        </font></font><br />
<font face="Arial"><font size="2">browseable = No </font></font><br />
</blockquote><font face="Arial"><font size="2"><br />
[Profiles]        <br />
</font></font><blockquote><font face="Arial"><font size="2">comment = Roaming Profile Share        </font></font><br />
<font face="Arial"><font size="2"># would probably change this to elsewhere in a production system ..        </font></font><br />
<font face="Arial"><font size="2">path = /var/lib/samba/profiles        r</font></font><br />
<font face="Arial"><font size="2">ead only = No        profile </font></font><br />
<font face="Arial"><font size="2">acls = Yes </font></font><br />
<font face="Arial"><font size="2">       browsable = No </font></font><br />
</blockquote><font face="Arial"><font size="2"><br />
[printers] <br />
</font></font><blockquote><font face="Arial"><font size="2">       comment = All Printers </font></font><br />
<font face="Arial"><font size="2">       path = /var/spool/samba        </font></font><br />
<font face="Arial"><font size="2">use client driver = Yes        </font></font><br />
<font face="Arial"><font size="2">create mask = 0600        </font></font><br />
<font face="Arial"><font size="2">guest ok = Yes        </font></font><br />
<font face="Arial"><font size="2">printable = Yes        </font></font><br />
<font face="Arial"><font size="2">browseable = No        </font></font><br />
<font face="Arial"><font size="2">public = yes </font></font><br />
<font face="Arial"><font size="2">writable = yes </font></font><br />
<font face="Arial"><font size="2">       admin users = root </font></font><br />
<font face="Arial"><font size="2">       write list = root </font></font><br />
</blockquote><font face="Arial"><font size="2"><br />
[print$] <br />
</font></font><blockquote><font face="Arial"><font size="2">       comment = Printer Drivers </font></font><br />
<font face="Arial"><font size="2">Share        path = /var/lib/samba/printers        </font></font><br />
<font face="Arial"><font size="2">write list = root        </font></font><br />
<font face="Arial"><font size="2">create mask = 0664        </font></font><br />
<font face="Arial"><font size="2">directory mask = 0775        </font></font><br />
<font face="Arial"><font size="2">admin users = root</font></font> </blockquote>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2"> <br />
</font><blockquote><font size="2">   3.Store LDAP password for Samba use</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">smbpasswd -W</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   It will display the following</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">Setting stored password for   &quot;cn=admin,dc=example,dc=com&quot; in secrets.tdb</font></font><br />
<font face="&amp;quot;"><font size="2">   New SMB password:</font></font><br />
<font face="&amp;quot;"><font size="2">   Retype new SMB password:</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Make sure that the password you type in is the same one you created with slappasswd -s</font><br />
<br />
<br />
<font size="2">   4.Restart Samba</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">/etc/init.d/samba restart</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <font color="RoyalBlue"><br />
<b>Configure smbldap-tools</b></font> <br />
<br />
</font><blockquote><font size="2">   1.Getting smbldap-tools ready</font><br />
</blockquote><font size="2"><br />
</font><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">cd /usr/share/doc/smbldap-tools/examples/</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   <font face="Arial">Then execute the following commands</font></font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">cp smbldap_bind.conf /etc/smbldap-tools/<br />
</font></font><font face="&amp;quot;"><font size="2">cp smbldap.conf.gz /etc/smbldap-tools/</font></font><font face="&amp;quot;"><font size="2"><br />
gzip -d /etc/smbldap-tools/smbldap.conf.gz</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font face="Arial"><font size="2">Open up the smbldap-tools directory:</font></font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">cd /etc/smbldap-tools/</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   2.Get your netSID for your domain</font><br />
<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">net getlocalsid</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
</font><blockquote><font size="2"> It will return something like:</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">SID for domain SERVERNAME is:   S-1-5-21-2899629268-4176875250-2352135513</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Copy this number</font><br />
</blockquote><font size="2"> <br />
</font><blockquote><font size="2">   3.Edit your smbldap.conf file</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">gedit   /etc/smbldap-tools/smbldap.conf</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   We need to make the following changes, but you cannot just copy and paste them into the file.  You need to search for them and make the adjustments.</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2"><br />
SID=&quot;S-1-5-21-949328747-3404738746-3052206637&quot; ## This line must have the same SID as when you ran &quot;net getlocalsid&quot;<br />
sambaDomain=&quot;EXAMPLE&quot;<br />
ldapTLS=&quot;0&quot;<br />
suffix=&quot;dc=example,dc=local&quot;<br />
sambaUnixIdPooldn=&quot;sambaDomainName=EXAMPLE,${suffi  x}&quot; ## Be careful with this section!!<br />
userHome=&quot;/ldaphome/%U&quot; ## This is found in the UNIX section.<br />
userSmbHome=<br />
userProfile=<br />
userHomeDrive=<br />
userScript=<br />
mailDomain=&quot;example.local&quot;    </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
</font><blockquote><font face="Arial"><font size="2">4.</font></font><font face="Arial"><font size="2">Open the file /etc/smbldap-tools/smbldap_bind.conf file for editing:</font></font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">gedit   /etc/smbldap-tools/smbldap_bind.conf</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font face="Arial"><font size="2">Edit the file so the following is correct according to your setup</font></font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">slaveDN=&quot;cn=admin,dc=example,dc=local&quot;<br />
slavePw=&quot;12345&quot;<br />
masterDN=&quot;cn=admin,dc=example,dc=local&quot;<br />
masterPw=&quot;12345&quot;    </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   5.Set the correct permission for the above two files</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">chmod 0644 /etc/smbldap-tools/smbldap.conf       <br />
chmod 0600 /etc/smbldap-tools/smbldap_bind.conf      </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   6.Populate the LDAP database with essential Samba entries. <br />
This includes the creation of standard groups, such as Administrators and Domain Users.</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">smbldap-populate</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   You will see an output like</font><br />
</blockquote><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">           Populating   LDAP directory for domain EXAMPLE(S-1-5-21-2899629268-4176875250-2352135513)</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> At the very end it will ask you to enter a password for samba.  Go ahead and enter the same password you used when you used the command slappasswd –s<br />
<br />
</font><blockquote><font size="2">   7.Stop the LDAP server, run slapindex, and restart the LDAP server.</font><br />
</blockquote><font size="2">  <br />
</font><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">/etc/init.d/slapd   stop</font><br />
<font size="2">              slapindex <br />
</font><font size="2">              chown openldap:openldap   /var/lib/ldap/*</font><br />
<font size="2">              /etc/init.d/slapd start</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
  Slapd should start with no problem.  If it doesn’t retrace your steps in the config files and check for the following.  Especially check smbladp_bind.conf and make sure you didn’t misspell your password.  Otherwise check your smbldap.conf file and make sure you made all the appropriate changes. <br />
<br />
  You shouldn’t need to look anywhere else but those two files.  The reason being that slapd was already running successfully up to this point.  Any reason for its failure should be isolated to the changes you just made.<br />
<b><br />
<font color="RoyalBlue">OpenLDAP</font></b><br />
<br />
  <b>At-a-Glance</b><br />
  1.Add a User<br />
  2.Add LDAP authentication<br />
  3.Add a Windows computer to the domain<br />
<br />
<font color="RoyalBlue"><b>Add a User</b></font><br />
<br />
  Your directory is almost ready for use, but so far no one is in it!  Let’s add a user.  I’ll use the example of matthew, but you might as well change it to be whatever user name you plan on using yourself (we’ll be giving it root privileges).  I suggest on making the name different from user name you set up during installation just to keep things clean.<br />
<br />
</font><blockquote><font size="2">   1.Add the user</font><br />
</blockquote><font size="2"> <br />
</font><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				           smbldap-useradd   -a -m -M matthewb -c “Matthew B” matthewb
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				  The -a sets up a Samba (and UNIX) account<br />
  The -m will create a home directory for the user if one does not yet exist<br />
  The -M sets their username as part of their e-mail<br />
  The -c sets their fully name<br />
  matthewb is the name of the user
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
</font><blockquote><font size="2">   Before we’re done setting up this user account, we need to add a password.</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				smbldap-passwd matthewb
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2"><br />
</font><font size="2">   It will prompt you for a password.</font><br />
</blockquote><font size="2"> <br />
</font><blockquote><font size="2">   2.Give it administrator privileges </font><br />
<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">/usr/sbin/smbldap-groupmod   -m 'matthewb' 'Administrators'</font><br />
<font size="2">              /usr/sbin/smbldap-groupmod   -m 'root' 'Administrators'</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
<font color="RoyalBlue"><b>Configure Authentication</b></font><br />
<br />
</font><blockquote><font size="2">   1.Add LDAP Authentication on the Server</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">apt-get   --yes install ldap-auth-client</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   It will ask you a series of questions, here’s how to answer them.</font><br />
</blockquote><blockquote><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				         <font size="2">             LDAP   server Uniform Resource Identifier:ldap://127.0.0.1</font><br />
<font size="2">              Distinguished   name of the search base:dc=example,dc=com</font><br />
<font size="2">              LDAP   version to use: 3</font><br />
<font size="2">              Make   local root Database admin:Yes</font><br />
<font size="2">              Does   the LDAP database require login?No</font><br />
<font size="2">              LDAP   account for root:cn=admin,dc=example,dc=com</font><br />
<font size="2">              LDAP   root account password:&lt;   enter the LDAP admin password&gt;&gt;</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div></blockquote><font size="2"> <br />
</font><blockquote><font size="2">   2.Edit your ldap.conf file</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">gedit   /etc/ldap.conf</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Find the following referenced lines and make the changes indicated (Make sure to uncomment them if they are commented out)</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">host 127.0.0.1<br />
base dc=example,dc=loca<br />
luri ldap://127.0.0.1/<br />
rootbinddn cn=admin,dc=example,dc=local<br />
bind_policy soft    </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   3.Copy your ldap.conf into the correct folder</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">cp /etc/ldap.conf /etc/ldap/ldap.conf      </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   4.Configure the authentication</font><br />
<br />
<font size="2">   Create a new file by running</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">gedit /etc/auth-client-config/profile.d/open_ldap      </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Copy and paste the following into the new file<br />
<br />
</font><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">        [open_ldap]<br />
nss_passwd=passwd: compat ldap<br />
nss_group=group: compat ldap<br />
nss_shadow=shadow: compat ldap<br />
nss_netgroup=netgroup: nis<br />
pam_auth=auth          required                   pam_env.so <br />
        auth                sufficient               pam_unix.so likeauth nullok <br />
        auth                sufficient               pam_ldap.so use_first_pass <br />
        auth                required                    pam_deny.so<br />
pam_account=account      sufficient            pam_unix.so <br />
       account                sufficient               pam_ldap.so <br />
       account                 required                   pam_deny.so<br />
pam_password=password           sufficient          pam_unix.so nullok md5 shadow use_authtok <br />
        password                     sufficient            pam_ldap.so use_first_pass <br />
        password                          required                   pam_deny.so<br />
pam_session=session      required                     pam_limits.so <br />
        session                   required                  pam_mkhomedir.so skel=/etc/skel/ umask=0077 <br />
        session                  required               pam_unix.so <br />
        session                  optional                pam_ldap.so    </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   5.Enable the new profile</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">auth-client-config -a -p open_ldap      </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   If you receive the following error:</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font face="&amp;quot;"><font size="2">Error in updating the file: 'nss_netgroup'   not found</font></font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Then open your open_ldap file</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">gedit   /etc/auth-client-config/profile.d/open_ldap</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Delete the line that says</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">nss_netgroup=netgroup: nis      </font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   And replace it with</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">nss_netgroup=netgroup:   compat ldap</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Finally, run the</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<font size="2">auth-client-config   -a -p open_ldap</font>
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Command again, you’ll get server error messages about how a certain command already exists. As long as you do not see</font><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Error in updating the file: 'nss_netgroup'   not found
			
			<hr />
		</td>
	</tr>
	</table>
</div><font size="2">   Then everything installed correctly and you’re good to go!</font><br />
</blockquote><font size="2"> <br />
</font><blockquote><font size="2">   6.Enable Samba in Firewall</font><br />
<br />
All that's left to do is to allow Samba services through your firewall.  This is necessary because we are using Samba as a stop-gap between LDAP and the windows machines.<br />
<br />
<br />
<font size="2">   7.Restart the server<br />
<br />
</font></blockquote>You can now join a computer to your domain like normal.  When it prompts you for a user name with administrative passwords, <b>don't use root</b>.  Use the one you made.  The reason is that Ubuntu disables root, so I don't think that username will work if you try to use it.<br />
<br />
I really hope this guide helps you.  Windows and openLDAP certainly aren't the easiest thing to get to work together (A direct authentication via Kerberos would be awesome), but it CAN be done!  Good luck guys (and gals too I guess:P)!</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>abishur</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1330637</guid>
		</item>
		<item>
			<title>HOWTO:  Install extra deskop environments</title>
			<link>http://ubuntuforums.org/showthread.php?t=1329937&amp;goto=newpost</link>
			<pubDate>Wed, 18 Nov 2009 03:41:55 GMT</pubDate>
			<description><![CDATA[I see this question pop up all the time, so here's a tutorial. 
Note that these packages should be possible to get through Synaptic or another package manager, but the terminal is used in this tutorial.  To search in a package manager, when it says 
 
 
Code: 
--------- 
sudo apt-get install...]]></description>
			<content:encoded><![CDATA[<div>I see this question pop up all the time, so here's a tutorial.<br />
Note that these packages should be possible to get through Synaptic or another package manager, but the terminal is used in this tutorial.  To search in a package manager, when it says<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install [insert package here]</code><hr />
</div>you would put everything after the word install into your package manager search box, in this case it would be [insert package here].<br />
<br />
GNOME (recommended command)<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install ubuntu-desktop</code><hr />
</div>Alternate command to install GNOME<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install gnome</code><hr />
</div>KDE (recommended command)<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install kubuntu-desktop</code><hr />
</div>Alternate command to install KDE<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install kde</code><hr />
</div>XFCE (recommended command)<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install xubuntu-desktop</code><hr />
</div>Alternate command to install XFCE<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install xfce</code><hr />
</div>LXDE<br />
Currently, this is the command to use (read section for more details)<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install lxde</code><hr />
</div><a href="http://en.wikipedia.org/wiki/Lubuntu" target="_blank">http://en.wikipedia.org/wiki/Lubuntu</a> - The reason I have linked to this article is because &quot;Lubuntu&quot; will supposedly one day supposed to become an official deriative.  If anyone is interested to see if this will happen, attempt running<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install lubuntu-desktop</code><hr />
</div>My guess is it will be by 10.04.  If anyone is interested, you can try running the command just to see if anything is detected.  So far, though, the output is<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">E: Couldn't find package lubuntu-desktop</code><hr />
</div>We will probably have to wait for 10.04 for another oppurtunity for it to pop up, though.  Then again, I still use Jaunty, so this command might work in Karmic.  If it works for you, report back with what version you are using (you don't have to let me know what variant).<br />
<br />
IceWM<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install icewm</code><hr />
</div>JWM<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo apt-get install jwm</code><hr />
</div><b>How to open the terminal</b><br />
GNOME<br />
Applications -&gt; Accessories -&gt; Terminal<br />
<br />
KDE<br />
Note:  It doesn't make a difference were whether you are using the Kick-Off or the classic style menu.<br />
System - Konsole Terminal<br />
Note2:  If you find something that just says &quot;Terminal&quot; or just &quot;Konsole&quot; that will work too.<br />
<br />
For other DE's, I need to be using them to tell you what to do.  Let me know if you can't find your terminal, and I will help you.<br />
<br />
If you want some information about the desktop environments before installation, please refer to these Wikipeida articles.<br />
<br />
<a href="http://en.wikipedia.org/wiki/GNOME" target="_blank">http://en.wikipedia.org/wiki/GNOME</a><br />
<a href="http://en.wikipedia.org/wiki/KDE" target="_blank">http://en.wikipedia.org/wiki/KDE</a><br />
<a href="http://en.wikipedia.org/wiki/XFCE" target="_blank">http://en.wikipedia.org/wiki/XFCE</a><br />
<a href="http://en.wikipedia.org/wiki/LXDE" target="_blank">http://en.wikipedia.org/wiki/LXDE</a><br />
<a href="http://en.wikipedia.org/wiki/IceWM" target="_blank">http://en.wikipedia.org/wiki/IceWM</a><br />
<a href="http://en.wikipedia.org/wiki/JWM" target="_blank">http://en.wikipedia.org/wiki/JWM</a><br />
<br />
If you feel clarification is needed, or if there's a DE you know of that I forgot, let me know.</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>Dullstar</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1329937</guid>
		</item>
		<item>
			<title>HOWTO: Install Adobe Flash 10.1 beta</title>
			<link>http://ubuntuforums.org/showthread.php?t=1329654&amp;goto=newpost</link>
			<pubDate>Tue, 17 Nov 2009 21:14:10 GMT</pubDate>
			<description><![CDATA[The Adobe Flash player 10.1 beta was released. 
 
First download the tarball from *here* (http://labs.adobe.com/downloads/flashplayer10.html). 
 
Next close Firefox and uninstall your current flash player by removing "flashplugin-installer" ("sudo apt-get remove flashplugin-installer") 
 
Then...]]></description>
			<content:encoded><![CDATA[<div>The Adobe Flash player 10.1 beta was released.<br />
<br />
First download the tarball from <a href="http://labs.adobe.com/downloads/flashplayer10.html" target="_blank"><b><i>here</i></b></a>.<br />
<br />
Next close Firefox and uninstall your current flash player by removing &quot;flashplugin-installer&quot; (&quot;sudo apt-get remove flashplugin-installer&quot;)<br />
<br />
Then extract the tarball to an empty location. Either right click and choose &quot;Extract Here&quot; or use &quot;tar xzf flashplayer10_1*&quot; in your terminal.<br />
For <b>32bit</b> systems you should be able to run &quot;flashplayer-installer&quot; by doing &quot;./flashplayer-installer&quot; in your terminal.<br />
For <b>64bit</b> systems it is a little more tricky. You have to use a terminal, cd to the folder where the new flash player is extracted, and run these commands:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo mv libflashplayer.so /usr/lib/mozilla/plugins/<br />
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so<br />
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/<br />
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/</code><hr />
</div>To remove it on 64bit systems run these commands:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo rm /usr/lib/mozilla/plugins/libflashplayer.so<br />
sudo rm /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so<br />
sudo rm /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so<br />
sudo rm /usr/lib/firefox-addons/plugins/npwrapper.libflashplayer.so</code><hr />
</div>If you don't know what 64bit systems are then don't use the commands above...<br />
<br />
<a href="http://labs.adobe.com/technologies/flashplayer10/releasenotes.pdf" target="_blank"><i>Here is a link to the release notes.</i></a><br />
<br />
Finally open Firefox, click Tools, choose Add-ons, click the plugins tab, and look for Shockwave Flash 10.1.<br />
Once you see that you may enjoy your YouTube videos!:popcorn:</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>WattoDaToydarian</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1329654</guid>
		</item>
		<item>
			<title>Ubuntu Desktop Computing Made Easy Karmic Koala 9.10</title>
			<link>http://ubuntuforums.org/showthread.php?t=1329345&amp;goto=newpost</link>
			<pubDate>Tue, 17 Nov 2009 15:03:03 GMT</pubDate>
			<description>This documentation is intended for folks that would like to add additional programs and applications to their Ubuntu Karmic Koala installation for a better overall experience. Please keep in mind older computers may have video performance issues due to high CPU usage and increased memory...</description>
			<content:encoded><![CDATA[<div>This documentation is intended for folks that would like to add additional programs and applications to their Ubuntu Karmic Koala installation for a better overall experience. Please keep in mind older computers may have video performance issues due to high CPU usage and increased memory requirements.<br />
<br />
Recommended: Pentium 4 or higher processor with 1Gb SDRAM, 256Mb graphics card, 10/100 Ethernet card and 20Gb hard disk. <br />
<br />
The easiest way to perform most of these installs is to copy and paste from this post into a terminal window (found in Accessories). I strongly suggest installing a few things at a time, testing each along the way.<br />
<br />
<b>Start by going to System &gt; select Administration &gt; select Software Sources &gt; Check the all the boxes under the Ubuntu Software, Third-Party Software and Updates tabs &gt; Close and Reload</b><br />
<br />
Get all the available Ubuntu updates at this point, look for the update notification icon on the task bar. Reboot after updating your system and then install as many of the following as you wish.<br />
<br />
If you're having slowness issues with the default repository go to System &gt; select Administration &gt; select Software Sources &gt; Ubuntu Software tab &gt; Download from: drop down menu &gt; select Other &gt; click Select Best Server and  when it finishes the query click Choose Server &gt; Close and Reload.<br />
<br />
Many of these installations require access to the Medibuntu Repository and enabling some additional software sources. Directions are on this site: <b><a href="https://help.ubuntu.com/community/Medibuntu" target="_blank">https://help.ubuntu.com/community/Medibuntu</a></b> or if you have Ubuntu 9.10 &quot;Karmic Koala&quot; simply do the following from a terminal window:<br />
<br />
<b>sudo wget [url]sudo wget http://www.medibuntu.org/sources.list.d/karmic.list --output-document=/etc/apt/sources.list.d/medibuntu.list</b><br />
<br />
<b>sudo apt-get update &amp;&amp; sudo apt-get install medibuntu-keyring &amp;&amp; sudo apt-get update</b><br />
<br />
Media players, codecs, plug-ins and accessories are needed for playing various multimedia formats (this is the motherload).<br />
<b>sudo apt-get install gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gstreamer0.10-pitfdll gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-sdl gstreamer-dbus-media-service gstreamer-tools freepats gstreamer0.10-gnomevfs liba52-0.7.4 libass3 libavcodec52 libavformat52 libavutil49 libcdaudio1 libcelt0 libdc1394-22 libdca0 libdirac0c2a libdvdnav4 libdvdread4 libenca0 libfaac0 libfaad0 libffado1 libfftw3-3 libfreebob0 libgsm1 libid3tag0 libiptcdata0 libjack0 libkate1 libmad0 libmimic0 libmjpegtools-1.9 libmms0 libmodplug0c2 libmp3lame0 libmpcdec3 libmpeg2-4 libofa0 libopenspc0 libpostproc51 libquicktime1 libschroedinger-1.0-0 libsidplay1 libsoundtouch1c2 libswscale0 libtwolame0 libwildmidi0 libx264-67 libxml++2.6-2 libxvidcore4 w32codecs libdvdcss2 libxine1-ffmpeg debhelper fakeroot libfftw3-dev jackd sidplay-base liblrdf0-dev xsidplay mplayer avifile-divx-plugin avifile-xvid-plugin dh-make g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg cvs gettext-doc jack-tools libjackasyn0 avifile-mad-plugin avifile-mjpeg-plugin avifile-player avifile-utils avifile-vorbis-plugin avifile-win32-plugin libcurl3-dbg libgcrypt11-doc libggi-target-emu libggi-target-monotext libggimisc2 gnutls-doc gnutls-bin guile-gnutls krb5-doc libraptor1-doc libstdc++6-4.3-doc mplayer-doc diff-doc easytag-aac faac faad ffmpeg ffmpeg2theora flac gxine icedax id3tool id3v2 lame liba52-0.7.4-dev libavfilter0 libflac++6 libid3-3.8.3c2a libjpeg-progs libmozjs0d libmp4v2-0 libmpg123-0 libsox-fmt-alsa libsox-fmt-base libsox1a mpeg2dec mpeg3-utils mpegdemux mpg123 mpg321 libamrnb3 libamrwb3 sox tagtool twolame vorbis-tools gecko-mediaplayer build-essential comerr-dev cpp-4.3 dpkg-dev g++ g++-4.3 g++-4.4 g++-4.4-multilib gcc-4.3 gcc-4.3-base gcc-4.3-multilib gcc-4.4-multilib gcc-multilib gettext gnome-mplayer guile-1.8 html2text intltool-debian ladspa-sdk lib64gcc1 lib64gomp1 lib64stdc++6 libao2 libaudio2 libavdevice52 libavifile-0.7c2 libc6-amd64 libc6-dev-amd64 libcurl4-gnutls-dev libdiscid0 libgcc1-dbg libgcrypt11-dev libggi-target-terminfo libggi-target-x libggi2 libgii1 libgii1-target-x libgnutls-dev libgpg-error-dev libgssrpc4 libidn11-dev libkadm5srv6 libkdb5-4 libkrb5-dev libldap2-dev liblrdf0 liblzo2-2 libmail-sendmail-perl libmpeg3-1 libmusicbrainz3-6 libopenal1 libqt3-mt libqt4-xml libqtcore4 libqtgui4 libraptor1-dev libreadline5 libstdc++6-4.3-dev libstdc++6-4.4-dev libsvga1 libsys-hostname-long-perl libtasn1-3-dev libxcb-shape0 libxcb-shm0 libxcb-xv0 libxine1 libxine1-bin libxine1-console libxine1-misc-plugins libxine1-x libxml2-dev libxslt1-dev mplayer-nogui mplayer-skins patch po-debconf qjackctl zlib1g-dev libdvbpsi5 libebml0 libiso9660-5 liblua5.1-0 libmatroska0 libsdl-image1.2 vlc libtar libvcdinfo0 libvlc2 libvlccore2 vlc-data vlc-nox vlc-plugin-pulse</b><br />
<br />
Install some fonts.<br />
<b>sudo apt-get install msttcorefonts mplayer-fonts ttf-xfree86-nonfree xfs cabextract ttf-liberation ttf-mscorefonts-installer</b><br />
<br />
Adobe Flash too…<br />
<b>sudo apt-get install flashplugin-nonfree flashplugin-installer</b><br />
<br />
Install the latest Sun Java JRE<br />
<b>sudo apt-get install gsfonts-x11 java-common odbcinst1debian1 sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin unixodbc</b><br />
<br />
<br />
Ardour, SoundKonverter, Jokosher and AcidRip for multimedia recording, editing, conversions, mixing, etc.<br />
<b>sudo apt-get install ardour soundkonverter jokosher lmms acidrip</b><br />
<br />
K9Copy, K3b and DeVeDe when you need DVD, CD, VCD and VCD software (requires libdvdcss2)<br />
<b>sudo apt-get install k9copy k3b devede</b><br />
<br />
Streamripper will allow you to download internet radio station broadcasts.<br />
<b>sudo apt-get install streamripper</b><br />
<br />
<b>Shoutcast</b> is a good place to shop for internet radio stations. <b><a href="http://www.shoutcast.com/" target="_blank">http://www.shoutcast.com/</a></b><br />
<br />
<br />
<b>P2P (peer to peer) clients</b><br />
 <br />
Gnutella is a lot like Limewire or Morpheus (see Firewalls and avast! sections below before using).<br />
<b>sudo apt-get install gtk-gnutella</b><br />
<br />
Vuze can be handy for things not found with Gnutella (see Firewalls and avast! sections below before using).<br />
<b>sudo apt-get install vuze</b><br />
<br />
<b>Frostwire</b> is similar to Gnutella (see Firewalls and avast! sections below before using).<br />
<b><a href="http://www.frostwire.com/" target="_blank">http://www.frostwire.com/</a></b><br />
<br />
Note: Your Java JRE is not broken and the Frostwire package is not corrupt but there is a known issue that causes the install to fail when using the Ubuntu GDebi Package Installer. The latest release of FrostWire requires that you install it from a terminal window <b>sudo dpkg -i frostwire-4.18.3.i586.deb</b> Be aware that the program installs as the root user, when the application launches complete the install process and then relaunch as the current user from Applications &gt; Internet &gt; FrostWire. You should have complete functionality now, customize as desired.<br />
<br />
<br />
Various compression/extraction and encoding/decoding utilities...<br />
<b>sudo apt-get install unace rar unrar zip unzip p7zip-full p7zip-rar sharutils aish uudeview mpack lha arj cabextract file-roller</b><br />
<br />
<b>avast!</b> makes a very good anti-virus product for Linux it can be downloaded free for home use from <b><a href="http://avast.com/eng/download-avast-for-linux-edition.html" target="_blank">http://avast.com/eng/download-avast-...x-edition.html</a></b> You'll need the home user free registration key (emailed to you from their site). The key can be pasted into a terminal window after you type avast at a terminal command prompt. The gui icon is located in Applications &gt; Accessories. Update the program frequently and scan all questionable downloads.<br />
<br />
<br />
Thunderbird, Sunbird and SpamAssassin for email and integrated calendar.<br />
<b>sudo apt-get install thunderbird sunbird lightning-extension spamassassin</b><br />
<br />
Setup your Gmail, Yahoo, AOL, Hotmail accounts in Thunderbird (use POP port 1024)<br />
<b><a href="http://webmail.mozdev.org/index.html" target="_blank">http://webmail.mozdev.org/index.html</a></b><br />
<br />
Skype lets you talk and chat with friends all over the world.<br />
<b>sudo apt-get install skype</b><br />
<br />
Note: You might have to configure your Options &gt; Sound Devices &gt; Sound In/Sound Out within Skype and test with the Echo/Sound test Service. I also had to enable and adjust my Ubuntu Volume Controls &gt; Preferences &gt; Mic and Mic Boost settings.<br />
<br />
Fonts, fonts and more fonts...for use in a variety of word processing applications (pick and choose).<br />
<b>sudo apt-get install ttf-larabie-straight ttf-larabie-deco xfonts-terminus-dos xfonts-terminus xfonts-terminus-oblique xfonts-mona tv-fonts ttf-tuffy ttf-sjfonts ttf-georgewilliams ttf-fifthhorseman-dkg-handwriting ttf-essays1743 ttf-opensymbol ttf-mgopen ttf-freefont ttf-dustin ttf-dejavu-extra ttf-dejavu-core ttf-dejavu ttf-bpg-georgian-fonts ttf-bitstream-vera equivs ttf-sil-gentium gnome-specimen</b><br />
<br />
Note: Postfix is related to some of these fonts, be careful not to modify your Postfix configurations if you're using it for email purposes, otherwise use no configuration setting if/when prompted.<br />
<br />
I typically don’t use the Arabic and Asian fonts, to remove them from a terminal window type: <br />
<b>sudo apt-get remove ttf-kochi-mincho ttf-kochi-gothic ttf-arabeyes ttf-arphic-ukai ttf-arphic-uming ttf-baekmuk ttf-bengali-fonts ttf-devanagari-fonts ttf-gentium ttf-gujarati-fonts ttf-indic-fonts ttf-kannada-fonts ttf-kochi-gothic ttf-lao ttf-malayalam-fonts ttf-mgopen ttf-oriya-fonts ttf-punjabi-fonts ttf-tamil-fonts ttf-telugu-fonts ttf-thai-tlwg ttf-unfonts-core ttf-indic-fonts-core ttf-wqy-zenhei</b><br />
<br />
Note: Add them by simply using install instead of remove.<br />
<br />
<b>HP printer driver issues? <a href="http://hplipopensource.com/hplip-web/downloads.html" target="_blank">http://hplipopensource.com/hplip-web/downloads.html</a></b><br />
<br />
Adobe still makes one of the best .pdf viewers.<br />
<b>sudo apt-get install acroread acroread-fonts</b><br />
<br />
PDFedit is editor for manipulating PDF documents.<br />
<b>sudo apt-get install pdfedit</b><br />
<br />
AbiWord is a fast and easy to use word processing program similar to Microsoft® Word.<br />
<b>sudo apt-get install abiword</b><br />
<br />
gLabels is a program for creating labels and business cards for the GNOME desktop environment.<br />
<b>sudo apt-get install glabels</b><br />
<br />
iSpell comes in handy when spell checking documents from a terminal window<br />
<b>sudo apt-get install ispell</b><br />
<br />
Wordnet is a comprehensive word database maintained by Princeton University<br />
<b>sudo apt-get install wordnet</b><br />
<br />
The web interface for Wordnet is <b><a href="http://wordnetweb.princeton.edu/perl/webwn" target="_blank">http://wordnetweb.princeton.edu/perl/webwn</a></b><br />
<br />
FBReader is an e-book reader for various platforms.<br />
<b>sudo apt-get install fbreader</b><br />
<br />
Dia is similar to Microsoft® Visio.<br />
<b>sudo apt-get install dia</b><br />
<br />
GanttProject is a tool for creating a project schedule with Gantt and resource load charts.<br />
<b><a href="http://ganttproject.biz/download.php" target="_blank">http://ganttproject.biz/download.php</a></b><br />
<br />
Planner for Gant charts and project plans.<br />
<b>sudo apt-get install planner</b><br />
<br />
Scribus is a desktop publishing application.<br />
<b>sudo apt-get install scribus</b><br />
<br />
Inkscape for illustrations.<br />
<b>sudo apt-get install inkscape</b><br />
<br />
Gimp is an incredible image editing application.<br />
<b>sudo apt-get install gimp gimp-data-extras gimp-gap gimp-plugin-registry</b><br />
<br />
Xara Xtreme is a user friendly vector graphics drawing program.<br />
<b>sudo apt-get install xaralx</b><br />
<br />
Blender is open source software for 3D modeling, animation, rendering, interactive creation and playback.<br />
<b>sudo apt-get install blender</b><br />
<br />
<b>webKam</b> is simple webcam application <b><a href="http://code.google.com/p/webkam-kde4/downloads/list" target="_blank">http://code.google.com/p/webkam-kde4/downloads/list</a></b><br />
<br />
<b>Elltube</b> is a YouTube downloader and converter <b><a href="http://elltube.sourceforge.net/download" target="_blank">http://elltube.sourceforge.net/download</a></b><br />
<br />
A complete Web Authoring System for Linux desktop users to rival programs like FrontPage and Dreamweaver.<br />
<b>sudo apt-get install kompozer</b><br />
<br />
If you program in C\C++ languages you’ll need Build-Essential packages.<br />
<b>sudo apt-get install build-essential </b><br />
<br />
Geany is a fast and lightweight IDE (Integrated Development Environment) for programming in various languages.<br />
<b>sudo apt-get install geany</b><br />
<br />
Vim, Gvim and Cream may come in handy for file editing (gedit works good too).<br />
<b>sudo apt-get install vim-doc cscope vim-gnome tcl8.4 vim-gui-common vim-runtime libruby1.8 tclreadline cbrowser cream</b><br />
 <br />
Gedit (Text Editor in Accessories) is installed by default but the plugins are not...<br />
<b>sudo apt-get install gedit-plugins</b><br />
<br />
Note: Enable Gedit plugins in Edit &gt; Preferences &gt; Plugins. <br />
The Gedit wiki is at <b><a href="http://live.gnome.org/Gedit" target="_blank">http://live.gnome.org/Gedit</a></b><br />
<br />
jEdit is a java based full featured editor (make sure you have Sun JRE installed).<br />
<b>sudo apt-get install jedit</b><br />
<br />
Meld is a visual diff and merge tool.<br />
<b>sudo apt-get install meld</b><br />
<br />
gFTP is a generic FTP client (port 21 is typical and consider file permissions when uploading).<br />
<b>sudo apt-get install gftp gftp-common gftp-gtk gftp-text</b><br />
<br />
Convert .rpm files to .deb <b><a href="http://www.howtoforge.com/converting_rpm_to_deb_with_alien" target="_blank">http://www.howtoforge.com/converting...deb_with_alien</a></b><br />
<b>sudo apt-get install alien</b><br />
<br />
Htop, SysInfo and HardInfo for referencing system information and benchmarking.<br />
<b>sudo apt-get install htop sysinfo hardinfo</b><br />
<br />
Byzanz records your desktop and saves it to animated GIF files (viewable in a web browser). <br />
<b>sudo apt-get install byzanz</b><br />
<br />
Note: Byzanz is a panel applet and not listed in Applications, add it by right-clicking the panel and selecting Add to Panel &gt; Desktop Recorder. Desktop effects have to be turned off to use Byzanz. More information is available by typing man byzanz-record from a terminal window.<br />
<br />
Fish (the applet, not the shell) is a fun animated panel applet that tells fortunes.<br />
<b>sudo apt-get fortune-mod fortunes-min librecode0</b><br />
<br />
Note: Add the panel applet by right-clicking the panel and selecting Add to Panel &gt; Fish.<br />
<br />
Wink creates advanced tutorials and presentations.<br />
<b>sudo apt-get install wink</b><br />
<br />
Glipper is a clipboard manager for the GNOME panel.<br />
<b>sudo apt-get install glipper</b><br />
<br />
Note: If Clipboard manager does not appear in the panel applet menu, in a terminal window cd /usr/lib/glipper then run ./glipper It should allow you to add it as a panel applet at this point. The keyboard shortcut is &lt;Ctrl&gt;&lt;Alt&gt;c<br />
<br />
GNOME Commander is a &quot;two-pane&quot; graphical filemanager for the Gnome desktop environment. <br />
<b>sudo apt-get install gnome-commander</b><br />
<br />
Add some useful features to nautilus...<br />
<b>sudo apt-get install nautilus-actions nautilus-gksu nautilus-image-converter nautilus-open-terminal nautilus-script-audio-convert nautilus-script-collection-svn nautilus-script-manager nautilus-sendto nautilus-share nautilus-wallpaper</b><br />
<br />
NTFS Configuration Tool mounts NTFS drives (2000/XP/2003/Vista).<br />
<b>sudo apt-get install ntfs-config</b><br />
<b>gksudo ntfs-config</b><br />
<br />
Note: Found in System &gt; Administration.<br />
<br />
<b>luckyBackup</b>...a powerful, fast and reliable backup &amp; sync tool <b><a href="http://luckybackup.sourceforge.net/download.html" target="_blank">http://luckybackup.sourceforge.net/download.html</a></b><br />
<br />
Partimage system backup, instructions can be found at: <b><a href="http://www.psychocats.net/ubuntu/partimage" target="_blank">http://www.psychocats.net/ubuntu/partimage</a></b><br />
<b>sudo apt-get install partimage</b><br />
<br />
KDE Partition Manager allows you to manage your disks, partitions and file systems:<br />
<b>sudo apt-get install partitionmanager</b><br />
<br />
GParted is the GNOME partition editor for creating, reorganizing and deleting disk partitions. <br />
<b>sudo apt-get install gparted</b><br />
<br />
Note: Documentation can be found at <b><a href="http://gparted.sourceforge.net/" target="_blank">http://gparted.sourceforge.net/</a></b><br />
<br />
<b>Reconstructor</b> will help you create your own Ubuntu based distribution <b><a href="http://www.reconstructor.org/index.php?option=com_frontpage&amp;Itemid=1" target="_blank">http://www.reconstructor.org/index.p...tpage&amp;Itemid=1</a></b><br />
<br />
<b>Defrag</b> (or fidefrag I should say)<br />
<br />
<b>sudo apt-get install bzr python-psyco</b><br />
<b>bzr branch lp:fidefrag</b><br />
<b>cd fidefrag/src</b><br />
<b>sudo python fidefrag.py -d /&lt;directory name&gt;</b><br />
<br />
Note: It's not a good idea to defrag your whole system, some directories won't react very well. I typically defrag /usr (this one takes a long time), /var, /lib, /home, /etc, /bin and /sbin<br />
<br />
<b>Google Earth</b> install: <b><a href="http://tombuntu.com/index.php/2009/03/20/how-to-install-google-earth-5-on-ubuntu/" target="_blank">http://tombuntu.com/index.php/2009/0...h-5-on-ubuntu/</a></b><br />
<br />
<b>Show wallpaper or background color while logging in to Ubuntu</b>: <b><a href="http://ubuntuforums.org/showthread.php?t=753261" target="_blank">http://ubuntuforums.org/showthread.php?t=753261</a></b><br />
<br />
Rainy days or a lot of time to kill?<br />
<b>sudo apt-get install frozen-bubble</b><br />
<br />
Kids in the house?<br />
<b>sudo apt-get install gcompris gcompris-sound-en tuxpaint gnucap</b><br />
<br />
<br />
<b>Firewalls</b> <br />
<br />
Internet security is important these days and firewalls can be quite complex, hopefully the following will help...use only one of these two applications and please read all of the documentation first. Most people are already behind a broadband router configured to give you &quot;TruStealth&quot; protection on the internet...check your current protection at the Sheilds Up! link below before being too concerned.<br />
<br />
<b>ufw</b> (&quot;uncomplicated firewall&quot; included with Ubuntu), by default is set to &quot;allow&quot; all network traffic, the wiki instructions are at <b><a href="https://help.ubuntu.com/community/Uncomplicated_Firewall_ufw" target="_blank">https://help.ubuntu.com/community/Un...d_Firewall_ufw</a></b> then <b>sudo ufw enable</b> the firewall at system startup.<br />
<br />
Personally I would rather use the gui interface for ufw... <br />
<b>sudo apt-get install gufw</b><br />
 <br />
<b>Firestarter</b> is quite easy to configure <b><a href="https://help.ubuntu.com/community/Firestarter" target="_blank">https://help.ubuntu.com/community/Firestarter</a></b><br />
<b>sudo apt-get install firestarter menu</b><br />
<br />
Load Firestarter at startup: <a href="http://www.ubuntugeek.com/firestarter-firewall-for-your-ubuntu-desktop.html" target="_blank">http://www.ubuntugeek.com/firestarte...u-desktop.html</a><br />
Note: In nano the ^ is the Ctrl key on most keyboards <a href="http://mintaka.sdsu.edu/reu/nano.html" target="_blank">http://mintaka.sdsu.edu/reu/nano.html</a><br />
<br />
Check your firewall protection at Sheilds Up! (click Proceed and use the All Service Ports option).<br />
<a href="https://www.grc.com/x/ne.dll?bh0bkyd2" target="_blank"><b>https://www.grc.com/x/ne.dll?bh0bkyd2</b></a><br />
<br />
Wireshark is a full featured network protocol analyzer.<br />
<b>sudo apt-get install wireshark</b><br />
<br />
<br />
<b>Simple file encryption using GnuPG</b><br />
<br />
From a terminal window in the directory where the file is stored:<br />
gpg -c &lt;filename&gt; (encrypts, prompts twice for pass-phrase, creates &lt;filename.gpg&gt;)<br />
gpg &lt;filename.gpg&gt; (decrypts, prompts for pass-phrase)<br />
<br />
Notes: The source file can be deleted or moved after encryption. Sometimes when decrypting the pass-phrase prompt will pop-up behind the pinentry window. Type <b>man gpg</b> from a terminal window for more options. If you would like more advanced file encryption with keys and signatures visit <b><a href="http://www.gnupg.org/documentation/howtos.en.html" target="_blank">http://www.gnupg.org/documentation/howtos.en.html</a></b> for more information.<br />
<br />
Advanced file encryption with GNU Privacy Assistant (use with caution and knowledge)<br />
<b>sudo apt-get install gpa</b><br />
<br />
<b>The Karmic wiki</b> can be found here <b><a href="http://ubuntuguide.org/wiki/Ubuntu:Karmic" target="_blank">http://ubuntuguide.org/wiki/Ubuntu:Karmic</a></b><br />
<br />
<b>The Jaunty wiki</b> can be found here <b><a href="http://ubuntuguide.org/wiki/Ubuntu:Jaunty" target="_blank">http://ubuntuguide.org/wiki/Ubuntu:Jaunty</a></b><br />
<br />
<b>The UNR (Ubuntu Netbook Remix) wiki is here <a href="https://wiki.ubuntu.com/UNR" target="_blank">https://wiki.ubuntu.com/UNR</a></b><br />
<br />
<b>The Ubuntu Pocket Guide</b> can be found at <b><a href="http://www.ubuntupocketguide.com/download_main.html" target="_blank">http://www.ubuntupocketguide.com/download_main.html</a></b><br />
<br />
<b>Ubuntu Desktop Essentials <a href="http://www.techotopia.com/index.php/Ubuntu_Desktop_Essentials" target="_blank">http://www.techotopia.com/index.php/...top_Essentials</a></b><br />
<br />
<b>Best 100</b> Open Source Applications <b><a href="http://ubuntulinuxhelp.com/top-100-of-the-best-useful-opensource-applications/" target="_blank">http://ubuntulinuxhelp.com/top-100-o...-applications/</a></b><br />
<br />
<b>Best 50</b> Ubuntu Opensource Applications For Design And Developing <b><a href="http://www.emmaalvarez.com/2007/12/top-best-50-ubuntu-opensource.html" target="_blank">http://www.emmaalvarez.com/2007/12/t...pensource.html</a></b><br />
<br />
<b>GetDeb</b> software site for Ubuntu and Debian <a href="http://www.getdeb.net/" target="_blank"><b>http://www.getdeb.net/</b></a><br />
<br />
<b>Gnome Desktop software</b> site <a href="http://www.gnomefiles.org/" target="_blank"><b>http://www.gnomefiles.org/</b></a><br />
<br />
<b>KDE-Apps.org <a href="http://www.kde-apps.org/" target="_blank">http://www.kde-apps.org/</a></b><br />
<br />
<b>Ubuntu PPA Search <a href="https://edge.launchpad.net/ubuntu/+ppas" target="_blank">https://edge.launchpad.net/ubuntu/+ppas</a></b><br />
<br />
<b>Ubuntu Games <a href="https://help.ubuntu.com/community/Games" target="_blank">https://help.ubuntu.com/community/Games</a></b><br />
<br />
<b>Cool wallpaper and more <a href="http://www.kde-look.org/" target="_blank">http://www.kde-look.org/</a></b><br />
<br />
<br />
<b>Maximus Issues</b> (windows always maximize when an application is launched) <br />
If you have a Netbook and auto maximize windows is driving you crazy try this from a terminal window: type gconf-editor then go to Apps &gt; Maximus &gt; check no_maximize<br />
<br />
<br />
If <b>Firefox windows open off screen or are too large to use</b>, you may need to reset Firefox's controls and toolbars.<br />
<br />
1. Close down Firefox completely: On the Firefox window, click the File menu then select Exit.<br />
2. From a terminal window type: firefox -safe-mode<br />
3. Firefox should start up with a Firefox Safe Mode dialog with options.<br />
4. Check mark Reset toolbars and controls.<br />
5. Click Make Changes and Restart to restart Firefox <br />
<br />
<br />
<b>Get your Trash Can and other desktop icons back</b>...<br />
<br />
The default for new installed Ubuntu is clean desktop. So, for example, if you want to get your Trash Icon back you need to change the default setting.<br />
<br />
<b>Step 1</b>. Run Desktop Configuration Editor<br />
<br />
Open Application &gt; Accessories &gt; Terminal and type gconf-editor.<br />
<br />
<b>Step 2</b>. Change the value for trash_icon_visible<br />
<br />
After the Desktop configuration Editor is displayed, open apps &gt; nautilus &gt; desktop and click the value for trash_icon_visible. This also works for your computer, home and network icons.<br />
<br />
<br />
<b>Setup Samba peer-to-peer with Windows <a href="http://ubuntuforums.org/showthread.php?t=202605" target="_blank">http://ubuntuforums.org/showthread.php?t=202605</a></b><br />
<br />
Install Samba stuff<br />
<b>sudo apt-get install samba samba-common samba-tools smbclient swat samba-doc samba-doc-pdf smbfs libpam-smbpass libsmbclient libsmbclient-dev winbind samba-dbg libwbclient0 smbldap-tools ldb-tools keyutils</b><br />
<br />
Once Samba is installed you can setup a very basic shared folder as follows: <br />
<br />
You’ll need to create Samba passwords with this command:<br />
<br />
<b>sudo smbpasswd -a USERNAME</b><br />
<br />
Make a backup copy of the original smb.conf file, in case you make an error:<br />
<br />
<b>sudo cp /etc/samba/smb.conf ~</b><br />
<br />
Add a share to the very end of the file:<br />
<br />
<b>sudo gedit /etc/samba/smb.conf</b><br />
<br />
[mystuff]<br />
path = /home/USERNAME/mystuff<br />
available = yes<br />
valid users = USERNAME<br />
read only = no<br />
browsable = yes<br />
public = yes<br />
writable = yes<br />
<br />
(There should be no spaces between the lines, and note also that there should be a single space both before and after each of the equal signs.)<br />
<br />
Save the file and restart samba with  this command:<br />
<br />
<b>sudo /etc/init.d/samba restart</b><br />
<br />
Use this command from a terminal window to check that your smb.conf doesn’t contain any syntax errors: <b>testparm</b><br />
<br />
Don't forget to create your shared folder and modify the permissions as needed. You may also have to allow specific IP address TCP/UDP access through your firewall as well. Keep in mind if security is an issue to read up a lot more on the topic.<br />
<br />
<br />
<b>How to setup remote access <a href="http://www.techotopia.com/index.php/Remote_Access_to_the_Ubuntu_Linux_Desktop" target="_blank">http://www.techotopia.com/index.php/..._Linux_Desktop</a></b><br />
<br />
<br />
<b>Web based workstation and application administration</b><br />
<br />
<b>webmin and usermin</b> can be found at <b><a href="http://www.webmin.com/usermin.html" target="_blank">http://www.webmin.com/usermin.html</a></b><br />
<br />
<br />
<b>CommuniGate Pro</b> <br />
<br />
CommuniGate Systems' goal is to consolidate all forms of Internet Communications into one address space, making the single address for email, IM, VoIP and video calling, more productive, portable, and independent of tariffs and tolls of closed network topologies. <b><a href="https://www.communigate.com/forms/cgp_try_before_you_buy.php" target="_blank">https://www.communigate.com/forms/cg...re_you_buy.php</a></b><br />
<br />
<br />
<b>Editing /boot/grub/menu.lst to change the GRUB boot menu</b><br />
<br />
The GRUB boot menu configuration is in the file<br />
/boot/grub/menu.lst<br />
<br />
1. backup menu.lst:<br />
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst-backup<br />
<br />
2. edit menu.lst:<br />
sudo gedit /boot/grub/menu.lst<br />
<br />
<b><i>Do not skip the first step</i></b> (i.e. backing up the original menu.lst file). <br />
<br />
If you completely hose up your or menu.lst file to the point that your machine won’t boot, you can fix it by booting in recovery mode (or from a live CD) and then copying your menu.lst-backup to menu.lst overwriting the existing one. In fact, try this method whenever you do something to your system making it unusable.<br />
<br />
<br />
<b>Alternative shells for Linux</b>...<br />
<br />
C, K, T, Z &amp; Fish shells<br />
<b>sudo apt-get install csh ksh tcsh zsh fish</b><br />
<br />
<b>Bash Reference Manual <a href="http://www.gnu.org/software/bash/manual/bashref.html" target="_blank">http://www.gnu.org/software/bash/manual/bashref.html</a></b><br />
<br />
<b>chmod calculator <a href="http://www.javascriptkit.com/script/script2/chmodcal.shtml" target="_blank">http://www.javascriptkit.com/script/...chmodcal.shtml</a></b><br />
<br />
<br />
<b>Adding a Personal Package Archive (PPA) to your Ubuntu repositories</b><br />
<br />
Adding a PPA to Ubuntu takes no more than a couple of minutes.<br />
<br />
<b>Step 1</b>: Copy the lines from the apt sources.list entries section of the PPA overview page. For example:<br />
<br />
deb <a href="http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu" target="_blank">http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu</a> karmic main<br />
deb-src <a href="http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu" target="_blank">http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu</a> karmic main<br />
<br />
<b>Step 2</b>: On your Ubuntu computer, open System &gt; Administration &gt; Software Sources.<br />
<br />
<b>Step 3</b>: Click the Third Party Software tab.<br />
<br />
<b>Step 4</b>: Click the Add button.<br />
<br />
<b>Step 5</b>: Paste the individual lines copied in step 1 by clicking the Add Source button.<br />
<br />
When prompted, reload the software sources information. Don't worry if you see a warning about unverified software sources; we're going to fix that next.<br />
<br />
<b>Adding the PPA's key to Ubuntu</b><br />
<br />
Now Ubuntu knows about the PPA. It also needs to know how to check the software hasn't changed since Launchpad built it.<br />
<br />
Note: This is not an endorsement of any of the software in PPAs. You must make sure you trust the PPA owner before installing their software.<br />
<br />
<b>Step 1</b>: On the PPA's overview page you'll see the PPA's OpenPGP key id. It'll look something like this: 1024/12345678. Copy it, or make a note of, <i>the portion after the slash</i>, e.g: 12345678.<br />
<br />
<b>Step 2</b>: Open your terminal and enter:<br />
<br />
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 12345678<br />
<br />
Replace 12345678 with the key id you copied in step 1.<br />
<br />
<b>Step 3</b>: Finally, tell Ubuntu to re-load the details of each software archive it knows about<b></b>:<br />
<br />
sudo apt-get update<br />
<br />
You're now ready to install software from the PPA, using a tool such as apt-get in the Terminal or Synaptic. <br />
<br />
<br />
<b>Collection of useful commands...</b><br />
---------------------------------------------------------------   <br />
<b>Searching for Packages:</b>             apt-cache search some_string      <br />
<b>Show Package Info:</b>         apt-cache showpkg xxx             <br />
<b>Show Package Dependencies:</b>     apt-cache depends xxx             <br />
<b>Install:</b>             apt-get install xxx               <br />
<b>Re-Install:</b>             apt-get --reinstall install xxx   <br />
<b>Remove:</b>                     apt-get remove xxx                <br />
<b>Remove All (configs too):</b>     apt-get remove --purge xxx<br />
<b>Upgrade</b>:             apt-get -u upgrade<br />
<b>Show Upgrades:</b>             apt-show-versions -u<br />
<b>Show All Installed Packages:</b>    dpkg --list                       <br />
<b>Find Package by File Name:</b>     apt-file search /bin/ping         <br />
<b>Find filenames in a Package</b>:     apt-file list xxx                 <br />
<b>Updating the apt-file Cache:</b>     apt-file update<br />
<b>Info on Installed Package</b>        aptitude show xxx<br />
<b>System Hardware Info</b>             sudo lshw &gt; hardware.txt<br />
<br />
<b>Linux Command Directory <a href="http://www.oreillynet.com/linux/cmd/" target="_blank">http://www.oreillynet.com/linux/cmd/</a></b><br />
<br />
<b>Linux Commands - A practical reference <a href="http://www.pixelbeat.org/cmdline.html" target="_blank">http://www.pixelbeat.org/cmdline.html</a></b><br />
<br />
Clean up your system and free up space with <b>sudo apt-get clean</b> and <b>sudo apt-get autoremove</b><br />
<br />
If you're curious (like me) or have the need to know <b>uname -a &amp;&amp; cat /etc/*release</b> in a terminal window will tell you the kernel version and release date, the distro id/release/codename/description.<br />
<br />
<br />
Ok, about <b>wine</b>...in most cases a free to use Linux program will work just as well as apps on that other well known operating system. I don't recommend it but for the folks that want to use wine this wiki should help <b><a href="https://help.ubuntu.com/community/Wine" target="_blank">https://help.ubuntu.com/community/Wine</a></b><br />
<br />
<b>Wine Application Database (AppDB) <a href="http://appdb.winehq.org/" target="_blank">http://appdb.winehq.org/</a></b><br />
<br />
<br />
-Traker<br />
<br />
Dell GX270 3.2GHz Pentium 4 w/ 2Gb SDRAM using NVIDIA GeForce 6200 AGP video and MSI Wind Netbook U100 1.6GHz Intel Atom w/ 2Gb SDRAM using Intel Mobile 945GME Express video on Ubuntu 9.10</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>TrakerJon</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1329345</guid>
		</item>
		<item>
			<title><![CDATA[The simple & effective power management guide (how to save battery power)]]></title>
			<link>http://ubuntuforums.org/showthread.php?t=1326333&amp;goto=newpost</link>
			<pubDate>Sat, 14 Nov 2009 16:00:22 GMT</pubDate>
			<description>v 0.2 - This guide is written for _Ubuntu 9.10 Karmic Koala_ 
 
This guide is focused on how to implement most common power management tips, taken from the community and powertop suggestions, in the simplest way. Its aim is to be rock stable and quite effective without putting notebooks at risks....</description>
			<content:encoded><![CDATA[<div>v 0.2 - This guide is written for <u>Ubuntu 9.10 Karmic Koala</u><br />
<br />
This guide is focused on how to implement most common power management tips, taken from the community and powertop suggestions, in the simplest way. Its aim is to be rock stable and quite effective without putting notebooks at risks. It has been tested by me on a Lenovo Thinkpad X60s with almost exclusively Intel hardware.<br />
<br />
<b>Hard disks</b><br />
In Karmic hard drives are managed by a script and gnome-power-manager (g-p-m). The settings are very safe and probably there could still be some power to save but I prefer to play on the safe side with my hard disk.<br />
<br />
I decided not to enable laptop-mode and not to play with the values in /usr/lib/pm-utils/power.d/95hdparm-apm or the seconds2sleep in gnome-power-manager.<br />
<br />
Probably buying a good solid state drive could get much better results, but they are still very expensive.<br />
<br />
<b>Screen brightness</b><br />
In karmic it is handled again by g-p-m, the standard values can be played with though.<br />
Press alt+F2 and type <div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">gconf-editor</code><hr />
</div> scroll the &quot;apps&quot; section and open gnome-power-manager. The related part is &quot;backlight&quot;. The &quot;brightness_dim_battery&quot; key is defaulted at 50, that means 50% reduction.<br />
<br />
Personally I'm fine with the lowest brightness on my screen. Double click on the key name and instead of 50 write 99. Try different values to see which one is better for you, of course higher value, lower brightness, lower power consumption.<br />
<br />
<b>link power management policy</b><br />
This is a tip among the ones suggested by running the powertop program (software center &gt; powertop).<br />
Run gedit (applications&gt;accessories) and paste the following text in the empty document<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#!/bin/sh<br />
<br />
path_host0=&quot;/sys/class/scsi_host/host0/link_power_management_policy&quot;<br />
path_host1=&quot;/sys/class/scsi_host/host1/link_power_management_policy&quot;<br />
path_host2=&quot;/sys/class/scsi_host/host2/link_power_management_policy&quot;<br />
path_host3=&quot;/sys/class/scsi_host/host3/link_power_management_policy&quot;<br />
val=max_performance<br />
<br />
case &quot;$1&quot; in<br />
&nbsp; &nbsp; &nbsp; &nbsp; true)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;**lpm policy powersave ON&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; val=min_power<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; false)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;**lpm policy powersave OFF&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; val=max_performance<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;<br />
esac<br />
<br />
# max_performance on AC min_power on battery<br />
<br />
if [ -w &quot;$path_host0&quot; ] ; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo $val &gt; $path_host0<br />
fi<br />
<br />
if [ -w &quot;$path_host1&quot; ] ; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo $val &gt; $path_host1<br />
fi<br />
<br />
if [ -w &quot;$path_host2&quot; ] ; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo $val &gt; $path_host2<br />
fi<br />
<br />
if [ -w &quot;$path_host3&quot; ] ; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo $val &gt; $path_host3<br />
fi<br />
<br />
exit 0</code><hr />
</div>close and save (in your home directory) calling it<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">link_pm_policy</code><hr />
</div>Run a terminal (applications&gt;accessories) and paste the following lines one at a time pressing return after each one<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">chmod 755 link_pm_policy<br />
sudo su<br />
install link_pm_policy /usr/lib/pm-utils/power.d/<br />
exit</code><hr />
</div>you WILL be asked for your password, just type it in and press return.<br />
<br />
<b>virtual machine dirty writeback</b><br />
Again as suggested by powertop.<br />
Run gedit (applications&gt;accessories) and paste the following text in the empty document<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#!/bin/sh<br />
<br />
path_dwc=&quot;/proc/sys/vm/dirty_writeback_centisecs&quot;<br />
val=500<br />
<br />
case &quot;$1&quot; in<br />
&nbsp; &nbsp; &nbsp; &nbsp; true)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;**VM dirty writeback 15 seconds&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; val=1500<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; false)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;**VM dirty writeback 5 seconds&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; val=500<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;<br />
esac<br />
<br />
# 5 seconds on AC, 15 seconds on battery<br />
<br />
if [ -w &quot;$path_dwc&quot; ] ; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo $val &gt; $path_dwc<br />
fi<br />
<br />
exit 0</code><hr />
</div>close and save (in your home directory) calling it<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">vm_dirty_writeback</code><hr />
</div>Run a terminal (applications&gt;accessories) and paste the following lines one at a time pressing return after each one<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">chmod 755 vm_dirty_writeback<br />
sudo su<br />
install vm_dirty_writeback /usr/lib/pm-utils/power.d/<br />
exit</code><hr />
</div>you WILL be asked for your password, just type it in and press return.<br />
<br />
<b>Scheduling policy powersave</b><br />
This is managed by a default script that comes with Karmic.<br />
<br />
<b>Usb auto suspend</b><br />
This is a key issue for failure of power saving in Linux.<br />
Run gedit (applications&gt;accessories) and paste the following text in the empty document<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#!/bin/bash<br />
if [ &quot;$1&quot; = &quot;true&quot; ]; then<br />
<br />
&nbsp; for i in /sys/bus/usb/devices/*/power/level; do<br />
&nbsp; &nbsp; &nbsp; &nbsp; [ &quot;$(cat $i)&quot; = &quot;auto&quot; ] &amp;&amp; continue<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;auto&quot; &gt; $i<br />
&nbsp; done<br />
<br />
&nbsp; for i in /sys/bus/usb/devices/*/power/autosuspend; do<br />
&nbsp; &nbsp; &nbsp; &nbsp; [ &quot;$(cat $i)&quot; -ge 0 2&gt;/dev/null ] &amp;&amp; continue<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;2&quot; &gt; $i<br />
&nbsp; done<br />
<br />
fi</code><hr />
</div>close and save (in your home directory) calling it<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">usb_autosuspend</code><hr />
</div>Run a terminal (applications&gt;accessories) and paste the following lines one at a time pressing return after each one<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">chmod 755 usb_autosuspend<br />
sudo su<br />
install usb_autosuspend /usr/lib/pm-utils/power.d/<br />
exit</code><hr />
</div>you WILL be asked for your password, just type it in and press return.<br />
<br />
When starting the notebook with AC on this script doesn't do anything, it is automatically run when going from AC to Battery and it sets usb to autosuspend after 2 secs. NOTE that this could turn off some old usb devices plugged to the computer. To avoid any problem (and save the most battery) DON'T leave usb devices plugged when going from AC to Battery, even better, don't use usb devices when running on battery at all. When using AC there is absolutely no problems at all.<br />
<br />
<b>Intel HD audio</b><br />
Karmic has finally added a line to alsa configuration files that turn off the card after few second of inactivity. HDA cards can be named Intel, Nvidia, Ati and others but all should have this power saving active.<br />
<br />
<b>Intel wireless cards</b><br />
Since kernel 2.6.30 the behavior of such cards has changed, there is no possibility of tuning the power consumption.<br />
<br />
<b><u>Results</u></b><br />
Running the powertop program <div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo powertop -d -t 60</code><hr />
</div> these are my results after unplugging the cable<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Cn	          permanenza media<br />
C0 (cpu occupata)      ( 0,7%)<br />
C0		  0,0 ms ( 0,0%)<br />
C1 halt		  0,0 ms ( 0,0%)<br />
C2		  0,2 ms ( 0,0%)<br />
C3		 28,4 ms (99,3%)<br />
<br />
P-state (frequenze)<br />
  1,67 Ghz     0,6%<br />
  1333 Mhz     0,0%<br />
  1000 Mhz    99,4%<br />
<br />
Wakeup-da-idle al secondo: 35,5	intervallo: 60,0s<br />
Utilizzo energetico (stima ACPI): 11,3W (1,9 ore) <br />
<br />
Cause principali di wakeup:<br />
  27,2% ( 12,6)       &lt;interrupt&gt; : iwl3945 <br />
  22,2% ( 10,3)   &lt;core del kernel&gt; : hrtimer_start_range_ns (tick_sched_timer) <br />
  16,0% (  7,4)      &lt;IPI kernel&gt; : Rescheduling interrupts <br />
   6,4% (  3,0)       &lt;interrupt&gt; : acpi <br />
   4,4% (  2,0)   &lt;core del kernel&gt; : hrtimer_start (tick_sched_timer) <br />
   4,2% (  1,9)    gnome-terminal : hrtimer_start_range_ns (hrtimer_wakeup) <br />
   3,0% (  1,4)       &lt;interrupt&gt; : uhci_hcd:usb2, i915 <br />
   2,1% (  1,0)            python : hrtimer_start_range_ns (hrtimer_wakeup) <br />
<br />
Suggestion: Enable laptop-mode by executing the following command:<br />
   echo 5 &gt; /proc/sys/vm/laptop_mode
			
			<hr />
		</td>
	</tr>
	</table>
</div>The program is still suggesting me to run laptop-mode which is another way to handle the hard drive (and other variables) but I still prefer to avoid it as it's not recommended by Ubuntu.<br />
<br />
<b>Known issues &amp; things to do</b><br />
The guide could be simplified, creating a package for the scripts but I don't know how to do it.<br />
<br />
------------------------------------------------------------------------------------<br />
Version 0.2 chmod commands were incorrect<br />
Version 0.1 first post<br />
<br />
Special thanks to:<br />
Scragar <a href="http://ubuntuforums.org/showthread.php?t=1324112" target="_blank">related discussion</a><br />
Sdennie <a href="http://ubuntuforums.org/showthread.php?t=847773&amp;highlight=usb+autosuspend" target="_blank">related post</a></div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>Axx83</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1326333</guid>
		</item>
		<item>
			<title>9.10 fixing nonworking wireless=set wireless domain zone to your wireless router</title>
			<link>http://ubuntuforums.org/showthread.php?t=1324288&amp;goto=newpost</link>
			<pubDate>Thu, 12 Nov 2009 17:55:55 GMT</pubDate>
			<description><![CDATA[in *9.10* the wireless drivers(kernel modules)are set to ONLY connect to ONE 'wireless domain zone'.(my computer, on boot, defaulted to CN(china)). 
  
to connect to your wireless network your computer and your wireless network router must be set to the same 'wireless domain...]]></description>
			<content:encoded><![CDATA[<div>in <b>9.10</b> the wireless drivers(kernel modules)are set to ONLY connect to ONE 'wireless domain zone'.(my computer, on boot, defaulted to CN(china)).<br />
 <br />
to connect to your wireless network your computer and your wireless network router must be set to the same 'wireless domain zone'(zone=region/country)<br />
what country are you in?<br />
if USA then country code = US<br />
if china then country code = CN<br />
if Australia then country code = AU<br />
if Great Britain than country code = GB<br />
etc.etc...<br />
to see what  your computer is set to,in a terminal <br />
<br />
make sure in your Software Sources that you have a tick next to<br />
&quot;Community-maintained Open Source software (Universe)&quot;<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo apt-get install iw
			
			<hr />
		</td>
	</tr>
	</table>
</div>then enter <br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo  iw reg get
			
			<hr />
		</td>
	</tr>
	</table>
</div>in-order to set 'wireless domain zone' to your 'country code'( which <b>sets up your wireless TX/RX frequencies/channels &amp; TX power-level &amp; RX antenna preamp levels to work correctly in your country/zone</b>).<br />
<b>All</b> country codes are in <b>'CAPITAL LETTERS'</b><br />
 enter <br />
in a terminal<br />
<br />
<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo iw reg set &lt;INSERT-COUNTRY-CODE&gt;
			
			<hr />
		</td>
	</tr>
	</table>
</div>e.g.<br />
i live in Australia so country code = AU<br />
so I used <br />
'<b>sudo iw reg set AU</b>'<br />
<b>note</b> use the <b>same</b> country code that your wireless network router is set up-to.<br />
then enter <br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo  iw reg get
			
			<hr />
		</td>
	</tr>
	</table>
</div>to see if your 'wireless domain zone' has changed to your country code.<br />
<b>All</b> country codes are in <b>'CAPITAL LETTERS'</b><br />
if ok then<br />
 Add a startup script to be run at startup.<br />
Write a bash script.e.g.<br />
my bash script is named 'setwirelesscountrycode.sh'<br />
containing <b>my</b> country code setting<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				#!/bin/bash<br />
##iw reg set &lt;your-country-code&gt;<br />
iw reg set AU
			
			<hr />
		</td>
	</tr>
	</table>
</div>this was to set <b>my own</b> country code.i pasted this inside a new bash text file.<br />
you need to<br />
right click on your desktop--&gt; select Create Document--&gt; select(click on) Shell script<br />
rename it to 'setwirelesscountrycode.sh'<br />
double click on 'setwirelesscountrycode.sh' desktop icon<br />
select display button.<br />
a text editor opens up.<br />
replace file' original contents<br />
Quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				#!/bin/bash
			
			<hr />
		</td>
	</tr>
	</table>
</div>with<br />
Quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				#!/bin/bash<br />
##iw reg set &lt;your-country-code&gt;<br />
iw reg set &lt;insert-your-country-code-here-in-<b>CAPITAL-LETERS</b>&gt;
			
			<hr />
		</td>
	</tr>
	</table>
</div><b>All</b> country codes are in <b>'CAPITAL LETTERS'</b><br />
<br />
save &amp; close text editer<br />
<br />
<br />
then put it in the /etc/init.d/ directory.<br />
So in a terminal enter<br />
Quote:<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo cp ~/Desktop/setwirelesscountrycode.sh /etc/init.d/ 
			
			<hr />
		</td>
	</tr>
	</table>
</div> Then make the file you created executable.e.g.<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo chmod +x /etc/init.d/setwirelesscountrycode.sh
			
			<hr />
		</td>
	</tr>
	</table>
</div> To set it to run on startup<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				sudo update-rc.d /etc/init.d/setwirelesscountrycode.sh defaults
			
			<hr />
		</td>
	</tr>
	</table>
</div>note 'defaults' puts a link to start '/etc/init.d/setwirelesscountrycode.sh' in run levels 2, 3, 4 and 5. and puts a link to stop '/etc/init.d/setwirelesscountrycode.sh' into run levels 0, 1 and 6.<br />
you can now reboot if you want.<br />
<br />
output from my computer<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				raymond@ubuntu:~$ sudo iw reg set jp<br />
not a valid ISO/IEC 3166-1 alpha2<br />
Special non-alpha2 usable entries:<br />
00 World Regulatory domain<br />
<br />
raymond@ubuntu:~$ sudo iw reg get<br />
country CN:<br />
(2402 - 2482 @ 40), (N/A, 20)<br />
(5735 - 5835 @ 40), (N/A, 30)<br />
<br />
raymond@ubuntu:~$ sudo iw reg set JP<br />
<br />
raymond@ubuntu:~$ sudo iw reg get<br />
country JP:<br />
(2402 - 2472 @ 40), (N/A, 20)<br />
(2457 - 2482 @ 20), (N/A, 20)<br />
(2474 - 2494 @ 20), (N/A, 20), NO-OFDM<br />
(4910 - 4930 @ 10), (N/A, 23)<br />
(4910 - 4990 @ 40), (N/A, 23)<br />
(4930 - 4950 @ 10), (N/A, 23)<br />
(5030 - 5045 @ 10), (N/A, 23)<br />
(5030 - 5090 @ 40), (N/A, 23)<br />
(5050 - 5060 @ 10), (N/A, 23)<br />
(5170 - 5250 @ 40), (N/A, 20)<br />
(5250 - 5330 @ 40), (N/A, 20), DFS<br />
(5490 - 5710 @ 40), (N/A, 23), DFS
			
			<hr />
		</td>
	</tr>
	</table>
</div>remember <b>All</b> country codes are in <b>'CAPITAL LETTERS'</b><br />
MY SYS.LOG OF SOME COUNTRY CODES<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				         cfg80211: Calling CRDA for country: HK<br />
         cfg80211: Regulatory domain changed to country: HK<br />
          (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)<br />
          (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)<br />
          (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)<br />
          (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)<br />
          (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)<br />
<br />
         cfg80211: Calling CRDA for country: CN<br />
         cfg80211: Regulatory domain changed to country: CN<br />
          (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)<br />
          (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)<br />
          (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)<br />
<br />
         cfg80211: Calling CRDA for country: JP<br />
         cfg80211: Regulatory domain changed to country: JP<br />
          (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)<br />
          (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)<br />
          (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)<br />
          (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)<br />
          (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)<br />
         (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)<br />
          (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)<br />
          (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)<br />
          (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)<br />
          (5050000 KHz - 5060000 KHz @ 10000 KHz), (N/A, 2300 mBm)<br />
          (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)<br />
          (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)<br />
          (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)<br />
     <br />
         cfg80211: Calling CRDA for country: AU<br />
         cfg80211: Regulatory domain changed to country: AU<br />
          (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)<br />
          (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)<br />
          (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)<br />
          (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2300 mBm)<br />
          (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)<br />
<br />
         cfg80211: Calling CRDA for country: US<br />
          cfg80211: Regulatory domain changed to country: US<br />
          (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)<br />
          (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)<br />
          (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)<br />
          (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)<br />
         (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)<br />
          (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
			
			<hr />
		</td>
	</tr>
	</table>
</div>ps.<br />
if you have problems with 'sudo apt-get install iw'<br />
make sure in your Software Sources that you have a tick next to <br />
&quot;Community-maintained Open Source software (Universe)&quot;<br />
<br />
if that still doesn't work then you can download it directly from<br />
<br />
A)only  if you are running 32bit (i386 to i686) kernel<br />
<a href="http://archive.ubuntu.com/ubuntu/poo....14-1_i386.deb" target="_blank">http://archive.ubuntu.com/ubuntu/poo....14-1_i386.deb</a><br />
&lt;http://archive.ubuntu.com/ubuntu/pool/universe/i/iw/iw_0.9.14-1_i386.deb&gt;<br />
<br />
<br />
B)only if you are running 64bit (amd64) kernel<br />
<a href="http://archive.ubuntu.com/ubuntu/poo...14-1_amd64.deb" target="_blank">http://archive.ubuntu.com/ubuntu/poo...14-1_amd64.deb</a><br />
&lt;http://archive.ubuntu.com/ubuntu/pool/universe/i/iw/iw_0.9.14-1_amd64.deb&gt;<br />
<br />
<b>detailed information</b> on using <b>'iw'</b> is at<br />
<a href="http://linuxwireless.org/en/users/Documentation/iw" target="_blank">http://linuxwireless.org/en/users/Documentation/iw</a><br />
&lt;http://linuxwireless.org/en/users/Documentation/iw&gt;</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>raygj</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1324288</guid>
		</item>
		<item>
			<title>HOWTO: Add bootmisc.sh script to 9.10 (for custom bootup commands)</title>
			<link>http://ubuntuforums.org/showthread.php?t=1323830&amp;goto=newpost</link>
			<pubDate>Thu, 12 Nov 2009 07:52:16 GMT</pubDate>
			<description>Hello everyone I just spent over an hour figuring out how to get bootmisc.sh back so I thought I would share it with you. 
For those of you that are unfamiliar with bootmisc.sh, it used it be included with Ubuntu in versions 9.04 and earlier. It can be used to store your own custom commands that...</description>
			<content:encoded><![CDATA[<div>Hello everyone I just spent over an hour figuring out how to get bootmisc.sh back so I thought I would share it with you.<br />
For those of you that are unfamiliar with bootmisc.sh, it used it be included with Ubuntu in versions 9.04 and earlier. It can be used to store your own custom commands that run early in the boot process. For example in my case I use it to reload all my sound modules for my two sound cards so they load in the order I want them to.<br />
<br />
There are two simple steps to adding the script. Note: The script can have any name you want just replace &quot;bootmisc.sh&quot; with your own name.<br />
<br />
#1. Make the script.<br />
To get started on the script run this in your terminal:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo nano /etc/init.d/bootmisc.sh</code><hr />
</div> Then press <i>CTRL+X</i> then <i>Y</i> then <i>ENTER</i> when you are done to save it.<br />
After that you have to make it executable by using this command:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo chmod +x /etc/init.d/bootmisc.sh</code><hr />
</div>#2. Add the script to init.<br />
For this step all you have to do is run this in your terminal:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo update-rc.d bootmisc.sh start 20 2 .</code><hr />
</div>There are also two simple steps to removing the script if you need to.<br />
<br />
#1. Remove it from init.<br />
For this step all you have to do is run this in your terminal:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo update-rc.d -f bootmisc.sh remove</code><hr />
</div>#2. Delete the script.<br />
Just use this rm command:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo rm /etc/init.d/bootmisc.sh</code><hr />
</div>Thanks for reading and I hope you find this helpful.:popcorn:</div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>WattoDaToydarian</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1323830</guid>
		</item>
		<item>
			<title><![CDATA[How to play DVD's in Ubuntu 9.10]]></title>
			<link>http://ubuntuforums.org/showthread.php?t=1323790&amp;goto=newpost</link>
			<pubDate>Thu, 12 Nov 2009 06:48:39 GMT</pubDate>
			<description><![CDATA[To play DVD's in Ubuntu 9.10 first you will need to install the following packages. The reason that you have to install these packages is because most DVD's are copyright protected or some such stuff. To "bypass" this protection you must install packages. As such, *Please go to the following page...]]></description>
			<content:encoded><![CDATA[<div>To play DVD's in Ubuntu 9.10 first you will need to install the following packages. The reason that you have to install these packages is because most DVD's are copyright protected or some such stuff. To &quot;bypass&quot; this protection you must install packages. As such, <font color="Red"><b>Please go to the following page to read about <font color="Blue"><a href="https://help.ubuntu.com/9.10/add-applications/C/#restricted-software" target="_blank">Restricted Formats</a></font> BEFORE following these steps. </b><font color="Black">Now for the packages.<br />
<br />
1. You will need to install the following packages. Just click on the package name. </font></font><b><a href="apt:libdvdnav4" target="_blank">libdvdnav4</a></b> <b><a href="apt:libdvdread4" target="_blank">libdvdread4</a></b> <b><a href="apt:gstreamer0.10-plugins-bad" target="_blank">gstreamer0.10-plugins-bad</a></b> and then <b><a href="apt:gstreamer0.10-plugins-ugly" target="_blank">gstreamer0.10-plugins-ugly</a><br />
</b>  <br />
2. For playing Encrypted DVD's you will need to do this. Open up your terminal which can be found by going to Applications -&gt; Accessories -&gt; Terminal. In the terminal type the following,<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sudo /usr/share/doc/libdvdread4/install-css.sh</code><hr />
</div><font color="Red"><font color="Black"> <br />
It will ask you for your password, enter it but note that as you enter it you WILL NOT SEE IT. This is normal and not an error. Just enter your password as normal and then hit enter. After that you're done! Just stick a DVD of your choice in your drive and then enjoy. Don't forget the popcorn!<br />
</font></font></div>

]]></content:encoded>
			<category domain="http://ubuntuforums.org/forumdisplay.php?f=100"><![CDATA[Tutorials & Tips]]></category>
			<dc:creator>Zachk18</dc:creator>
			<guid isPermaLink="true">http://ubuntuforums.org/showthread.php?t=1323790</guid>
		</item>
	</channel>
</rss>
