<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8513430720351006839</id><updated>2024-10-25T05:02:05.698+02:00</updated><category term="Cygwin"/><category term="rsync"/><category term="ssh"/><category term="NSLU2"/><category term="Debian"/><category term="Linux"/><category term="USB"/><category term="emacs"/><category term="install"/><category term="Backup"/><category term="DNS"/><category term="Debian-Slug"/><category term="DynDNS"/><category term="Ext3"/><category term="Firefox"/><category term="PSU"/><category term="Putty"/><category term="Slug"/><category term="authorized_keys"/><category term="blog"/><category term="control"/><category term="dealextreme"/><category term="free"/><category term="hard drive"/><category term="keygen"/><category term="mc"/><category term="medaportal"/><category term="media"/><category term="mediaportal"/><category term="mirror"/><category term="open source"/><category term="package"/><category term="power"/><category term="remote"/><category term="replacement"/><category term="servers"/><category term="sister site"/><category term="site"/><category term="sudo"/><category term="tunnel"/><title type='text'>The my-how-to-do-it blog</title><subtitle type='html'>A niche technical blog ...NSLU2, Linux, Debian, Backup ...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-1608999614433418161</id><published>2023-05-20T23:24:00.004+02:00</published><updated>2023-05-20T23:24:47.930+02:00</updated><title type='text'>Compact tabs in Firefox</title><content type='html'>&lt;ol&gt;&lt;li&gt;Type &lt;strong&gt;about:config&lt;/strong&gt; in the &lt;a href=&quot;https://support.mozilla.org/en-US/kb/search-firefox-address-bar&quot;&gt;address bar&lt;/a&gt; and press &lt;span class=&quot;for&quot; data-for=&quot;win,linux&quot;&gt;&lt;span class=&quot;key&quot;&gt;Enter&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;A warning page may appear. Click &lt;span class=&quot;button&quot;&gt;Accept the Risk and Continue&lt;/span&gt; to go to the &lt;em&gt;about:config&lt;/em&gt; page.

&lt;/li&gt;&lt;li&gt;Find the &lt;span class=&quot;pref&quot;&gt;browser.compactmode.show&lt;/span&gt; preference.
&lt;/li&gt;&lt;li&gt;Switch the toggle to &lt;strong&gt;&lt;span class=&quot;pref&quot;&gt;true&lt;/span&gt;&lt;/strong&gt; and then close the tab.
&lt;/li&gt;&lt;li&gt;Click the menu button &lt;img alt=&quot;Fx89menuButton&quot; class=&quot;wiki-image frameless&quot; data-original-src=&quot;https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2021-05-15-11-18-38-e5b736.png&quot; src=&quot;https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2021-05-15-11-18-38-e5b736.png&quot; title=&quot;&quot; /&gt; to open the menu panel.

&lt;/li&gt;&lt;li&gt;Click &lt;span class=&quot;menu&quot;&gt;More tools&lt;/span&gt;.
&lt;/li&gt;&lt;li&gt;Choose &lt;span class=&quot;menu&quot;&gt;Customize toolbar…&lt;/span&gt;.
&lt;/li&gt;&lt;li&gt;At the bottom of the panel, click &lt;span class=&quot;button&quot;&gt;Density&lt;/span&gt;.
&lt;/li&gt;&lt;li&gt;Choose &lt;span class=&quot;menu&quot;&gt;Compact (not supported)&lt;/span&gt; from the menu options.
&lt;dl&gt;&lt;dt&gt;
&lt;br /&gt;&lt;/dt&gt;&lt;/dl&gt;
&lt;/li&gt;&lt;li&gt;Click &lt;span class=&quot;button&quot;&gt;Done&lt;/span&gt;.&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;From: https://support.mozilla.org/en-US/kb/compact-mode-workaround-firefox &lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/1608999614433418161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2023/05/compact-tabs-in-firefox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/1608999614433418161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/1608999614433418161'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2023/05/compact-tabs-in-firefox.html' title='Compact tabs in Firefox'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-9084011706510493993</id><published>2022-09-09T15:22:00.003+02:00</published><updated>2022-09-09T15:22:17.040+02:00</updated><title type='text'>OneDrive for Linux</title><content type='html'>&lt;h1 style=&quot;text-align: left;&quot;&gt;OneDrive for Linux&lt;/h1&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Install with &lt;a href=&quot;http://github.com/abraunegg/onedrive&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://github.com/abraunegg/onedrive&quot;&gt;github.com/abraunegg/onedrive&lt;/a&gt;&amp;nbsp; and &lt;a href=&quot;http://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md&quot;&gt;github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Setting Sharepoint sync up with Linux &lt;a href=&quot;https://github.com/abraunegg/onedrive/blob/master/docs/advanced-usage.md &quot;&gt;github.com/abraunegg/onedrive/blob/master/docs/advanced-usage.md &lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/9084011706510493993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2022/09/onedrivve-for-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/9084011706510493993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/9084011706510493993'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2022/09/onedrivve-for-linux.html' title='OneDrive for Linux'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-7339343519109752129</id><published>2022-09-09T10:30:00.003+02:00</published><updated>2022-09-09T10:31:33.392+02:00</updated><title type='text'>Dell Precision 5550: Mouse drag lock bug</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h1&gt;Dell Precision 5550: Mouse drag lock bug&lt;/h1&gt;

&lt;p&gt;Works on generic Ubuntu 20.04.&lt;/p&gt;
&lt;p&gt;Open a terminal and type xinput for a list of devices. Then &lt;code&gt;xinput disable &amp;lt;id&amp;gt;&lt;/code&gt; the ELANxx device.&lt;/p&gt;


&lt;div style=&quot;background-color: lightgrey; padding: 10px; right: 0px; top: 100px; width: 100%;&quot;&gt;&lt;code&gt;$ xinput disable 15&lt;/code&gt;&lt;/div&gt;


&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Swipe gently on the screen and then reenable touchscreen&lt;/p&gt;

&lt;div style=&quot;background-color: lightgrey; padding: 10px; right: 0px; top: 100px; width: 100%;&quot;&gt;&lt;code&gt;$ xinput enable 15&lt;/code&gt;&lt;/div&gt;


&lt;p&gt;Repeat if necessary.&lt;/p&gt;

