<?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>blog.layer2.org &#187; linux</title>
	<atom:link href="http://blog.layer2.org/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.layer2.org</link>
	<description>A technical blog</description>
	<lastBuildDate>Sun, 23 May 2010 00:15:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Running an rssh chroot on Ubuntu Lucid 10.04</title>
		<link>http://blog.layer2.org/2010/05/22/running-an-rssh-chroot-on-ubuntu-lucid-10-04/</link>
		<comments>http://blog.layer2.org/2010/05/22/running-an-rssh-chroot-on-ubuntu-lucid-10-04/#comments</comments>
		<pubDate>Sun, 23 May 2010 00:06:38 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[chroot]]></category>
		<category><![CDATA[rssh]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/?p=90</guid>
		<description><![CDATA[I had some trouble getting a chroot running for rssh on Ubuntu Lucid 10.04. I ran the script below:
/usr/share/doc/rssh/examples/mkchroot.sh /var/chroot
It created most of the files, but didn&#8217;t include the right libraries. Here&#8217;s the minimum file listing I&#8217;ve been able to use:

libnsl was the tricky one that I found by trial and error. I installed bash [...]]]></description>
			<content:encoded><![CDATA[<p>I had some trouble getting a chroot running for rssh on Ubuntu Lucid 10.04. I ran the script below:</p>
<p>/usr/share/doc/rssh/examples/mkchroot.sh /var/chroot</p>
<p>It created most of the files, but didn&#8217;t include the right libraries. Here&#8217;s the minimum file listing I&#8217;ve been able to use:</p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2010/05/rssh.png"><img class="alignnone size-full wp-image-91" title="rssh" src="http://blog.layer2.org/wp-content/uploads/2010/05/rssh.png" alt="" width="347" height="450" /></a></p>
<p>libnsl was the tricky one that I found by trial and error. I installed bash inside the chroot and tested running each binary. Everything runs without libnsl, but its required if you want it to work with rssh.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2010/05/22/running-an-rssh-chroot-on-ubuntu-lucid-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use ffmpeg to extract first image out of FLV</title>
		<link>http://blog.layer2.org/2007/12/03/use-ffmpeg-to-extract-first-image-out-of-flv/</link>
		<comments>http://blog.layer2.org/2007/12/03/use-ffmpeg-to-extract-first-image-out-of-flv/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 05:10:48 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/12/03/use-ffmpeg-to-extract-first-image-out-of-flv/</guid>
		<description><![CDATA[I found at least one other person trying to find a way to extract a JPG snapshot out of a flash video using ffmpeg.
The above article suggests using ffmpeg to extract a PNG, and then convert that to a JPG (since the JPG will be much smaller). Instead, just use the correct arguments to ffmpeg:

ffmpeg [...]]]></description>
			<content:encoded><![CDATA[<p>I found at least <a href="http://www.db75.com/blog/archives/000176.html">one other person</a> trying to find a way to <a href="http://www.5etdemi.com/blog/archives/2005/12/extracting-a-jpeg-snapshot-from-an-flv-file/">extract a JPG snapshot out of a flash video using ffmpeg</a>.</p>
<p>The above article suggests using ffmpeg to extract a PNG, and then convert that to a JPG (since the JPG will be much smaller). Instead, just use the correct arguments to ffmpeg:</p>
<pre>
ffmpeg -i movie.flv-vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 movie.jpg
</pre>
<p>With <strong>-vcodec mjpeg</strong> the important argument.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/12/03/use-ffmpeg-to-extract-first-image-out-of-flv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Verizon FIOS and running a Linux operating system</title>
		<link>http://blog.layer2.org/2007/10/19/verizon-fios-and-running-a-linux-operating-system/</link>
		<comments>http://blog.layer2.org/2007/10/19/verizon-fios-and-running-a-linux-operating-system/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 12:34:11 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[fios]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/19/verizon-fios-and-running-a-linux-operating-system/</guid>
		<description><![CDATA[Despite the well known fact that Verizon Can&#8217;t Do Math, I have to say that I am surprised to find that their FIOS service is pretty good. I&#8217;ve had it for over a month, and haven&#8217;t noticed it go down or have any speed problems.
More interestingly, I&#8217;ve actually found that they are pretty Linux-friendly. Actually, [...]]]></description>
			<content:encoded><![CDATA[<p>Despite the well known fact that <a href="http://science.slashdot.org/article.pl?sid=06/12/09/0625245&amp;from=rss">Verizon Can&#8217;t Do Math</a>, I have to say that I am surprised to find that their FIOS service is pretty good. I&#8217;ve had it for over a month, and haven&#8217;t noticed it go down or have any speed problems.</p>
<p>More interestingly, I&#8217;ve actually found that they are pretty Linux-friendly. Actually, Linux-friendly might be too strong &#8211; lets just say that they have not locked me into using Windows for their service. I did have to use activatemyfios.verizon.net, which has a Windows/OS X only Firefox extension. But other than that, I haven&#8217;t felt the vendor lock-in blues.<br />
Here are some good points:</p>
<ul>
<li>As far as I can tell, Verizon only blocks port 80. I run both SSH and HTTPS from my home box.</li>
<li>Once I spoofed the <a href="http://blog.layer2.org/2007/10/01/silly-verizon-and-their-creepy-new-router/">correct MAC address</a>, I was able to use my own non-Verizon router</li>
<li>There is no PPPoE authentication or the like</li>
<li>My IP address has not changed since I started the service</li>
<li>Latency is very low (about 12ms to Google)</li>
<li>Service has not gone down</li>
</ul>
<p>I don&#8217;t use their phone or TV services, so I can&#8217;t comment on those. My guess would be that services like Vonage or Skype would work pretty well on my FIOS connection.</p>
<p>Bad points:</p>
<ul>
<li>The backup battery is supposedly pretty weak. It only provides voice service during a power outage, not Internet. For that, you&#8217;d have to use a UPS. Fortunately, I haven&#8217;t had the power go out.</li>
<li>It took forever to get the service installed. Even though the previous house owner already had FIOS installed, they couldn&#8217;t come out for 2.5 weeks.</li>
</ul>
<p>Verizon does pretty well here. So if you&#8217;re thinking about switching &#8211; I would recommend it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/19/verizon-fios-and-running-a-linux-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who the heck is 142.166.3.122 and 142.166.3.123 (radianrss-1.0)?</title>
		<link>http://blog.layer2.org/2007/10/15/who-the-heck-is-1421663123-radianrss-10/</link>
		<comments>http://blog.layer2.org/2007/10/15/who-the-heck-is-1421663123-radianrss-10/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 03:05:54 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/15/who-the-heck-is-1421663123-radianrss-10/</guid>
		<description><![CDATA[I&#8217;ve been perusing through my logs lately and found the user agent &#8220;radianrss-1.0&#8243; numerous times. I&#8217;d never heard of this program (maybe an RSS reader?), so I did a google search. The only commentary I found was this post speculating that 142.166.3.123 was possibly involved in the compromise of katester.net.
Interestingly enough, the rest of the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been perusing through my logs lately and found the user agent &#8220;radianrss-1.0&#8243; numerous times. I&#8217;d never heard of this program (maybe an RSS reader?), so I did a <a href="http://www.google.com/search?q=radianrss">google search</a>. The only commentary I found was <a href="http://c0nsumer.livejournal.com/1061555.html">this post</a> speculating that 142.166.3.123 was possibly involved in the compromise of katester.net.</p>
<p>Interestingly enough, the rest of the search results are the traffic statistics pages of various Wordpress blogs around the Internet. There doesn&#8217;t seem to be a clear answer for what &#8220;radianrss&#8221; is, or why 142.166.3.122-123 is constantly indexing all of my blog posts.</p>
<p><span id="more-53"></span></p>
<pre>
[evian]$ grep "142.166.3.123" access.log
142.166.3.123 - - [15/Oct/2007:01:02:23 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14022 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:01:52:14 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:03:36:42 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:04:02:18 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14023 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:06:23:53 -0700] "GET /2007/10/06/the-new-ubuntu-is-coming-already/ HTTP/1.1" 200 10915 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:07:00:07 -0700] "GET /2007/10/07/apt-get-does-have-an-option-for-automatic-security-updates/ HTTP/1.1" 200 12223 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:07:01:49 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14023 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:07:57:22 -0700] "GET /2007/10/08/use-mozilla-firefox-under-wine-to-reach-those-windows-only-sites/ HTTP/1.1" 200 13046 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:09:06:34 -0700] "GET /2007/10/12/rails-ruby-scriptconsole-has-tab-completion/ HTTP/1.1" 200 16010 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:09:17:26 -0700] "GET /feed/atom/ HTTP/1.1" 200 13032 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:09:27:21 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:10:02:07 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14022 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:10:17:18 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12895 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:12:46:43 -0700] "GET /2007/10/13/use-ps2pdf-to-create-pdfs-from-any-linux-application/ HTTP/1.1" 200 11739 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:13:01:23 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14022 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:13:03:56 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12882 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:14:32:48 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:15:08:14 -0700] "GET /feed/atom/ HTTP/1.1" 200 36825 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:15:08:21 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12894 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:15:08:26 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14014 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:16:01:29 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14023 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:16:03:03 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12882 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:18:29:20 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12901 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:18:29:21 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14008 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:18:47:46 -0700] "GET /feed/atom/ HTTP/1.1" 200 36826 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:19:01:27 -0700] "GET /2007/10/14/if-youre-not-already-start-using-dd-wrt/ HTTP/1.1" 200 14028 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:19:02:41 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/ HTTP/1.1" 200 12896 "-" "radianrss-1.0"
142.166.3.123 - - [15/Oct/2007:19:49:08 -0700] "GET /feed/atom/ HTTP/1.1" 200 36818 "-" "radianrss-1.0"</pre>
<p>This is traffic just from today &#8211; less than 24 hours! Looking back a little further I also found</p>
<pre>
142.166.3.123 - - [14/Oct/2007:17:35:13 -0700] "GET /2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704 HTTP/1.1" 200 450 "-" "Java/1.5.0_11"</pre>
<p>which has decided to use Java 1.5 as its user agent string.</p>
<p>I&#8217;m curious to know why this IP address is retrieving all of my (and others&#8217;) Wordpress blog(s), and why so frequently. Its not like the page has changed between each retrieval. Have you found this IP address in your logs, the &#8220;radianrss-1.0&#8243; user agent string, or anything else of interest?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/15/who-the-heck-is-1421663123-radianrss-10/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>If you&#8217;re not already, START USING DD-WRT!</title>
		<link>http://blog.layer2.org/2007/10/14/if-youre-not-already-start-using-dd-wrt/</link>
		<comments>http://blog.layer2.org/2007/10/14/if-youre-not-already-start-using-dd-wrt/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 02:02:46 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[wrt54g]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/14/if-youre-not-already-start-using-dd-wrt/</guid>
		<description><![CDATA[
==========================================================

 ____  ___    __        ______ _____         ____  _____
 &#124; _ \&#124; _ \   \ \      / /  _ \_   _&#124; __   _&#124;___ \&#124;___ [...]]]></description>
			<content:encoded><![CDATA[<pre>
==========================================================

 ____  ___    __        ______ _____         ____  _____
 | _ \| _ \   \ \      / /  _ \_   _| __   _|___ \|___ /
 || | || ||____\ \ /\ / /| |_) || |   \ \ / / __) | |_ \
 ||_| ||_||_____\ V  V / |  _ &lt; | |    \ V / / __/ ___) |
 |___/|___/      \_/\_/  |_| \_\|_|     \_/ |_____|____/ 

                       DD-WRT v23 SP2

http://www.dd-wrt.com

==========================================================</pre>
<p>I installed <a href="http://www.dd-wrt.com">dd-wrt</a> on my Linksys WRT54g because I was having problems with the <a href="http://sveasoft.com">Sveasoft</a> Alchemy firmware. The wireless was dropping constantly, which can be real annoying when you&#8217;re trying to do a video call on Skype. My suspicion was that the firmware image was too large and too many services were trying to be run at once, and the unit was running out of memory.</p>
<p>Once long ago I had problems with the Alchemy firmware getting an IP address from my DSL connection. I managed to get syslog working  (shouldn&#8217;t have been hard, but it didn&#8217;t work well with Alchemy) and the errors seemed to point to the fact that the unit was running out of memory. It would eventually work, it just took 20 minutes to get an IP address after it booted. Then it would stay up for months.</p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2007/10/dd-wrt-status.png" title="dd-wrt status page"></a></p>
<p style="text-align: center"><a href="http://blog.layer2.org/wp-content/uploads/2007/10/dd-wrt-status.png" title="dd-wrt status page"><img src="http://blog.layer2.org/wp-content/uploads/2007/10/dd-wrt-status.png" alt="dd-wrt status page" /></a></p>
<p>I guess I&#8217;ve just been out of the loop with regard to the newer firmwares. dd-wrt has much of the same basic functionality in their &#8216;mini&#8217; version as the Sveasoft Alchemy fully featured version did. And to think that at point I paid for Alchemy because I wanted a more featureful, stable firmware  <img src='http://blog.layer2.org/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
<p>The wireless issues have gone away, and the web interface has a much more polished feel to it. I like logging into the router just to look at the interface and see the random stats. It also gives you status on the signal strength of the wireless clients, which can be very useful!</p>
<p>The dd-wrt firmware is famous for being able to do client mode bridging, i.e. act as a transparent wired-to-wireless bridge. I&#8217;m looking forward to trying that out some day.</p>
<p>By the way, although my unit will broadcast at a power of 251mW, I read on the <a href="http://www.dd-wrt.com/wiki/index.php/Index:FAQ#How_can_I_increase_my_wireless_range.3F">dd-wrt wiki</a> that 84mW is ideal for most hardware in terms of getting the best signal-to-noise ratio. At 84mW, I get a SNR of somewhere between 30-40, so I feel like that is probably pretty accurate information, considering I probably only need a SNR of 10-15 to get a very good wireless signal.</p>
<p>Try out dd-wrt today!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/14/if-youre-not-already-start-using-dd-wrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow SSH logins in Ubuntu Feisty (7.04)</title>
		<link>http://blog.layer2.org/2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/</link>
		<comments>http://blog.layer2.org/2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 00:10:48 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/</guid>
		<description><![CDATA[There are two major reasons (I know of) that can cause extremely slow SSH logins &#8211; anywhere in the range of 15-30 seconds. It doesn&#8217;t seem like a long time, but it takes forever to wait that out sitting at the terminal.
Say no to GSSAPIAuthentication
For some reason,  GSSAPIAuthentication is turned on by default in [...]]]></description>
			<content:encoded><![CDATA[<p>There are two major reasons (I know of) that can cause extremely slow SSH logins &#8211; anywhere in the range of 15-30 seconds. It doesn&#8217;t seem like a long time, but it takes forever to wait that out sitting at the terminal.</p>
<h2><strong>Say no to GSSAPIAuthentication</strong></h2>
<p>For some reason,  GSSAPIAuthentication is turned on by default in Ubuntu Feisty (7.04). If you ssh -v somewhere.com, you&#8217;ll see this in the output:</p>
<pre>...
debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-8ubuntu1
debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: SSH2_MSG_KEXINIT sent
...</pre>
<p>There are two ways to fix it. You can edit either <strong>/etc/ssh/ssh_config</strong> to include</p>
<pre>GSSAPIAuthentication no</pre>
<p>Or, you can edit <strong>~/.ssh/config</strong> and add the same line. The only difference is that <strong>/etc/ssh/ssh_config</strong> will affect all systems users &#8211; probably a good thing.</p>
<h2><strong>Slow/broken DNS lookups</strong></h2>
<p>Each time you log into an OpenSSH server, it will typically perform a reverse-lookup on your IP address and store it in wtmp (try running the command &#8220;last&#8221;). If that DNS lookup times out, you&#8217;ll be in for a big delay. Whats worse, OpenSSH has a habit of performing the lookup 3 or 4 times, further extending the delay to 30 seconds or more.</p>
<p>Its generally best to fix the source of the problem by fixing whatever problem exists in your DNS infrastructure. This could be as simple as pointing /etc/resolv.conf to the correct nameserver.</p>
<p>If you&#8217;re really in a bind, you can pass the <strong>-u0</strong> flag to sshd. Unfortunately, the sshd man page does not reveal any config file options to accomplish the same thing. But, the -u0 flag will stop sshd from performing any lookups that are not absolutely necessary as part of the authentication mechanism.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/14/slow-ssh-logins-in-ubuntu-feisty-704/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use ps2pdf to create PDFs from any Linux application</title>
		<link>http://blog.layer2.org/2007/10/13/use-ps2pdf-to-create-pdfs-from-any-linux-application/</link>
		<comments>http://blog.layer2.org/2007/10/13/use-ps2pdf-to-create-pdfs-from-any-linux-application/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 14:47:31 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/13/use-ps2pdf-to-create-pdfs-from-any-linux-application/</guid>
		<description><![CDATA[If you want to share a PDF of a web page or any other document with another person, PDF is usually the way to go. There are free PDF printers out there for Windows, but fortunately the necessary software is probably already installed on your Linux distribution. Just use ps2pdf.
First, print from your application (ie. [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to share a PDF of a web page or any other document with another person, PDF is usually the way to go. There are <a href="http://pdf995.com/">free PDF printers</a> out there for Windows, but fortunately the necessary software is probably already installed on your Linux distribution. Just use <strong>ps2pdf</strong>.</p>
<p>First, print from your application (ie. Firefox) and make sure to check &#8220;Print to file&#8221;:</p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2007/10/screenshot-print.png" title="Print to file"><img src="http://blog.layer2.org/wp-content/uploads/2007/10/screenshot-print.png" alt="Print to file" /></a></p>
<p>Press Print, save the file as filename.ps , and then run the following command:</p>
<pre>
$ ps2pdf filename.ps</pre>
<p>The resulting file will be filename.pdf.</p>
<p>This is also a good way to convert old PS files (which can get pretty large) to the smaller PDF format. And, if for some reason you want to go the other direction, you can always use the <strong>pdf2ps</strong> utility.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/13/use-ps2pdf-to-create-pdfs-from-any-linux-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Mozilla Firefox under WINE to reach those Windows-only sites</title>
		<link>http://blog.layer2.org/2007/10/08/use-mozilla-firefox-under-wine-to-reach-those-windows-only-sites/</link>
		<comments>http://blog.layer2.org/2007/10/08/use-mozilla-firefox-under-wine-to-reach-those-windows-only-sites/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 22:42:55 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/08/use-mozilla-firefox-under-wine-to-reach-those-windows-only-sites/</guid>
		<description><![CDATA[
Its long been known that you can use something like the User Agent Switcher to make it appear like you&#8217;re using a different operating system than you really are. This can be useful on some websites that insist you need to run Windows &#8211; when in fact Linux or practically any other operating system will [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.layer2.org/wp-content/uploads/2007/10/denied.png" title="Being denied based on operating system"><img src="http://blog.layer2.org/wp-content/uploads/2007/10/denied.png" alt="Being denied based on operating system" align="right" /></a></p>
<p>Its long been known that you can use something like the <a href="https://addons.mozilla.org/en-US/firefox/addon/59">User Agent Switcher</a> to make it appear like you&#8217;re using a different operating system than you really are. This can be useful on some websites that insist you need to run Windows &#8211; when in fact Linux or practically any other operating system will work fine.</p>
<p>But for those sites that are actually telling the truth, you can often run Firefox under WINE with very good results. Just head over to <a href="http://www.getfirefox.com">www.getfirefox.com</a> and download the Windows binary. The site actually does its own OS detection, so you&#8217;ll probably want to choose &#8220;Other Systems and Languages.&#8221; Once you have it, make sure you have WINE installed. I also installed the MS truetype fonts because it looks terrible otherwise.</p>
<pre>
# apt-get install wine msttcorefonts
</pre>
<p>And then start the installer</p>
<pre>
$ wine Firefox\ Setup\ 2.0.0.7.exe
</pre>
<p>You&#8217;ll go through the normal install process, and when you&#8217;re finished you&#8217;ll see a new Firefox icon on your Linux desktop:</p>
<p><a href="http://blog.layer2.org/wp-content/uploads/2007/10/firefox-icon.png" title="Windows Firefox on my Linux desktop"><img src="http://blog.layer2.org/wp-content/uploads/2007/10/firefox-icon.png" alt="Windows Firefox on my Linux desktop" border="0" /></a></p>
<p>Double-click it and you should be good to go! If you want to visit a site with audio, you&#8217;ll want to run <strong>winecfg</strong>, visit the Audio tab, choose your settings (I just left the defaults) and click Apply. Otherwise you might run into some issues with Firefox crashing. If its any consolation, Firefox will crash on <a href="http://byu.tv">certain sites</a> powered by <a href="http://www.movenetworks.com/">Move Networks</a> in Windows, too, if there is no audio driver installed. This is probably related to the Firefox extension you must install to view the site.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/08/use-mozilla-firefox-under-wine-to-reach-those-windows-only-sites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apt-get DOES have an option for automatic security updates</title>
		<link>http://blog.layer2.org/2007/10/07/apt-get-does-have-an-option-for-automatic-security-updates/</link>
		<comments>http://blog.layer2.org/2007/10/07/apt-get-does-have-an-option-for-automatic-security-updates/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 19:02:53 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/07/apt-get-does-have-an-option-for-automatic-security-updates/</guid>
		<description><![CDATA[I recently wrote about the cron job that I run to keep my Debian and Debian-like servers up to date automatically.
It turns out that apt-get (or libapt, more specifically) has a mechanism to automatically download and install security updates. This will work across package management applications (apt-get, synaptic, aptitude, etc) and is very simple to [...]]]></description>
			<content:encoded><![CDATA[<p>I recently wrote about the cron job that I run to keep my <a href="http://blog.layer2.org/2007/09/25/automatic-updates-in-debian-linux-etch/">Debian and Debian-like servers up to date automatically</a>.</p>
<p>It turns out that apt-get (or libapt, more specifically) has a mechanism to automatically download and install security updates. This will work across package management applications (apt-get, synaptic, aptitude, etc) and is very simple to setup. Edit <strong>/etc/apt/apt.conf.d/10periodic</strong> to include the following:</p>
<p><code>APT::Periodic::Update-Package-Lists "1";<br />
APT::Periodic::Download-Upgradeable-Packages "1";<br />
APT::Periodic::AutocleanInterval "0";<br />
APT::Periodic::Unattended-Upgrade "1";</code></p>
<p>Your distribution should already have a cron job (usually in /etc/cron.daily/apt) that runs every day and updates as per these configuration options. To see the entire config, run</p>
<p><code>$ apt-config dump</code></p>
<p>For those interested, this configuration setting is what Synaptic sets when using its &#8220;Install security updates without confirmation&#8221; option.</p>
<p><a href="http://thingsiforget.blogspot.com/2007/08/apt-update-notifier-automatic-package.html">Thanks to g for pointing this out</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/07/apt-get-does-have-an-option-for-automatic-security-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The new Ubuntu is coming already</title>
		<link>http://blog.layer2.org/2007/10/06/the-new-ubuntu-is-coming-already/</link>
		<comments>http://blog.layer2.org/2007/10/06/the-new-ubuntu-is-coming-already/#comments</comments>
		<pubDate>Sun, 07 Oct 2007 03:43:23 +0000</pubDate>
		<dc:creator>solipsistic</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.layer2.org/2007/10/06/the-new-ubuntu-is-coming-already/</guid>
		<description><![CDATA[If you didn&#8217;t already know, Ubuntu 7.10 Gutsy Gibbon will be coming soon!

Maybe I&#8217;ll finally get suspend support for my dual core Dell XPS desktop?
Any guesses if the Ruby and Rails packaging will be any better?
]]></description>
			<content:encoded><![CDATA[<p>If you didn&#8217;t already know, Ubuntu 7.10 Gutsy Gibbon will be coming soon!</p>
<p><script src="http://www.ubuntu.com/files/countdown/dist/display.js" type="text/javascript"></script></p>
<p>Maybe I&#8217;ll finally get suspend support for my dual core Dell XPS desktop?</p>
<p>Any guesses if the Ruby and Rails packaging will be any better?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.layer2.org/2007/10/06/the-new-ubuntu-is-coming-already/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.438 seconds -->
