<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog"/>

<title>Illegitimi non carborundum! </title>
<modified>2013-05-22T21:42:08Z</modified>
<tagline>nzr.</tagline>
<author><name>Kelly</name><email>info@penguinpackets.com</email></author>
<entry>
<title>So, is the sata turbo button pushed?</title>
<issued>2013-05-22T21:42:08Z</issued>
<modified>2013-05-22T21:42:08Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01369258928</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01369258928"/>
<content type="text/html" mode="escaped">
&lt;br&gt;How fast are they going (sata drives) connected to controller x:
&lt;pre&gt;
# dmesg | grep -i sata | grep 'link up'
[    1.210000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.210001] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.210002] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.210003] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.210004] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
&lt;/pre&gt;
&lt;br&gt;Ruh-roh.  Looks like ata6 is the slow one in the bunch.
&lt;br&gt;That is ok if it is a sata cd rom drive... Don't want to have the cd fly out and decapitate anybody.</content>
</entry>
<entry>
<title>Stupid lvm "tricks"</title>
<issued>2013-05-22T20:14:26Z</issued>
<modified>2013-05-22T20:14:26Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01369253666</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01369253666"/>
<content type="text/html" mode="escaped">
&lt;br&gt;I am getting older, so here is a spot for lvm, forgot how to remember stuff:
&lt;hr&gt;
&lt;br&gt;What physical (or raid) device(s) is / are the lvm associated with?
&lt;pre&gt;
  # pvs
    PV         VG   Fmt  Attr PSize PFree  
    /dev/md2   vg0  lvm2 a-   1.77t 372.53g
&lt;/pre&gt;
&lt;br&gt;So that would be vg0 on md device 2
&lt;br&gt;Check cat /proc/mdstat for the physical disks in the md raid
&lt;hr&gt;
&lt;br&gt;Whats a whozit volume group of the logical volume thingie?
&lt;pre&gt;
# vgdisplay 
  --- Volume group ---
  VG Name               vg0
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               1.77 TiB
  PE Size               4.00 MiB
  Total PE              462726
  Alloc PE / Size       367358 / 1.40 TiB
  Free  PE / Size       95368 / 372.53 GiB
  VG UUID               Mwa-ha-ha


