<?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>Blang! &#187; SUSE</title>
	<atom:link href="http://www.johnlange.ca/category/linux/suse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johnlange.ca</link>
	<description>The rants, raves, and musings of John Lange</description>
	<lastBuildDate>Fri, 13 Aug 2010 21:42:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>UPS Monitoring with SUSE. Quick &amp; Dirty</title>
		<link>http://www.johnlange.ca/2009/12/07/ups-monitoring-with-suse-quick-dirty/</link>
		<comments>http://www.johnlange.ca/2009/12/07/ups-monitoring-with-suse-quick-dirty/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 21:50:32 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=347</guid>
		<description><![CDATA[I recently had the need to query a bunch of UPSes to gather their current statistics using openSUSE. The Network UPS Tools packages (NUT for short) are available for openSUSE and that&#8217;s all you need (assuming your UPS is one of the supported ones).
# zypper install nut
Next you need to edit /etc/ups/ups.conf and make an entry for your UPS driver and serial port.
[myups]
driver = bcmxcp
port = /dev/ttyUSB0
desc = &#8220;Local UPS&#8221;
Next I started the UPS driver manually in debug mode so I could see what was going on. The nice thing about this driver is it will auto-discover the UPS serial port speed.
# /usr/lib/ups/driver/bcmxcp -a myups -D
In a separate terminal window, start upsd.
# upsd
Now you should be able to query the UPS:
# upsc myups@localhost
Because I was just collecting statistics, I wasn&#8217;t interested in using upsd to automatically shutdown servers or anything fancy but that is possible.
]]></description>
			<content:encoded><![CDATA[<p>I recently had the need to query a bunch of UPSes to gather their current statistics using openSUSE. The Network UPS Tools packages (NUT for short) are available for openSUSE and that&#8217;s all you need (assuming your UPS is one of the supported ones).</p>
<p># zypper install nut</p>
<p>Next you need to edit /etc/ups/ups.conf and make an entry for your UPS driver and serial port.</p>
<p>[myups]<br />
driver = bcmxcp<br />
port = /dev/ttyUSB0<br />
desc = &#8220;Local UPS&#8221;</p>
<p>Next I started the UPS driver manually in debug mode so I could see what was going on. The nice thing about this driver is it will auto-discover the UPS serial port speed.</p>
<p># /usr/lib/ups/driver/bcmxcp -a myups -D</p>
<p>In a separate terminal window, start upsd.</p>
<p># upsd</p>
<p>Now you should be able to query the UPS:</p>
<p># upsc myups@localhost</p>
<p>Because I was just collecting statistics, I wasn&#8217;t interested in using upsd to automatically shutdown servers or anything fancy but that is possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnlange.ca/2009/12/07/ups-monitoring-with-suse-quick-dirty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SUSE 11.2 Tweak &#8211; Show all tasks on Gnome Panel</title>
		<link>http://www.johnlange.ca/2009/11/16/suse-11-2-tweak-show-all-tasks-on-gnome-panel/</link>
		<comments>http://www.johnlange.ca/2009/11/16/suse-11-2-tweak-show-all-tasks-on-gnome-panel/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 16:26:36 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=329</guid>
		<description><![CDATA[The Gnome desktop in OpenSUSE 11.2 is beautiful (much nicer than the clunky KDE IMHO), but there are a few things that I don&#8217;t like about the default settings. I use 8 virtual desktops to keep my desktop organized but I like the taskbar to show all tasks. By default, the gnome panel&#8217;s task bar shows only the windows in the current workspace and for some reason you can&#8217;t just right-click the panel to change this setting.
Instead, it&#8217;s buried in the Gnome Configuration Editor which makes it really hard to find so here are the steps to fix this:
1) Computer -&#62; More Applications
2) System -&#62; Gnome Configuration Editor
The setting that needs to be changed is:
3) /apps/panel/applets/window_list_screen0/prefs/display_all_workspaces
You can navigate down the tree or use the &#8220;Find&#8221; function.
That&#8217;s it! Have a lot of fun!
Update: see the first comment for an equally obscure but perhaps easier method.
]]></description>
			<content:encoded><![CDATA[<p>The Gnome desktop in OpenSUSE 11.2 is beautiful (much nicer than the clunky KDE IMHO), but there are a few things that I don&#8217;t like about the default settings. I use 8 virtual desktops to keep my desktop organized but I like the taskbar to show all tasks. By default, the gnome panel&#8217;s task bar shows only the windows in the current workspace and for some reason you can&#8217;t just right-click the panel to change this setting.</p>
<p>Instead, it&#8217;s buried in the Gnome Configuration Editor which makes it really hard to find so here are the steps to fix this:</p>
<p>1) Computer -&gt; More Applications</p>
<p>2) System -&gt; Gnome Configuration Editor</p>
<p>The setting that needs to be changed is:</p>
<p>3) /apps/panel/applets/window_list_screen0/prefs/display_all_workspaces</p>
<p>You can navigate down the tree or use the &#8220;Find&#8221; function.</p>
<p>That&#8217;s it! Have a lot of fun!</p>
<p><strong>Update:</strong> see the first comment for an equally obscure but perhaps easier method.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnlange.ca/2009/11/16/suse-11-2-tweak-show-all-tasks-on-gnome-panel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SUSE Studio &#8211; First impression&#8230; WOW!</title>
		<link>http://www.johnlange.ca/2009/10/07/suse-studio-first-impression-wow/</link>
		<comments>http://www.johnlange.ca/2009/10/07/suse-studio-first-impression-wow/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 15:31:39 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Cool Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=303</guid>
		<description><![CDATA[Someone finally took pity on me and sent me an invite for  SUSE Studio. My first impression &#8211; Wow!
SUSE Studio lets you build your own custom linux distribution using SUSE as the starting point. The process requires only a few mouse clicks and is so fast and simple any Geeko can do it ;)
Step 1: choose a starting point for your build. Options range from bare-bones (Just Enough OS) OpenSUSE 11, to a full blown SUSE Enterprise Server.
Step 2: Add additional packages. Of course the full SUSE package list is available which includes everything you would normally find on the DVD. But, you can add any repository from the internet including your own custom ones either uploaded as an RPM or downloaded automatically from your own site.
But the goodness doesn&#8217;t end there&#8230; All of the respositories from the SUSE build service are also avaialble. You&#8217;ll be hard pressed to find a package that isn&#8217;t already available in Studio giving unprecidented flexability for building custom appliances.
Step 3: Next you configure some basic options such as Language, Timezone, Networking, and the default users and groups.
Step 4: Overylay files. If you need to add some files to your distro, just tar them up and they will be automatically un-tared in the directory specified.
Step 5: Create your applicance. You can pick one of 4 target formats. USB/Disk image, ISO, VMWare/VirtualBox, or XEN. Then click &#8220;Build&#8221;.
It typically takes less than 5 minutes to build the appliance and when you&#8217;re done you are presented with 2 options: Test Drive, or Download.
Test drive is really neat. Your appliance launches right in your browser window. You can watch it boot up, login, and test things out. The full desktop is there! Really cool! You can go back at any time and make changes.
Once you&#8217;re satisfied with your appliance click the download link and you&#8217;re done!
SUSE Studio is truly amazing.
I have only one small dissapointment; it only supports x86 archetectures and I had wanted to use it to build a PPC appliance that would run on the Sony PS3. I suspect they&#8217;ll add support for other CPUs in the future. Afterall, most small appliances don&#8217;t run full blown processors.
]]></description>
			<content:encoded><![CDATA[<p>Someone finally took pity on me and sent me an invite for  SUSE Studio. My first impression &#8211; Wow!</p>
<p>SUSE Studio lets you build your own custom linux distribution using SUSE as the starting point. The process requires only a few mouse clicks and is so fast and simple any Geeko can do it ;)</p>
<p>Step 1: choose a starting point for your build. Options range from bare-bones (Just Enough OS) OpenSUSE 11, to a full blown SUSE Enterprise Server.</p>
<p>Step 2: Add additional packages. Of course the full SUSE package list is available which includes everything you would normally find on the DVD. But, you can add any repository from the internet including your own custom ones either uploaded as an RPM or downloaded automatically from your own site.</p>
<p>But the goodness doesn&#8217;t end there&#8230; All of the respositories from the SUSE build service are also avaialble. You&#8217;ll be hard pressed to find a package that isn&#8217;t already available in Studio giving unprecidented flexability for building custom appliances.</p>
<p>Step 3: Next you configure some basic options such as Language, Timezone, Networking, and the default users and groups.</p>
<p>Step 4: Overylay files. If you need to add some files to your distro, just tar them up and they will be automatically un-tared in the directory specified.</p>
<p>Step 5: Create your applicance. You can pick one of 4 target formats. USB/Disk image, ISO, VMWare/VirtualBox, or XEN. Then click &#8220;Build&#8221;.</p>
<p>It typically takes less than 5 minutes to build the appliance and when you&#8217;re done you are presented with 2 options: Test Drive, or Download.</p>
<p>Test drive is really neat. Your appliance launches right in your browser window. You can watch it boot up, login, and test things out. The full desktop is there! Really cool! You can go back at any time and make changes.</p>
<p>Once you&#8217;re satisfied with your appliance click the download link and you&#8217;re done!</p>
<p>SUSE Studio is truly amazing.</p>
<p>I have only one small dissapointment; it only supports x86 archetectures and I had wanted to use it to build a PPC appliance that would run on the Sony PS3. I suspect they&#8217;ll add support for other CPUs in the future. Afterall, most small appliances don&#8217;t run full blown processors.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnlange.ca/2009/10/07/suse-studio-first-impression-wow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SUSE Broken? Don&#8217;t fear the chroot !</title>
		<link>http://www.johnlange.ca/2009/09/22/suse-broken-dont-fear-the-chroot/</link>
		<comments>http://www.johnlange.ca/2009/09/22/suse-broken-dont-fear-the-chroot/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 00:45:31 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=305</guid>
		<description><![CDATA[SUSE hasn&#8217;t let me down very often but recently I had a bad experience while applying some updates to an OpenSUSE laptop. There were quite a few updates so I undocked the laptop so I could relax while they downloaded.
For reasons that I have not yet resolved, the wirless networking became unstable and as a result, the updates had to be aborted.
Unfortunately, a new kernel was part of the updates and when the laptop rebooted it was in a bad state. X windows wouldn&#8217;t start and critically, there were no network drivers for the new kernel. To make matters worse, OpenSUSE does not keep the old kernels in /boot (why is that?) so there was nothing to fall back on.
With nothing left to do, it was time to try rescue mode and in a few short steps I had the system fully working again. Here is what I did:
Step 1: boot to rescue mode (duh).
Step 2: mount your hard disk partitions under /mnt in the same layout they would be normally. For example:
# mount /dev/sda2 /mnt
# mount /dev/sda1 /mnt/boot
&#8230; etc.
Step 3: Next we need to make sure we have acess to all the important system resources.
# mount --bind /proc /mnt/proc
# mount --bind /sys /mnt/sys
# mount --bind /dev /mnt/dev
Step 4: We&#8217;re ready to chroot into our new environment.
# chroot /mnt
Step 5: We are now running on our system just as if we had booted to it and we can perform repairs. In my case all I needed to do was complete the updates:
# zypper up
I rebooted and everything was back to normal.
]]></description>
			<content:encoded><![CDATA[<p>SUSE hasn&#8217;t let me down very often but recently I had a bad experience while applying some updates to an OpenSUSE laptop. There were quite a few updates so I undocked the laptop so I could relax while they downloaded.</p>
<p>For reasons that I have not yet resolved, the wirless networking became unstable and as a result, the updates had to be aborted.</p>
<p>Unfortunately, a new kernel was part of the updates and when the laptop rebooted it was in a bad state. X windows wouldn&#8217;t start and critically, there were no network drivers for the new kernel. To make matters worse, OpenSUSE does not keep the old kernels in /boot (why is that?) so there was nothing to fall back on.</p>
<p>With nothing left to do, it was time to try rescue mode and in a few short steps I had the system fully working again. Here is what I did:</p>
<p><strong>Step 1:</strong> boot to rescue mode (duh).</p>
<p><strong>Step 2:</strong> mount your hard disk partitions under /mnt in the same layout they would be normally. For example:</p>
<pre># mount /dev/sda2 /mnt</pre>
<pre># mount /dev/sda1 /mnt/boot</pre>
<p>&#8230; etc.</p>
<p><strong>Step 3:</strong> Next we need to make sure we have acess to all the important system resources.</p>
<pre># mount --bind /proc /mnt/proc
# mount --bind /sys /mnt/sys
# mount --bind /dev /mnt/dev</pre>
<p><strong>Step 4:</strong> We&#8217;re ready to chroot into our new environment.</p>
<pre># chroot /mnt</pre>
<p><strong>Step 5:</strong> We are now running on our system just as if we had booted to it and we can perform repairs. In my case all I needed to do was complete the updates:</p>
<pre># zypper up</pre>
<p>I rebooted and everything was back to normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnlange.ca/2009/09/22/suse-broken-dont-fear-the-chroot/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rogers Rocket Stick on OpenSUSE 11.1</title>
		<link>http://www.johnlange.ca/2009/09/02/rogers-rocket-stick-on-opensuse-11-1/</link>
		<comments>http://www.johnlange.ca/2009/09/02/rogers-rocket-stick-on-opensuse-11-1/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 01:17:13 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mobile Computing]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=297</guid>
		<description><![CDATA[Yes it works! (I was as surprised as anyone)
It didn’t take me long to get it working but google returns a lot of posts with not so good information so here is the documentation on my experience.
]]></description>
			<content:encoded><![CDATA[<p>Yes it works! (I was as surprised as anyone)</p>
<p>It didn’t take me long to get it working but google returns a lot of posts with not so good information so <a href="http://www.johnlange.ca/tech-tips/linux/opensuse-and-sles/rogers-rocket-stick-on-opensuse-111/">here is the documentation</a> on my experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnlange.ca/2009/09/02/rogers-rocket-stick-on-opensuse-11-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing &#8216;ls&#8217; in SUSE so it stops doing &#8216;ls -la&#8217;</title>
		<link>http://www.johnlange.ca/2009/03/05/fixing-ls-in-suse-so-it-stops-doing-ls-la/</link>
		<comments>http://www.johnlange.ca/2009/03/05/fixing-ls-in-suse-so-it-stops-doing-ls-la/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 18:00:12 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[Tech Tip]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=171</guid>
		<description><![CDATA[In all of the SUSE varients (and in may other distros as well), the command ls has been aliased so that it actually does a &#8216;ls -la&#8217;. I find this particularly anoying so I have removed this configuration and documented it here: Stopping &#8216;ls&#8217; from doing &#8216;ls -la&#8217; instead.
]]></description>
			<content:encoded><![CDATA[<p>In all of the SUSE varients (and in may other distros as well), the command ls has been aliased so that it actually does a &#8216;ls -la&#8217;. I find this particularly anoying so I have removed this configuration and documented it here: <a href="http://www.johnlange.ca/tech-tips/opensuse-and-sles/stopping-ls-from-doing-ls-la/">Stopping &#8216;ls&#8217; from doing &#8216;ls -la&#8217; instead</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnlange.ca/2009/03/05/fixing-ls-in-suse-so-it-stops-doing-ls-la/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSUSE 11.0 on the PS3</title>
		<link>http://www.johnlange.ca/2008/07/31/opensuse-110-on-the-ps3/</link>
		<comments>http://www.johnlange.ca/2008/07/31/opensuse-110-on-the-ps3/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 03:02:00 +0000</pubDate>
		<dc:creator>johnlange</dc:creator>
				<category><![CDATA[Cool Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PS3]]></category>
		<category><![CDATA[SUSE]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=44</guid>
		<description><![CDATA[I wrote a &#8220;installing OpenSUSE 11.0 on the PS3&#8243; tips page. Check it out here.
]]></description>
			<content:encoded><![CDATA[<p>I wrote a &#8220;installing OpenSUSE 11.0 on the PS3&#8243; tips page. Check it out <a href="http://www.johnlange.ca/tech-tips/play-station-3-ps3/opensuse-110-on-the-ps3/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnlange.ca/2008/07/31/opensuse-110-on-the-ps3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speeding up OpenSUSE 10.2</title>
		<link>http://www.johnlange.ca/2007/06/16/speding-up-opensuse-102/</link>
		<comments>http://www.johnlange.ca/2007/06/16/speding-up-opensuse-102/#comments</comments>
		<pubDate>Sat, 16 Jun 2007 07:15:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SUSE]]></category>

		<guid isPermaLink="false">http://www.johnlange.ca/?p=4</guid>
		<description><![CDATA[I&#8217;ve been using OpenSUSE 10.X since it was released and it has been by far my favorite distribution. However, the one big strike against it has always been the sluggishness of its software management. Every time you do _anything_ related to software management Suse goes off on a wild tangent reading files, parsing, downloading and on and on.
For example, in Yast, if you click &#8220;Installation Source&#8221;, Suse goes out and refreshes all the download sources, re-parses everything for absolutely no good reason. Why does Suse need to refresh the list of files just to display the installation sources? It makes no sense and is horribly frustrating especially if the reason you are examining the installation sources is to get rid of one that is slow or broken. Unfortunately I&#8217;ve never found a solution for this. The best you can do is make sure you have really fast download sources and be sure to set &#8220;Refresh&#8221; off on all sources except the update source.
Lately I&#8217;ve encountered another very annoying problem with Suse. There are several programs that decide its a good idea to burn 100% CPU for long periods. Chiefly, beagle (the desktop search tool) and zen (the software management).
Fortunately there is an easy solution to this. UNINSTALL THEM In my experience, beagle is completely useless and so is zen and its related tools so it&#8217;s best just to get rid of them.
The packages to delete are as follows:

rug
zmd
opensuse-updater
zen-updater
beagle

You can safely remove these packages and any dependencies. You will no longer get the update icon in the task bar so periodically you should go into Yast and click &#8220;Online Update&#8221; to get updates manually. This tool does in 30 seconds what the rug/zmd/zen/updater crap can&#8217;t do in hours of CPU time.
Clearly there are some serious bugs in the SUSE package management so heres hoping they fix them soon!
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using OpenSUSE 10.X since it was released and it has been by far my favorite distribution. However, the one big strike against it has always been the sluggishness of its software management. Every time you do _anything_ related to software management Suse goes off on a wild tangent reading files, parsing, downloading and on and on.</p>
<p><span id="more-4"></span>For example, in Yast, if you click &#8220;Installation Source&#8221;, Suse goes out and refreshes all the download sources, re-parses everything for absolutely no good reason. Why does Suse need to refresh the list of files just to display the installation sources? It makes no sense and is horribly frustrating especially if the reason you are examining the installation sources is to get rid of one that is slow or broken. Unfortunately I&#8217;ve never found a solution for this. The best you can do is make sure you have really fast download sources and be sure to set &#8220;Refresh&#8221; off on all sources except the update source.</p>
<p>Lately I&#8217;ve encountered another very annoying problem with Suse. There are several programs that decide its a good idea to burn 100% CPU for long periods. Chiefly, beagle (the desktop search tool) and zen (the software management).</p>
<p>Fortunately there is an easy solution to this. <strong>UNINSTALL THEM</strong> In my experience, beagle is completely useless and so is zen and its related tools so it&#8217;s best just to get rid of them.</p>
<p>The packages to delete are as follows:</p>
<ul>
<li>rug</li>
<li>zmd</li>
<li>opensuse-updater</li>
<li>zen-updater</li>
<li>beagle</li>
</ul>
<p>You can safely remove these packages and any dependencies. You will no longer get the update icon in the task bar so periodically you should go into Yast and click &#8220;Online Update&#8221; to get updates manually. This tool does in 30 seconds what the rug/zmd/zen/updater crap can&#8217;t do in hours of CPU time.</p>
<p>Clearly there are some serious bugs in the SUSE package management so heres hoping they fix them soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnlange.ca/2007/06/16/speding-up-opensuse-102/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