&lt;p&gt;[post #47 on &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/rapidsvn/+bug/402892&quot; style=&quot;text-decoration: none;&quot;&gt;https://bugs.launchpad.net/ubuntu/+source/rapidsvn/+bug/402892&lt;/a&gt;]&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/7339343519109752129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2022/09/dell-precision-5550-mouse-drag-lock-bug.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/7339343519109752129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/7339343519109752129'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2022/09/dell-precision-5550-mouse-drag-lock-bug.html' title='Dell Precision 5550: Mouse drag lock bug'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-5675194201284329577</id><published>2022-09-09T09:59:00.005+02:00</published><updated>2022-09-12T12:48:52.772+02:00</updated><title type='text'>Linux: How to list group members</title><content type='html'>The follwing group and user operations are usefull in linux

&lt;h1&gt;Add users&lt;/h1&gt;
&lt;p&gt;To add a user to Linux &lt;/p&gt;
&lt;div style=&quot;background-color: lightgrey; padding: 10px; right: 0px; top: 100px; width: 100%;&quot;&gt;&lt;code&gt;$ sudo adduser username&lt;/code&gt;&lt;/div&gt;

&lt;h1&gt;List users&lt;/h1&gt;
&lt;p&gt;To list users in Linux &lt;/p&gt;
&lt;div style=&quot;background-color: lightgrey; padding: 10px; right: 0px; top: 100px; width: 100%;&quot;&gt;&lt;code&gt;$ less /etc/passwd&lt;/code&gt;&lt;/div&gt;

&lt;p&gt;To serch for users/a user&lt;/p&gt;
&lt;div style=&quot;background-color: lightgrey; padding: 10px; right: 0px; top: 100px; width: 100%;&quot;&gt;&lt;code&gt;$ more /etc/passwd | grep username&lt;/code&gt;&lt;/div&gt;



&lt;h1&gt;List members in group&lt;/h1&gt;
&lt;p&gt;To list the members of a group in Linux &lt;/p&gt;
&lt;div style=&quot;background-color: lightgrey; padding: 10px; right: 0px; top: 100px; width: 100%;&quot;&gt;&lt;code&gt;$ getent group groupname&lt;/code&gt;&lt;/div&gt;

&lt;h1&gt;Add user to group&lt;/h1&gt;
&lt;p&gt;To add a user to a group in Linux&lt;/p&gt;
&lt;div style=&quot;background-color: lightgrey; padding: 10px; right: 0px; top: 100px; width: 100%;&quot;&gt;&lt;code&gt;$ sudo usermod -aG group usernamename&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/5675194201284329577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2022/09/linux-how-to-list-group-members.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/5675194201284329577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/5675194201284329577'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2022/09/linux-how-to-list-group-members.html' title='Linux: How to list group members'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-2148394605861528811</id><published>2022-08-21T23:08:00.004+02:00</published><updated>2022-08-21T23:08:31.492+02:00</updated><title type='text'>How to reset Oneplace satellite box</title><content type='html'>&lt;h2 style=&quot;text-align: left;&quot;&gt;How to reset Oneplace satellite box&amp;nbsp;&lt;/h2&gt;&lt;p&gt;(Allente / Canal &amp;nbsp;Digital)&lt;/p&gt;&lt;p&gt;To reset the Oneplace Android Satelite box do the following:&lt;/p&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Pull the power from the Box for 30 seconds.&lt;/li&gt;&lt;li&gt;Plug the power back in while pressing the &quot;left&quot; rapidly (more than 2 times per second), and wait for the boot up process to boot into á &quot;bios&quot;-like state.&lt;/li&gt;&lt;li&gt;Press &quot;2&quot; to reset / reload presets. The screen will display a splash status message indicating work in progress. When done it will read succes near the bottom left of the screen.&lt;/li&gt;&lt;li&gt;Recycle the power and the box should boot normally as new.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/2148394605861528811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2022/08/how-to-reset-oneplace-satellite-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/2148394605861528811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/2148394605861528811'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2022/08/how-to-reset-oneplace-satellite-box.html' title='How to reset Oneplace satellite box'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-3503191198525070238</id><published>2013-04-05T13:24:00.000+02:00</published><updated>2013-04-05T13:25:33.122+02:00</updated><title type='text'>Remember to remove the GPS data from your images</title><content type='html'>Many smartphones and cameras today also contain a GPS module, which enables the devices to store the GPS position of the site/location where the picture was taken, inside the picture itself, inside the EXIF data.&lt;br /&gt;
This information is then public to everyone when you upload the pictures to the evil www....&lt;br /&gt;
Therefore remember to remove the GPS data before uploading image file.&lt;br /&gt;
A tool for this is here: &lt;a href=&quot;http://www.digitalconfidence.com/downloads.html&quot;&gt;www.digitalconfidence.com/downloads.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/3503191198525070238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2013/04/remember-to-remove-gps-data-from-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/3503191198525070238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/3503191198525070238'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2013/04/remember-to-remove-gps-data-from-your.html' title='Remember to remove the GPS data from your images'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-7123251420392336288</id><published>2012-12-28T00:46:00.000+01:00</published><updated>2012-12-28T00:46:29.999+01:00</updated><title type='text'>NSLU2: How to change the hard drive</title><content type='html'>To migrate the hard drive of your NSLU2 to a new one perform the two follwing steps:&lt;br /&gt;
Step 1: Copy the content of the hard disk to a new hard disk.&lt;br /&gt;
Step 2: Expand the partition to fill all the available space on the the new hard disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
Step 1: Copy the content of the hard disk to a new hard disk.&lt;/h4&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;(in part from &lt;a href=&quot;http://linuxcommando.blogspot.com/2008/06/show-progress-during-dd-copy.html&quot;&gt;http://linuxcommando.blogspot.com/2008/06/show-progress-during-dd-copy.html&lt;/a&gt; )&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Copy the content of disk 1 (mounted on /dev/sdb) to disk 2 (mounted on /dev/sdc ) (if adjust sdb, sdc, sdd, etc acording to your own configuration, you might use gparted to check the names). Block size below is 1M (1 mb):&lt;br /&gt;
&lt;pre&gt;$ dd if=/dev/sdb of=/dev/sdc bs=1M &amp;nbsp;&lt;/pre&gt;
&lt;br /&gt;
Follow the progress forof the process by executing the following command in an other command window:&lt;br /&gt;
&lt;pre&gt;$ kill -USR1  8789&lt;/pre&gt;
Find the process ID by running the command (and replace 8789 acordingly):&lt;br /&gt;
&lt;pre&gt;$ pgrep -l &#39;^dd$&#39;
8789 dd
$&lt;/pre&gt;
&lt;br /&gt;
&lt;h4&gt;
Step 2: Expand the partition to fill all the available space on the the new hard disk.&lt;/h4&gt;
Install gparted, launch it. Expand the large partition on the disk to fill to take advantage of all the available space.Move the other partitions acordingly. Do not delete og shrink any othe the other partitions.&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/7123251420392336288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2012/12/nslu2-how-to-change-hard-drive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/7123251420392336288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/7123251420392336288'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2012/12/nslu2-how-to-change-hard-drive.html' title='NSLU2: How to change the hard drive'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-6712169549945631667</id><published>2012-12-25T15:57:00.002+01:00</published><updated>2012-12-25T15:57:08.333+01:00</updated><title type='text'>Suspend Ubuntu 12.04 LTS on Asus U32U</title><content type='html'>Do the following&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;(all instructions from: &lt;a href=&quot;http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug&quot;&gt;http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug&lt;/a&gt;)&lt;/span&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;h2 id=&quot;header-0&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Step 1&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
Create a script under /etc/pm/sleep.d/. It can be any name, but to ensure the load order, use the prefix 20_.&lt;br /&gt;



&lt;pre class=&quot;cmd&quot; name=&quot;code&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;gksudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd 

#or the way you would normally do when creating a file as superuser&amp;nbsp;&amp;nbsp;&lt;/span&gt;
&lt;/pre&gt;
&amp;nbsp;&lt;h2 id=&quot;header-1&quot;&gt;
Step 2&lt;/h2&gt;
Note that if you use the code from &quot;Step 2 Old&quot; below, please skip this step. This script is contributed by commenter Danne. &lt;br /&gt;


Insert the following code into the file you have just created:&lt;br /&gt;
&lt;br /&gt;




&lt;pre name=&quot;code&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;#!/bin/sh
#inspired by http://art.ubuntuforums.org/showpost.php?p=9744970&amp;amp;postcount=19
#...and http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug    
# tidied by tqzzaa :)

VERSION=1.1
DEV_LIST=/tmp/usb-dev-list
DRIVERS_DIR=/sys/bus/pci/drivers
DRIVERS=&quot;ehci xhci&quot; # ehci_hcd, xhci_hcd
HEX=&quot;[[:xdigit:]]&quot;
MAX_BIND_ATTEMPTS=2
BIND_WAIT=0.1

unbindDev() {
  echo -n &amp;gt; $DEV_LIST 2&amp;gt;/dev/null
  for driver in $DRIVERS; do
    DDIR=$DRIVERS_DIR/${driver}_hcd
    for dev in `ls $DDIR 2&amp;gt;/dev/null | egrep &quot;^$HEX+:$HEX+:$HEX&quot;`; do
      echo -n &quot;$dev&quot; &amp;gt; $DDIR/unbind
      echo &quot;$driver $dev&quot; &amp;gt;&amp;gt; $DEV_LIST
    done
  done
}

bindDev() {
  if [ -s $DEV_LIST ]; then
    while read driver dev; do
      DDIR=$DRIVERS_DIR/${driver}_hcd
      while [ $((MAX_BIND_ATTEMPTS)) -gt 0 ]; do
          echo -n &quot;$dev&quot; &amp;gt; $DDIR/bind
          if [ ! -L &quot;$DDIR/$dev&quot; ]; then
            sleep $BIND_WAIT
          else
            break
          fi
          MAX_BIND_ATTEMPTS=$((MAX_BIND_ATTEMPTS-1))
      done  
    done &amp;lt; $DEV_LIST
  fi
  rm $DEV_LIST 2&amp;gt;/dev/null
}

case &quot;$1&quot; in
  hibernate|suspend) unbindDev;;
  resume|thaw)       bindDev;;
