<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>itguyonline.com &#187; Linux</title>
	<atom:link href="http://www.itguyonline.com/blog/category/systems/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itguyonline.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 04 Aug 2010 02:07:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Cingular Aircard 875 / Ubuntu Hardy Heron 8.04</title>
		<link>http://www.itguyonline.com/blog/2008/05/11/cingular-aircard-875-ubuntu-hardy-heron-804/</link>
		<comments>http://www.itguyonline.com/blog/2008/05/11/cingular-aircard-875-ubuntu-hardy-heron-804/#comments</comments>
		<pubDate>Mon, 12 May 2008 00:39:30 +0000</pubDate>
		<dc:creator>Kurt Wolf</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[aircard]]></category>
		<category><![CDATA[cingular]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.itguyonline.com/blog/?p=41</guid>
		<description><![CDATA[A while back I posted instructions for getting the Aircard 875 to work with Ubuntu Feisty. I am now updating this for Hardy Heron. For me the configuration was much simpler. Here is some information regarding the hardware/software I am using. IBM Thinkpad Cingular Aircard 875 (note, this is really a Sierra card) Ubuntu Hardy [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I posted instructions for getting the Aircard 875 to work with Ubuntu Feisty.  I am now updating this for Hardy Heron.  For me the configuration was much simpler.  Here is some information regarding the hardware/software I am using.</p>
<ul>
<li>IBM Thinkpad</li>
<li>Cingular Aircard 875 (note, this is really a Sierra card)</li>
<li>Ubuntu Hardy Heron 8.04 (updated system as of 20080510)</li>
</ul>
<p><span id="more-41"></span></p>
<p>The first step was to make sure the drivers were being loaded into the system correctly when the hardware was inserted.  The simple way to do this is tail the message log.</p>
<p><code>sudo tail -f /var/log/messages</code></p>
<p>Upon inserting the card, I saw that the card was recognized and that the device was assigned some ttyUSB device nodes.</p>
<p>Upon inserting card&#8230;</p>
<p><code>May 10 10:00:49 spicy kernel: [  688.462393] sierra 5-1:1.0: Sierra USB modem (3 port) converter detected<br />
May 10 10:00:49 spicy kernel: [  688.463909] usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB0<br />
May 10 10:00:49 spicy kernel: [  688.464288] usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB1<br />
May 10 10:00:49 spicy kernel: [  688.464599] usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB2<br />
May 10 10:00:49 spicy kernel: [  688.464833] usbcore: registered new interface driver sierra<br />
May 10 10:00:49 spicy kernel: [  688.464839] /build/buildd/linux-2.6.24/drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.2.5b</code></p>
<p>Make sure that you see the lines similar to “usb 5-1: Sierra USB modem (3 port) converter now attached to ttyUSB0”.  This tells you that you will be able to use device ttyUSB0 to make your connection.</p>
<p>Now, this is the point where I could have used some of the config files in the previous post but I wanted to focus on using the GUI configuration tools.</p>
<p>So, click on the Network Manager applet and select “Manual Configuration”.  Once this appears on your screen, click the “Unlock” button and authenticate.</p>
<p>Select the “Point to Point” connection and then click on the “Properties” button.</p>
<p><a href='http://www.itguyonline.com/blog/wp-content/uploads/2008/05/network_settings.jpg'><img src="http://www.itguyonline.com/blog/wp-content/uploads/2008/05/network_settings-300x268.jpg" alt="" title="network_settings" width="300" height="268" class="alignnone size-medium wp-image-44" /></a></p>
<p>On the general tab, enter the following information:</p>
<ul>
<li>Connection Type: Serial Modem</li>
<li>Phone Number: *99***1#</li>
<li>Username: WAP@CINGULARGPRS.COM</li>
<li>Password: cingular1</li>
</ul>
<p><a href='http://www.itguyonline.com/blog/wp-content/uploads/2008/05/ppp0_properties.jpg'><img src="http://www.itguyonline.com/blog/wp-content/uploads/2008/05/ppp0_properties-300x291.jpg" alt="" title="ppp0_properties" width="300" height="291" class="alignnone size-medium wp-image-43" /></a></p>
<p>On the modem tab, enter the following information:</p>
<ul>
<li>Modem port: /dev/ttyUSB0</li>
</ul>
<p><a href='http://www.itguyonline.com/blog/wp-content/uploads/2008/05/ppp0_properties-modem.jpg'><img src="http://www.itguyonline.com/blog/wp-content/uploads/2008/05/ppp0_properties-modem-300x293.jpg" alt="" title="ppp0_properties-modem" width="300" height="293" class="alignnone size-medium wp-image-45" /></a></p>
<p>On the options tab, select the following check boxes:</p>
<ul>
<li>Set modem as default route to Internet</li>
<li>Use the Internet service providers nameservers</li>
</ul>
<p><a href='http://www.itguyonline.com/blog/wp-content/uploads/2008/05/ppp0_properties-options.jpg'><img src="http://www.itguyonline.com/blog/wp-content/uploads/2008/05/ppp0_properties-options-300x294.jpg" alt="" title="ppp0_properties-options" width="300" height="294" class="alignnone size-medium wp-image-46" /></a></p>
<p>Click the “OK” button.  Your ppp connection is now configured.  You can close the “Network Settings” window.  Now, logout of your gnome session.  The key here is to restart the Network Manager applet so that it recognizes the new ppp connection.</p>
<p>Once you log back in, click on the Network Manager applet and select the “Dial Up Connections” option and then”Connect to ppp0 via Modem”.  This will start you Cingular connection and you should be good to go.</p>
<p>Notes:</p>
<ul>
<li>You can monitor the connection progress by having a terminal widow open and executing the following command: &#8216;sudo tail -f /var/log/messages&#8217;</li>
<li>Firefox may think that it is working offline when you first start the application.  Click on &#8216;File&#8217; → &#8216;Work Offline&#8217; to make sure the option is not set.  I was then able to browse with no problems.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.itguyonline.com/blog/2008/05/11/cingular-aircard-875-ubuntu-hardy-heron-804/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LDAP Authentication for Subversion on Ubuntu Feisty</title>
		<link>http://www.itguyonline.com/blog/2007/05/02/ldap-authentication-for-subversion-on-ubuntu-feisty/</link>
		<comments>http://www.itguyonline.com/blog/2007/05/02/ldap-authentication-for-subversion-on-ubuntu-feisty/#comments</comments>
		<pubDate>Wed, 02 May 2007 20:11:02 +0000</pubDate>
		<dc:creator>Kurt Wolf</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.itguyonline.com/blog/2007/05/02/ldap-authentication-for-subversion-on-ubuntu-feisty/</guid>
		<description><![CDATA[I have been busy configuring a new subversion server for HCL. Our environment is 99% Microsoft so there is already an Active Directory structure in place. Subversion is hosted on Ubuntu Feisty (7.04) and I wanted to leverage the AD for authentication into my repository. Luckily, the installation was pretty straight forward. There are some [...]]]></description>
			<content:encoded><![CDATA[<p>I have been busy configuring a new subversion server for <a href="http://www.healthcarelogistics.com">HCL</a>.  Our environment is 99% Microsoft so there is already an Active Directory structure in place.  Subversion is hosted on Ubuntu Feisty (7.04) and I wanted to leverage the AD for authentication into my repository.  Luckily, the installation was pretty straight forward.</p>
<p><span id="more-11"></span></p>
<p>There are some things to know about our directory.  All of the users that will access the repository will get the same read/write permission.  All of these users exist in a single OU within the directory.  Access to the repository will be allowed over HTTP.  I will be using Apache as the web server.</p>
<p>After a simple base install, I only had to install a few additional components.  My memory here is a little rusty, so please bear with me&#8230;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libapache2-svn subversion subversion-tools</pre></td></tr></table></div>

<p>This should fetch the subversion components and other dependencies.  Confirm yes when asked about the Apache installation.</p>
<p>After the installation is complete, you will need to do some configuration in order to enable the subversion components.  First test to make sure the components can load.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># cd /etc/apache2/mods-enabled</span>
<span style="color: #666666; font-style: italic;"># sudo ln -s /etc/apache2/mods-available/dav_svn.load</span>
<span style="color: #666666; font-style: italic;"># sudo /etc/init.d/apache2 restart</span></pre></td></tr></table></div>

<p>If you do not see any errors relating to the start of Apache, the subversion components could be loaded and it is time to configure.  If you see some errors, step back and find yourself to Google.</p>
<p>In order to configure the components, we must create a config file.  I created mine in the terminal again and opened the document in gedit to edit the contents.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># cd /etc/apache2/mods-enabled</span>
<span style="color: #666666; font-style: italic;"># sudo touch dav_svn.conf</span>
<span style="color: #666666; font-style: italic;"># sudo gedit dav_svn.conf</span></pre></td></tr></table></div>

<p>Here is the contents of the configuration file.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Must be turned on to make Apache aware that this is a WEBDAV share run be subversion
</span>DAV svn
&nbsp;
<span style="color: #666666; font-style: italic;"># Path to my repository location
</span>SVNParentPath <span style="color: #339933;">/</span>srv<span style="color: #339933;">/</span>svn<span style="color: #339933;">/</span>repos
&nbsp;
<span style="color: #666666; font-style: italic;"># In addition to setting the AuthType, be sure to configure the provider.
</span>AuthType Basic
AuthBasicProvider ldap
AuthName <span style="color: #0000ff;">&quot;HCL Subversion Server&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># LDAP authentication first binds to the directory and searches for the user specified.  This
</span><span style="color: #666666; font-style: italic;"># user is used to bind to the directory and perform the search.  Obviously, change the
</span><span style="color: #666666; font-style: italic;"># DN to a user you have with the correct password.
</span>AuthLDAPBindDN <span style="color: #0000ff;">&quot;CN=ldap,OU=Service Accounts,OU=HCL Users,DC=hcl,DC=internal&quot;</span>
AuthLDAPBindPassword <span style="color: #339933;">****</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># This is the most critical part.  This is the URL to the LDAP server specifying the scope
</span><span style="color: #666666; font-style: italic;"># to search for the user.  See the notes below.
</span>AuthLDAPURL <span style="color: #0000ff;">&quot;ldap://gallodc01.hcl.internal:3268/OU=IT,OU=HCL Users,DC=hcl,DC=internal?sAMAccountName&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># For some reason this must be set.  Anyone have any ideas?  If it is not set, the entire
</span><span style="color: #666666; font-style: italic;"># config does not work.  The error logs do not provide much information either.
</span>AuthzLDAPAuthoritative Off
&nbsp;
<span style="color: #b1b100;">require</span> valid<span style="color: #339933;">-</span>user</pre></td></tr></table></div>

<p>There are a few things I want to bring to your attention as I found they related to Active Directory.  All of this is in the AuthLDAPURL parameter.  First off, you must identify the server that holds the Global Catalog and specify port 3268.  The second part is to make sure that sAMAccountName is set as your user identifier.  I am not sure is case matters at this point but having worked with Microsoft products long enough, I am just going to match this up with what I found with ADSI Edit.</p>
<p>ADSI Edit???  Yes, that is what I used to interrogate Active Directory to make sure that I was using the proper field.  In other LDAP environments, this would be UID or even CN depending upon the LDAP flavor.  I would imagine that you could use the standard mail attribute in which case the username would be the email address.  That attribute seems constant among all directories I have seen.</p>
<p>Before you restart Apache one last time, create the repo directories, create a repository, and fix the permissions for web access.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># sudo mkdir -p /srv/svn/repos</span>
<span style="color: #666666; font-style: italic;"># cd /srv/svn/repos</span>
<span style="color: #666666; font-style: italic;"># sudo svnadmin create test</span>
<span style="color: #666666; font-style: italic;"># sudo chown -r www-data:www-data test</span>
<span style="color: #666666; font-style: italic;"># sudo /etc/init.d/apache2 restart</span></pre></td></tr></table></div>

<p>Hopefully you received no errors.  Only thing left is to checkout your test project to make sure everything works correctly.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># cd ~</span>
<span style="color: #666666; font-style: italic;"># svn co --username {AD Username} http://localhost/repos/test</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.itguyonline.com/blog/2007/05/02/ldap-authentication-for-subversion-on-ubuntu-feisty/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Cingular AirCard 875</title>
		<link>http://www.itguyonline.com/blog/2007/03/14/cingular-aircard-875-2/</link>
		<comments>http://www.itguyonline.com/blog/2007/03/14/cingular-aircard-875-2/#comments</comments>
		<pubDate>Thu, 15 Mar 2007 00:09:03 +0000</pubDate>
		<dc:creator>Kurt Wolf</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://www.itguyonline.com/blog/2007/03/14/cingular-aircard-875-2/</guid>
		<description><![CDATA[Updated content for Ubuntu 8.04 is available in this post. I will be taking a trip next week and I wanted to use my department&#8217;s WAP card for Internet access. I&#8217;m a linux kinda guy though and went on the search for the configuration. I found some notes relating to KDE and OpenSuSE, however I [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
<a href="http://www.itguyonline.com/blog/2008/05/11/cingular-aircard-875-ubuntu-hardy-heron-804/">Updated content for Ubuntu 8.04 is available in this post.</a>
</p></blockquote>
<p>I will be taking a trip next week and I wanted to use my department&#8217;s WAP card for Internet access.  I&#8217;m a linux kinda guy though and went on the search for the configuration.  I found some notes relating to KDE and OpenSuSE, however I am running Ubuntu Feisty.  Here are my modifications to get this card to work.</p>
<p><span id="more-10"></span><br />
<strong>/etc/ppp/peers/cingular</strong></p>
<p><code>hide-password<br />
noauth<br />
connect "/usr/sbin/chat -v -f /etc/chatscripts/cingular"<br />
debug<br />
/dev/ttyUSB0<br />
115200<br />
defaultroute<br />
noipdefault<br />
user "WAP@CINGULARGPRS.COM"<br />
remotename cingular<br />
ipparam cingular<br />
usepeerdns<br />
</code></p>
<p><strong>/etc/chatscripts/cingular</strong></p>
<p><code>ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED<br />
'' "ATZ" 'OK' 'AT+CGDCONT=1,"IP","ISP.CINGULAR"'<br />
OK-AT-OK "ATDT*99***1#"<br />
CONNECT \d\c<br />
</code></p>
<p><strong>/etc/ppp/chapsecrets</strong></p>
<p><code>"WAP@CINGULARGPRS.COM" * "cingular1"</code></p>
<p>After that, to establish the connection, open a terminal and type &#8216;pon cingular&#8217;.  If anyone has better ways to perform this action, please let me know.  I wish there was a GUI that could configure and manage the entire thing.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Linux" class="performancingtags" rel="tag">Linux</a>, <a href="http://technorati.com/tag/Ubuntu" class="performancingtags" rel="tag">Ubuntu</a>, <a href="http://technorati.com/tag/Cingular" class="performancingtags" rel="tag">Cingular</a>, <a href="http://technorati.com/tag/AirCard" class="performancingtags" rel="tag">AirCard</a>, <a href="http://technorati.com/tag/Feisty" class="performancingtags" rel="tag">Feisty</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itguyonline.com/blog/2007/03/14/cingular-aircard-875-2/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
