<?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>Crossed Wires &#187; ubuntu</title>
	<atom:link href="http://veejoe.net/blog/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://veejoe.net/blog</link>
	<description>Vic's Blog</description>
	<lastBuildDate>Fri, 04 May 2012 13:31:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Trouble with apt-get and Squid</title>
		<link>http://veejoe.net/blog/2009/05/trouble-with-apt-get-and-squid/</link>
		<comments>http://veejoe.net/blog/2009/05/trouble-with-apt-get-and-squid/#comments</comments>
		<pubDate>Mon, 11 May 2009 04:36:44 +0000</pubDate>
		<dc:creator>Vic</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[squid]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://veejoe.net/blog/?p=31</guid>
		<description><![CDATA[I recently started having trouble with APT transactions on my Kubuntu desktop. &#8220;apt-get update&#8221; would fail for some source entries with the error &#8220;The HTTP server sent an invalid reply header&#8221;. I thought it was something specific to (K)Ubuntu, but when I had the exact problem on my NSLU2 running Debian I figured the problem [...]]]></description>
			<content:encoded><![CDATA[<p>I recently started having trouble with APT transactions on my Kubuntu desktop. &#8220;apt-get update&#8221; would fail for some source entries with the error &#8220;The HTTP server sent an invalid reply header&#8221;. I thought it was something specific to (K)Ubuntu, but when I had the exact problem on my NSLU2 running Debian I figured the problem must be elsewhere…</p>
<p>I&#8217;d recently updated the machine that provides the transparent web proxy function for the network; one of the updates took Squid up to version 3.0 (from 2.6). This was the first thing I was suspicious of.</p>
<p>There&#8217;s an option in Squid that controls how it handles an &#8220;If-Modified-Since&#8221; request from a client. The default is for Squid to respond based on the age of the item in the <em>cache</em>, not based on the real item on the source web page. The comments in the Squid config file indicate that some clients use an IMS when requesting a reload — looks like APT is one of those clients.</p>
<p>Setting this option to &#8220;on&#8221; (from the default of &#8220;off&#8221;) in <strong>squid.conf</strong> fixed the issue for me:</p>
<p><code>refresh_all_ims on</code></p>
]]></content:encoded>
			<wfw:commentRss>http://veejoe.net/blog/2009/05/trouble-with-apt-get-and-squid/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ubuntu 8.04 Wireless Weirdness</title>
		<link>http://veejoe.net/blog/2008/06/ubuntu-804-wireless-weirdness/</link>
		<comments>http://veejoe.net/blog/2008/06/ubuntu-804-wireless-weirdness/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 00:10:23 +0000</pubDate>
		<dc:creator>Vic</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://veejoe.net/blog/?p=251</guid>
		<description><![CDATA[Over the last fortnight I finally got the wriggle-on to upgrade all my (K)Ubuntu systems to Hardy Heron. Various issues occurred with each of them, but overall the entire exercise went smoothly (my wife&#8217;s little old Fujitsu Lifebook was probably smoothest of the lot). I had one rather vexing issue however, on my old (I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last fortnight I finally got the wriggle-on to upgrade all my (K)Ubuntu systems to Hardy Heron. Various issues occurred with each of them, but overall the entire exercise went smoothly (my wife&#8217;s little old Fujitsu Lifebook was probably smoothest of the lot). I had one rather vexing issue however, on my old (I&#8217;m tempted to say &#8220;ancient&#8221;) Vaio laptop.</p>
<p>The onboard wireless on this thing is an ipw2100, hence only 802.11b, and I had a PCMCIA 802.11g NIC lying around (actually it came from the Lifebook, liberated from there after I bought it a Mini-PCI 802.11g card on eBay). On Gutsy, I used the hardware kill-switch to disable the onboard adapter to make double-sure that it wouldn&#8217;t try and drag the network down to 11Mbps.</p>
<p>This laptop was the last machine I upgraded to Hardy, and I was playing with KDE 4 on it so I was looking forward to seeing what KDE4-ness made it into Hardy. While the upgrade was taking place the wi-fi connection dropped out, but I didn&#8217;t think anything of it since Ubuntu upgrades try and restart the new versions of things and I figured NetworkManager had fallen and couldn&#8217;t get up. After the reboot, however, KNetworkManager (still the KDE3 version, don&#8217;t get me started there) could find no networks &#8212; could find no adapters, in fact.</p>
<p>I logged back into KDE3 and poked. Still no wireless (as if the desktop would make a difference, but I had to make *some* start on pruning the fault tree). The Hardware Drivers Manager was reporting that the Atheros driver was active (for the PCMCIA card), and an unplug-plug cycle generated all kinds of good kernel messages.</p>
<p>On a whim, I flicked the hardware kill-switch for the onboard wifi[1]. Almost instantly, KNetworkManager prompted to get my wallet unlocked &#8212; it had found my network and wanted the WPA passphrase. I provided it, and got a connection: <i>via the PCMCIA NIC</i>. </p>
<p>&#8220;That&#8217;s odd&#8221;, I thought, and flicked the switch. A few seconds passed, and the link dropped. Flicked the switch on, link came back. Flicked the switch off again: this time a few minutes went past, but again the link failed. Tried it several times again, and the same thing happened. The state of the kill-switch for the onboard NIC was influencing the other NIC too!</p>
<p>It seems that this is altered behaviour in NetworkManager, applying the state of the hardware switch to all wi-fi adapters. If it annoys me significantly I&#8217;d like to think I&#8217;ll trawl changelogs, or even better lodge something on Launchpad&#8230; more likely though I&#8217;ll forget all about it having found a kludgy workaround.</p>
<p>I&#8217;ve now added ipw2100 to the module blacklist and things work okay (presumably because the state of the onboard switch can&#8217;t be reported any more). I&#8217;ll also have a think about whether a few dollars for another g-capable Mini-PCI NIC will be throwing good money after bad, as this laptop really is quite long-in-the-tooth.</p>
<p>Oh yes, that&#8217;s right&#8230; KDE 4. Next time perhaps. <img src='http://veejoe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>[1] I can&#8217;t think why I did this. I knew that I&#8217;d disabled 802.11b in my access point, to make triple-sure an 802.11b device wouldn&#8217;t slow my network down&#8230; The onboard 802.11b NIC would never successfully get a connection.</p>
]]></content:encoded>
			<wfw:commentRss>http://veejoe.net/blog/2008/06/ubuntu-804-wireless-weirdness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edgy comes to visit</title>
		<link>http://veejoe.net/blog/2006/10/edgy-comes-to-visit/</link>
		<comments>http://veejoe.net/blog/2006/10/edgy-comes-to-visit/#comments</comments>
		<pubDate>Tue, 31 Oct 2006 02:27:59 +0000</pubDate>
		<dc:creator>Vic</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://veejoe.net/blog/?p=1171</guid>
		<description><![CDATA[For ages I&#8217;ve toyed with running Linux on the ex-lease Sony Vaio I&#8217;ve got.&#160;&#160;When I first picked it up, Centrino was a dirty word as far as Linux was concerned, so it&#8217;s been a Windows box all along.&#160;&#160;But now that the lease is over and it&#8217;s all mine, I decided to take the plunge. The [...]]]></description>
			<content:encoded><![CDATA[<p>For ages I&#8217;ve toyed with running Linux on the ex-lease Sony Vaio I&#8217;ve got.&nbsp;&nbsp;When I first picked it up, Centrino was a dirty word as far as Linux was concerned, so it&#8217;s been a Windows box all along.&nbsp;&nbsp;But now that the lease is over and it&#8217;s all mine, I decided to take the plunge.</p>
<p>The announcement of Ubuntu 6.10 (Edgy Eft) gave me an additional prod.&nbsp;&nbsp;I had a DVD of Ubuntu 6.06 LTS (Dapper Drake) that I figured I could install and upgrade to Edgy, and that process went alarmingly well.&nbsp;&nbsp;Even installing <b>kubuntu-desktop</b> was painless.&nbsp;&nbsp;It looks like a really well-integrated distro with just the right amount of knobs and dials to keep me running.</p>
<p>Or so I thought, until it came time to get wireless working.&nbsp;&nbsp;I run WPA, and the network config tools in Dapper don&#8217;t grok it.&nbsp;&nbsp;I figured that Edgy would be an improvement, but alas not.&nbsp;&nbsp;I&#8217;ve tried just about every network config tool available, in both GNOME and KDE, with no luck.</p>
<p>About the closest I&#8217;ve managed to get was using <b>kwlan</b>, but it seemed to get confused in trying to save the configuration and activate the link.&nbsp;&nbsp;Start wpa_supplicant prior to configure, and things seem to save but nothing activates.&nbsp;&nbsp;With wpa_supplicant stopped, I cannot save a profile.</p>
<p>I&#8217;ve seen forum notes that recommend downloading and building CVS versions of NetworkManager and wpa_supplicant &#8212; seems to go against the Ubuntu ethos a bit in my mind (if I&#8217;ve got to build stuff from source, I might as well be running Gentoo on it).</p>
<p>So I&#8217;m wired, but not for sound.&nbsp;&nbsp;I like (K)Ubuntu though, so much so I&#8217;m downloading a Xubuntu install CD to try it out on a low-spec laptop I am trying to make use of.&nbsp;&nbsp;Time will tell if the Edgy Eft is just visiting or gets to say a while. <img src='http://veejoe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://veejoe.net/blog/2006/10/edgy-comes-to-visit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