# lvdisplay
  --- Logical volume ---
  LV Name                /dev/vg0/lv0
  VG Name                vg0
  LV UUID                Tra-La-La-UuId
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.40 TiB
  Current LE             367358
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:0
&lt;/pre&gt;
&lt;br&gt;So that would be volume group vg0 with the logical volume lv0 carved out of it
&lt;br&gt;And look ma, extra physical extents.  Can someone say snapshot?
&lt;hr&gt;</content>
</entry>
<entry>
<title>Tubes live on?</title>
<issued>2013-05-16T04:12:19Z</issued>
<modified>2013-05-16T04:12:19Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01368677539</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01368677539"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Late 30's tech lives on in the &amp;quot;modern&amp;quot; world.
&lt;a href=&quot;http://en.wikipedia.org/wiki/Photomultiplier&quot;&gt;Photomultipliers&lt;/a&gt;
&lt;br&gt;They might be obsolete, except for the fact that they are not.
&lt;br&gt;I found that tidbit from the laser article I posted before this one. </content>
</entry>
<entry>
<title>Ham radio operators - back when employers let them have some fun!</title>
<issued>2013-05-16T03:24:00Z</issued>
<modified>2013-05-16T03:24:00Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01368674640</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01368674640"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Do you have some new tech that can and should be expanded upon to go where we have not been before?
&lt;br&gt;How about giving space, time, and if you can materials and know-how to some folks with ambition.
&lt;hr&gt;
&lt;br&gt;Here is how it played out back in 1963:
&lt;a href=&quot;http://ka7oei.blogspot.com/2013/05/50-years-since-project-red-line.html&quot;&gt;Project Red Line 50 years on&lt;/a&gt;
&lt;br&gt;To think with all that tech, improvising with a 100W light bulb and a couple of rocks were a part of history.
&lt;hr&gt;
&lt;br&gt;It makes you think that all the maker-labs, SIG groups, and other efforts could be better focused if we just made time to have fun.
&lt;br&gt;That is what I think it should be about, but then again, I have been wrong before.
&lt;br&gt;I am grateful that my boss let met set up shop in the office to test out ideas with the ham group I am involved with.
&lt;br&gt;From that effort, we have pushed that envelope a bit farther.
&lt;a href=&quot;http://14567.org&quot;&gt;14567.org&lt;/a&gt;
&lt;hr&gt;
&lt;br&gt;I think the moral of this story is:
&lt;br&gt;Get out there and play.
&lt;br&gt;P.S. You don't have to be a ham to play, just have an inquisitive mind.  There will be a spot for you somewhere.
&lt;hr&gt;
line So I guess Cory is with the program: &lt;a href=&quot;http://creation.redbullusa.com/99-red-bulloons-by-1-21-jigawatts-red-bull-creation-2013-qualifier-entry/&quot;&gt;Go Cory!&lt;/a&gt;
Good luck.  Looks like you are up against some interesting competition &lt;a href=&quot;http://creation.redbullusa.com/&quot;&gt;Red Bull USA Creation&lt;/a&gt;
&lt;hr&gt;
&lt;br&gt;Thanks also to hackaday.com for pointing this out.</content>
</entry>
<entry>
<title>Does whois leave you feeling like you are doing DNS lookups for jokers?</title>
<issued>2013-05-05T03:38:25Z</issued>
<modified>2013-05-05T03:38:25Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01367725105</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01367725105"/>
<content type="text/html" mode="escaped">
&lt;br&gt;If you do a whois and get back bunk results (try it now)
&lt;pre&gt;
whois google.com
&lt;/pre&gt;
&lt;br&gt;If you want to just get back the non &amp;quot;other domain registrar results&amp;quot;, give this a try:
&lt;pre&gt;
whois domain google.com
&lt;/pre&gt;
&lt;br&gt;Sorry if I am the last one to the party on this one, but I did not find it in the man page.</content>
</entry>
<entry>
<title>Does the Internet Explorer 10 password eyeball creep you out?</title>
<issued>2013-04-15T21:04:27Z</issued>
<modified>2013-04-15T21:04:27Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01366059867</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01366059867"/>
<content type="text/html" mode="escaped">
&lt;br&gt;- Hack the registry to turn it off:
&lt;br&gt;Usual rule applies, if you don't know what this means, don't do it.
&lt;br&gt;You will probably make your computer break, and then you will be sad.
&lt;br&gt;&lt;a href=&quot;http://penguinpackets.com/~kelly/kblog-files/blog/01366059867/passwordreveal.reg&quot;&gt;passwordreveal.reg&lt;/a&gt;
&lt;br&gt;Windows 8 users (if there are any), can change it via group policy:
&lt;br&gt;gpedit.msc -&amp;gt; Computer Configuration -&amp;gt; Administrative Templates -&amp;gt; Windows Components -&amp;gt; Credential User Interface -&amp;gt; set the &amp;quot;Do not display the password reveal button&amp;quot; to enabled.</content>
</entry>
<entry>
<title>Linux hints</title>
<issued>2013-04-07T02:50:14Z</issued>
<modified>2013-04-07T02:50:14Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01365303014</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01365303014"/>
<content type="text/html" mode="escaped">
&lt;br&gt;As I hate having to keep going to Google for info, I am putting things
&lt;br&gt;down here so I don't forget.  You will not find it to be of any use.
&lt;hr&gt;
&lt;br&gt;CD rip.
&lt;pre&gt;
abcde -a cddb,read,encode,tag,move,playlist,clean -d /dev/sr1 -o ogg -V -x
&lt;/pre&gt;
&lt;hr&gt;
&lt;br&gt;git checkout .. no, not like all other tools, it is &amp;quot;clone&amp;quot;
&lt;pre&gt;
git clone git://blah.blah/blah&lt;/pre&gt;
&lt;br&gt;I guess checkout was not &amp;quot;intuitive&amp;quot;.
&lt;hr&gt;</content>
</entry>
<entry>
<title>Varnish cache - something for nothing.</title>
<issued>2013-03-18T21:44:34Z</issued>
<modified>2013-03-18T21:44:34Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01363643074</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01363643074"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Have some Concrete5 sites that might need some help getting &amp;quot;over the hump&amp;quot; during busy times?
&lt;br&gt;How about trying out Varnish cache?
&lt;br&gt;The always smarter than me boss man put this in place on a site that was having issues during peak times and it helped the site stay alive.
&lt;br&gt;
&lt;br&gt;Being a file backed cache, it can help keep some frequently served files cached for the big wave times.
&lt;br&gt;With the default cache time of 120 seconds, it should not get in the way, and NWLinux found a way to allow bypass of login cookies within the Varnish DSL regex:
&lt;br&gt;&lt;a href=&quot;http://nwlinux.com/configure-varnish-cache-for-concrete5-cms/&quot;&gt;NWLinux's How To&lt;/a&gt;
&lt;br&gt;Probably not the ultimate solution for sites that need cookies for browsing public - i.e. shopping sites, but seems ok for info sites.
&lt;hr&gt;
&lt;br&gt;&lt;a href=&quot;http://www.headenergy.co.uk/2013/02/concrete5-enterprise-ready-not-entirely/&quot;&gt;Looks like Franz thinks Varnish is not a bad idea either (see comments below the article)&lt;/a&gt;
&lt;hr&gt;
&lt;br&gt;If you have large video files, you might want to hack up the default.vcl to pipe (assuming a recent version of Varnish is installed).
&lt;pre&gt;
if (req.request == &amp;quot;GET&amp;quot; &amp;amp;&amp;amp; req.url ~ &amp;quot;\.(svg|swf|ico|mp3|mp4|m4a|ogg|mov|avi|wmv|flv)$&amp;quot;) {
        return (pipe);
     }
