<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Arbitrary Useful Information &#187; dns</title>
	<atom:link href="http://arbitraryusefulinfo.wordpress.com/category/dns/feed/" rel="self" type="application/rss+xml" />
	<link>http://arbitraryusefulinfo.wordpress.com</link>
	<description>A collection of information that will hopefully be useful to others.</description>
	<lastBuildDate>Wed, 21 May 2008 10:13:31 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='arbitraryusefulinfo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/5d5cdc0c23d2242fb96be2584d66cb4f?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Arbitrary Useful Information &#187; dns</title>
		<link>http://arbitraryusefulinfo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://arbitraryusefulinfo.wordpress.com/osd.xml" title="Arbitrary Useful Information" />
		<item>
		<title>Configuring Ubuntu 7.04 on a Toshiba A135-S2356</title>
		<link>http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/</link>
		<comments>http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 08:59:20 +0000</pubDate>
		<dc:creator>Ryan Lefever</dc:creator>
				<category><![CDATA[ati]]></category>
		<category><![CDATA[ati sb450 hda]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[graphics card]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[s2ram]]></category>
		<category><![CDATA[sb450]]></category>
		<category><![CDATA[sleep]]></category>
		<category><![CDATA[sound card]]></category>
		<category><![CDATA[synaptics touchpad]]></category>
		<category><![CDATA[toshiba]]></category>
		<category><![CDATA[toshiba a135-s2356]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 7.04]]></category>
		<category><![CDATA[ubuntu feisty fawn]]></category>

		<guid isPermaLink="false">http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/</guid>
		<description><![CDATA[See this post for an update on sound.
I recently got a new Toshiba Satellite A135-S2356, on which I installed Ubuntu Feisty Fawn. Below I will discuss several issues involved in configuring Ubuntu on the laptop. Unfortunately, I was not able to configure everything to my complete satisfaction. In those cases, I will detail as much [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arbitraryusefulinfo.wordpress.com&blog=879745&post=36&subd=arbitraryusefulinfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><span style="color:red;">See <a href="http://arbitraryusefulinfo.wordpress.com/2007/10/10/configuring-headphones-for-ubuntu-704-on-a-toshiba-a135-s2356">this post</a> for an update on sound.</span></strong></p>
<p>I recently got a new Toshiba Satellite A135-S2356, on which I installed Ubuntu Feisty Fawn. Below I will discuss several issues involved in configuring Ubuntu on the laptop. Unfortunately, I was not able to configure everything to my complete satisfaction. In those cases, I will detail as much as I know about the issue and will update this post as I learn more.</p>
<hr /><em>Synaptics Touchpad</em></p>
<p>To configure the touchpad you need install an application such as gsynaptics. (On KDE you may want to use a different application, such as ksynaptics.) gsynatpics can be installed using the Synaptic Package Manager. After installing gsynaptics, edit <code>/etc/X11/xorg.conf</code>, and look for an entry that starts:</p>
<pre>Section "InputDevice"</pre>
<pre>        Identifier      "Synaptics Touchpad"</pre>
<p>Make sure that the following option is listed under that entry:</p>
<pre>Option          "SHMConfig"     "on"</pre>
<p>If you do modify <code>/etc/X11/xorg.conf</code>, you&#8217;ll need to restart the X-server for the changes to take effect. You can do this by rebooting or pressing ctrl-alt-backspace.</p>
<hr /><em>Sound</em></p>
<p>Sound is the most frustrating part of configuring this laptop. The Toshiba Satellite A135-S2356 uses the ATI SB450 HDA sound card. Apparently the SB450 has worked off and on at various stages of Ubuntu&#8217;s life cycle over the past few years. Its pretty frustrating that it reportedly worked in Ubuntu 6.10 but is broken again in Ubuntu 7.04. Its not clear to me if the problem lies in the kernel or with ALSA. At any rate, I have figured out how to get the sound card working, but with one giant quirk. When headphones are plugged in, the sound continues to emit from the laptop&#8217;s internal speakers, essentially defeating the point of headphones. To get to this point, you need to edit <code>/etc/modprobe.d/alsa-base</code>, and add the following line to the end of it:</p>
<pre>options snd-hda-intel probe_mask=8 model=3stack</pre>
<p>After doing so, the easiest next step is to reboot, that way the change will take effect. I have tried recompiling the alsa drivers, but that did not fix the speaker-headphone problem. In addition, it does not appear that this problem is a very high priority issue. Hopefully that will change, as I and many others require music while working and often work in environments where externally audible sound is unacceptable. I will continue to monitor the situation and will update this blog if I figure out how to make the speakers mute when headphones are plugged in. If anyone reading this blog knows how to fix the speaker-headphone situation, please post a comment.</p>
<p><strong> <span style="color:red;">I have posted a solution to get the headphones to mute, <a href="http://arbitraryusefulinfo.wordpress.com/2007/10/10/configuring-headphones-for-ubuntu-704-on-a-toshiba-a135-s2356">here</a>.</span></strong></p>
<hr /><em>Graphics Card</em></p>
<p>Restricted drivers exist for the ATI graphics card in the laptop; however, I&#8217;ve found that when enabled, the screen goes black when ever you log out of Ubuntu. Consequently you have to reboot. So, if you&#8217;re the only person that uses the laptop, then those drivers are probably OK to use. On the other hand, if you&#8217;re not doing anything graphically intensive, you probably don&#8217;t need to worry about using them. I have not extensively looked into recompiling the kernel to fix the black screen problem.</p>
<hr /><em>Hibernate/Sleep</em></p>
<p>The laptop does not seem to properly wake from hibernate and sleep, using the default power management scheme. I was able to fix the problem by changing the default power management scheme with the steps below. (Note, I am still testing this new scheme.)</p>
<ol>
<li>Install uswsusp using the Synaptic Package Manager.</li>
<li>Test uswsusp.  To test hibernate, execute <code>sudo s2disk</code>.  To test sleep, execute <code>sudo s2ram -f</code>.  You must use the <code>-f</code> option because the A135-S2356 is not in the whitelist of supported laptops for s2ram. However, it seemed to work fine for me. For more information about s2ram, go to <a href="http://en.opensuse.org/S2ram">http://en.opensuse.org/S2ram</a>.</li>
<li>The default power management scripts have a certain order in which they look for commands that put your computer into hibernation or to sleep. The first thing they look for is pmi. Unfortunately, you can not remove pmi from you system because of the way certain package dependencies are organized. However, you can rename pmi so that the power management scripts can&#8217;t find it. If you renamed pmi using a move command, it would simply reappear the next time it was updated on the system. What you can do instead is to rename in a way that lets the packagemanagment system know it was renamed. That can be done with the following command:
<pre style="border:1px solid black;overflow:auto;width:100%;height:100%;">sudo dpkg-divert --rename --divert /usr/sbin/pmi-disabled /usr/sbin/pmi</pre>
<p>Now, power management will find s2disk and s2ram instead of pmi. Note, if you have installed other power management tools, you may have to remove them or similarly rename them.</li>
<li>Another issue is that we need the power management execute <code>s2ram -f</code>, not just <code>s2ram</code>.  In order to do that, we mv s2ram similarly to how we moved pmi.
<pre style="border:1px solid black;overflow:auto;width:100%;height:100%;">sudo dpkg-divert --rename --divert /sbin/s2ram-install /sbin/s2ram</pre>
<p>After moving s2ram, we create a new s2ram that calls the renamed s2ram with the appropriate flags. That can be accomplished with the following two commands:</p>
<pre style="border:1px solid black;overflow:auto;width:100%;height:100%;">sudo echo "/sbin/s2ram-install -f" &gt; /sbin/s2ram</pre>
<pre style="border:1px solid black;overflow:auto;width:100%;height:100%;">sudo chmod 755 /sbin/s2ram</pre>
</li>
<li>Note, because we used dpkg-divert to rename s2ram, it will still get updated properly.</li>
</ol>
<hr /><em>Toshiba Function Keys</em></p>
<p>The Toshiba function keys can be used to adjust brightness, mute/unmute the audio, etc. I have not yet figured this one out. However, I believe the solution is use <a href="http://fnfx.sourceforge.net/">fnfx</a>, which can be installed using the Synaptic Package Manager. Unfortunately, in order for fnfx to work, the kernel must be compiled with Toshiba support. In particular, it requires that <code>CONFIG_ACPI</code> and <code>CONFIG_ACPI_TOSHIBA</code> are defined in the kernel configuration. Toshiba support seems to be missing in the kernel that Ubuntu supplies. Thus, I believe it is necessary to recompile the kernel. If you&#8217;re reading this and you know where to download current versions of the kernel compiled with Toshiba support, please post a comment.</p>
<hr /><em>DNS</em></p>
<p>Although I&#8217;ve been disappointed with Ubuntu&#8217;s sound support, I have been impressed with its wireless support. The wireless just worked! One addition I like to make to the wireless is to make OpenDNS the default DNS provider. I do this because some ISPs have not yet figured out how to setup fast and reliable DNS. In order to make OpenDNS your default DNS server for your wireless, add the following line to <code>/etc/dhcp3/dhclient.conf</code>, and then reboot:</p>
<pre>prepend domain-name-servers 208.67.222.222, 208.67.220.220;</pre>
<hr /><em>ipod</em></p>
<p>Because the headphones do not work properly, I am forced to use an external music player. Currently I am using an ipod. Instructions can be found at <a href="http://www.linuxjournal.com/article/9266">http://www.linuxjournal.com/article/9266</a>, for using your ipod with Ubuntu. Personally, I have chosen to use gtkpod to manage my ipod. In addition, if you&#8217;re sick of Rhythmbox starting whenever you attach your ipod to your laptop, you can fix that by launching gconf-editor and modifying the settings under <code>desktop -&gt; gnome -&gt; volume_manager</code>.  If found that particular piece of advice <a href="http://ubuntuforums.org/showthread.php?t=170261&amp;highlight=default+media+player"> here</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/arbitraryusefulinfo.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/arbitraryusefulinfo.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arbitraryusefulinfo.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arbitraryusefulinfo.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arbitraryusefulinfo.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arbitraryusefulinfo.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arbitraryusefulinfo.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arbitraryusefulinfo.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arbitraryusefulinfo.wordpress.com&blog=879745&post=36&subd=arbitraryusefulinfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://arbitraryusefulinfo.wordpress.com/2007/06/12/configuring-ubuntu-on-a-toshiba-a135-s2356/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a82f3820e15e4a07a0a2889602506a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sparc1998</media:title>
		</media:content>
	</item>
		<item>
		<title>Improving Home Networking with OpenDNS</title>
		<link>http://arbitraryusefulinfo.wordpress.com/2007/03/18/improving-home-networking-with-opendns/</link>
		<comments>http://arbitraryusefulinfo.wordpress.com/2007/03/18/improving-home-networking-with-opendns/#comments</comments>
		<pubDate>Mon, 19 Mar 2007 01:13:09 +0000</pubDate>
		<dc:creator>Ryan Lefever</dc:creator>
				<category><![CDATA[browser]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[home network]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://arbitraryusefulinfo.wordpress.com/2007/03/18/improving-home-networking-with-opendns/</guid>
		<description><![CDATA[One bottleneck for web browsing of which many people are not necessarily aware is DNS lookups. For those that don&#8217;t know, DNS stands for Domain Name Service. Routers on the Internet do not know what to do with a website name, such as www.espn.com. A DNS server is responsible for translating a website name into [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arbitraryusefulinfo.wordpress.com&blog=879745&post=31&subd=arbitraryusefulinfo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One bottleneck for web browsing of which many people are not necessarily aware is DNS lookups. For those that don&#8217;t know, DNS stands for Domain Name Service. Routers on the Internet do not know what to do with a website name, such as www.espn.com. A DNS server is responsible for translating a website name into an IP address, which routers on the Internet know how to handle, allowing them to route you to the website that you want to visit. So, when you type a website in you browser, a query is first sent to a DNS server to translate the website name into an IP address. Once the translation is done, your browser then requests the webpage from the IP address. If you request a webpage that has content from other websites, then your browser will have to make multiple DNS queries, in sequence. For example, imagine a scenario in which you go to some website called www.xxxxxxxxxx.com that displays a graphic which is located at www.yyyyyyyyyy.com. The following steps will be taken:</p>
<ol>
<li> Your browser will query a DNS server asking it to translate www.xxxxxxxxxx.com into an IP address.</li>
<li>Upon receipt of the IP address your browser sends a message to the IP address, asking it for its content.</li>
<li>As your browser receives the content, it starts to display it but realizes it needs a graphic from www.yyyyyyyyyy.com. So, your browser makes another DNS query, asking for the IP address of www.yyyyyyyyyy.com.</li>
<li>Upon receipt of www.yyyyyyyyyy.com&#8217;s IP address, your browser then fetches the graphic.</li>
</ol>
<p>As you can see, slow DNS lookups can be a bottleneck for browsing. Most people&#8217;s home network is configured to use the DNS server provided by their ISP. Unfortunately, that server may be overloaded or may just be slow.  Fortunately, <a href="http://www.opendns.com/">OpenDNS</a> provides free DNS services that are fast, in my experience.  So, if you suspect that slow DNS lookups are a problem, give <a href="http://www.opendns.com/">OpenDNS</a> a try to see if it improves your preformance.</p>
<p>In addition, <a href="http://www.opendns.com/">OpenDNS</a> provides useful features that are not available from normal DNS servers.  For example, if you are about to visit a <a href="http://www.opendns.com/faq/#what_is_phishing">phishing</a> website, <a href="http://www.opendns.com/">OpenDNS</a> will redirect you to warn you of the danger.  They also attempt to correct spelling mistakes in website names, on-the-fly.  For example, if you type www.espn.cmo on your browser, <a href="http://www.opendns.com/">OpenDNS</a> will still direct you to www.espn.com.  <a href="http://www.opendns.com/">OpenDNS</a> is easy to use also.  Directions for using it are contained on their website.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/arbitraryusefulinfo.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/arbitraryusefulinfo.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arbitraryusefulinfo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arbitraryusefulinfo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arbitraryusefulinfo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arbitraryusefulinfo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arbitraryusefulinfo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arbitraryusefulinfo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arbitraryusefulinfo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arbitraryusefulinfo.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arbitraryusefulinfo.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arbitraryusefulinfo.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arbitraryusefulinfo.wordpress.com&blog=879745&post=31&subd=arbitraryusefulinfo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://arbitraryusefulinfo.wordpress.com/2007/03/18/improving-home-networking-with-opendns/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a82f3820e15e4a07a0a2889602506a0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sparc1998</media:title>
		</media:content>
	</item>
	</channel>
</rss>