<?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>Arizona Bike Law Blog &#187; nerdy</title>
	<atom:link href="http://azbikelaw.org/blog/category/nerdy/feed/" rel="self" type="application/rss+xml" />
	<link>http://azbikelaw.org/blog</link>
	<description>Cycling, traffic safety and legal topics; energy, transit and transportion economics</description>
	<lastBuildDate>Wed, 16 May 2012 22:26:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>XBMC / ECS H61H2-M2 Budget system.</title>
		<link>http://azbikelaw.org/blog/xbmc/</link>
		<comments>http://azbikelaw.org/blog/xbmc/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 23:38:36 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/?p=2669</guid>
		<description><![CDATA[The Hardware Low-budget system. ECS H61H2-M2 mobo w/hdmi output newegg.com  was blowing them out for like $30 bucks after a rebate. Got a cheapie intel cpu (G530?) from MacMall of all places, via Ebay for $45. I tried it on both windows and ubuntu and it was fine. HDMI worked as expected on my television (but [...]]]></description>
			<content:encoded><![CDATA[<h1>The Hardware</h1>
<p>Low-budget system. <a href="http://www.ecs.com.tw/ECSWebSite/Product/Product_Detail.aspx?DetailID=1228&amp;CategoryID=1&amp;MenuID=103&amp;LanID=0" target="_blank">ECS H61H2-M2</a> mobo w/hdmi output <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813135288">newegg.com</a>  was blowing them out for like $30 bucks after a rebate. Got a cheapie intel cpu (G530?) from MacMall of all places, via Ebay for $45.</p>
<p>I tried it on both windows and ubuntu and it was fine.</p>
<p>HDMI worked as expected on my television (but was weird on Dave&#8217;s?). One thing to note is when the audio line out is plugged in, the sound doesn&#8217;t come out the hdmi.</p>
<p>The system uses about 38W sitting on the windows 7 desktop idling according to my Kill-a-watt. This is with an inefficient-looking 400W power supply (it uses 3W even when off, or on standby). That&#8217;s inlcuding one 3.5&#8243; 7200 rpm hard disk drive spinning.</p>
<h2>Win 7</h2>
<p>Fresh Win 7 Pro SP1 installed from bootable USB key. Installed fine but not even the lan worked right out of the chute. Installed mobo drivers, but just the following:  chipset D:\ECSh61h2-m2\Chipset\INF ; lan  D:\ECSh61h2-m2\Lan\Atheros\AR813x  ; video D:\ECSh61h2-m2\VGA\H6x\W7Vista64.</p>
<p>Got <a href="http://xbmc.org/">xbmc</a> Version 11.0 &#8216;Eden&#8217;. Installed and ran okay. very snazzy. The remote control for andoid works fine EXCEPT that by default, it&#8217;s not turned on &#8212; to enable it you have to go to system settings and enable the http web server in xbmc.</p>
<h2>XBMCbuntu / Linux</h2>
<p>Also got 11.0 &#8216;Eden&#8217; which is distributed as a live CD; based on Ubuntu 11.10 (I think). The live cd booted up and seems to just work. Then I installed it onto the hard drive. It booted up and ran just great. If you exit (click on the virtual &#8220;power button&#8221;); you will go to a login screen where you can log into a normal ubuntu (select XBMCubuntu) desktop. There is a third choice from the login screen called &#8220;openbox&#8221; i tried it but it just went to a blank graphics screen.</p>
<p>openssh-server is installed and running by default, so you can/should just let it do its XBMCunbutu full-screen thing and log in via ssh.</p>
<p>Tried some content on a usb hard drive, as well as a windows smb share and both worked fine. didn&#8217;t mess with any sort of wireless network traffic. Xbmc has plug in apps for things like Youtube, PBS, Fox News, Al Jezerra, etc; they all work pretty well but the content is somewhat disorganized.</p>
<p>I almost always have trouble with grub/grub2. The basic jist is that you&#8217;re supposed to be editing the file /etc/default/grub (e.g. to change the default boot setting) and then you run a job called update-grub. This generates/updates a file called /boot/grub/grub.cnf which you&#8217;re not supposed to edit, but you can as long as you&#8217;re aware it might get overwritten by various scripts. I never have much luck doing the grub-install, which actually diddles with your hard disk&#8217;s MBR. here is the full doc: <a href="https://help.ubuntu.com/community/Grub2">help.ubuntu.com/community/Grub2</a> There is a gui app (apt-get install startupmanager) but I sometimes have trouble with it; like this time i used synaptic to install it just fine but it actually put in the wrong default (it put in a 6 instead of a 5 into grub.cfg!).</p>
<p>If it get really stuck, i just use some windows admistration command, /fixmbr or somesuch; and that just gets rid of grub all together.</p>
<hr />
<h2>Boxee on Win 7</h2>
<p>Note that as of March 2012, boxee desktop (as opposed to the commercial boxee box) is at it&#8217;s end of life; so this is more of a historical curiosity</p>
<p>Fresh Win 7 Pro installed. Installed mobo drivers, but just the following:  chipset D:\ECSh61h2-m2\Chipset\INF ; lan  D:\ECSh61h2-m2\Lan\Atheros\AR813x  ; video D:\ECSh61h2-m2\VGA\H6x\W7Vista64.</p>
<p>installed fine out of the box, except won&#8217;t run. To fix that install direct X from microsoft</p>
<p><a href="http://code.google.com/p/boxee-for-computers/downloads/detail?name=boxee-1.5.0.23596-2bcda77.exe&amp;can=2&amp;q=" target="_blank">boxee-1.5.0.23596-2bcda77.exe</a></p>
<p>note that i initially installed a slightly older (late 2011?) version and it had an aspect ratio problem (black vertical bars on both sides of the screen when playing video; regardless of screen settings).</p>
<h2>Boxee on Ubuntu / Linux</h2>
<p>Note that as of March 2012, boxee desktop (as opposed to the commercial boxee box) is at it&#8217;s end of life; so this is more of a historical curiosity</p>
<p>installed 11.10 default from cd. Did not install anything extra or special. i.e. unlike win7, the lan and graphics seem to &#8220;just work&#8221;.</p>
<p><a href="http://code.google.com/p/boxee-for-computers/downloads/detail?name=boxee-1.5.0.23596-2bcda77.i486.deb&amp;can=2&amp;q=">boxee-1.5.0.23596-2bcda77.i486.deb</a> and installed by clicking on it and using gui (could have done: sudo apt-get install boxee&#8230; )</p>
<p>There were some instructions here&#8230; so i installed these dependecies. <a href="http://forums.boxee.tv/showthread.php?t=50459" target="_blank">Thread on boxee forum</a> about installing 1.5 on Ubuntu 11.10.</p>
<p>sudo apt-get install libssl0.9.8</p>
<p>my only confusion is I can&#8217;t figure out how to launch the program?? in the unity desktop, you can click on the ubuntu button and search for boxee and a shortcut then pops up and runs.</p>
<p>So it started up and ran pretty uneventfully <img src='http://azbikelaw.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/xbmc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding Youtube videos iframes and [dciframe] shortcode</title>
		<link>http://azbikelaw.org/blog/embedding-youtube-videos/</link>
		<comments>http://azbikelaw.org/blog/embedding-youtube-videos/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 20:45:01 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/?p=1714</guid>
		<description><![CDATA[There is a bug/feature/problem with wordpress&#8217;s built in visual editor (tinyMCE) in that it just goes ahead and removes iframe tags. An iframe tag is used for, among many other things, to embed youtube videos. Another popular usage example is to embed a google map, or calendar. here is what some youtube embed code might [...]]]></description>
			<content:encoded><![CDATA[<p>There is a bug/feature/problem with wordpress&#8217;s built in visual editor (tinyMCE) in that it just goes ahead and removes iframe tags. An iframe tag is used for, among many other things, to embed youtube videos. Another popular usage example is to embed a google map, or calendar.</p>
<p>here is what some youtube embed code might look like:</p>
<pre style="padding-left: 60px;">&lt;iframe title="YouTube video player" width="480" height="390"</pre>
<pre style="padding-left: 60px;">src="http://www.youtube.com/embed/oUkiyBVytRQ" frameborder="0"</pre>
<pre style="padding-left: 60px;">allowfullscreen&gt;  &lt;/iframe&gt;</pre>
<p>Here are a couple of  good rundowns of what to do <a href="http://www.vividvisions.com/2009/02/11/wordpress-add-iframes-to-your-post/" target="_blank">here</a> or <a href="http://multimedia.journalism.berkeley.edu/tutorials/embedding-map-mashups/googlemaps-in-wordpress/" target="_blank">here</a>.<span id="more-1714"></span></p>
<p>One way to avoid the problem is to stay in HTML mode (and never Visual mode) when editing.</p>
<p>One solution offered is to use wordpress shortcode functionality. unfortunately this involves editing the functions.php file of the template which sort of stinks because you&#8217;d have to remember to do that again for every new theme.</p>
<p>Another way to go is a <a href="http://wordpress.org/extend/plugins/tinymce-valid-elements/" target="_blank">plugin</a> that messes with what TinyMCE sees as valid. (i loaded this one up and activated it. then i could never figure out how to configure it?? where is &#8220;manage&#8221;?)</p>
<p><a href="http://wordpress.org/extend/plugins/iframe-widget/installation/" target="_blank">Iframe widget plugin</a>. This uses the code (is this a shortcode?) dciframe, enclosed in square brackets. The contents are simply a url and optionally followed by a comma separated width and height. The whole thing is closed with a slash dciframe code. There are a whole bunch of similar plugins, i&#8217;m not sure if one is better than another. Here is an embedded youtube video:</p>
<p><iFrame frameborder="0" src="http://www.youtube.com/embed/oUkiyBVytRQ" width="480" height="390"></iFrame></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/embedding-youtube-videos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Minutia</title>
		<link>http://azbikelaw.org/blog/wordpress-minutia/</link>
		<comments>http://azbikelaw.org/blog/wordpress-minutia/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 19:01:57 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/?p=1985</guid>
		<description><![CDATA[tips and trick. Blockquote Below is a blockquote&#8230; this text is in a block quote. Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar Here is some text after the blockquote has ended. Text boxes So the code looks something like this &#60;div style=&#8221;float: [...]]]></description>
			<content:encoded><![CDATA[<p>tips and trick.</p>
<h3>Blockquote</h3>
<p>Below is a blockquote&#8230;</p>
<blockquote><p>this text is in a block quote. Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar Lorem ipsem dolar</p></blockquote>
<p>Here is some text after the blockquote has ended.</p>
<h3>Text boxes</h3>
<p>So the code looks something like this &lt;div style=&#8221;float: right; width: 250px; height: 300px;  padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;&#8221;&gt;text goes here&lt;/div&gt; &#8230; And you can also add in fancier CSS3 styles like box-shadow, text-shadow, and box-radius &#8212; they work, but the visual editor stripped the radius and box-shadow: -webkit-border-radius: 10px; -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.5); text-shadow: 3px 3px 1px rgba(0,0,0,0.3);</p>
<p>The fancy stuff works on some browsers and not others, also there are moz equivalents, e.g. moz-border-radius for firefox.</p>
<div class="textboxfloatright">Here is a text box using a div tag class of textboxfloatright, which I added to my theme&#8217;s style.css file.<br />
Note that the visual editor won&#8217;t render it; but at least it leaves the code intact.<br />
Also, some guy said you can&#8217;t use div tags, but they seem fine.  <a href="http://scratch99.com/wordpress/hacks/wordpress-simple-css-text-boxes-in-posts/">this guy</a>. he says to not use div tag (use p instead)&#8230; it seems that div is now ok w/visual editor..</div>
<p>lorem ipsum dolar immediately before the text and lorem ipsum dolar immediately before the text and lorem ipsum dolar immediately before the text and lorem ipsum dolar immfssfediately before the text and random lorem ipsum dolar immediately before the text and lorem ipsum dolar immediately bsfsfefore the text and lorem ipsum dolar immediately other words before the text and lorem ipsum dolar.<br />
Immediately befosfsfre the text and lorem ipsum dolar immediately before the text and lorem ipsum dolar immediately before tsfsfshe text and lorem ipsum mix it up. Dolar immediately before the text and lorem ipsum dolar immediately before the tessxt and lo imm.</p>
<p>here are some other colors and no floating or width specification (full width) :</p>
<div style="margin: 20px 0; padding: 10px; border: 1px solid #ccc; color: #333; background-color: #f4f4df;">This text box has an inline css style in the div tag, i.e. &lt;div style=&#8221;margin: 20px 0; padding: 10px; border: 1px solid #ccc; color: #333; background-color: #f4f4df;&#8221;&gt;</div>
<p>lorem ipsum dolar immediately before the text and lorem ipsum dolar immediately before tsfsfshe text and lorem ipsum dolar immediately before thar immediately</p>
<div class="textbox">Here is the .textbox style placed in style.css of the template, using a div-tag with class=textbox</div>
<h3>Code (monospace)</h3>
<p>here is some playing around with stuff that would want to be mono-spaced, e.g. dos commands.<br />
after a break.</p>
<pre>here is preformatted chosen from the visual editor's drop-down. It seems to me that if it is too long, it does not wrap as expected.
Rather you get this weird scroll bar.
I guess that would be good for cut/paste where line breaks are important.</pre>
<p>&#8230;<br />
<code style="line-height: 1;">I'm not sure what's the story with this code tag? Apparently it indents and wraps, so this looks pretty good. It renders as monospace courier in the visual editor, so that's pretty good.<br />
lorem ipsum dolar lorem lorem ipsum dolar lorem lorem ipsum dolar lorem lorem ipsum dolar lorem<br />
New line</code><br />
&#8230;</p>
<div class="textboxcode">Here is the .textboxcode style placed in style.css of the template, using a div-tag with class=textboxcode. This will not render in the visual editor.<br />
x=1;<br />
y=x&#8217;<br />
printf(x+y,%d);</div>
<h3>WordPress version tales</h3>
<p>In early July 2011, WordPress released a relatively major update, 3.2 which has as prerequisites php v5.something, and mysql v5.something. This was a minor problem for my older (azbikelaw) wordpress installations on Godaddy. Update to php 5 was a simple control-panel checkbox. The database update was more of a pain, though it was accomplished just through control-panel as well, i.e. 1) backup existing database 2) create new, empty v5 database 3) restore from the backup to the new. The only downside is this might take a couple of hours (the restore, in particular took quite a while). To make the final switch, I needed to manually edit the wp-config.php file to match the new database credentials. At this point, everything was still working &#8212; and the auto-upgrade then can be done and that went flawlessly.</p>
<h3>Themes</h3>
<p>I fooled around with a theme with the unfortuante name &#8220;Powered By&#8221;. See for the time being: <a href="http://wikisneaks.org/wp-admin/themes.php">wikisneaks.org</a> . it has an interesting home page design, it takes advantage of custom fields. See <a href="http://themeshaper.com/2011/05/24/powering-your-design-with-wordpress/" target="_blank">Powering your design with WordPress</a>.</p>
<p>I&#8217;ve used <a href="http://www.mymobiles.com/wordpress-themes/gear" target="_blank">Gear 1.3</a> here on <a href="http://azbikelaw.org/blog/wp-admin/themes.php">azbikelaw.org</a> for a couple of years. I noticed something wasn&#8217;t working, menus or something. Anyway, I updated to 1.3.7 &#8230; not sure if that fixed anything. I may need to go to a more modern theme. The newest version, early part of 2010, predates this major wordpress update.</p>
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/wordpress-minutia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Godaddy troubles, slow wordpress. Grid hosting solution?</title>
		<link>http://azbikelaw.org/blog/godaddy-troubles-slow-wordpress-grid-hosting-solution/</link>
		<comments>http://azbikelaw.org/blog/godaddy-troubles-slow-wordpress-grid-hosting-solution/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 17:52:58 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/?p=1528</guid>
		<description><![CDATA[It all started around the middle of November. My site was running very slowly. (Someone besides me even noticed it!). The slowness was limited to wordpress in the blog &#8212; i.e. static html pages loaded just fine, in fact very fast, well under 1 second typically (e.g. azbikelaw.org/excerpts always did and continues to pop right [...]]]></description>
			<content:encoded><![CDATA[<p>It all started around the middle of November. My site was running very slowly. (Someone besides me even noticed it!). The slowness was limited to wordpress in the blog &#8212; i.e. static html pages loaded just fine, in fact very fast, well under 1 second typically (e.g. <a href="http://azbikelaw.org/excerpts" target="_blank">azbikelaw.org/excerpts</a> always did and continues to pop right up).<span id="more-1528"></span></p>
<p>I should probably mention that my site has a trivial number of page views (a heavy day is like 300 page-views in terms of wordpress stats).</p>
<p>The service I have is very inexpensive, the full description of which is called &#8220;economy Linux&#8221;. It is about $5 bucks a month. It is what&#8217;s known as virtual shared hosting. A <a href="http://www.google.com/search?q=72.167.232.195&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a" target="_blank">google</a> search of that ip turns up the busier sites that share my ip/server, however I didn&#8217;t find any &#8220;slow&#8221; sites. A reverse ip from e.g. <a href="http://whois.domaintools.com/72.167.232.195" target="_blank">domaintools.com</a> reveals that there are 3,753 sites sharing that server; i.e. my site and 3,752 others(!), which gives you some idea of the business model&#8230; very cheap for any one individual, but one server generates revenue of ~ $200,000 per year (and yes, there are other costs besides the server).</p>
<p>Anyway, I did locate a site by chance on the same server that was (probably not coincidentally) running wordpress and also running very slowly &#8212; page loads were on the order of 10 seconds:  <a href="http://100yearassociation.com/" target="_blank">100yearassociation.com</a>/</p>
<h2>history of Customer service contact</h2>
<p>My needs are so un-demanding that i have probably not called customer service up until this point more than about 3 times over the past 10 years.</p>
<p>On Monday, Nov 15 i spoke with godaddy customer service; i got through reasonably quickly (maybe 5 minutes on hold) and talked to a very affable gentleman. He agreed it seemed pretty slow, so he &#8220;ran diagnostics&#8221; supposedly both against my database, and also against the server. Everything was &#8220;clean&#8221;. He advised I use the wp-supercache plugin, and also that i should wait a day or two and see what developed.</p>
<p>things more-or-less deteriorated, it was taking me perhaps 30 seconds to log into my wordpress control panel. Supercache helped (anonymous viewers) but even that was inconsistent, sometimes resulting in 500 errors, or &#8220;internal error&#8221;.</p>
<p>So, on Wed Nov 17 I called back. He also supposedly ran server diags and said everything was clean. He suggested i switch to grid shared hosting. There were no downsides (same price; invisible migration;  &#8220;unlimited&#8221; server power to help with peaks; of course i never have significant peaks). Anyways by that evening things were really really bad so I bit the bullet and pushed the button to migrate &#8212; the end user can do this right from godaddy account.</p>
<p>The migration takes &#8220;up to 72 hours&#8221;. During which time you can&#8217;t log into your hosting control panel (it will say something about pending migration). The guy on the phone also said i wouldn&#8217;t be able to ftp during migration but that didn&#8217;t happen or at least not on wed, thurs, fri, sat (now it&#8217;s sunday and can still ftp, and ssh for that matter).</p>
<p><em>Here&#8217;s the weird part</em>: On Thursday about 2PM (arizona time), my site and  not coincidentally 100yearassociation.com, got way way quicker. now page loads were around 2 seconds, about normal for wordpress pages. This happened like a light switch.</p>
<p>So I called Godaddy back on Friday to &#8220;complain&#8221; that my site was working well, and confirmed that the <em>grid migration had still not happened</em>. They denied fixing anything (though of course the phone guy really probably doesn&#8217;t know).</p>
<p>The strong implication is that godaddy did in fact locate one or more users among the 3,752 others on that particular shared server who were using up too much cpu/database bandwidth; and by Thursday at 2pm had migrated them off my shared server. (this is a a relatively common godaddy exercise, see e.g. <a href="http://www.blogtips.org/shared-hosting-pay-peanuts-get-monkeys/" target="_blank">blogtips.org</a> or search for something like the phrase <a href="http://www.google.com/search?q=godaddy+unacceptable&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a#hl=en&amp;expIds=17259,24788,25907,26473,27386,27642,27739,27743&amp;sugexp=egsisas&amp;xhr=t&amp;q=godaddy+unacceptable+in+shared+hosting&amp;cp=38&amp;pf=p&amp;sclient=psy&amp;client=firefox-a&amp;hs=jAu&amp;rls=org.mozilla:en-US%3Aofficial&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=&amp;gs_rfai=&amp;pbx=1&amp;fp=3e5bcfd04cbeb4fd" target="_blank">unacceptable in shared hosting</a>). I have no idea how much complaining has to be done to get this to happen.</p>
<p>In any event, i have no idea why but my grid migration is still pending on Sunday (which is more than 72 hours) &#8212; so eventually i will have to call them back and figure out why that is&#8230; right now i am locked out of the hosting control panel pending the migration.</p>
<h2>Supercache</h2>
<p>Supercache is really cool. It generates a static html page and causes this static page, rather than the normal .php dynamically generated page, to be served to any &#8220;anonymous&#8221; (not logged into wordpress) user.</p>
<p>For example here is the root page of my blog: <a href="http://azbikelaw.org/blog/wp-content/cache/supercache/azbikelaw.org/blog/index.html" target="_blank">azbikelaw.org/blog/wp-content/cache/supercache/azbikelaw.org/blog/index.html</a> but here is the thing, sometimes it doesn&#8217;t exist. This probably has something to do with supercache ageing-out the pages.</p>
<p>This will SIGNIFICANTLY reduce the server-side cpu load because it doesn&#8217;t&#8217; need to run any php or database lookups. But here&#8217;s the catch, it only really works/helps for busy sites, and mine is not busy.</p>
<h2>The Migration</h2>
<p>So I don&#8217;t know exactly why, but the migration took longer than expected&#8230; it is advertized as taking up to 72 hours. I called after about the fifth day, and they looked into it and opened a ticket and promised it would be done soon; and it was done within 24 hours of my calling. So as of Wed 11/24 I am migrated, may the godaddy gods have mercy on me.</p>
<p>Everything migrated apparently fine. my blog works. Even my php-list works.</p>
<p>But grid &#8220;breaks&#8221; multi domain hosting on economy. So I used to host <a href="http://domenicscycling.com/" target="_blank">domenicscycling.com</a> just fine. The domain still works, and it still (thanks to the .htaccess rewrite rules) ends up with the right content, but it unfortunately ends up as <a href="http://azbikelaw.org/dom/" target="_blank">azbikelaw.org/dom</a> in the address bar, which is the correct content but of course i want it to retain the original domain name. That is used to work in economy linux hosting is apparently an accident. But in any event this sucks because now apparently the only option (from godaddy) is to cough up a few more bucks a month.</p>
<p>This might not be so bad, except that the performance on wordpress control panel sucks (the original problem), it&#8217;s taking on the order of 10 seconds to do stuff on wp-admin. boo. Though it seems to be highly variable, so I will have to re-visit the slowness later.</p>
<p>here is the magic incantation in .htaccess that used to work just fine with economy linux hosting:</p>
<pre style="padding-left: 30px;">RewriteCond %{REQUEST_URI} !dom/</pre>
<pre style="padding-left: 30px;">RewriteCond %{HTTP_HOST} ^(www\.)?domenicscycling.com$</pre>
<pre style="padding-left: 30px;">RewriteRule ^(.*)$ http://azbikelaw.org/dom/$1 [L]</pre>
<p>I loaded up a live headers plugin for firefox to actually  check out what was going wrong with the headers. What supposed to happen  since i don&#8217;t have an &#8216;R&#8217; on the rewriterule is that the host should  simply respond with a 200 OK, and serve up the page. What is now (with  grid) happening is that it is sending a 302 FOUND (which is a &#8220;temporary&#8221; redirect) along with the actual  location of the content, which is then re-fetched by the browser causing  the address bar to update&#8230; which is obviously not what I want.</p>
<p>I also can&#8217;t figure out one thing that has always bugged me, so migration automatically updated the a records of my other domains that i am hosting; e.g. <a href="http://domenicscycling.com/">domenicscycling.com</a>, and <a href="http://bicyclewheelers.com" target="_blank">bicyclewheelers.com</a>. But how in the world does <a href="http://cupzncrepes.com">cupzncrepes.com</a> know to get to the new server? This belongs to a separate godaddy registrar account.</p>
<h2>Some Minutia</h2>
<p>Pre-migration: My shared economy linux host is named &#8220;p3nlh065&#8243;, its IP is 72.167.232.195</p>
<p>Post-migration (&#8220;grid&#8221;):  hostname p3nlhftpg057 (from ssh), pinging azbikelaw.org (184.168.206.1)<br />
reveals the name: p3nlhg130c1130.shr.prod.phx3.secureserver.net</p>
<p>A <a href="http://whois.domaintools.com/184.168.206.1" target="_blank">reverse ip lookup</a> reveals 5,380 other domains hosted on this IP address <img src='http://azbikelaw.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  which, if anything, means trouble!!</p>
<p>the name of my database host is and was <em>databasename</em>.db.4318490.hostedresource.com that number, 4318490, is interesting because in the new post-migration file structure (e.g. if you look in ssh), the full path is something like /var/chroot/home/content/90/4318490<br />
whereas it used to be something like /var/chroot/home/content/a/z/b/azbikelaw</p>
<p>In any event, if the performance bottleneck was  database access, changing hosting servers will have no effect &#8212; at this point i don&#8217;t think that is the case, just pointing it out.</p>
<h2>Other things I&#8217;ve tried</h2>
<p>I also tried loading up wordpress from the godaddy app control panel.This way, I get a &#8220;clean&#8221; installation, and fresh and otherwise empty database. The process of setting up worked well and easily. The new install is located at <a href="http://azbikelaw.org/wordprezz" target="_blank">azbikelaw.org/wordprezz</a>. The database creation scheme is it created a dedicated host (presumably virtual) with azb followed by a (random?) 13 digit number followed by four more levels of boilerplate host name, here is what it is and what it resolves to. Note that this is created on a whole different IP range as my older databases (details of old databases is down below):</p>
<pre>azb1033711271783.db.4318490.hostedresource.com resolves to (use ssh) -&gt;</pre>
<pre>p3nlgriddb50033-02.shr.prod.phx3.secureserver.net (173.201.136.23)</pre>
<p>In any event that clean, empty, installation of wordpress was also laggy (need to test again 12.3.2010)  &#8212; so the slowness doesn&#8217;t have to do with something peculiar to my  wordpress.</p>
<h2>The old Database Host Scheme</h2>
<p>The pre-grid scheme (and maybe still same scheme if creating db&#8217;s manually?) is databasename.db.4318490.hostedresource.com, so e.g. my oldest db is:</p>
<pre>terrie.db.4318490.hostedresource.com</pre>
<pre>p3nlhmysql41011-01.shr.prod.phx3.secureserver.net (97.74.31.215)</pre>
<p>where the number after the hypen is ordinal, and seems to resolve to an incrementing number in the IP, presumably a virtual host; but still it&#8217;s a live IP address. In any event this is in a whole different IP range as the one created by godaddy&#8217;s automated wordpress installation.</p>
<p>&#8230;</p>
<p>Here is an article on <a href="http://help.godaddy.com/article/5521" target="_blank">godaddy&#8217;s support site</a> addressing the issue of slow wordpress; but it sheds no new light on the problem.</p>
<p>Here is a long thread on <a href="http://wordpress.org/support/topic/wordpress-on-godaddy-unbearably-slow/page/2" target="_blank">wordpress.org</a> discussing specifically godaddy troubles, but it is almost a year old.</p>
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/godaddy-troubles-slow-wordpress-grid-hosting-solution/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Asus wl-520gu wireless router</title>
		<link>http://azbikelaw.org/blog/asus-wl-520gu-wireless-router/</link>
		<comments>http://azbikelaw.org/blog/asus-wl-520gu-wireless-router/#comments</comments>
		<pubDate>Sat, 30 Jun 2001 23:08:06 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/?p=430</guid>
		<description><![CDATA[June 2009 Asus wl-520gu wireless router very cheap somewhere, there was a rebate involved. I installed dd-wrt on it following the general instructions here. Here is the official dd-wrt wiki entry. The only problem i ran into when trying to use the firmware recovery mode was I was mistaking the red button (that&#8217;s the &#8220;setup&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>June 2009<br />
Asus wl-520gu wireless router very cheap somewhere, there was a rebate involved.<span id="more-430"></span></p>
<p>I installed dd-wrt on it following the general instructions <a href="http://wl520gu.googlepages.com/" target="_blank">here</a>. Here is the <a href="http://www.dd-wrt.com/wiki/index.php/Asus_WL-520GU" target="_blank">official dd-wrt wiki entry</a>.</p>
<p>The only problem i ran into when trying to use the firmware recovery mode was I was mistaking the red button (that&#8217;s the &#8220;setup&#8221; button) for the reset button (which is right next to the setup button, but recessed behind a hole &#8212; needing a paper clip).</p>
<p>After reading a few forum messages about this router, I settled on the &#8220;<a href="http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FV24_TNG%2Fsvn11296/" target="_blank">SVN11296</a>&#8221; version which is just a few months old, but supposedly real stable.</p>
<p>I got the usb to work simply using the web interface, as described in the googlepages page linked above. Also following the instructions, installed the print server daemon p910nd just fine. Tried it with my epson R320 printer; configured a TCP port on a windows pc and installed the print driver there. Everything works (except stuff like ink level monitoring). Even the built-in sd memory card reader works &#8212; it auto-mounts it under /mnt (e.g. when ssh&#8217;ed or telneted into the router).</p>
<p>&#8230;</p>
<p>I set up as a repeater bridge. I guess that worked&#8230; one thing that&#8217;s really wild is the idea that you can create this &#8220;virtual SSID&#8221; and the security is independent of the real SSID. E.g. the physical access point had WEP, and I virtually repeated it in the clear.</p>
<p>I had some troubles, and ended up doing a hard reset via the button to clear NVRAM (power on, when power light goes out pre ss button and hold until power and radio light comes back on). This seems to have worked except upon another reboot (to get rid of flashing power led) when it asked me to change password, i couldn&#8217;t get into web interface, but telnet was fine. ended up having to do <a href="http://www.dd-wrt.com/phpBB2/viewtopic.php?p=216337&amp;sid=f2370a2e7f8240a52a7bc929d8047314" target="_blank">this</a>:</p>
<p style="padding-left: 30px;"><span class="postbody">nvram set http_username=bJ/GddyoJuiU2<br />
nvram set http_passwd=bJz7PcC1rCRJQ </span></p>
<p><span class="postbody">(this is all maybe bogus, i lost track. Can use web i/f to change BOTH username and password, then later i changed it back to root/admin).</span></p>
<p><span class="postbody">Tried other encryption modes &#8212; for max compatibility says to use WPA2 mixed, AES+TPIK. Works of w/ tosh laptop client. Only weirdness is netbook takes way too long to acquire, but eventually does.<br />
</span></p>
<p><span class="postbody">&#8230;</span></p>
<p><span class="postbody"><a href="http://forum.openwrt.org/viewtopic.php?pid=49342" target="_blank">openwrt forum post</a> that discusses troubles with multiple printers (e.g. via a hub) with p910nd print daemon and wl-520gx. It explains how the /dev/usb/lpx gets assigned by the kernel.<br />
</span></p>
<p><span class="postbody"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/asus-wl-520gu-wireless-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nettop Motherboard</title>
		<link>http://azbikelaw.org/blog/nettop/</link>
		<comments>http://azbikelaw.org/blog/nettop/#comments</comments>
		<pubDate>Wed, 14 Mar 2001 22:45:22 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>
		<category><![CDATA[nettop]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/?p=162</guid>
		<description><![CDATA[(actual date Mar 14, 2009) After my disappointment with the Amazon and the MSI Wind Nettop, I instead went with an Intel D945GCLF2 retail motherboard. Newegg $86 w/shipping. There are a bunch of reasons why this board works out to be cheaper than the MSI Wind: it uses standard i/o like ps2 keyboard connectors (i [...]]]></description>
			<content:encoded><![CDATA[<p>(actual date Mar 14, 2009)</p>
<p>After my disappointment with the <a href="http://azbikelaw.org/blog/msi-wind-nettop/" target="_self">Amazon</a> and the MSI Wind Nettop, I instead went with an Intel <a href="http://www.intel.com/products/desktop/motherboards/D945GCLF2-D945GCLF2D/D945GCLF2-D945GCLF2D-overview.htm" target="_blank">D945GCLF2</a> retail motherboard.</p>
<p><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813121359" target="_blank">Newegg</a> $86 w/shipping.</p>
<p>There are a bunch of reasons why this board works out to be cheaper than the MSI Wind: it uses standard i/o like ps2 keyboard connectors (i don&#8217;t have a spare usb keyboard), it has a parallel IDE connector (i have old, extra dvd burners and hard drives), it uses desktop ddr2 memory instead of so-dimm (i have extra of that, too). And it has a pci slot.</p>
<h3>Power / Power Consumption</h3>
<p>This mobo requires a standard ATX-style 24 pin (20 is ok too, just leaves the upper 4 pins open) plus a 4-pin 12V plug.</p>
<p>The neatest solution for power would be <a href="http://picopsu.com" target="_blank">PicoPSU</a>, a fan-less atx-style dc-dc converter. <a href="http://www.mini-box.com/" target="_blank">Mini-box.com</a> sells them, e.g. a <a href="http://www.mini-box.com/picoPSU-120-power-kit?sc=8&amp;category=1097" target="_blank">60W bundle</a> (includes the 12V dc &#8220;brick&#8221;) for $55. But I&#8217;m too cheap for that <img src='http://azbikelaw.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>In the meantime, I powered it with an extra, old atx power supply I have laying around. One that is already quiet, and relatively low-power.</p>
<p>ULtimately, at 36 Watts idling and 4W standby in windows is pretty good &#8212; though markedly higher than the MSI Wind Nettop which used only 24W/&lt;1W.</p>
<h3>BIOS</h3>
<p>I couldn&#8217;t figure out what version I had, so I ran the latest from intel, version 0150 and I chose to do the windows version. I worked fine but was scarey, because the whole thing just goes dark for awhile. (though at some point when it rebooted it said checksum was invalid, and hit a key to continue).</p>
<h3>Noise</h3>
<p>The reviews were quite good, though a common complaint being the northbridge cooler fan (there is no cpu fan) is too noisy, a good replacement was suggested to be this $4 one: <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16835185039" target="_blank">Scythe SY124010L</a> which i probably would have ordered but was out of stock.</p>
<p>As promised, the northbridge cooler is pretty noisey. I tried it at <a href="http://www.silentpcreview.com/article6-page1.html" target="_blank">7 volts</a>, and that was better.The color code for the cooler is white/red/black : tach/+12V/Gnd.</p>
<p>Speedfan sees two fans, the cooler fan jack (the 3 pin that is closer to the cpu; the motherboard says &#8220;MCH Fan&#8221;) is called Fan1 and the rear fan jack (motherboard says &#8220;sys fan&#8221;) is Fan0. The cooler fan runs at ~4400 rpm by default.</p>
<p>The bios has fan speed control &#8212; but here&#8217;s the catch; only &#8220;sys fan&#8221; is controlled. So I plugged the cooler into the sys fan jack, and set it to &#8220;not smart&#8221; and 50% PWM. Now it runs at 3500rpm and is pretty quiet (somewhat quieter than at 7 volts). I&#8217;ve seen some reports that say their fans won&#8217;t run at this speed, but mine seems fine.</p>
<p>There is much talk about the fan, see e.g. on <a href="http://www.silentpcreview.com/forums/viewtopic.php?t=50388" target="_blank">silentpcreview</a>. This guy is selling a Pabst 40mm fan on <a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&amp;item=360105094024" target="_blank">ebay</a>. In any event it apparently is a standard 40mm x 10mm thick fan. And even 50%PWM or 7V is plenty to keep it cool. <a href="http://www.davewsmith.com/blog/?p=179" target="_blank">This guy</a> did some heat sink mods.</p>
<h3>Windows</h3>
<p>Getting it booted up from usb flash drive, dvd, or hard drive was no trouble at all.</p>
<p>I loaded up XP Home, SP3 using an IDE DVD-ROM and a SATA notebook hard drive.That went uneventfully. At completion, many features were not working: graphics, audio, ethernet.</p>
<p>I ran the supplied on CD drivers install (which took a long time &#8212; 15 minutes?), and as far as i could tell everything worked great.</p>
<h3>Windows 7 Beta</h3>
<p>I had no luck loading the Windows 7 Beta (build 7000, 32-bit). The first phase; file copy and whatnot runs fine but once it reboots i just get the cool splash-screen and then a BSOD. I guess I could try the 64-bit, but i don&#8217;t have it downloaded. <a href="http://www.neoseeker.com/forums/4/t1238281-dual-core-atom-intel-d945gclf2-atom-330-review/" target="_blank">This guy</a> says it runs fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/nettop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSI Wind Nettop</title>
		<link>http://azbikelaw.org/blog/msi-wind-nettop/</link>
		<comments>http://azbikelaw.org/blog/msi-wind-nettop/#comments</comments>
		<pubDate>Thu, 08 Mar 2001 20:18:03 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[nettop]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/msi-wind-nettop/</guid>
		<description><![CDATA[I bought one of the newer MSI Wind Nettop from Amazon, their description at the time said: MSI Wind Nettop 100 Desktop PC (1.6 GHz Intel Atom  Dual Core N330 Processor, 1 GB RAM, 160 GB Hard Drive, Barebone) Black. The price was $178 free ship which seemed pretty good. It came in early March [...]]]></description>
			<content:encoded><![CDATA[<p>I bought one of the newer MSI Wind Nettop from <a href="http://www.amazon.com/gp/product/B001R1X0I0" target="_blank">Amazon</a>, their description at the time said:</p>
<p>MSI Wind Nettop 100 Desktop PC (1.6 GHz Intel Atom  Dual Core N330 Processor, <strong>1 GB RAM, 160 GB Hard Drive</strong>, Barebone) Black. The price was $178 free ship which seemed pretty good.</p>
<p>It came in early March 2009 &#8212; despite it being on backorder, and despite amazon&#8217;s projected delivery of 3/31.</p>
<p>Anyway, it was a typo on Amazon&#8217;s part; it doesn&#8217;t really have Ram, or a hard drive &#8212; so I sent it back. Here is the same item at <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16856167037" target="_blank">Newegg</a>.</p>
<p>I can&#8217;t exactly find it on the MSI website, but <a href="http://global.msi.com.tw/index.php?func=proddesc&amp;maincat_no=134&amp;prod_no=1672" target="_blank">this one</a> is pretty close. The one i got definitely had the N330 Atom, though.</p>
<p>So while i had it, i put in a 512mb so-dimm (it only has one mem slot) and an extra 2.5&#8243; sata hard drive. I tried out both Ubuntu live cd, and Windows XP sp3.</p>
<p>The only peculiarities were 1) the front sd slot isn&#8217;t available for booting (bios limitation? Which is weird, because i can boot from the sd slot in my msi wind netbook), and 2) Installstion of XP from cd booted fine from a usb dvd-rom drive, but then hung &#8212; I had to rustle up a sata drive to boot from. The sd slot wasn&#8217;t accessible to windows until i loaded the included cd of drivers.</p>
<p>The unit drew ~ 24 Watts running windows. Which is great.</p>
<h3>Noisey</h3>
<p>MSI <a href="http://global.msi.com.tw/index.php?func=proddesc&amp;maincat_no=134&amp;prod_no=1605" target="_blank">claims</a> that this pc is &#8220;Ultra Quiet&#8221; and &#8220;<span>offers a true noise-free comfort even during heavy game playing or intensive computing applications</span>&#8220;. This is not true.</p>
<p>The only source of noise is a 50mm(?) case fan which is controlled by the motherboard. The bios seems to have no settings for this. It only reports the fan speed. The CPU and chipset are covered by a machined aluminum heat sink.</p>
<p>It starts up with a brief roar, then settles down into what could be fairly described as nearly inaudible. Unfortunately the slightest activity (e.g. opening up a tab in firefox) causes the fan to speed up and become quite loud &#8212; for a minimum of a couple of minutes. then if it&#8217;s idling, the fan will revert back to nearly inaudible. It&#8217;s pretty annoying.</p>
<p>One ray of hope: the<a href="http://global.msi.com.tw/index.php?func=downloaddetail&amp;type=bios&amp;maincat_no=134&amp;prod_no=1605" target="_blank"> latest bios</a>, 1.7 said &#8220;Fine Tune Smart Fan&#8221;. My hopes were quickly dashed when it turned out my machine already had the latest <img src='http://azbikelaw.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/msi-wind-nettop/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MSI Wind: Ubuntu</title>
		<link>http://azbikelaw.org/blog/msi-wind-ubuntu/</link>
		<comments>http://azbikelaw.org/blog/msi-wind-ubuntu/#comments</comments>
		<pubDate>Wed, 17 Jan 2001 03:13:41 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>
		<category><![CDATA[netbook]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/msi-wind-ubuntu/</guid>
		<description><![CDATA[(late 2008 timeframe?) I&#8217;m running ubuntu 8.10 booted off a live CD and then System/Administration/&#8221;Create a USB startup disk&#8221; on a usb flashdrive. I let it do it&#8217;s casper thing so that changes are sticky &#8212; using 256M for the casper file. I saved a copy of the casper file so that i don&#8217;t have [...]]]></description>
			<content:encoded><![CDATA[<p>(late 2008 timeframe?) I&#8217;m running ubuntu 8.10 booted off a live CD and then System/Administration/&#8221;Create a USB startup disk&#8221; on a usb flashdrive. I let it do it&#8217;s casper thing so that changes are sticky &#8212; using 256M for the casper file. I saved a copy of the casper file so that i don&#8217;t have to re-create the flash drive. From time to time (i guess) the filesystem runs out of space and bad things happen, in that case just restore the saved casper file.<span id="more-132"></span></p>
<p>Promiscuous mode: the Ralink won&#8217;t do promiscuous mode.</p>
<p>I was pleasantly surprised when I plugged in a Dlink DWL-122 (which i use on my Tivo) and it &#8220;just worked&#8221;, and it even worked in promiscuous mode &#8212; but that is 802.11b only so it&#8217;s only useful for testing.</p>
<p>I got <a href="http://ettercap.sourceforge.net/" target="_blank">ettercap</a> to do some penetration testing. For some reason i couldn&#8217;t find it in Synaptic package manager(?). I had to do something on the command line (from memory: &#8220;sudo aptget -install ettercap&#8221;) and that worked.</p>
<p>Speaking of penetration testing, I downloaded a distro called <a href="http://www.remote-exploit.org/backtrack.html" target="_blank">BackTrack</a> and installed that to a usb flashdrive. It booted up okay on wind but then i can&#8217;t remember what happened. It ran well on my other Toshiba laptop with an Intel prowireless 3945ABG (promiscuous).</p>
<p>&#8212;</p>
<p>a few details, to get my ralink wireless going with Ubuntu 8.10: First get dkms (sudo apt-get install dkms), then install the package (unfortunately, I can&#8217;t remember where I got it! It looks like it was on <a href="https://launchpad.net/~stgraber/+archive/ppa/+build/730596" target="_blank">launchpad</a>):</p>
<p>rt2860-source_1.8.0.0-0ubuntu1~ppa2_all.deb</p>
<p>Then afterwards, a little gizmo appears and you can click on it an configure wireless security and whatnot. [more unfortunate news: as of Dec 2009 upon trying Ubuntu 9.10, Karmic Koala, the above package fails to build/install -- i haven't tried to figure out why]</p>
<h2>Ubuntu 10.10 Maverick Meerkat</h2>
<p>(perhaps mid-2010 timeframe?) After a hiatus, i wanted to give a newer release a try. It loaded up fine and looked really slick. I downloaded the .iso, and used the <a href="http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/" target="_blank">pendrivelinux.com</a> universal-usb-installer. They also have info there about how to create an (any-sized) casper-rw partition (hint use the newer gparted&#8217;s label function, just label it casper-rw. note: a file named casper-rw is used first, then it looks for a partition, so you can have both on one device).</p>
<p>It even loads wireless drivers! so everything (camera?) just works, right out of the box! Unfortunately, the wireless was unreliable coming out of suspend. And this being a laptop that was unacceptable. Here is a <a href="http://ubuntuforums.org/showthread.php?p=10299078#post10299078" target="_blank">thread</a>, I had no luck (p.s. there is a file called /etc/default/acpi-something where you can tell it to unload drivers; but i had no luck).</p>
<p>So, i gave up, in favor of Lucid Lynx (see below) which turned out to be reliable coming out of suspend.</p>
<p>Much later (in July 2011) I did find a fix for the problem; I noticed when the problem occurred &#8212; and it occurred every time i reconnected to another access point, or came out of suspend &#8212; in dmesg there were errors thrown by rt2x00pci. There is a whole mess of rtxxxxyyy drivers that seem to conflicet with the rt2860sta driver; in 10.04 (where everything works) there are none of these rtxxxxyyy drivers even loaded(?), so on a whim i simply renamed the rt2800pci.ko (not the rt2x00pci one!) driver, it is in /lib/modules/2.6.35-&#8230;./kernel/drivers/net/wireless/rt2x00/ folder. It is probably the case that I don&#8217;t need any of these extra rt2xxxyy drivers, just the rt2860sta one.</p>
<p>With this, miraculously, everything seems fine. This may have been the trouble with natty narwhal, too??</p>
<h2>Ubuntu 10.04.1 LTS Lucid Lynx</h2>
<p>Everything seems to work, including wireless suspend/unsuspend.</p>
<p>Fooling around with <a href="http://www.lesswatts.org/downloads/" target="_blank">powertop</a>. (sudo apt-get install powertop). reports around 12W usage. If i force the hard drive to spin down (sudo hdparm -Y /dev/sda ), and let the screen dim, and otherwise idle it drops to 10.3W</p>
<p>Other fooling around with ClamAV, and &#8220;offline&#8221; anti-virus scanner. Couldn&#8217;t get it to detect my cache of known viri, trojans, etc. (from Domenic&#8217;s infection). So give up on that for now.</p>
<p>From what i recall; i installed this onto the hard drive so now i can dual-boot windows or Ubuntu. IIRC it uses GRUB (not GRUB2). The latest update I did May 30 2011 or so took me to kernel 2.6.32.32</p>
<h3>Ralink troubles with WPA AES encryption</h3>
<p>Somewhere along the line my rt2860sta wireless driver stopped working with WPA whenever AES was involved &#8212; so TKIP worked ok, but it would fail to connect to routers where WPA or WPA2 Personal TKIP+AES or AES was selected.</p>
<p>on 6/1/2011 I finally broke down and fixed it by (what else?) downloading and building a driver <img src='http://azbikelaw.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>searching these <a href="http://ubuntuforums.org/printthread.php?t=1045703&amp;pp=75" target="_blank">instructions</a>, saw this <a href="http://www.ctbarker.info/2010/05/ubuntu-1004-wireless-chipsets-and-wpa.html" target="_blank">blog entry</a> that sounded juicy:</p>
<p>This fixes everything (can now connect to ztinet, and e.g. hillsidespot as well as my own ddwrt router.<br />
got this file 2010_07_16_RT2860_Linux_STA_v2.4.0.0.tar.bz2.tar.bz2<br />
from here <a href="http://www.ralinktech.com/support.php?s=2" target="_blank">ralinktech.com</a> (<a href="azbikelaw.org/content/2010_07_16_RT2860_Linux_STA_v2.4.0.0.tar.gz" target="_blank">here</a> is a local copy, and here is a <a href="azbikelaw.org/content/driverRt2860builtFor2-6-35-xxfrom2010_07_16_RT2860_Linux-STA-v2-4-0-0.tar.bz2" target="_blank">copy</a> with the changes below already done, and compiled for a couple of newer kernels) Oddly, I had to change extension from bz2 to gz in order for the archive tool to extract files. Then on pretty straightforward:</p>
<ol>
<li>edit the file ./os/linux/config.mk ensure these two say yes: HAS_WPA_SUPPLICANT=y   HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y</li>
<li>edit the file ./common/cmm_wpa.c. Use the find command to locate MIX_CIPHER_NOTUSE. Replace this entire linewith this code WPA_MIX_PAIR_CIPHER FlexibleCipher = WPA_TKIPAES_WPA2_TKIPAES;</li>
<li>then just do a sudo make, sudo make install (does that really need sudo?). It threw some warnings about framing size exceeded or something.</li>
<li>backup the file /lib/modules/2.6.whatever/kernel/drivers/staging/rt2860/rt2860sta.ko</li>
<li>copy ./os/linux/rt2860sta.ko to /lib/modules/2.6.whatever/kernel/drivers/staging/rt2860</li>
<li>reboot</li>
</ol>
<p>(the blog has lots of stuff that should let you pull out the existing driver and replace it without rebooting but none of that seemed to work for me).</p>
<h2>Ubuntu 11.04 Natty Narwhal</h2>
<p>As mentioned above in 10.10, a fresh install yields problems with the wireless, particularly when coming out of suspend. The problems seem to be coming from rt2800pci.ko &#8212; so i simply got rid of it (renamed it. its in /lib/modules/2.6.so.forth/kernel/drivers/net/wireless/rt2x00 folder).  And eventually i got rid of the entire rt2x00 folder. The only problem seems to be when it resumes from suspend, it (sometimes?) won&#8217;t connect to the wireless on the first try; it times out and then gets it on the 2nd try, so that is no big deal&#8230;. plus a whole bunch of drivers that would otherwise load up (do a lsmod | grep rt), now there is just the rt2860sta one.</p>
<p>SSD: since i also installed the Kingston cheapie V100 64G SSD, I made some of the tweaks listed <a href="https://wiki.archlinux.org/index.php/SSD" target="_blank">here</a>. notably, i added discard and noatime to fstab option; and i  changed the &#8220;swappiness&#8221; (cat /proc/sys/vm/swappiness revealed it was 60, by default). Maybe i should get rid of swap all together? I think i have 1G of ram. (Oops. Ubuntu won&#8217;t let me do it, even with sudo. Hmmm). To change it, edit the file /etc/syscntl.conf (or something, i&#8217;m going from memory), and edit or add the line vm.swappiness=x. I set it to 10.</p>
<h2>11.10 Oneiric Ocelot</h2>
<p>I tried this and regretted it. It had wireless troubles with the rt2x00 drivers. And if i simple renamed them, the wireless card doesn&#8217;t work at all &#8212; the staging/rt2860sta.ko is gone entirely. I assume if i was smart enough, i could build that driver (which should be no problem) and somehow figure out how to get it loaded up.</p>
<p>It&#8217;s a shame, because otherwise 11.10 seems to work really well on the netbook&#8230;. but alas I just reverted (i ended up doing a clean install) back to 11.04 and deleted the /lib/modules/&#8230;/wireless/rt2x00/ directory.</p>
<p>Oh and by the way; apparently Canonical FORCES the so-called unity desktop. I don&#8217;t like it, and i restore the old gnome look; i think i used these instructions <a href="http://www.omgubuntu.co.uk/2011/12/how-to-make-ubuntu-11-10-look-and-feel-like-gnome-2/">http://www.omgubuntu.co.uk/2011/12/how-to-make-ubuntu-11-10-look-and-feel-like-gnome-2/</a> which mainly involves just doing a</p>
<pre>sudo apt-get install gnome-session-fallback</pre>
<p>And logging in gnome classic (instead of ubuntu); by clicking on the &#8220;gear&#8221; at the login screen. It still looks klunky for some reason. I noticed on my production netbook w/11.04 there is something called &#8220;gnome panel 2.32.1&#8243; that i can right-click on and and change their behaivor; e.g. to auto-hide the task bar at top and bottom.</p>
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/msi-wind-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MSI Wind OSX</title>
		<link>http://azbikelaw.org/blog/msi-wind-osx/</link>
		<comments>http://azbikelaw.org/blog/msi-wind-osx/#comments</comments>
		<pubDate>Fri, 15 Dec 2000 01:43:35 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>
		<category><![CDATA[netbook]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/msi-wind-osx/</guid>
		<description><![CDATA[(note the date is actually eight years hence. 2008)I located the file MSIWindowsox86.iso, and had trouble getting the installer to do much of anything. It just barely started and then it gets stuck saying &#8220;waiting for root device&#8221; or something. The problem was the usb to ide dongle I was using to connect an old DVD [...]]]></description>
			<content:encoded><![CDATA[<p>(note the date is actually eight years hence. 2008)I located the file MSIWindowsox86.iso, and had trouble getting the installer to do much of anything. It just barely started and then it gets stuck saying &#8220;waiting for root device&#8221; or something. The problem was the usb to ide dongle I was using to connect an old DVD drive (actually, I&#8217;m not sure which one was the problem &#8212; but it was one or the other!). Anyway I got a cheapo usb to sata dongle off of ebay and connected that to my newer Liteon DVD SATA and the installer booted up and worked perfectly. But I couldn&#8217;t get it to boot off the hard drive.Apparently osx has to boot from a primary (not extended) partition. This is becoming problematic because I have 3 primaries already used up: one for recovery, one for Win XP and one for extra space (which I shrunk with ubuntu gparted to make room). So now i&#8217;m using my last primary partition for OSX (type 0xAF).Actually after the install it STILL wouldn&#8217;t boot &#8212; the installer sets the boot flag on the osx partion. the error is &#8220;HFS+ partition error&#8221;.What does work is copying the /usr/standalone/i386/chain0 file (this can be done in ubuntu, it can mount the HFS partition) to the root of the windows partition and adding a line in boot.ini, i.e. &#8220;c:\chain0=&#8221;whatever&#8221;.Once booted up, i was pleasantly suprised to see the webcam and audio just worked.What doesn&#8217;t work is wireless or even ethernet <img src='http://azbikelaw.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Wireless can be enabled by getting the driver for 10.5 from ralink&#8217;s taiwanese site. It is a little ugly but it works. The only bug seems to be the radio defaults to off, so you must use the ralink applet to toggle the radio to get it on. this must be done each and every time the computer comes up either from fresh boot, or even from standby.Trouble with the ethernet can be fixed by messing around with the speed/auto sensing. Again, it is messed up either from fresh boot or standby.</p>
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/msi-wind-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Burn capacity</title>
		<link>http://azbikelaw.org/blog/burn-capacity/</link>
		<comments>http://azbikelaw.org/blog/burn-capacity/#comments</comments>
		<pubDate>Tue, 28 Nov 2000 18:13:53 +0000</pubDate>
		<dc:creator>azbikelaw</dc:creator>
				<category><![CDATA[nerdy]]></category>

		<guid isPermaLink="false">http://azbikelaw.org/blog/burn-capacity/</guid>
		<description><![CDATA[&#8220;Playo&#8221; DVD-R, when blank Nero disc info says 4,489MB available. Here is detailed info from imgburn: Free Sectors: 2,298,496 Free Space: 4,707,319,808 bytes Free Time: 510:48:46 (MM:SS:FF) Supported Write Speeds: 2x, 4x, 6x, 8x, 12x, 16x, 18x Pre-recorded Information: Manufacturer ID: MCC 03RG20 Physical Format Information (Last Recorded): Disc ID: 0@P-!-00 Book Type: DVD-R Part [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Playo&#8221; DVD-R, when blank Nero disc info says 4,489MB available. Here is detailed info from imgburn:</p>
<blockquote><p>Free Sectors: 2,298,496<br />
Free Space: 4,707,319,808 bytes<br />
Free Time: 510:48:46 (MM:SS:FF)<br />
Supported Write Speeds: 2x, 4x, 6x, 8x, 12x, 16x, 18x<br />
Pre-recorded Information:<br />
Manufacturer ID: MCC 03RG20<br />
Physical Format Information (Last Recorded):<br />
Disc ID: 0@P-!-00<br />
Book Type: DVD-R<br />
Part Version: 5<br />
Disc Size: 120mm<br />
Maximum Read Rate: Not Specified<br />
Number of Layers: 1<br />
Track Path: Parallel Track Path (PTP)<br />
Linear Density: 0.267 um/bit<br />
Track Density: 0.74 um/track<br />
First Physical Sector of Data Area: 196,608<br />
Last Physical Sector of Data Area: 2,495,103<br />
Last Physical Sector in Layer 0: 0</p></blockquote>
<p>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://azbikelaw.org/blog/burn-capacity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