esac&lt;/span&gt;
&lt;/pre&gt;
&lt;h2 id=&quot;header-3&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Step 3&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
Add executable permission:&lt;br /&gt;




&lt;pre class=&quot;cmd&quot; name=&quot;code&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;sudo chmod 755 /etc/pm/sleep.d/20_custom-ehci_hcd&lt;/span&gt;
&lt;/pre&gt;
&lt;h3 id=&quot;header-4&quot;&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Result&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
Your suspend should be now working as expected. Suggestions on improving this script are welcome.</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/6712169549945631667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2012/12/suspend-ubuntu-1204-lts-on-asus-u32u.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/6712169549945631667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/6712169549945631667'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2012/12/suspend-ubuntu-1204-lts-on-asus-u32u.html' title='Suspend Ubuntu 12.04 LTS on Asus U32U'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-5656980514950929571</id><published>2011-04-07T13:31:00.003+02:00</published><updated>2011-04-07T13:47:29.271+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cygwin"/><category scheme="http://www.blogger.com/atom/ns#" term="emacs"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="mc"/><category scheme="http://www.blogger.com/atom/ns#" term="rsync"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>Linux on Windows: CYGWIN</title><content type='html'>In order to setup a working linux environment on Windows try Cygwin. Cygwin is a implementation of a range of linux functions/functionality for Windows.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Go to www.cygwin.com and download the setup file.&lt;/li&gt;
&lt;li&gt;Run the file by double click and choose &quot;install from internet&quot;.&lt;/li&gt;
&lt;li&gt;When prompted I prefer to install Cygwin to &quot;Program Files&quot;, which although warned about does not seem to give problems.&lt;/li&gt;
&lt;li&gt;When prompted for choosing packages choose:&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;Editors&lt;/li&gt;
&lt;/ul&gt;&lt;ol&gt;&lt;ul&gt;&lt;li&gt;emacs&lt;/li&gt;
&lt;li&gt;mc&lt;/li&gt;
&lt;/ul&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;Net&lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;openssh&lt;/li&gt;
&lt;li&gt;rsync&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;Finish the installation.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Run (double click) the shortcut on the desktop. It will create your home folder in the appropriate location (in this case (english WinXP) &quot;C:\Program Files\cygwin\home\you&quot;).&lt;/li&gt;
&lt;li&gt;In the Cygwin window run &quot;ssh&quot; which will create the &quot;.ssh&quot; folder in your home folder.&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/5656980514950929571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2011/04/linux-on-windows-cygwin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/5656980514950929571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/5656980514950929571'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2011/04/linux-on-windows-cygwin.html' title='Linux on Windows: CYGWIN'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-5924551679366068263</id><published>2011-02-11T09:42:00.000+01:00</published><updated>2011-02-11T09:42:53.196+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="authorized_keys"/><category scheme="http://www.blogger.com/atom/ns#" term="Cygwin"/><category scheme="http://www.blogger.com/atom/ns#" term="keygen"/><category scheme="http://www.blogger.com/atom/ns#" term="rsync"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>Cygwin: Setting up a trusted ssh-relationship</title><content type='html'>If you are frequently connecting via ssh to the same server or if you are using rsync to backup your files as will be described in a later guide, you might want to set up a trusted relationship between your local computer and the remote server.&lt;br /&gt;
&lt;br /&gt;
Start by generating a private/public key set.&lt;br /&gt;
Run the following command:&lt;br /&gt;
&lt;div style=&quot;background-color: #999999; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ ssh-keygen -t rsa &lt;/div&gt;&lt;br /&gt;
Now go to your local .ssh folder.&lt;br /&gt;
Then download the &quot;authorized_keys&quot; file from the server&lt;br /&gt;
&lt;div style=&quot;background-color: #999999; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;scp user@server.com:/home/user/.ssh/authorized_keys .&lt;/div&gt;then make a backup copy of the file:&lt;br /&gt;
&lt;div style=&quot;background-color: #999999; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ cp authorized_keys authorized_keys.backup&lt;/div&gt;now merge public key id_rsa.pub into the authorized_keys file&lt;br /&gt;
&lt;div style=&quot;background-color: #999999; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ cat authorized_keys id_rsa.pub&lt;/div&gt;and upload the authorized_keys file to the server&lt;br /&gt;
&lt;div style=&quot;background-color: #999999; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ scp authorized_keys user@server.com:/home/user/.ssh&lt;/div&gt;&lt;br /&gt;
Now try and connect via ssh:&lt;br /&gt;
&lt;div style=&quot;background-color: #999999; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ ssh user@server.com&lt;/div&gt;It should now not prompt for password.</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/5924551679366068263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2011/02/cygwin-setting-up-trusted-ssh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/5924551679366068263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/5924551679366068263'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2011/02/cygwin-setting-up-trusted-ssh.html' title='Cygwin: Setting up a trusted ssh-relationship'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-3410693116892246633</id><published>2011-02-11T09:25:00.001+01:00</published><updated>2011-02-11T09:26:14.502+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NSLU2"/><category scheme="http://www.blogger.com/atom/ns#" term="power"/><category scheme="http://www.blogger.com/atom/ns#" term="PSU"/><category scheme="http://www.blogger.com/atom/ns#" term="replacement"/><title type='text'>NSLU2: When the power supply (PSU) dies ...</title><content type='html'>Problem: My NSLU2 has stopped working. Problem pinned down to being the power supply. The following description matches &lt;b&gt;very &lt;/b&gt;well my experience, although my power supply worked 24/7 for 3 years (the first two supplying a 2.5&#39; disc.:&lt;br /&gt;
&lt;br /&gt;
&quot;&lt;i&gt;It showed an interesting mode of failure.... after being used for about 1  year 24/7, the LED still illuminated and the unloaded votlage was 5.0V  (good) but when a Slug was switched on, the voltage dropped to about 3V  and the Slug could not boot. The Slug&#39;s Power LED showed faint &#39;pulsing&#39;  in time with USB Memory stick access attempts (difficult to see with  your finger over the Power button though). The power supply was binned. &lt;/i&gt;&quot;&lt;br /&gt;
&lt;br /&gt;
Diagnose: &lt;br /&gt;
&quot;&lt;i&gt;It has been noticed that the supplied Linksys PSU appears to fail after  about a year if supplying two USB powered 2.5&quot; laptop drives from the &lt;span class=&quot;wikiword&quot;&gt;NSLU2&lt;/span&gt;.Symptoms  include, but not limited to hard drives not being mounted properly at  boot time, although the slug will boot with no disks attached for a  while until the supply dies completely&lt;/i&gt;.&quot; - &lt;a href=&quot;http://www.nslu2-linux.org/wiki/Info/PowerSupply&quot;&gt;nslu2-linux.org&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX9x54gk7lM6AZD48jzGrrdGEAFlXFJ2vV3V9M5WqhyJQTnh7jsM0dUPA1oqiOm3cXuTjMltIEVdVOnOgaHBBSd-gHTd5gXe-Oox-hkJJUAUj4I87B7LQF8wbXiaPxo7hanNKIY_I7Kgr5/s1600/sku_48785_1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX9x54gk7lM6AZD48jzGrrdGEAFlXFJ2vV3V9M5WqhyJQTnh7jsM0dUPA1oqiOm3cXuTjMltIEVdVOnOgaHBBSd-gHTd5gXe-Oox-hkJJUAUj4I87B7LQF8wbXiaPxo7hanNKIY_I7Kgr5/s320/sku_48785_1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;My solution:&lt;/b&gt;&lt;br /&gt;
I bought a &quot;&lt;a href=&quot;http://www.dealextreme.com/p/ac-power-adapter-charger-for-psp-1000-2000-3000-100-240v-48785&quot;&gt;&lt;span class=&quot;CategoryHeadline&quot; id=&quot;ctl00_content_HeadLine1&quot;&gt;AC Power Adapter/Charger for PSP 1000/2000/3000&lt;/span&gt;&lt;/a&gt;&quot; from &lt;a href=&quot;http://www.dealextreme.com/&quot;&gt;dealextreme.com&lt;/a&gt;. Then I exchanged the plug that the Power Adapter/Charger came with the plug from the original NSLU2 PSU. When doing this, &lt;b&gt;BE CAREFUL&lt;/b&gt; and use a voltmeter/multimeter to make sure + and - are connected correctly. &lt;b&gt;Double double check&lt;/b&gt;, because you might end up destroying your NSLU2 if applying a wrong voltage.&lt;br /&gt;
&lt;br /&gt;
I did all this, and my slug is again running like a charm.</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/3410693116892246633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2011/02/nslu2-when-power-supply-psu-dies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/3410693116892246633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/3410693116892246633'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2011/02/nslu2-when-power-supply-psu-dies.html' title='NSLU2: When the power supply (PSU) dies ...'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX9x54gk7lM6AZD48jzGrrdGEAFlXFJ2vV3V9M5WqhyJQTnh7jsM0dUPA1oqiOm3cXuTjMltIEVdVOnOgaHBBSd-gHTd5gXe-Oox-hkJJUAUj4I87B7LQF8wbXiaPxo7hanNKIY_I7Kgr5/s72-c/sku_48785_1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-1614043511733624609</id><published>2011-02-07T22:46:00.005+01:00</published><updated>2011-02-07T22:50:56.584+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cygwin"/><category scheme="http://www.blogger.com/atom/ns#" term="rsync"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="tunnel"/><title type='text'>Cygwin: Making a ssh connection with tunnels to your server</title><content type='html'>To make a ssh connection to a linux server, do the following:&lt;br /&gt;
Start by loading Cygwin: Start a cmd prompt and load Cygwin:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;C:\folder&amp;gt;loadcygwin&lt;/span&gt; (the script is &lt;a href=&quot;http://myhowtodoit.blogspot.com/2011/02/cygwin-setting-up-environment-and.html&quot;&gt;described here&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
the run the ssh connect command:&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;C:\folder&amp;gt;ssh user@server.com&lt;/div&gt;&lt;br /&gt;
This will prompt for your password before allowing the connecntion. Voilá!&lt;br /&gt;
&lt;br /&gt;
If you want to take advantage of one of the strengths of ssh, namely the tunnels run the command as:&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;C:\folder&amp;gt;ssh user@server.com -L 123:remotehost:456&lt;/div&gt;&lt;br /&gt;
which will open port 123 locally (on your computer/localhost) which is tunneled to port 456 on the server remotehost.&lt;br /&gt;
&lt;br /&gt;
You can with benefit put this command into a batch (.cmd) file, such as the following ssh_server_com.cmd.&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ssh_server_com.cmd:&lt;/div&gt;&lt;br /&gt;
&lt;table bgcolor=&quot;#cccccc&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;@echo off
echo Connecting ...
call loadcygwin.cmd

ssh user@server.com -L1125:localhost:25 
-L22993:imap.gmail.com:993
-L993:imap.gmail.com:993 
-L22995:pop.gmail.com:995 
-L22587:smtp.gmail.com:587
-L8888:localhost:8888 
-L8080:localhost:8080

&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/1614043511733624609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2011/02/cygwin-making-ssh-connection-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/1614043511733624609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/1614043511733624609'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2011/02/cygwin-making-ssh-connection-with.html' title='Cygwin: Making a ssh connection with tunnels to your server'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-2159220219390276952</id><published>2011-02-07T22:31:00.002+01:00</published><updated>2011-02-11T10:06:46.062+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cygwin"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="rsync"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>Cygwin: Setting up the environment and locale</title><content type='html'>When using Cygwin to connect to linux servers, and when using Cygwin in a windows environment in general, it is important to get the locale right.&lt;br /&gt;
&lt;br /&gt;
I am using Cywin through cmd-sessions, and I load Cygwin manually for each cmd-prompt session, as I do not want to override the Windows/Dos commands by default.&lt;br /&gt;
Thus I run the file loadcygwin.cmd each time I want to switch to/load Cygwin.&lt;br /&gt;
The content of loadcygwin.cmd is listed below:&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;loadcygwin.cmd:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;table bgcolor=&quot;#cccccc&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;@echo off
call setcygwinenvironment.cmd
:: WinXp
set path=c:\Program Files\CygWin\bin;%path%
::Win7
::set path=C:\Program Files (x86)\cygwin\bin;%path%
echo Cygwin now loaded.
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
In this file I am calling the script setcygwinenvironment.cmd which sets the locale. (As you can see I am living in Denmark, which my locale settings reflect)&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;setcygwinenvironment.cmd:&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;table bgcolor=&quot;#cccccc&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;echo Setting up CYGWIN environment...

:: Set cygwin locale to the same as windows locale.
set LANG=da_DK-UTF-8
set LC_CTYPE=da_DK.UTF-8
set LC_NUMERIC=da_DK.UTF-8
set LC_TIME=da_DK.UTF-8
set LC_COLLATE=da_DK.UTF-8
set LC_MONETARY=da_DK.UTF-8
set LC_MESSAGES=da_DK.UTF-8
set LC_ALL=da_DK
set CYGWIN=acl nodosfilewarning
echo done.
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/2159220219390276952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2011/02/cygwin-setting-up-environment-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/2159220219390276952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/2159220219390276952'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2011/02/cygwin-setting-up-environment-and.html' title='Cygwin: Setting up the environment and locale'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-170340096562256042</id><published>2010-11-29T14:18:00.000+01:00</published><updated>2010-11-29T14:18:39.893+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blog"/><category scheme="http://www.blogger.com/atom/ns#" term="mirror"/><category scheme="http://www.blogger.com/atom/ns#" term="sister site"/><category scheme="http://www.blogger.com/atom/ns#" term="site"/><title type='text'>A sister site : www.tvass.eu</title><content type='html'>I/we have just launched a sister site to this blog, namely the www.tvass.eu site, which will be featuring the same articles and snippets as this blog, albeit maybe in a more structured form. Please visit the site and support it. And... share with friends.</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/170340096562256042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/sister-site-wwwtvasseu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/170340096562256042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/170340096562256042'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/sister-site-wwwtvasseu.html' title='A sister site : www.tvass.eu'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-7474696600933753178</id><published>2010-11-20T21:04:00.017+01:00</published><updated>2010-11-20T21:28:35.129+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="free"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="media"/><category scheme="http://www.blogger.com/atom/ns#" term="mediaportal"/><category scheme="http://www.blogger.com/atom/ns#" term="open source"/><title type='text'>Mediaportal: How to install mediaportal</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6DnjWzNHMy6qjKMfuk0EFcAdoi8LLa66yOT4fuCTLChAPlhyphenhyphenbrcVmk6t4zV6Z6V1WQRL9VyDQeEYs6y4v8klgPQImpiiJyuennHpgMh-otb9SR9vHcz3_BdUoP0YoQfhk3jS2FZCxcmH/s1600/mediaportal.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;67&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6DnjWzNHMy6qjKMfuk0EFcAdoi8LLa66yOT4fuCTLChAPlhyphenhyphenbrcVmk6t4zV6Z6V1WQRL9VyDQeEYs6y4v8klgPQImpiiJyuennHpgMh-otb9SR9vHcz3_BdUoP0YoQfhk3jS2FZCxcmH/s400/mediaportal.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;If you (like i did) have an old PC which you do not use and at the same time need a mediacentre, why dont you give &lt;a href=&quot;http://www.team-mediaportal.com/&quot;&gt;mediaportal&lt;/a&gt; a shot? It is open source, free and for windows.&lt;br /&gt;
Here goes:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Download the latest version &lt;a href=&quot;http://www.team-mediaportal.com/mediaportal-download&quot;&gt;here&lt;/a&gt; .&lt;/li&gt;
&lt;li&gt;Launch the installer file. &lt;/li&gt;
&lt;li&gt;Choose your country.&lt;/li&gt;
&lt;li&gt;Choose &quot;Start installation now&quot;.&lt;/li&gt;
&lt;li&gt;If there is ANY chance that you will be using mediaportal to either watch or record TV, answer yes to the question of whether you are going to use mediaportal to watch TV.&lt;/li&gt;
&lt;li&gt;Unless you know very well what you are doing (and if you are, you not reading this), choose install all in one click.&lt;/li&gt;
&lt;li&gt;If you are installing under Windows Vista or Windows 7, you will be asked which network the TV-server may communicate on. I have chosen only private networks and would recommend this setting.&lt;/li&gt;
&lt;li&gt;The setup is now done installing and you will be shown the &lt;a href=&quot;file:///C:/Users/jihj/AppData/Local/Temp/MediaPortal%20Installation/HelpContent/SetupGuide/SetupGuide.htm&quot;&gt;MediaPortal Manual Documentation&lt;/a&gt; .&lt;/li&gt;
&lt;li&gt;You are now done installing MediaPortal - Have fun! (I will continue posting articles on how to setup things and features on this blog...)&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/7474696600933753178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/mediaportal-how-to-install-mediaportal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/7474696600933753178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/7474696600933753178'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/mediaportal-how-to-install-mediaportal.html' title='Mediaportal: How to install mediaportal'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6DnjWzNHMy6qjKMfuk0EFcAdoi8LLa66yOT4fuCTLChAPlhyphenhyphenbrcVmk6t4zV6Z6V1WQRL9VyDQeEYs6y4v8klgPQImpiiJyuennHpgMh-otb9SR9vHcz3_BdUoP0YoQfhk3jS2FZCxcmH/s72-c/mediaportal.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-1441302370791303183</id><published>2010-11-20T20:53:00.002+01:00</published><updated>2010-11-20T23:07:05.744+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="control"/><category scheme="http://www.blogger.com/atom/ns#" term="dealextreme"/><category scheme="http://www.blogger.com/atom/ns#" term="medaportal"/><category scheme="http://www.blogger.com/atom/ns#" term="remote"/><category scheme="http://www.blogger.com/atom/ns#" term="USB"/><title type='text'>Mediaportal: Choosing and setting up a remote control</title><content type='html'>I found and ordered a nice looking (and very cheap) remote control from the Hong Kong based store dealextreme.com : &lt;a href=&quot;http://www.dealextreme.com/details.dx/sku.34435&quot;&gt;http://www.dealextreme.com/details.dx/sku.34435&lt;/a&gt; .&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2E5HnH3U4LOsgv0oc6Boo6r9SzVAj1sjcGKfntg0m7toULu4RRaR2rtpL6TqrtoNrEDmh2f08yveBcE8TrZlPy352iwcfR8PVC3LVdVYzuNPM5AO3F0_OUlXR1GNzdb_LnbftNYW-GIq0/s1600/sku_34435_1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2E5HnH3U4LOsgv0oc6Boo6r9SzVAj1sjcGKfntg0m7toULu4RRaR2rtpL6TqrtoNrEDmh2f08yveBcE8TrZlPy352iwcfR8PVC3LVdVYzuNPM5AO3F0_OUlXR1GNzdb_LnbftNYW-GIq0/s320/sku_34435_1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Conclusion: It works just fine! However there are quite a few keys that don&#39;t have the function that was intended (some take mediaportal out of full screen mode, some launch other applications, etc.) and some keys do nothing at all.&lt;br /&gt;
However the volume, channel, number, arrow, PC off, close program and mouse keys work fine, which is the most important.&lt;br /&gt;
In mediaportal you also have to make some customization in setup. Lauch &quot;MediaPortal Configuration&quot;, and go to &quot;Remote&quot; and choose &quot;Microsoft MCE&quot; and &quot;Use Microsoft MCE remote or keyboard&quot;. &lt;br /&gt;
&lt;br /&gt;
Conclusion: This remote is so cheap that you can not afford to buy if you are missing a remote for your mediaportal PC. It&#39;s only approximately $10.&lt;br /&gt;
&lt;br /&gt;
Hint: You probably can remap some of the key strokes from the remote using the program &lt;a href=&quot;http://www.autohotkey.com/&quot;&gt;AutoHotkey&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/1441302370791303183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/mediaportal-choosing-and-setting-up.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/1441302370791303183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/1441302370791303183'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/mediaportal-choosing-and-setting-up.html' title='Mediaportal: Choosing and setting up a remote control'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2E5HnH3U4LOsgv0oc6Boo6r9SzVAj1sjcGKfntg0m7toULu4RRaR2rtpL6TqrtoNrEDmh2f08yveBcE8TrZlPy352iwcfR8PVC3LVdVYzuNPM5AO3F0_OUlXR1GNzdb_LnbftNYW-GIq0/s72-c/sku_34435_1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-7684812543045635792</id><published>2010-11-19T21:07:00.003+01:00</published><updated>2010-11-19T21:15:19.805+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Firefox"/><title type='text'>Firefox: Unblock a nonstandard port in Firefox3</title><content type='html'>If you try to browse a non-standard (a non-port-80 port) using Firefox 3, you will get he common Firefox can&#39;t-do-this-Try-Again error.&lt;br /&gt;
This is because Firtefox tries to protect you from evil-men-on-the-net, or yourself by blocking all ports but port 80. You need to unblock using a nonstandard port such as 81, 28 8888, 8971in Firefox3 by following the directions on this page: [ &lt;a href=&quot;http://bdbits.wordpress.com/2008/07/01/unblock-a-nonstandard-port-in-firefox3/&quot;&gt;http://bdbits.wordpress.com/2008/07/01/unblock-a-nonstandard-port-in-firefox3/&lt;/a&gt; ]&lt;br /&gt;
I&#39;ve test this and it works just fine!</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/7684812543045635792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/firefox-unblock-nonstandard-port-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/7684812543045635792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/7684812543045635792'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/firefox-unblock-nonstandard-port-in.html' title='Firefox: Unblock a nonstandard port in Firefox3'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-9110181357899471845</id><published>2010-11-19T20:52:00.005+01:00</published><updated>2010-12-09T14:38:45.857+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="emacs"/><category scheme="http://www.blogger.com/atom/ns#" term="package"/><category scheme="http://www.blogger.com/atom/ns#" term="servers"/><category scheme="http://www.blogger.com/atom/ns#" term="sudo"/><title type='text'>Debian NSLU2: Installing packages 1</title><content type='html'>&lt;h2 style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Initial setup&lt;/span&gt;&lt;/h2&gt;&lt;h3 style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: small;&quot;&gt;After the installation of the Debian OS is finished it is time to start installing the packages containing the services/servers/programs/utiliies that you need on the nslu2. It is of course the packages that was the initial reason that we started this installation adventure.&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: small;&quot;&gt;Furthermore some packages need to be removed.&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: small;&quot;&gt;Some have been tested and the removed again.&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Installed packages&lt;/span&gt;&lt;/h3&gt;&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;thttpd&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;vsftpd&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;samba&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;emacs&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;mc&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;screen&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;ddclient&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;rsync&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h3 style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Removed packages&lt;/span&gt;&lt;/h3&gt;I have removed the following packages which were installed by defaul. I must confess that the net&quot;-something&quot; is a package that a friend of mine removed and which he neglected to tell me the full name of.&lt;br /&gt;
&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;nfs&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;net&quot;-something&quot;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h3 style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Installed and removed packages&lt;/span&gt;&lt;/h3&gt;&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sg3-utils&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;atop&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;gdb&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;atop &lt;/span&gt;&lt;/span&gt;is quite usefull for discovering what is going on on the slug regarding network, hdd, memory usage etc.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;How to install the packages&lt;/span&gt;&lt;br /&gt;
How to install the packages?&amp;nbsp; &lt;span style=&quot;font-size: small;&quot;&gt;Start &lt;/span&gt;by logging in as root&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table bgcolor=&quot;#cccccc&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;$ su&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;and supply the password that you set during the Debian OS install procedure. Then install sudo and emacs:&lt;br /&gt;
&lt;table bgcolor=&quot;#cccccc&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;$ apt-get update; apt-get install sudo emacs&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;
&lt;b&gt;Add yourself to the sudoers group&lt;/b&gt; &lt;br /&gt;
Now you need to add yourself to the sudoers group. Run&lt;br /&gt;
&lt;br /&gt;
&lt;table bgcolor=&quot;#cccccc&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;$ visudo&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;
and find the line&lt;br /&gt;
&lt;table bgcolor=&quot;#cccccc&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;root     ALL=(ALL) ALL&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;
and add the line&amp;nbsp; &lt;br /&gt;
&lt;table bgcolor=&quot;#cccccc&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;&quot;username&quot;     ALL=(ALL) ALL&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;  &lt;/table&gt;replacing &quot;username&quot; with your own chosen username. Then hit Ctrl+X to exit and answer Yes to the question of whether you want to save the file.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Remaining packages&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now it is time to install the remaining packages&lt;br /&gt;
&lt;br /&gt;
&lt;table bgcolor=&quot;#cccccc&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre&gt;$ sudo apt-get update; sudo apt-get install ntpdate vsftpd samba mc screen ddclient rsync sudo&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;  &lt;/table&gt;&lt;br /&gt;
&lt;b&gt;How to continue&lt;/b&gt;&lt;br /&gt;
In the following blog-articles I will show how these packages are configured.</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/9110181357899471845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/debian-nslu2-installing-packages-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/9110181357899471845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/9110181357899471845'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2010/11/debian-nslu2-installing-packages-1.html' title='Debian NSLU2: Installing packages 1'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-937905369403068469</id><published>2010-10-22T22:56:00.026+02:00</published><updated>2010-12-09T14:40:11.331+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cygwin"/><category scheme="http://www.blogger.com/atom/ns#" term="Debian"/><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="DynDNS"/><category scheme="http://www.blogger.com/atom/ns#" term="Ext3"/><category scheme="http://www.blogger.com/atom/ns#" term="hard drive"/><category scheme="http://www.blogger.com/atom/ns#" term="NSLU2"/><category scheme="http://www.blogger.com/atom/ns#" term="Putty"/><category scheme="http://www.blogger.com/atom/ns#" term="USB"/><title type='text'>Debian NSLU2: How to install Debian on the NSLU2</title><content type='html'>&lt;h1 class=&quot;fn&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/h1&gt;Before we proceed with the installation of debian on the slug there is one point we bring in order:&lt;br /&gt;
&lt;b&gt;We need a hard drive to install debian on.&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-A0gu_wz3_q71XNua2cksZUJ2qIwOxqWIKyPw_QbGW6k4QRZfiEalYjpViso98ZzUOT70iB4YjJoby-hqBUdgWCFNHow2Zk5zD5pkPP1O2Cu9iW3yEX-q663jDwFKBHpdG1NxWlRs4bdf/s1600/655091.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-A0gu_wz3_q71XNua2cksZUJ2qIwOxqWIKyPw_QbGW6k4QRZfiEalYjpViso98ZzUOT70iB4YjJoby-hqBUdgWCFNHow2Zk5zD5pkPP1O2Cu9iW3yEX-q663jDwFKBHpdG1NxWlRs4bdf/s1600/655091.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
My two slugs are installed in two different configurations:&lt;br /&gt;
&lt;b&gt;Slug 1&lt;/b&gt; (my home slug): A &quot;&lt;span style=&quot;font-family: inherit; font-size: small;&quot;&gt;WD Elements Desktop WDBAAU0010HBK 1 TB&quot; (image)&lt;/span&gt; [&lt;a href=&quot;http://www.edbpriser.dk/Product/Details.aspx?pid=655091&quot;&gt;Link 1&lt;/a&gt;, &lt;a href=&quot;http://www.wdc.com/en/products/products.asp?driveid=760&quot;&gt;Link 2&lt;/a&gt;]&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Slug 2&lt;/b&gt; (my remote slug): A 4GB USB flash drive holding the operating system and a 300GB Maxtor hard drive&amp;nbsp; to hold the data.&lt;br /&gt;
&lt;br /&gt;
I recommend to install the OS on a single exteramnal harddrive. And make sure you choose one which is silent and energy efficient. I can recommend the above (&lt;span style=&quot;font-family: inherit; font-size: small;&quot;&gt;WD Elements Desktop WDBAAU0010HBK 1 T&lt;/span&gt;B), which has served me faithfully 24 hours a day, 7 days a week for a year now, but any other will do just fine.&lt;br /&gt;
&lt;br /&gt;
Second thing which is important to do:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Connect the slug to power and your home switch and turn it on.&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTquEK0s0smat48kmmxJeSjkt6tGFemmWoHe4zBE_iKyxNa2gOQzOMCCHJ4dS4VEZK-cXORekH37LINVUZFv6Wq8iULI_FFZGiexlR9ksn7yQt505CErrVeEoNhyphenhyphenjkHn01H5QyI23qlhnf/s1600/putty.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Set up the IP of the slug, the subnet mask and default gateway and the DNS server, in the native (the one the NSLU2 comes with) interface such that it is accessible from the local network and such that it has internet access. The reason for this is that the debian installation will inherit the network settings from the native setup and will use these during the setup.&lt;/li&gt;
&lt;li&gt;Download and install &lt;a href=&quot;http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html&quot;&gt;Putty&lt;/a&gt; if you are running from Windows. If running from linux, just the use the built-in ssh which is sufficient.&lt;/li&gt;
&lt;li&gt;A screendump of &lt;a href=&quot;http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html&quot;&gt;Putty&lt;/a&gt; connecting to the default IP address 192.168.1.77 is attached. The username is blanked out for security reasons. &lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1MSt2MboauzxSj7a9PimAD6epdlkye16AVZD3zedl1d_Lk4E8yaa3s1rsNS1sJLi-oOP6D8CKZRCtjUrWeBpgW3FxtPzjm3XhiKoeCvJZ1ILlPeELcanzV6DoncpekSyaEylIBL1vdYy5/s1600/putty.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;307&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1MSt2MboauzxSj7a9PimAD6epdlkye16AVZD3zedl1d_Lk4E8yaa3s1rsNS1sJLi-oOP6D8CKZRCtjUrWeBpgW3FxtPzjm3XhiKoeCvJZ1ILlPeELcanzV6DoncpekSyaEylIBL1vdYy5/s320/putty.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Find and download the Debian install firmware. &lt;b&gt;Doublecheck 3 times that you have the right firmware&lt;/b&gt;. You will find the &lt;a href=&quot;http://www.slug-firmware.net/d-dls.php&quot;&gt;latest Debian firmware here&lt;/a&gt; (on the 25th of Oct. 2010). Here I have linked to the unofficial image, which is the one I highly recommend. It is also the one I used for both of my slugs.&lt;/li&gt;
&lt;li&gt;There is a great guide on how to install Debian on NSLU2 &lt;a href=&quot;http://www.cyrius.com/debian/nslu2/install.html&quot;&gt;here on cyrius&#39; page&lt;/a&gt;. It is the guide/page that I used myself. It is also the one containing the link to the Debian firmware.&lt;/li&gt;
&lt;li&gt;Flash the slug with the downloaded firmware through the native Linksys NSLU2 interface.&lt;/li&gt;
&lt;li&gt;Turn off the slug &lt;/li&gt;
&lt;li&gt;Connect the harddrive.&lt;/li&gt;
&lt;li&gt; Turn on/reboot the slug.&lt;/li&gt;
&lt;li&gt;In Windows Connect to the slug through Putty (don&#39;t use other ways of connecting such as Cygwin, they will fail during the process). Or in Linux run the command below. In any case the username is &quot;installer&quot; and password is &quot;install&quot;.&lt;/li&gt;
&lt;/ul&gt;&lt;pre style=&quot;background-color: #cccccc;&quot;&gt;$ ssh installer@192.168.1.77&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Continue as described in &lt;a href=&quot;http://www.cyrius.com/debian/nslu2/install.html&quot;&gt;Cyrius&#39; guide&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Choose to install to entire hard drive.&lt;/li&gt;
&lt;li&gt;Just use the Next, Next, Next approach whenever presented with a choice.&lt;/li&gt;
&lt;li&gt;While the installer is downloading and installing the packages it would be a good time for you to think about what name your server should have. In case you want to make it available online and are sitting behind a dynamic public IP address, it would be a good time to check whether this name is available at dynamic DNS services such as &lt;a href=&quot;http://dyndns.com/&quot;&gt;dyndns.com&lt;/a&gt;. The thing is, that there exists a dns-updater for Debian which I use, recommend and will introduce later. Therefore I recommend dyndns.com.&lt;br /&gt;
Therefore: If you want to make the server available online, go to &lt;a href=&quot;http://dyndns.com/&quot;&gt;dyndns.com&lt;/a&gt;, find a available hostname which suits you (but choose with care as you might get unwanted visitors if you choose a domain name which is too common - Use your common sense!).&lt;br /&gt;
Create an account (might as well be with the same username as you intend to use as domain name), &quot;buy&quot; the domain name (for 0.00$), active it etc.&lt;/li&gt;
&lt;li&gt;Let the installer finish.&lt;/li&gt;
&lt;li&gt;As any guide online will tell you: &quot;it is recommended that you install the ntpdate (or ntp) package to make sure the clock is always up-to-date. &quot;&lt;/li&gt;
&lt;/ul&gt;&lt;pre style=&quot;background-color: #cccccc;&quot;&gt;$ sudo apt-get update; sudo apt-get install ntpdate &lt;/pre&gt;&amp;nbsp;or &lt;br /&gt;
&lt;ul&gt;&lt;/ul&gt;&lt;pre style=&quot;background-color: #cccccc;&quot;&gt;$ sudo apt-get update; sudo apt-get install ntp &lt;/pre&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;There, we have installed a full Debian server on your slug. You now have a full server consuming 2W+whatever your hard drive consumes. In the next few articles I will describe how to install and configure services you might need/want.&lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/937905369403068469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2010/10/how-to-install-debian-on-nslu2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/937905369403068469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/937905369403068469'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2010/10/how-to-install-debian-on-nslu2.html' title='Debian NSLU2: How to install Debian on the NSLU2'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-A0gu_wz3_q71XNua2cksZUJ2qIwOxqWIKyPw_QbGW6k4QRZfiEalYjpViso98ZzUOT70iB4YjJoby-hqBUdgWCFNHow2Zk5zD5pkPP1O2Cu9iW3yEX-q663jDwFKBHpdG1NxWlRs4bdf/s72-c/655091.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8513430720351006839.post-1352609525317268556</id><published>2010-10-21T21:33:00.001+02:00</published><updated>2010-10-21T21:39:04.671+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Backup"/><category scheme="http://www.blogger.com/atom/ns#" term="Debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Debian-Slug"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="NSLU2"/><category scheme="http://www.blogger.com/atom/ns#" term="Slug"/><title type='text'>Introducing the Linksys NSLU2</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo-YCE7TRjRlluPvNFnrtbewzxl8wjaI5wsZD_5lKRva-YxzeG5X1zmANFvKeSUqlhUdqiOp5GcFFPQ8dXo9NO4QdPP_s4gNqXc0_IGwfmy-RuF-hYV44tFRWrhp73rDQOvmAnfcdQRVAm/s1600/nslu2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo-YCE7TRjRlluPvNFnrtbewzxl8wjaI5wsZD_5lKRva-YxzeG5X1zmANFvKeSUqlhUdqiOp5GcFFPQ8dXo9NO4QdPP_s4gNqXc0_IGwfmy-RuF-hYV44tFRWrhp73rDQOvmAnfcdQRVAm/s200/nslu2.jpg&quot; width=&quot;128&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;The first series in this blog will be on my implementation of &lt;a href=&quot;http://www.debian.org/&quot;&gt;Debian Linux &lt;/a&gt;on the &lt;a href=&quot;https://www.linksysbycisco.com/UK/en/products/NSLU2&quot;&gt;Linksys NSLU2&lt;/a&gt; (&lt;a href=&quot;http://en.wikipedia.org/wiki/NSLU2&quot;&gt;Wikipedia link&lt;/a&gt;).The Linksys NSLU2 is a quite old piece of hardware, and has gone out of production. However, I was only introduced to it a couple of years ago. Since then I have bought two of them, placed them in different locations and set them both up to run Debian and to sync data to each other.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;One of them is located in my own basement, and the other in the basement of my brother. The advantage is obvious, considering that the one in my home is acting as my backup server. If I were to have a break-in or a fire, or a flood or a number of things, the other one will be a backup to my backup.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Furthermore the NSLU2 (aka the Slug) acts as file server, media server, iTunes server, running ftp server, http server and ssh server.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;However, you will not get all of this for free... Which is reason I am writing this blog series. The slug comes with a native operating system (based on some Linux distribution). However, the posibilities with this version is highly limited.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;A number of different alternative operating systems can be installed, as desribed on the website &lt;a href=&quot;http://www.nslu2-linux.org/&quot;&gt;nslu2-linux.org&lt;/a&gt;. &lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;However I chose Debian. The reason? That I then would get a full Linux server with the entire repository available on my NSLU2.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;How I did it will follow... stay updated:-)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myhowtodoit.blogspot.com/feeds/1352609525317268556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myhowtodoit.blogspot.com/2010/10/introducing-linksys-nslu2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/1352609525317268556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8513430720351006839/posts/default/1352609525317268556'/><link rel='alternate' type='text/html' href='http://myhowtodoit.blogspot.com/2010/10/introducing-linksys-nslu2.html' title='Introducing the Linksys NSLU2'/><author><name>Jari í Hjøllum</name><uri>http://www.blogger.com/profile/13622620018396629635</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo-YCE7TRjRlluPvNFnrtbewzxl8wjaI5wsZD_5lKRva-YxzeG5X1zmANFvKeSUqlhUdqiOp5GcFFPQ8dXo9NO4QdPP_s4gNqXc0_IGwfmy-RuF-hYV44tFRWrhp73rDQOvmAnfcdQRVAm/s72-c/nslu2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>