<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blog.frands.net</title>
	<atom:link href="http://blog.frands.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.frands.net</link>
	<description>Whatever I want the world to know.</description>
	<lastBuildDate>Sun, 15 Jan 2012 22:22:00 +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>Finding a live chat solution &#8211; and picking cSupport</title>
		<link>http://blog.frands.net/finding-a-live-chat-solution-and-picking-csupport-184/</link>
		<comments>http://blog.frands.net/finding-a-live-chat-solution-and-picking-csupport-184/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 22:08:11 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[HelpSoft]]></category>
		<category><![CDATA[Iværksætter]]></category>
		<category><![CDATA[Nerdy]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=184</guid>
		<description><![CDATA[How I found out In my company HelpSoft we run various websites either selling products, offering free stuff and we also own a web portal where women can find new friends. For all of these we wanted a live chat solution. Simplicity, functionality and pricing were three factors in this process. You see Zopim everywhere, so [...]]]></description>
			<content:encoded><![CDATA[<h2>How I found out</h2>
<p>In my company <a href="https://www.helpsoft.dk">HelpSoft</a> we run various websites either selling products, offering free stuff and we also own a web portal where women can find new friends.</p>
<p>For all of these we wanted a live chat solution. Simplicity, functionality and pricing were three factors in this process. You see Zopim everywhere, so we looked at that. We did try to sign up for a beta, unfortunately they don&#8217;t seem to like new customers because the required activation e-mail never arrived.</p>
<p>Sometimes in these cases, the forgotten password button is a help, but that failed too. No e-mail arrived. And ironically, their live chat support were not online.   I&#8217;m not a man who enjoys waiting a lot, if I want something I want it now, not tomorrow or whenever they feel like responding to a support ticket. So they were trashed and the whole idea of Zopim was out.</p>
<p>I visited one of my favorite web sites, <a href="http://alternativeto.net">alternativeTo</a> and did a search for Zopim.  Some very irrelevant products showed up and so did <a href="http://csupporthq.com/">cSupport</a>.</p>
<p>I had fallen in love with IM integration I read about on Zopim. cSupport did that too, limited to XMPP, but I can live with that since that&#8217;s my favorite IM protocol anyway. And a 14-day trial with no credit card required, I mean, what&#8217;s the worst that could happen?</p>
<h2>Getting started</h2>
<p>It was simple, really. I clicked the &#8220;Start trial&#8221; button and inserted a name, an e-mail address and a username. I picked the &#8220;Premium&#8221; plan, it seemed to fit our needs fine.</p>
<p><span id="more-184"></span></p>
<p>The activation e-mail arrived! YAY! And so we were started, pretty quick.  Found the JS snippet and attached it to a site or two, just for testing.</p>
<p>The sign up process is flawless, it&#8217;s simple and easy.</p>
<h2>Making it work</h2>
<p>I&#8217;m a big fan of integration, customizing and especially usability (for our users/customers). I had trouble getting the provided Javascript example code to work (not the standard one, but the one allowing me to prepopulate the form fields in the chat with info) so I contacted cSupport via the live chat on their page. I got help instantly and received a piece of JS that worked.</p>
<p>Later, the same night, I found a few bugs in the product. Nothing big and nothing that would harm your kids. Just enough to be annoying, and my first thought was &#8220;this is useless.&#8221; &#8211; that did change quite fast though!</p>
<p>I contacted the chat support again and reported my bugs, they took action immediately and within hours new code were pushed that fixed the issues. What they were isn&#8217;t important, since they have been fixed and dealt with.</p>
<h2>Ideas for improvement</h2>
<p>I have had some ideas for improvement of the system. And here&#8217;s the beautiful thing: all my requests, except for one, are either planned or already implemented, the last one is under review.</p>
<h2>Integration</h2>
<p>There are two things to integration. One is the integration on web sites, the other thing is the IM integration used for chat agents.</p>
<p>Both are <strong>very easy</strong> to wrap your head around. The web integration is simple Javascript you include on our pages and that&#8217;s it. If you want to customize it, you can do and the documentation describes this.</p>
<p>The IM integration is easy as well. Add a Jabber account to your favorite XMPP client, accept friend requests from the chat bots. And done. Ready to go!</p>
<p>The IM uses commands. Being a very UNIXy guy, this is what I like. This is what a IM session looks like seen from that agent&#8217;s side:</p>
<p><a href="http://blog.frands.net/wp-content/imtest.png"><img class="alignnone size-full wp-image-186" title="imtest" src="http://blog.frands.net/wp-content/imtest.png" alt="" width="573" height="317" /></a></p>
<h2>Conclusion</h2>
<p>cSupport is a startup. But it&#8217;s the kind of startup I like. We decided after a few days to pay for it and signed up for the paid Premium version. We have integrated it on 3 sites currently, and yes it does work multi-site.</p>
<p>I would definitely recommend cSupport to others. When you hit a bump in the road, you can get help. If you have a good idea (that makes sense) it will be considered, and in my case have several ideas implemented.</p>
<h3>Oh, and by the way</h3>
<p>I, my company HelpSoft is not in any way affiliated with cSupport. This blog post is not sponsored or an ad. It is merely my excitement I am sharing with the world.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/finding-a-live-chat-solution-and-picking-csupport-184/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated set of must-have apps for your Mac</title>
		<link>http://blog.frands.net/updated-set-of-must-have-apps-for-your-mac-178/</link>
		<comments>http://blog.frands.net/updated-set-of-must-have-apps-for-your-mac-178/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 23:40:14 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=178</guid>
		<description><![CDATA[Back in 2009 I wrote a post about the apps you must have for your Mac. Time changes, new apps are born and I discover new stuff. So this is my new updated list of the Must-Have apps I will recommend you to get if you do not already have them. 1Password This software is [...]]]></description>
			<content:encoded><![CDATA[<p>Back in 2009 <a href="http://blog.frands.net/must-have-software-for-your-mac-120/" target="_blank">I wrote a post about the apps you must have</a> for your Mac. Time changes, new apps are born and I discover new stuff. So this is my new updated list of the Must-Have apps I will recommend you to get if you do not already have them.</p>
<h2><a href="http://agilewebsolutions.com/onepassword" target="_blank">1Password</a></h2>
<p>This software is simply awesome! 1Password makes it possible for you to store all your passwords securely and gives you the ability to easily use those logins from your browser. Furthermore you can store credit card information in it, and it will be able to fill that out for you too.</p>
<h2><a href="http://adium.im/" target="_blank">Adium</a></h2>
<p>I still think that Adium is the best instant messating app for your Mac. It supports most IM protocols, and that&#8217;s about what there i to day.</p>
<h2><a href="http://macitbetter.com/" target="_blank">BetterZip</a></h2>
<p>For unpacking a wide range of archives, BetterZip really gets the job done easily.</p>
<h2><a href="http://www.techsmith.com/camtasia/" target="_blank">Camtasia</a></h2>
<p>If you make instruction video or any other kind of screencast, Camtasia is without doubt the best application for recording these sessions I have used. Not only is it very easy to start recording, it also offers to record your mic and/or the system audio. Also, editing your work afterwards is very easy.</p>
<h2><a href="http://cord.sourceforge.net/" target="_blank">CoRD</a></h2>
<p>While I think that Windows is a useless OS, CoRD is the best app for remote controlling those computers/servers running Windows via RDP.</p>
<h2><a href="http://mizage.com/divvy/" target="_blank">Divvy</a></h2>
<p>Being and old GNU/Linux desktop user, there were some things I have missed on OS X in regard to managing application windows. Divvy really makes this task easier. It gives you the ability to arrange your windows very easily and with a click on a keyboard shortcut.</p>
<h2><a href="http://www.metakine.com/products/handsoff/" target="_blank">Hands Off!</a></h2>
<p>Control which applications has access to the internet and to write files on your disk. If you&#8217;re a security paranoid like me, you will love this.</p>
<h2><a href="http://bjango.com/mac/istatmenus/" target="_blank">iStat Menus</a></h2>
<p>Keep an eye on your CPU, Disk, memory and network usage at all times right in your menu bar. Highly customizable and has a nice simple design.</p>
<h2><a href="http://limechat.net/mac/" target="_blank">LimeChat</a></h2>
<p>The IRC client to rule them all. The themes are created using standard CSS. It also gives you a small preview window which shows you everything going on in all channels you are joined in. Great if you&#8217;re curious.</p>
<h2><a href="http://www.apple.com/iwork/keynote/" target="_blank">Keynote</a></h2>
<p>PowerPoint.. seriously..met&#8230; the boss! Nuff&#8217; said.</p>
<h2><a href="http://www.navicat.com/" target="_blank">NaviCa</a>t (for MySQL)</h2>
<p>If you manage MySQL databases and you&#8217;d like something a little nicer than phpMyAdmin and you&#8217;d like something to use for building and testing queries easily, this is the tool you want.</p>
<h2><a href="http://www.panic.com/transmit/" target="_blank">Transmit</a></h2>
<p>Connect to FTP/SFTP/DAV/S3 either in Transmit or mount them as a drive. This just works beautifully and is extremely easy to use. Panic really did a great job here!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/updated-set-of-must-have-apps-for-your-mac-178/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SFTP only chroot users with OpenSSH in Debian</title>
		<link>http://blog.frands.net/sftp-only-chroot-users-with-openssh-in-debian-166/</link>
		<comments>http://blog.frands.net/sftp-only-chroot-users-with-openssh-in-debian-166/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 11:45:47 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Nerdy]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=166</guid>
		<description><![CDATA[From OpenSSH version 4.9 and up it is now possible to create chrooted SFTP-only users with OpenSSH without the need for any add-ons. In my example i want all users within the &#8220;sftp&#8221; group to hit /srv/sftponly.  This can be done on userlevel or on group level. I will be using groups. At first, use [...]]]></description>
			<content:encoded><![CDATA[<p>From OpenSSH version 4.9 and up it is now possible to create chrooted SFTP-only users with OpenSSH without the need for any add-ons.</p>
<p>In my example i want all users within the &#8220;sftp&#8221; group to hit /srv/sftponly.  This can be done on userlevel or on group level. I will be using groups.</p>
<p>At first, use your favorite editor to ecit /etc/ssh/sshd_config and find the line starting with &#8220;Subsystem sftp&#8221; (usually at the bottom) &#8211; change it so it looks like this:</p>
<blockquote><p>Subsystem sftp internal-sftp</p></blockquote>
<p>Next, we need to add the rule to match users. Add this to your sshd_config at the bottom:</p>
<blockquote>
<p>Match Group <strong>sftp</strong><br />
PasswordAuthentication yes<br />
ChrootDirectory <strong>/srv/sftponly</strong><br />
AllowTCPForwarding no<br />
X11Forwarding no<br />
ForceCommand internal-sftp</p></blockquote>
<p>Now add the sftp group:</p>
<blockquote><p>groupadd sftp</p></blockquote>
<p>Add our first user:</p>
<blockquote><p>useradd -d /srv/sftponly -g sftp -s /bin/false &lt;username&gt;<br />
passwd &lt;username&gt;</p></blockquote>
<p>Now, restart openssh:</p>
<blockquote><p>/etc/init.d/ssh restart</p></blockquote>
<p>And you should be all set. Use your favorite SFTP editor to test. Also try logging on via SSH to make sure that the user does not have access to do that.</p>
<h1>Troubleshooting</h1>
<p>Along your way some problems might occur. I will try to address the most common ones here. At first what you want to do is enable debugging in openssh so you can see in the logs what happens. Edit /etc/ssh/sshd_server &#8211; find &#8220;LogLevel&#8221; and change the setting to &#8220;DEBUG&#8221; &#8211; and restart ssh. The problems below are shown either in these logs or in the output of the &#8220;sftp&#8221; command from the client. When using the sftp client be sure to add the &#8220;-v&#8221; flag for verbose output.</p>
<p><em><strong>Problem:</strong> <span style="font-style: normal;">fatal: bad ownership or modes for chroot directory component &#8220;/&#8221;</span></em><br />
<strong>Fix:</strong> chmod 755 /</p>
<p><strong><em></em></strong></p>
<p><strong><em><em><strong>Problem: </strong> </em><span><span style="font-weight: normal;"><span style="font-style: normal;">fatal: bad ownership or modes for chroot directory &#8220;/srv/sftponly&#8221;</span></span></span><br />
<strong>Fix:</strong> <span style="font-style: normal; font-weight: normal;">Folders in the path along the way must be owned by root:root and must not be writable by anyone but root. This is because the directory we are going to use will be the root of the new users.  In my example the fix would be: chown root:root /srv ; chown root:root /srv/sftponly ; chmod 755 /srv ; chmod 755 /srv/sftponly&#8221;</span></p>
<div>
<p><em><strong>Problem:</strong> </em><span><span style="font-weight: normal; font-style: normal;">Everything seems to be OK.. The users just don&#8217;t get access. </span></span><br />
<strong>Fix:</strong> <span style="font-style: normal; font-weight: normal;">Make sure that you don&#8217;t have any whitespaces in your sshd_config after the configuration lines. In my case this caused a real pain.</span></p>
<div>
<p><span style="font-style: normal; font-weight: normal;">Hit me a comment if you experience anything strange. </span></p>
<h1><span style="font-style: normal; font-weight: normal;">Setting UMASK for SFTP users</span></h1>
<p><span style="font-style: normal; font-weight: normal;">Add this line to /etc/pam.d/sshd:</span></p>
<blockquote><p><span style="font-style: normal; font-weight: normal;">session    optional     pam_umask.so umask=0002</span></p></blockquote>
<p><span style="font-style: normal; font-weight: normal;">This particular line will make new files/folders user and group writable.</span></p>
<div>
<div></div>
</div>
</div>
</div>
<p></em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/sftp-only-chroot-users-with-openssh-in-debian-166/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do you make backup? &#8211; If you do, is your backup strategy safe?</title>
		<link>http://blog.frands.net/do-you-make-backup-if-you-do-is-your-backup-strategy-safe-164/</link>
		<comments>http://blog.frands.net/do-you-make-backup-if-you-do-is-your-backup-strategy-safe-164/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 14:19:29 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=164</guid>
		<description><![CDATA[I think server backups here. As a server administrator, there are a lot of concerns and one of the bigger ones is security. I know a whole lot of server administrators, and when I did a Q&#38;A to know about their backups I was astonished to find out that more than 30% of them did [...]]]></description>
			<content:encoded><![CDATA[<p>I think server backups here.</p>
<p>As a server administrator, there are a lot of concerns and one of the bigger ones is security. I know a whole lot of server administrators, and when I did a Q&amp;A to know about their backups I was astonished to find out that more than 30% of them did not even take backup. I got a lot of responses and there are many ways of handling your backup, but a lot of them are very very wrong and will not do you any good in case of an emergency.</p>
<p><strong>Do you even back up?</strong></p>
<p>If you do not back up your data, what will you do in case of a hardware failure? Sure, you might be running a RAID, but a RAID is no guarantee, a RAID can break and then you will loose the game.</p>
<p>If you do not take backup, what will you do in the event of a fire breaking loose and destroying everything where ever your server is placed? Is your data valuable to you?</p>
<p><strong>How do you back up?</strong></p>
<p>Making backup is good. But how do you save your backup on the remote host? A few common ways of making backup is via FTP/SFTP/rsync. So, now you&#8217;re safe, right? If a fire breaks out, water disaster, disks die and so on, you will have your backup. And that&#8217;s good.</p>
<p>If your backup is automated, then your client somehow authorized to the backup server. In most of the above mentioned cased that authentication gives you full access to the backup data! Why is that bad?  It is because an attacker that has success gaining access to your server, will be able to emulate the authentication of the automated backup and therefore be able to delete both production data AND backup data.</p>
<p>How much is your backup worth now?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/do-you-make-backup-if-you-do-is-your-backup-strategy-safe-164/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: APC UPS and Debian</title>
		<link>http://blog.frands.net/howto-apc-ups-and-debian-162/</link>
		<comments>http://blog.frands.net/howto-apc-ups-and-debian-162/#comments</comments>
		<pubDate>Thu, 25 Nov 2010 09:44:44 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Nerdy]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=162</guid>
		<description><![CDATA[So, I have a couple of NAS boxes and a laptop as server running at home. It&#8217;s all good until thunder appears. There are multiple risks with this. If the lightning strikes it can cause large surges of electricity that will destroy your equipment, if a power loss occurs it can cause the two RAID5 [...]]]></description>
			<content:encoded><![CDATA[<p>So, I have a couple of NAS boxes and a laptop as server running at home. It&#8217;s all good until thunder appears. There are multiple risks with this. If the lightning strikes it can cause large surges of electricity that will destroy your equipment, if a power loss occurs it can cause the two RAID5 setups to die and it will cause major data loss.</p>
<p>A couple of days ago I bought a UPS and set it up and now I figured I should also set it up. So I did some reading and this is my result served to make it easier for you.</p>
<p>In this guide, this setup is used:<br />
- Computer with GNU/Linux Debian Lenny<br />
-  <a href="https://www.apc.com/resource/include/techspec_index.cfm?base_sku=BR800I" target="_blank">APC Back-UPS 800</a></p>
<p>The software I use is apcupsd which is in the Debian repository. Start by installing it:</p>
<blockquote><p>apt-get update &amp;&amp; apt-get install -y apcupsd</p></blockquote>
<p>The next thing is to configure it. I did a whole lot of reading <a href="http://www.apcupsd.com/manual/manual.html" target="_blank">the manual for apcupsd</a> to make sure I did things right. When your UPS is set up, hook the USB cable into your server.</p>
<p>Go to /etc/apcupsd and edit the file apcupsd.conf</p>
<p>My UPS and most of the newer UPS&#8217;es form APC uses USB to interface with the server, and that makes it easier for us to talk to it. These are the parameters I have set:</p>
<blockquote><p>UPSCABLE usb</p></blockquote>
<p>Define that we use a USB connection to the UPS.</p>
<blockquote><p>UPSTYPE usb<br />
DEVICE</p></blockquote>
<div>Set the type to usb and leave the DEVICE property empty. By that it will find out where it is located by itself, and since we use USB it can do that.</div>
<blockquote>
<div>ONBATTERYDELAY 5<br />
BATTERYLEVEL 10<br />
MINUTES 10</div>
</blockquote>
<div>These three you should set to fit your needs. How generous you can be really depends on the amount of power you have versus the amount of power you use. My setup uses up around 85 watts, and since I have 800 VA I can keep it running for quite a while. On <a href="https://www.apc.com/resource/include/techspec_index.cfm?base_sku=BR800I" target="_blank">the product page for your UPS</a> (if it is a APC) you will find a graph that tells you how long you can have it running depending on how much power you use. If you do not have any idea whatsoever about your power usage, you should get an energy meter and measure it first. If you have an idea, buy an appropriate UPS and set the levels as above. Later I will test the communication to the UPS and that will tell you how long it can keep you running &#8211; which also means you will know how to set your thresholds.</div>
<div></div>
<div>Now, these were all the customizations I did to the config file. Edit the file /etc/default/apcupsd:</div>
<blockquote>
<div>
<div>ISCONFIGURED=yes</div>
</div>
</blockquote>
<div>If you do not do this, it will refuse to start. Next, start it:</div>
<blockquote>
<div>/etc/init.d/apcupsd start</div>
</blockquote>
<div>Now, you can issue the command &#8220;apcaccess&#8221; and it will talk to the UPS and show you some information. You should see something similar to this (and more)</div>
<blockquote>
<div>
<div># apcaccess</div>
<div>APC      : 001,044,1076</div>
<div>DATE     : Thu Nov 25 10:20:32 CET 2010</div>
<div>HOSTNAME : natalie</div>
<div>RELEASE  : 3.14.4</div>
<div>VERSION  : 3.14.4 (18 May 2008) debian</div>
<div>UPSNAME  : natalie</div>
<div>CABLE    : USB Cable</div>
<div><strong>MODEL    : Back-UPS BR  800 </strong></div>
<div>UPSMODE  : Stand Alone</div>
<div>STARTTIME: Wed Nov 24 20:30:05 CET 2010</div>
<div><strong>STATUS   : ONLINE </strong></div>
<div>LINEV    : 230.0 Volts</div>
<div><strong>LOADPCT  :  13.0 Percent Load Capacit</strong>y</div>
<div>BCHARGE  : 100.0 Percent</div>
<div><strong>TIMELEFT :  53.0 Minutes</strong></div>
</div>
</blockquote>
<div>I made three of then bold, as they will tell you something you need to know. Check that it got the MODEL right. Next, check that STATUS is ONLINE.  Check that LOADPCT is less than 90 (it&#8217;s good to have a buffer). Now, on the TIMELEFT it will tell you how long it is able to run on the batteries. If you need now, edit the conf file again and adjust the parameters to fit this, so that you have time to shut down the systems nicely.</div>
<div></div>
<div>Now your UPS setup is working. I know it can be hard, but try pulling the plug for 10 seconds and the connect it again.  You should see a couple of broadcasts on your server. Also, if you view the file /var/log/apcupsd.events you will see all the events that the UPS system logs.</div>
<div>This is a sample of my log (I also tested the shutdown process by making it shut down machines quickly after a power loss.)</div>
<blockquote>
<div>
<div>Wed Nov 24 20:22:50 CET 2010  Power failure.</div>
<div>Wed Nov 24 20:22:56 CET 2010  Running on UPS batteries.</div>
<div>Wed Nov 24 20:23:57 CET 2010  Reached run time limit on batteries.</div>
<div>Wed Nov 24 20:23:57 CET 2010  Initiating system shutdown!</div>
<div>Wed Nov 24 20:23:57 CET 2010  User logins prohibited</div>
<div>Wed Nov 24 20:24:16 CET 2010  apcupsd exiting, signal 15</div>
<div>Wed Nov 24 20:24:16 CET 2010  apcupsd shutdown succeeded</div>
</div>
<div></div>
</blockquote>
<h2><strong>Make NAS&#8217;es shutdown too! </strong></h2>
<div>In my case I have 2 NAS&#8217;es and I want them to shutdown too. It&#8217;s pretty easy to do that (when you figure it out).<br />
This is what I did:</div>
<div></div>
<div>1) ssh-keygen -t rsa<br />
2) mkdir /etc/apcupsd/keys</div>
<div>3) mv ~/.ssh/id_rsa /etc/apcupsd/keys<br />
4) chmod 600 /etc/apcupsd/keys/id_rsa</div>
<div>5) cat ~/.ssh/id_rsa.pub</div>
<div></div>
<div>Mark and copy the public key.</div>
<div>Log on to your NAS as root/admin account and do &#8220;ls -la&#8221; &#8211; if a .ssh folder is already there, go to it. if not, create it. Check if there is a file called &#8220;authorized_keys&#8221; &#8211; if not, then create it and put the key from your clipholder in it. Now go back to your server and issue this command:</div>
<blockquote>
<div>ssh -i /etc/apcupsd/keys/id_rsa -l &lt;username_for_nas&gt; &lt;ip_for_nas&gt; &#8216;ps&#8217;</div>
</blockquote>
<div>When you run that, it should show you a process list without any trouble. this process list is from the NAS &#8211; this means you can run commands on the NAS via SSH remotely now. In my case the NAS runs busybox, so to shut it down I need to run &#8220;/sbin/poweroff&#8221; so this will be the full command for me to use:</div>
<blockquote>
<div>ssh -i /etc/apcupsd/keys/id_rsa -l admin &lt;ip&gt; &#8216;/sbin/poweroff&#8217;</div>
</blockquote>
<div>Test it by running this command and see if your NAS shuts down.</div>
<div></div>
<div>Next thing you need to do is to make apcupsd do this when it shuts down. Do this by editing the file &#8220;/etc/apcupsd/apccontrol&#8221;</div>
<div></div>
<div>Find the &#8220;doshutdown&#8221; option and simply add your command BEFORE the ${SHUTDOWN} line. This is mine:</div>
<blockquote>
<div>
<div>echo &#8220;UPS ${2} initiated Shutdown Sequence&#8221; | ${WALL}</div>
<div>echo &#8220;Will now shutdown NAS systems before killing server&#8221; | ${WALL}</div>
<div>/usr/bin/ssh -l admin -i /etc/apcupsd/keys/id_rsa &lt;NAS1_IP&gt; &#8216;/sbin/poweroff&#8217;<br />
/usr/bin/ssh -l admin -i /etc/apcupsd/keys/id_rsa &lt;NAS2_IP&gt; &#8216;/sbin/poweroff&#8217;</div>
<div>${SHUTDOWN} -h now &#8220;UPS ${2} initiated shutdown&#8221;</div>
</div>
</blockquote>
<div>And voila! If a power outage occurs your NAS and server will now shut down safely.</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/howto-apc-ups-and-debian-162/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>42 reasons why the iPad is better than netbooks.</title>
		<link>http://blog.frands.net/42-reasons-why-the-ipad-is-better-than-notebooks-158/</link>
		<comments>http://blog.frands.net/42-reasons-why-the-ipad-is-better-than-notebooks-158/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 14:01:50 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=158</guid>
		<description><![CDATA[Now, in the following I take into note that the iPad is not meant as a replacement to your laptop computer. It is meant as an additional device, something extra you have. Because you like nice things. Also, the &#8220;it&#8217;s expensive&#8221; and &#8220;you need to buy&#8221; argument is used a lot of times &#8211; I [...]]]></description>
			<content:encoded><![CDATA[<p>Now, in the following I take into note that the iPad is <strong>not meant</strong> as a replacement to your laptop computer. It is meant as an additional device, something extra you have. Because you like nice things.</p>
<p>Also, the &#8220;it&#8217;s expensive&#8221; and &#8220;you need to buy&#8221; argument is used a lot of times &#8211; I see that argument as invalid. It&#8217;s not a question about money, it&#8217;s a question about whether the device is great or not.</p>
<p>Actually, all of this is nonsense, as the iPad should not be considered a replacement for a computer, as mentioned. The iPad is an extra device you get, something more, when you&#8217;re out and you DO NOT have the need for a computer, but would like to watch some movies, listen to music, read books, show your friends pictures.</p>
<p>Also, being on a flight the iPad is EXCELLENT for movies, reading and you can sit with it in a relaxed position like a piece of paper or a book.</p>
<p>As a response to: <a href="http://www.pcmag.com/article2/0,2817,2358590,00.asp">http://www.pcmag.com/article2/0,2817,2358590,00.asp </a></p>
<p>1 ) If you want an iPad you must know that you want quality and that you want to pay for the fact that the product is extremely well created and beautiful. If you are poor and you use the argument that the iPad is expensive, that only tells that you are  too poor to own it.</p>
<p>2) Beginning in november, Apple will launch iOS 4.2 for the iPad making it able to multitask.</p>
<p>3 ) Flash is annoying and it concumes a huge amount of CPU and memory. Also it introduces security issues.</p>
<p>4 ) With a photo kit an iPad does have USB. (Remember the poor argument when beginning to argument that this is pricey)</p>
<p>5 ) For the purpose of what you need an iPad for, you have absolutely no use for higher resolutions. Also, it scales down websites wonderfully.</p>
<p>6 ) If you want a bigger screen the device will be bigger and the smart size of the iPad starts to disappear.</p>
<p>7 ) You can get on-the-go charging kits for the iPad. (Don&#8217;t even think about it, poor guy)</p>
<p>8 ) Personally I have never, ever used the webcam for anything but fun and it is not something I would need in the device I use for movies and reading books.</p>
<p>9 ) You can buy a keyboard. The iPad is nice and compact without it with a wonderfully working on screen keyboard. (Again&#8230; )</p>
<p>10 ) The photo kit mentioned above you can use the USB interface from your camera or read the most commonly used card, SD. (&#8230;)</p>
<p>11 ) iPads have the potential of flash, taking over the world, doing your mom AND making coffee all at the same time.</p>
<p>12 ) The screen on a netbook is usually made from plastic that extremely easy gets scratched and ugly when exposed or just even touched. The iPad is covered with glass and made for touching. The glass on an iPad is very hard to scratch.</p>
<p>13 ) On a device the type of an iPad you do not need a faster processor.</p>
<p>14 ) On a device like an iPad you don&#8217;t need more than 64 GB space. Also, where did the &#8220;you can buy this and that but it&#8217;s too expensive&#8221; argument go here?</p>
<p>15 ) True story. A new version of the iPad with better specs will come when times require it. (No! you&#8217;re too poor! Remember that even Microsoft stated in <a href="http://www.youtube.com/watch?v=oU7feRdyQoU">their own advertisment</a> that macs are for cool people)</p>
<p>16 ) On a device like the iPad you don&#8217;t need a full blown OS. In fact that&#8217;s one of the major FEATURES of it, not having the full OS. iOS is great for touch.</p>
<p>17 ) With an iPad you can get the apps you need through iTunes.</p>
<p>18 ) Square-ish? That argument is lame. I won&#8217;t even comment further on it. The iPad can rotate, period.</p>
<p>19 ) Wireless-N is indeed fast enough for HD video. The iPad is not a replacement for a computer, it&#8217;s an additional device.</p>
<p>20 ) Aaand.. the iPad can&#8217;t?  My iPad plays 720p HD without any problems.  You would NEVER need 1080p on such a small screen! Not even if it was 13 inches.</p>
<p>21 ) The battery argument again? It was in 7.</p>
<p>22 ) But! None of them even comes close to how beautiful the iPad is.</p>
<p>23 ) &#8230; Who wants to do that?</p>
<p>24 ) Again.. enough about the money! Apple stuff is for cool people who knows that good things cost good money &#8211; and those who can afford to be awesome. Don&#8217;t make money an issue, cheap ass.</p>
<p>25 ) Again the money issue. The connector, get it!</p>
<p>26 ) More advanced? It&#8217;s just flat and boring as hell. It&#8217;s very entertaining playing games on the iPad because you interact with it. You can even play scrabble and use it as your board and have your letters on the iPhone.</p>
<p>27 ) The iPad has built in 3G and you can readch your Plex/Nine at home with it to watch TV and stuff. You won&#8217;t need legacy ports on a iPad kind of device.</p>
<p>28 ) You certainly can on the iPad too. I just bought a data card from another carrier and put it in, BAM, internet on the iPad. This argument is directly wrong.</p>
<p>29 ) Get Apple Care.</p>
<p>30 ) You can do that from iPad too.</p>
<p>31 ) Yes you can, through apps.</p>
<p>32 ) Argument based on basically thin air.</p>
<p>33 ) What are you a hundred?  Rent it online with iTunes.</p>
<p>34 ) As can you for iPad.Navigon, TomTom, CoPilot. iPad runs all iPhone apps.</p>
<p>35 ) The iPad gives you access to internet within 1 second. Also the iPad is an EMBEDDED DEVICE, not a computer.</p>
<p>36 ) Get a netbook for your child, I don&#8217;t have kids, I don&#8217;t give a crap about kid friendly.Besides, with the awesome games and the fun way to interact with them the kids will be entertained for hours with the iPad.</p>
<p>37 ) Again, go online and stream from Plex (and eyeTV). (But mommy, data is expensive, I&#8217;m poor.. waaaaaaah.. )</p>
<p>38 ) Say hi to <a href="http://itunes.apple.com/us/app/opera-mini-web-browser/id363729560?mt=8">Opera </a></p>
<p>39 ) True. Java is slow anyway so why use it? Like flash it consumes a lot of system resources.</p>
<p>40 ) iOS 4.2 in  november. it&#8217;s okay to use upcoming and &#8220;possible&#8221; and &#8220;potential&#8221; in these arguments, as used earlier with the netbooks.</p>
<p>41 ) If you don&#8217;t have a computer already, an iPad is not a device you would use. It&#8217;s not a god damn replacement, it an addition.</p>
<p>42 ) Use files and streaming instead of physical optical media.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/42-reasons-why-the-ipad-is-better-than-notebooks-158/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up OpenVPN server</title>
		<link>http://blog.frands.net/setting-up-openvpn-as-server-and-client-on-linuxmac-os-xwindows-149/</link>
		<comments>http://blog.frands.net/setting-up-openvpn-as-server-and-client-on-linuxmac-os-xwindows-149/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 09:07:10 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=149</guid>
		<description><![CDATA[Please read through the entire tutorial BEFORE doing anything. If you do not read through this you might end up with some unanswered questions on how to do something, that is actually described further down. Thanks. Test setup: XEN based VPS. 256 slice from Slicehost running Debian Lenny 64-bit Let&#8217;s get started! The first thin [...]]]></description>
			<content:encoded><![CDATA[<h2><span style="font-weight: normal; font-size: 13px;">Please read through the entire tutorial BEFORE doing anything. If you do not read through this you might end up with some unanswered questions on how to do something, that is actually described further down. Thanks.</span></h2>
<p>Test setup: XEN based VPS. 256 slice from <a href="https://manage.slicehost.com/customers/new?referrer=cd71a445046c4fdc068346a1065aebbf" target="_blank">Slicehost</a> running Debian Lenny 64-bit</p>
<p>Let&#8217;s get started!</p>
<p>The first thin you want to do is install OpenVPN:</p>
<blockquote><p>apt-get update &amp;&amp; apt-get install -y openvpn</p></blockquote>
<p>If everything above goes as it should, OpenVPN is now installed and we will continue to configuring it.</p>
<p>The following 4 commands will go to the configuration directory, copy easy-rsa (which we will use), copy a sample of the configuration file and unpack the sample.</p>
<blockquote><p>cd /etc/openvpn<br />
cp /usr/share/doc/openvpn/examples/easy-rsa/2.0/* .<br />
cp /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz .<br />
gunzip server.conf.gz</p></blockquote>
<p>Now that these files are in place it&#8217;s time to start creating keys and configuration. For this we will use the <a href="http://openvpn.net/index.php/open-source/documentation/miscellaneous/77-rsa-key-management.html" target="_blank">easy-rsa</a> package supplied by OpenVPN. This package makes the creation and signing of keys much easier.</p>
<p>Next thing we are going to do is set the variables for easy-rsa to use. These must be set every time you want to use easy-rsa if you have been logged out!</p>
<blockquote><p>. ./vars<br />
source ./vars</p></blockquote>
<p>Make sure that our directory for keys exists, has the correct settings and such. <strong>Note! </strong>If  you have any keys at this point, they will be removed!</p>
<blockquote><p>./clean-all</p></blockquote>
<p>Set up your <a href="http://en.wikipedia.org/wiki/Certificate_authority" target="_blank">Certificate Authority</a></p>
<blockquote><p>./build-ca</p></blockquote>
<p>We need a certificate and a key for the server itself, let&#8217;s build those. The second argument is the name of the server. If you choose to change this from server (there&#8217;s not really a reason to do so), then remember to change this as well in the config changes we make later on.</p>
<p>During the build-key-server process you will be asked for various information, you can choose to change this if you want, but for the setup to work it is not necessary. Just make sure that Common Name is server</p>
<blockquote><p>./build-key-server server</p></blockquote>
<p>We need to build the <a href="http://en.wikipedia.org/wiki/Diffie–Hellman_key_exchange" target="_blank">Diffie-Hellman</a> parameters.</p>
<blockquote><p>./build-dh</p></blockquote>
<p>We are basically done with building the server now, but at this point no users will be able to log on and use the VPN. We use the build-key command (remember that vars MUST be set for this to work, if you want to create users at a later time). I will create a user called &#8220;fbh&#8221; for myself.</p>
<p>Again, I will be asked for some information and again I can choose whether to enter this or not.</p>
<blockquote><p>./build-key fbh</p></blockquote>
<p>Next thing we need to do is edit the server configuration file to know where these keys are located, use your favorite editor and open the server.conf file and find the part that holds paths to keys. Change it as following. (Note! If you change the servername from &#8220;server&#8221; above, this is where you need to change the keyname)</p>
<blockquote><p>ca /etc/openvpn/keys/ca.crt<br />
cert /etc/openvpn/keys/server.crt<br />
key /etc/openvpn/keys/server.key</p>
<p># And a little further down</p>
<p>dh /etc/openvpn/keys/dh1024.pem</p></blockquote>
<p>For now, leave all other parameters  at the default.</p>
<p>You are now done with a basic OpenVPN server. If the LAN you are connected to uses the range 10.8.0.0/24 currently, you should edit the server.conf file and find the line that says &#8220;server 10.8.0.0 255.255.255.0&#8243; and change it to something else, otherwise you will encounter a conflict!</p>
<h2>Tunnel internet access through the VPN as well</h2>
<p>With the above setup you will be connected via VPN to the network of the VPN server, however you will not be browsing the internet through the VPN server. As you might think, <strong>this configuration is not done in the client.</strong> You will need some changes to the OpenVPN server for this to work, as the server pushes configuration to the client.</p>
<p>Again, edit /etc/openvpn/server.conf and add the following line to it:</p>
<blockquote><p>push &#8220;redirect-gateway def1&#8243;</p></blockquote>
<p>Now it will set the client&#8217;s default gateway to go through the OpenVPN server upon connect &#8211; however, it will not work yet and there are multiple things to this.</p>
<p>At first, you might currently be using your ISP&#8217;s DNS servers, and they will probably not allow you to do recursive lookups when not connected through their network. So you need to push a set of open DNS server as well, or set up your own on the server (this tutorial does not cover that). In this tutorial we will use Level 3 Communications DNS, as they have a set of free, public DNS servers that responds quickly. Add these lines to your configuration:</p>
<blockquote><p>push &#8220;dhcp-option DNS 4.2.2.1&#8243;<br />
push &#8220;dhcp-option DNS 4.2.2.2&#8243;<br />
push &#8220;dhcp-option DNS 4.2.2.3&#8243;</p></blockquote>
<p>We&#8217;re getting closer now, but it might STILL not work. Also, you must have NAT between eth0 and tun0 enabled in iptables. You will need to know the name of your public interface to do this. In most cases it&#8217;s eth0. To enable it run these commands:</p>
<blockquote><p>/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE<br />
/sbin/iptables -A FORWARD -i eth0 -o tun0 -m state –state RELATED,ESTABLISHED -j ACCEPT<br />
/sbin/iptables -A FORWARD -i tun0 -o eth0 -j ACCEPT</p></blockquote>
<p>If you want these to be run whenever the server reboots, to make sure this works, add the 3 lines to /etc/rc.local before the &#8220;exit 0&#8243; line. This script is being run every time a multiuser level is started up on the server.</p>
<p>Almost there! The last thin you need is to enable forwarding, do this with:</p>
<blockquote><p>echo 1 &gt; /proc/sys/net/ipv4/ip_forward</p></blockquote>
<p>And done! Restart OpenVPN and make sure that it starts up</p>
<blockquote><p>/etc/init.d/openvpn restart</p></blockquote>
<p>Your VPN server is now able to tunnel connections and you are able to connect to the internet through it.</p>
<p>When I have the time, I will be publishing a tutorial on setting up clients as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/setting-up-openvpn-as-server-and-client-on-linuxmac-os-xwindows-149/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post Danmark? Latterligt!</title>
		<link>http://blog.frands.net/post-danmark-latterligt-145/</link>
		<comments>http://blog.frands.net/post-danmark-latterligt-145/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 17:10:58 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[Rant'n'rave]]></category>
		<category><![CDATA[Idioti]]></category>
		<category><![CDATA[Post Danmark]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=145</guid>
		<description><![CDATA[De kære fjolser i Post Danmark vil gerne have os til at sende mere post. Det gør vi ikke &#8211; og jeg gør slet ikke. Jeg startede egentlig med at sende fakturaer fra mit firma ud med posten, fordi det så pænt og professionelt ud at gøre dette. Men er du egentlig klar over hvad det [...]]]></description>
			<content:encoded><![CDATA[<p>De kære fjolser i Post Danmark vil gerne have os til at sende mere post. Det gør vi ikke &#8211; og jeg gør slet ikke. Jeg startede egentlig med at sende fakturaer fra mit firma ud med posten, fordi det så pænt og professionelt ud at gøre dette.</p>
<p>Men er <strong>du </strong>egentlig klar over hvad det koster for en virksomhed at lave en regning? Undrer du dig over at du måske skal betale 15-20 kroner for at få tilsendt din telefonregning med posten? Jeg er nødt til at lave et sidespring fra hovedemnet her, for det er egentlig endnu en spændende ting. Jeg laver lige et kort regnestykke for hvad det koster<em> </em>at lave en regning.</p>
<p>Brevpapir med logo mv. &#8211; ca. 30 øre pr. stk.<br />
Udskrift af regning, slid på printerudstyr ca. 50 øre pr. stk.<br />
<strong>I alt pr. ark &#8211; 80 øre</strong></p>
<p>Konvolut med logo og afsender ca. 1.25 kr. pr. stk.<br />
Porto &#8211; 5,50 kr &#8211; max 50 gram.</p>
<p>En typisk telefonregning eller lignedne er der ca. 3 ark. Så udgiften for virksomheden der sender regningen er:<br />
3 x 0,80 = 2,4 kr<br />
Konvolut og Porto = 6,75<br />
<strong>Total 9,15 kr</strong> (og den pris gælder kun til Januar 2011, så <a href="http://finans.tv2.dk/nyheder/article.php/portoen-stiger-til-8-kroner/?id=30830387" target="_blank">stiger portoen til 8 kroner</a> for et normalt brev. Så bliver totalprisen <strong>11,65 kr</strong>)</p>
<p>Oven i den udgift kommer naturligvis administrationen af IT systemet til at lave skidtet, løn til de mennesker der skal lave trykket og så videre. Når alt kommer til alt, så vil jeg tro at en prissætning på 18 kroner for at få en regning på papir er lavt sat.</p>
<p><strong>Nå, men tilbage til emnet!</strong></p>
<p>Fordi det er så dyrt at sende mine regninger med posten, så ryger de nu i en e-mail i stedet. Jeg trykker på en knap i mit regnskabssystem og vupti så er der sendt en e-mail med en regning, nemt og bekvemt &#8211; i modsætning til at bruge tid og energi på det andet. Da man er en mindre virksomhed så skal man i øvrigt også afsted og finde en postkasse at putte sit brev i.</p>
<p>Fordele ved at sende det med Post Danmark:<br />
- Det virker professionelt (Et fungerende IT system er mindst lige så professionelt som en printer)<br />
- Det ser pænt ud</p>
<p>Ulemper ved at sende med Post Danmark:<br />
- Det koster penge<br />
- Det tager tid<br />
- Post Danmark er gode til at smide breve væk<br />
- Hos kunden bliver et stykke papir lettere væk<br />
- Man kan ikke copy/paste kontonumre og beløb ind i sin netbank<br />
- Det koster penge (Ja, igen, for det koster mange penge)</p>
<p>Altå, min konklusion er at det er ALT for dyrt og besværligt at sende et brev. Der er også en artikel i Information hvor der snakkes om <a href="http://www.information.dk/198719" target="_blank">hvad uddeling af post betyder for miljøet </a>- og det er da meget godt, men den kære repræsentant fra <strong>Post Danmark</strong> glemmer også ting. Artiklen glemmer fakta.</p>
<p>Han skriver: <em>&#8220;Og det er formentlig en overraskelse for mange, at den største belastning opstår, når brevet skrives på computer.&#8221;</em> &#8211; men HVAD er udledningen i forhold til at skrive skidtet i hånden? Der er ingen konkrete tal. Når han er så præcis, har han så også regnet på CO2 udledningen ved fremstilling af det skriveredskab man skal bruge til at skrive med?</p>
<p>Han glemmer også at de fleste tager BILEN når de skal i postkassen &#8211; og der udleder vi blot ved at køre 200 meter tilsyneladende samme mængde CO2 som Post Danmark bruger på resten af forløbet. Derudover, så har postbudet på den vej jeg bor ikke en cykel med en EU scooter, er dens udledning medregnet?</p>
<h2>Importopkrævninger</h2>
<p>Til at starte med vil jeg vise dig en importopkrævning jeg har fået fra Post Danmark, kig godt på beløbene før du læser videre:</p>
<p><a href="http://blog.frands.net/wp-content/importopkraevning.jpg"><img class="alignnone size-medium wp-image-146" title="importopkraevning" src="http://blog.frands.net/wp-content/importopkraevning-210x300.jpg" alt="importopkraevning" width="210" height="300" /></a></p>
<p>Jeg har bestilt en DVD med en dokumentarfilm på, den kostede $30 og momsen af varen er derfor 45 kroner. Det er OK. Men se deres gebyr!</p>
<p>Gebyret for at betale 45 kroner er intet mindre end <strong>160 kroner</strong>! Post Danmark forstår VIRKELIG hvordan man tjener penge, når ens primære forretning er noget skrammel som ingen gider bruge. Det her er grunden til at monopol er noget fanden har skabt. Den DVD jeg har bestilt som til at starte med kostede 180 kroner kommer altså nu til at koste <strong>385 kroner! </strong> Det er en helt fuldstændig åndssvag mængde penge for en DVD.</p>
<p>Egentlig var det en <a href="http://www.attitudeisaltitude.com/store.php" target="_blank">DVD jeg meget gerne ville se</a>, men jeg synes at et gebyr på 160 kroner er fuldstændig urimeligt, så jeg har valgt at betragte de ca. 200 for DVD og forsendelse som tabte penge. Penge jeg hellere vil tabe end jeg vil give de 160 kroner til Post Danmark.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/post-danmark-latterligt-145/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Er livet virkelig så trist?</title>
		<link>http://blog.frands.net/er-livet-virkelig-sa-trist-139/</link>
		<comments>http://blog.frands.net/er-livet-virkelig-sa-trist-139/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 14:04:46 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[Rant'n'rave]]></category>
		<category><![CDATA[Society]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=139</guid>
		<description><![CDATA[Som så mange andre danskere og for den sags skyld også alle andre nationaliteter, så har jeg en Facebook konto. Jeg skal have mit daglige gossipfix og vi ved alle, at den eneste grund til at logge på Facebook jævnligt, er for at få det fix. Nå, men det her blogindlæg handler egentlig om, at [...]]]></description>
			<content:encoded><![CDATA[<p>Som så mange andre danskere og for den sags skyld også alle andre nationaliteter, så har jeg en Facebook konto. Jeg skal have mit daglige gossipfix og vi ved alle, at den eneste grund til at logge på Facebook jævnligt, er for at få det fix.</p>
<p>Nå, men det her blogindlæg handler egentlig om, at jeg synes folk er ufatteligt negative. Det er ikke hver dag, men hver ENESTE dag, der er en eller anden som skal beskrive at en eller anden har været et svin fordi bla bla. At alt bare er træls og det hele er imod én.</p>
<p>I min verden, så er livet præcist så godt (eller skidt) som vi gør det til. Hvis man stiller glasset ude på kanten af bordet, så falder det ned på et eller andet tidspunkt. Der er rigtig mange mennesker der hele tiden stiller glasset på kanten af bordet.</p>
<p>Hvis man gang på gang bliver røvrendt af de mennesker man omgås, så bør man måske overveje om det er de rigtige typer af mennesker man omgås, fremfor at finde flere fjolser og så gang på gang blive skuffet og ked af det over dem?</p>
<p>Tit ser man folk, der om morgenen skriver &#8220;alt er planlagt, det er bare perfekt! det bliver en fantastisk dag&#8221; &#8211; med det, så har de folk sat deres <strong>forventninger </strong>efter at alt er perfekt og der skal således ikke ret meget til før end, at man om aftenen kan læse &#8220;det har været en lortedag! Alt gik galt, det begyndte at regne! Alt mit nye tøj er vådt og beskidt. pis .Hvorfor er der bare ALDRIG noget der lykkedes for mig?&#8221; &#8211; jeg er af den overbevisning at i langt de fleste tilfælde, så er det fordi man vælger at det skal gå en imod. I stedet for at blive muggen over, at det regner, så burde man måske købe en paraply og nyde det selskab man er i alligevel?</p>
<p>Altså.. afstem sine forventninger og skru drastisk ned for dem. Håb på det bedste, men lad være med at blive skide sur, hvis det hele ikke kører efter din bog. Nyd tingene som de er. Er der noget der går dig skævt, så se at kom videre i stedet for at sidde fast. Lad være med at bære nag, lad være med at være pissesur over ting der ikke rager dig eller ting som du alligevel UMULIGT kan ændre. &#8220;Fuck jeg hader det fucking lortevejr og det her lorteland fordi vejret stinker så meget. Fuck jeg hader at Brugsen er begyndt at lukke kl. 17 i stedet for 18, fuck dem de fucking røvhuller! Nu nåede jeg ikke at handle.&#8221; Det er ting som du ingen jordisk chance har, for at gøre noget ved &#8211; så hvorfor lade dig irritere og blive sur af det? Køb en pizza og så husk, at fremover er det inden kl. 17 du handler.</p>
<p>Prøv at husk på nogle af de små ting, som er helt fantastiske. Når det regner, så gå ud på en græsmark, luk øjnene og mærk hvor dejlig luften omkring dig er <strong>lige nu</strong> &#8211; ikke i går og ikke i morgen.  Når græsset lige er blevet klippet, så stop op et øjeblik og nyd den dejlige duft af nyklippet græs, eller når du alligevel kører forbi en rapsmark, så stå ud og se det smukke syn.</p>
<p>Prøv også at gøre en god gerning for nogle andre mennesker, som er 100% uopfordret og så mærk efter hvor en dejlig følelse det er at have gjort noget godt for nogen andre, som ingen forventinger havde til dig. Du vil blive overrasket.</p>
<p>Jeg har også fundet et klip af Nick Vujicic, et menneske der i høj grad er livsbekræftende. Det er der mange der kunne lære noget af.</p>
<p><object width="560" height="340" data="http://www.youtube.com/v/ciYk-UwqFKA&amp;hl=en_US&amp;fs=1&amp;hd=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/ciYk-UwqFKA&amp;hl=en_US&amp;fs=1&amp;hd=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>Jeg er af den helt klare overbevisning, at vi skaber vores egen lykke. Det er NU vi har livet og det er NU vi skal nyde det og få det absolut bedste ud af det. Der er ingen himmel hvis du opfører dig pænt &#8211; og der er heller ikke et helvede hvis du bare fyrer den af. Hvis det skal koste mig 10-12 år i den anden ende, at have levet mit liv til fulde, så skide værre med det! Hellere 60-70 indholdsrige og fantastiske år end 80-90 røvsyge år, hvor det hele er gået op i at tage hensyn og forbehold.</p>
<h1>Livet er fantastisk!</h1>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/er-livet-virkelig-sa-trist-139/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Useriøs hosting!</title>
		<link>http://blog.frands.net/useri%c3%b8s-hosting-135/</link>
		<comments>http://blog.frands.net/useri%c3%b8s-hosting-135/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 07:55:46 +0000</pubDate>
		<dc:creator>Frands</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Nerdy]]></category>
		<category><![CDATA[Rant'n'rave]]></category>

		<guid isPermaLink="false">http://blog.frands.net/?p=135</guid>
		<description><![CDATA[Som du måske har bemærket (hvis du har læst mine tidligere indlæg..) så er en af mine interesser hosting. Sjovt nok, lever jeg af hosting og ud over at leve af det, så snuser jeg også rundt og ser hvad andre har at byde på. Jeg møder mange ting rundt omkring, som jeg synes er [...]]]></description>
			<content:encoded><![CDATA[<p>Som du måske har bemærket (hvis du har læst mine tidligere indlæg..) så er en af mine interesser hosting. Sjovt nok, lever jeg af hosting og ud over at leve af det, så snuser jeg også rundt og ser hvad andre har at byde på.</p>
<p>Jeg møder mange ting rundt omkring, som jeg synes er super fede &#8211; men jeg møder også ting, som jeg virkelig synes er til grin. Der er dog én ting, som jeg synes går igen og igen. Udbyderne <strong>mangler SSL kryptering</strong> på deres kontrolpaneler og deres webmail.</p>
<p>Nogle vil kalde mig sikkerhedsparanoid, men det kan jeg ikke tage mig af. Hvis man først er i gang med at sniffe trafik, så er en af de letteste ting i verden at sniffe trafik der sendes i clear text.</p>
<p>Først, hvis du ikke helt er klar over, hvad jeg ævler om, så se min screencast der omhandler emnet:</p>
<p><a href="http://frands.net/screencasts/httpvshttps" target="_blank"><img class="alignnone size-full wp-image-137" title="Screencast" src="http://blog.frands.net/wp-content/scast.jpg" alt="Screencast" width="600" height="405" /></a></p>
<p>Hvis du ikke allerede vidste det, så ved du en lille smule mere om sikkerhed nu. Så langt så godt.</p>
<p>Problemet i det hele er at mange hostingvirksomheder ikke sørger for at SSL kryptere forbindelsen til f.eks. deres kontrolpanel eller deres webmail.</p>
<p>Set med mine øjne, så er dette <strong>meget kritisk</strong> da man jonglerer rundt med folks private data. Nogle vil så argumentere med at SMTP jo alligevel ikke er krypteret, eller at de fleste kunder alligevel uploader data via en ukrypteret FTP forbindelse.</p>
<p>Det er bare ikke et holdbart argument, for der er ingen grund til at gøre tingene værre end de er. Dernæst, så er risikoen for at data opsnappes på en webmail væsentligt større end den er på f.eks. FTP.  Mange mennesker kigger på deres Webmail alle mulige steder men de logger ikke på FTP og uploader ting og sager fra f.eks. en hurtig netcafe i luftnavnen.</p>
<p>Jeg har kigget på lidt forskellige hostingselskaber, og vil derfor her komme med en kort forklaring på hver af dem, om de benytter SSL eller ej. Bemærk! At dette kendetegner hvordan tingene ser ud d. 22/03-2010.</p>
<p><strong>Inforce A/S: </strong>Hos Inforce A/S eller Webhotel.net er der ingen kryptering på kontrolpanel og webmail. Deres OWA er der kryptering på.</p>
<p><strong>UnoEuro.com: </strong>Hos UnoEuro er der SSL på kontrolpanelet, men som standard på Webmail er der ingen kryptering. Man kan vælge &#8220;sikker forbindelse&#8221; &#8211; men så bruges et self-signed certifikat. <a href="http://webdesign.about.com/od/ssl/a/signed_v_selfsi.htm" target="_blank">Læs lidt om forskellen på self-signed og signed</a>.</p>
<p><strong>Web10: </strong>Web10 har ingen SSL kryptering på hverken webmail eller kontrolpanel.</p>
<p>One.com, SurfTown.dk og Gigahost.dk benytter alle 3 SSL kryptering på både webmail og kontrolpanel.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.frands.net/useri%c3%b8s-hosting-135/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