&lt;/pre&gt;
&lt;br&gt;This will let you Varnish skip the cache and stream to Apache.
&lt;hr&gt;
&lt;br&gt;If you are having Varnish restart issues under load:
&lt;br&gt;&lt;a href=&quot;http://tech.sybreon.com/2010/06/17/vanishing-varnish/&quot;&gt;Damn, love the title of this one - See this for what Shawn Tan says&lt;/a&gt;
&lt;br&gt;And as always, I will republish the bits that are of use in case that moves:
&lt;br&gt;Under load, varnish can time out when starting up under load, and fail to talk to the back-end in time.
&lt;br&gt;To fix that, add the cli_timeout switch to the daemon options.
&lt;br&gt;Might want to bump it up a bit, as would it not suck to have your varnish cache fail during times of most need (i.e. highest load)?
&lt;br&gt;Looks like the current default is 10 seconds.
&lt;br&gt;More bits to tune &lt;a href=&quot;https://www.varnish-software.com/static/book/Tuning.html&quot;&gt;here&lt;/a&gt;

&lt;p&gt;</content>
</entry>
<entry>
<title>Block IE 10 - if you have not moved on already.</title>
<issued>2013-03-18T17:23:49Z</issued>
<modified>2013-03-18T17:23:49Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01363627429</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01363627429"/>
<content type="text/html" mode="escaped">
&lt;br&gt;Here is a reg key export (apply at your own risk) to block the auto IE 10 upgrade.
&lt;br&gt;Believe it or not, some websites don't work with IE10 yet.
&lt;hr&gt;
&lt;a href=&quot;http://penguinpackets.com/~kelly/kblog-files/blog/01363627429/ie10block.reg&quot;&gt;ie10block.reg&lt;/a&gt;
&lt;hr&gt;
&lt;br&gt;But if you are running Windows, you will probably not be able to download the file anyway.</content>
</entry>
<entry>
<title>BYOD (for schools).</title>
<issued>2013-03-15T19:21:18Z</issued>
<modified>2013-03-15T19:21:18Z</modified>
<id>http://penguinpackets.com/~kelly/kblog/blog/01363375278</id>
<link rel="alternate" type="text/html" href="http://penguinpackets.com/~kelly/kblog/blog/01363375278"/>
<content type="text/html" mode="escaped">
&lt;br&gt;BYOD, or as I would like to call it, bring your malware to school day.</content>
</entry>
</feed>
