<?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>Snackycracky Techblog&#187; Snackycracky Blog</title>
	<atom:link href="http://blog.srvme.de/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.srvme.de</link>
	<description></description>
	<lastBuildDate>Mon, 14 Jun 2010 21:33:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>my little grails startup script</title>
		<link>http://blog.srvme.de/2010/05/07/my-little-grails-startup-script/</link>
		<comments>http://blog.srvme.de/2010/05/07/my-little-grails-startup-script/#comments</comments>
		<pubDate>Fri, 07 May 2010 18:31:30 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[fedora]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://blog.srvme.de/?p=710</guid>
		<description><![CDATA[#!/bin/bash &#160; pidFile=~/.appName.pid &#160; oldPid=`cat $pidFile` &#160; echo &#34;killing $oldPid&#34; kill -9 $oldPid &#160; date=`/bin/date +%Y-%m-%d:%H:%M:%S` echo &#34;the date for stacktrace is: $date&#34; appName=&#34;$GRAILS_HOME/bin/grails -Dserver.port.https=9098 -Dserver.port=9089 -Dbase.dir=/srv/appName prod run-app -https&#34; &#160; cd /srv/appName git pull &#160; $appName &#62; /srv/appName/stacktrace-$date.log &#38; &#160; pid=$! &#160; echo $pid &#62; $pidFile &#160; #mysql -e 'drop database appName;create database appName;' [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #007800;">pidFile</span>=~<span style="color: #000000; font-weight: bold;">/</span>.appName.pid
&nbsp;
<span style="color: #007800;">oldPid</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$pidFile</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;killing <span style="color: #007800;">$oldPid</span>&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #660033;">-9</span> <span style="color: #007800;">$oldPid</span>
&nbsp;
<span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">date</span></span>=<span style="color: #000000; font-weight: bold;">`/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>Y-<span style="color: #000000; font-weight: bold;">%</span>m-<span style="color: #000000; font-weight: bold;">%</span>d:<span style="color: #000000; font-weight: bold;">%</span>H:<span style="color: #000000; font-weight: bold;">%</span>M:<span style="color: #000000; font-weight: bold;">%</span>S<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;the date for stacktrace is: <span style="color: #007800;">$date</span>&quot;</span>
<span style="color: #007800;">appName</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$GRAILS_HOME</span>/bin/grails -Dserver.port.https=9098 -Dserver.port=9089 -Dbase.dir=/srv/appName prod run-app -https&quot;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>appName
git pull
&nbsp;
<span style="color: #007800;">$appName</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>srv<span style="color: #000000; font-weight: bold;">/</span>appName<span style="color: #000000; font-weight: bold;">/</span>stacktrace-<span style="color: #007800;">$date</span>.log  <span style="color: #000000; font-weight: bold;">&amp;</span> 
&nbsp;
<span style="color: #007800;">pid</span>=<span style="color: #007800;">$!</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$pid</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$pidFile</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#mysql -e 'drop database appName;create database appName;'</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#mysql appName &lt; /Users/nils/dev/appName/docs/appName.sql</span></pre></div></div>

<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d710').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d710" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F&amp;submitHeadline=my+little+grails+startup+script&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F&amp;title=my+little+grails+startup+script" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F&amp;title=my+little+grails+startup+script" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F&amp;title=my+little+grails+startup+script" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F&amp;bm_description=my+little+grails+startup+script" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F&amp;T=my+little+grails+startup+script" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F&amp;title=my+little+grails+startup+script" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F&amp;title=my+little+grails+startup+script" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+my+little+grails+startup+script+@+http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2010%2F05%2F07%2Fmy-little-grails-startup-script%2F&amp;t=my+little+grails+startup+script" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d710').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d710').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2010/05/07/my-little-grails-startup-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fedora install tutorial on a xen vps minimal installation</title>
		<link>http://blog.srvme.de/2009/01/19/setting-up-my-new-vserver/</link>
		<comments>http://blog.srvme.de/2009/01/19/setting-up-my-new-vserver/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 12:31:07 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[.htpasswd]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[asynchrounous]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bashrc]]></category>
		<category><![CDATA[decrypt]]></category>
		<category><![CDATA[echo new line]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[gnupg]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux tutorial]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[rsa]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[vimrc]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[vncserver]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[xstartup]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=232</guid>
		<description><![CDATA[in my eyes i got a good and cheap vps from ispone-business.de; the xl package there. when everything turns out ok with that company than i am adding 512 Mb RAM for 60 Euro once to have one gig of RAM. i choosed fedora 9 for the os. so here is what i did: first [...]]]></description>
			<content:encoded><![CDATA[<p>in my eyes i got a good and cheap vps from ispone-business.de; the xl package there.  when everything turns out ok with that company than i am adding 512 Mb RAM for 60 Euro once to have one gig of RAM. i choosed <strong>fedora 9</strong> for the os.  so here is what i did:  first root login:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>adduser username
passwd username
echo 'username ALL=(ALL) ALL' &gt;&gt; /etc/sudoers #allowes user to <strong>use sudo</strong>
su username
echo 'export PATH=$PATH:/sbin' &gt;&gt; ~/.bashrc #<strong>adding /sbin to my path</strong>
echo -e 'syntax on\nset number' &gt; ~/.vimrc #this <strong>enables syntax and line numbers for vim</strong></pre>
</ul>
<p>exit out of the system for an easy login with</p>
<h2>asynchrounous key authentication</h2>
<p>from the local machine:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>ssh-keygen -t rsa
ssh username@remote-host mkdir -p .ssh
cat ~/.ssh/id_rsa.pub | ssh username@remote-host 'cat &gt;&gt; .ssh/authorized_keys2'</pre>
</ul>
<p>i had to change permissions on the remote machine for the .ssh dir like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>chmod 700 ~/.ssh &amp;&amp; chmod 640 ~/.ssh/authorized_keys2</pre>
</ul>
<p>the last thing i did was to <strong>change the port of ssh</strong> to something other than 22. Edit the</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>/etc/ssh/sshd_config</pre>
</ul>
<p>and uncomment port, also set the port to something else at the top of the file. Next change the</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>/etc/sysconfig/iptables</pre>
</ul>
<p>content to ACCEPT the same port (the line with -dport 22). Afterwards restart both with</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo service iptables condrestart &amp;&amp; sudo service sshd restart</pre>
</ul>
<h2>install X and Gnome for vnc:</h2>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo yum groupinstall "X Window System" "GNOME Desktop Environment" &amp;&amp; sudo yum install vnc-server</pre>
</ul>
<p>IMPORTANT: disable the NetworkManager on runlevel 3 :</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo chkconfig --level 3 NetworkManager off</pre>
</ul>
<p>or otherwise the NetworkManager shuts down the network interface while restarting because i am on a fixed network. Read <a href="http://fedoraproject.org/wiki/Tools/NetworkManager#NetworkManager" target="_blank">this</a> for more information. Optional you can restart the vps for testing.</p>
<p>Start and stop the vncserver once so it creates a .vnc dir with the xstartup file. Start it by just typing</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>vncserver &amp;&amp; vncserver -kill :1</pre>
</ul>
<p>the :1 stands for Display number one, the port for this display is 5901. The :1 and the last number of 5901 change synchronously.</p>
<p>i wanted <strong>gnome</strong> to be my <strong>desktop layout</strong>. If you want that too edit the</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>~/.vnc/xstartup</pre>
</ul>
<p>file and replace</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>twm &amp;</pre>
</ul>
<p>by</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>exec gnome-session &amp;</pre>
</ul>
<p>edit</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>/etc/sysconfig/vncservers
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 1223px; width: 1px; height: 1px;">20  VNCSERVERS="1:nilsen31 2:robert31 3:partyplan"</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 1223px; width: 1px; height: 1px;">21  VNCSERVERARGS[1]="-geometry 1280x700 -nolisten tcp -nohttpd -localhost "22  VNCSERVERARGS[2]="-geometry 1280x800 -nolisten tcp -nohttpd -localhost "</div>
</pre>
</ul>
<p>and uncomment the last two lines. this enables some security settings: prevent http connctions and just allows tunnels.</p>
<p>Change the username and display number for your needs and set the geometry settings accordingly. The array index of the</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>VNCSERVERARGS[x]</pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">VNCSERVERS="1:someuser1 2:someuser2 3:someuser3"
VNCSERVERARGS[1]="-geometry 1280x700 -nolisten tcp -nohttpd -localhost "
VNCSERVERARGS[2]="-geometry 1280x800 -nolisten tcp -nohttpd -localhost "
...</pre>
</ul>
<p>stands for the display number, so change it accordingly.</p>
<p>turn the vncserver it on with:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo chkconfig vncserver on</pre>
</ul>
<p>i recommend <strong>a </strong><strong>secure connection to your remote display</strong>. This is done by building a tunnel under the ssh connection.</p>
<p>Here is the quote from the ssh manual pages for the -L option:  &#8220;Specifies that the given port on the local (client) host is to be  forwarded to the given host and port on the remote side.&#8221; doing this looks like this</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>ssh -L 5901:localhost:5901 user@remote-host</pre>
</ul>
<p>the number before and after the hostname stands for the incoming and outgoing port. The best vnc viewer for osx is, and i tried like five of them, &#8220;chicken of the vnc&#8221;. Be sure to open the port 5901 in the iptables config file. Connect to localhost on Display 1 in the program.    at my local machine i made a file called remote.sh which lets me <strong>connect quickly to the remote machine</strong> by executing it.</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>echo '#!/bin/bash' &gt; remote.sh &amp;&amp; echo 'ssh -L 5901:localhost:5901 user@remote-host -p port-number' &gt;&gt; remote.sh &amp;&amp; chmod 700 remote.sh</pre>
</ul>
<p>now i just have to type ~/rem, tab(for autocompletion) and return to get in.</p>
<h2>install java &amp; Co</h2>
<p>install c/c++ first:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo yum install compat-gcc-34 compat-gcc-34-c++ libstdc++.so.5</pre>
</ul>
<p>go to the /tmp dir and wget something from http://java.sun.com/javase/downloads/index.jsp</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>cd /tmp
chmod u+x downloadedFile.bin #so it can be executed
./downloadedFile.bin #execute the file
echo -e 'export JAVA_HOME=/usr/local/java/jdk\nexport PATH=$PATH:$JAVA_HOME/bin' &gt;&gt; ~/.bashrc #set JAVA_HOME and add it to your PATH
bash #get a new instance of the shell
java -version #check if it works.</pre>
</ul>
<h3>install maven2</h3>
<p>wget maven2 from <a href="http://maven.apache.org/download.html" target="_blank">here </a></p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>tar xjvf apache-maven-2.0.9-bin.tar.bz2 #extract the archive</pre>
</ul>
<p>move the extracted folder to /usr/local/java/maven2</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>echo -e 'export MAVEN_HOME=/usr/local/java/maven2/\nexport PATH=$PATH:$MAVEN_HOME/bin' &gt;&gt; ~/.bashrc
bash #get a new instance of the bash
mvn -version #check if it works.</pre>
</ul>
<h2>apache &amp; mysql</h2>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo yum install mysql mysql-server mysql-devel phpMyAdmin
sudo chgrp -R mysql /var/lib/mysql  &amp;&amp; sudo chmod -R 770 /var/lib/mysql
sudo service mysqld start &amp;&amp; sudo chkconfig mysqld on
mysqladmin -u root password changeme #set the root password
sudo service httpd start &amp;&amp; sudo chkconfig httpd on
chkconfig --list | grep "mysqld\|httpd" #just testing</pre>
</ul>
<p>add the ports 80 and 443 to /etc/sysconfig/iptables</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">-A INPUT -p tcp --dport 80 -j ACCEPT
-A INPUT -p tcp --dport 443 -j ACCEPT
<span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, fantasy;line-height:19px;white-space:normal;font-size:13px;">
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">sudo service iptables condrestart</pre>
<p></span></pre>
</ul>
<p>edit  /etc/httpd/conf.d/phpMyAdmin.conf for access only on 127.0.0.1 and https.</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>RewriteEngine on
RewriteCond   %{SERVER_PORT}  !^443$
RewriteRule ^/phpMyAdmin(.*)$ https://%{HTTP_HOST}/phpMyAdmin$1 [L,R]

Alias /phpMyAdmin /usr/share/phpMyAdmin
&lt;Directory /usr/share/phpMyAdmin/&gt;
       order deny,allow
       deny from all
       allow from 127.0.0.1
&lt;/Directory&gt;
# This directory does not require access over HTTP - taken from the original
# phpMyAdmin upstream tarball
&lt;Directory /usr/share/phpMyAdmin/libraries&gt;
       Order Deny,Allow
       Deny from All
       Allow from None
&lt;/Directory&gt;</pre>
</ul>
<p>for later backup put the password for mysqldump in ~/.my.cnf<br />
the content should look like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>[mysqldump]
password = cleartextpwd</pre>
</ul>
<p>afterwards set the acl to 700</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>chmod 700 ~/.my.cnf</pre>
</ul>
<h2><span style="font-weight: normal; font-size: 13px; "></p>
<h2 style="font-size: 1.5em; "><span style="font-weight: normal; font-size: 13px; "></p>
<h2 style="font-size: 1.5em; ">configure sendmail for authentication on an external smtp server</h2>
<p>add the following line to /etc/mail/access</p>
<h2 style="font-size: 1.5em; "><span style="font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-weight: normal; line-height: normal; font-size: 11px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "></p>
<pre class="alt2" style="background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: #edeff1; color: #000000; border-top-color: #ffffff; border-left-color: #ffffff; width: 640px; height: 34px; text-align: left; overflow-x: auto; overflow-y: auto; background-position: initial initial; padding: 6px; margin: 0px; border: 1px inset initial;" dir="ltr">Authinfo:smtp.server.com "U:username" "P:password"</pre>
<p></span></h2>
<p>then run<br />
<span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; font-weight: normal; line-height: 18px; font-size: 12px; white-space: pre; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">makemap hash /etc/mail/access.db &lt; /etc/mail/access</span></p>
<h2 style="font-size: 1.5em; ">version control with subversion and trac</h2>
<p></span></h2>
<p></span></h2>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>sudo yum install subversion trac mod_dav_svn mod_ssl mod_python
mkdir /var/svn &amp;&amp; cd /var/svn
svnadmin create repository</pre>
</ul>
<p>edit the new file /etc/httpd/conf.d/subversion.conf and put this content in it:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>&lt;Location /repos&gt;
       DAV svn
       SVNParentPath /var/svn
       # Limit write permission to list of valid users.
       AuthType Basic
       AuthName "Subversion Authorization Realm"
       AuthzSVNAccessFile /var/svn/svn.acl
       AuthUserFile /var/svn/.htpasswd
       Require valid-user
       #only SSL
       SSLRequireSSL
&lt;/Location&gt;</pre>
</ul>
<p>generate the htpasswd file now:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>htpasswd -cb /var/svn/.htpasswd username password &amp;&amp; chmod 700 /var/svn/.htpasswd</pre>
</ul>
<p>add the svn.acl file so you have access to every repository:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>echo -e '[/]\nusername =  rw' &gt; /var/svn/svn.acl &amp;&amp; chmod 700 /var/svn/svn.acl</pre>
</ul>
<p>i added a view only user to the .htpasswd and acl as well:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>htpasswd -b /var/svn/.htpasswd view only #without -c (create flag)
echo -e '[repository:/]\nview =  r' &gt;&gt; /var/svn/svn.acl # &gt;&gt; = append to file
chown -R apache.apache /var/svn</pre>
</ul>
<h3>trac:</h3>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>trac-admin /var/trac/repository initenv</pre>
</ul>
<p>edit /etc/httpd/conf.d/trac.conf like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>&lt;Location /trac &gt;
        SetHandler mod_python
        PythonInterpreter main_interpreter
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnvParentDir /var/trac
        PythonOption TracUriRoot /trac
&lt;/Location&gt;
&lt;LocationMatch "/trac/[^/]+/login"&gt;
<span style="white-space:pre;">	</span>AuthType Basic
<span style="white-space:pre;">	</span>AuthName "Trac"
<span style="white-space:pre;">	</span>AuthUserFile /var/svn/.htpasswd
<span style="white-space:pre;">	</span>SSLRequireSSL
<span style="white-space:pre;">	</span>Require valid-user
&lt;/LocationMatch&gt;</pre>
</ul>
<h2>backup &amp; security</h2>
<h3>get the latest packages</h3>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>yum install yum-updatesd
service yum-updatesd start
chkconfig yum-updatesd on</pre>
</ul>
<h3>encrypted sql dumps by cron</h3>
<p>on the local machine (osx) download <a href="http://sourceforge.net/project/showfiles.php?group_id=248469&amp;package_id=303406&amp;release_id=653421" target="_blank">gnupg2</a><br />
and install it. then go to the command line and type:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>gpg2 --gen-key</pre>
</ul>
<p>transfer the public key to the remote machine:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>cat ~/.gnupg/pubring.gpg | ssh username@remote-host 'cat &gt;&gt; ~/uidpubring.gpg'</pre>
</ul>
<p>on the remote machine:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>yum install gnupg2
gpg2 --import ~/uidpubring.gpg
gpg2 --edit-key uid #uid is the username on your local machine.</pre>
</ul>
<p>in the dialog type &#8220;trust&#8221; and select &#8220;(5) ultimate&#8221;<br />
now you can encrypt files like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>gpg2 -r uid --encrypt confidental.zip</pre>
</ul>
<p>decrypt it with this command:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>gpg2 --decrypt confidental.zip.gpg &gt; crypto.zip #this works only with the secring.gpg</pre>
</ul>
<p>now the script for mysql:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>#!/bin/bash

DATE=`date -d yesterday +%Y%m%d%H%M%S`
BAKPATH='/home/username/Documents/Backup/local/sql/'
nice -n 19 mysqldump -u dbUser -a -e --add-drop-table databasename | nice -n 19 gzip -c -9 &gt;  ${BAKPATH}.datenbank_sqldump-${DATE}.gz_INPROGRESS
mv -f ${BAKPATH}.datenbank_sqldump-${DATE}.gz_INPROGRESS ${BAKPATH}datenbank_sqldump-${DATE}.gz
gpg2 -r uid --encrypt ${BAKPATH}datenbank_sqldump-${DATE}.gz
rm -f ${BAKPATH}datenbank_sqldump-${DATE}.gz</pre>
</ul>
<p>notice that i didn&#8217;t have to provide a password because of the ~/.my.cnf. i also added this to my cronjobs</p>
<p>enter the preferred command at</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>crontab -e</pre>
</ul>
<p>before the command put the time to execute. check the crontab man for the syntax.<br />
the secring.gpg is very important only with this and the passphrase you can decrypt the backup.<br />
if you loose it you can reimport it like this:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>gpg2 --import Desktop/secring.gpg</pre>
</ul>
<h3>the whole machine with rsync</h3>
<p>the next command will backup the whole root partition. notice the p1122 for a different ssh port.</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>rsync <span>--verbose</span> -e ssh --rsh='ssh -p1122' --exclude "/sys" --exclude "/dev"
--exclude "/proc" --recursive <span>--progress --times --perms --links </span>
username@remote-host:/ /Volumes/DOS/bak/remote-host/</pre>
</ul>
<p>to restore the backup just flip the remote and local directorys,</p>
<p>for example here i restore the complete www directory from my external hdd to the remote machine:</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre> rsync <span>--verbose</span> -e ssh --rsh='ssh -p1122'  --recursive <span>--progress --times
--perms --links </span> /Volumes/DOS/bak/remote-host/var/www username@remote-host:/var/</pre>
</ul>
<p>i also added this to my cronjobs</p>
<p>enter the preferred command at</p>
<ul style="border: 1px solid #d8d8d8; overflow: auto; background-color: #f8f8f8; width: 100%;">
<pre>crontab -e</pre>
</ul>
<p>before the command put the time to execute. check the crontab man for the syntax.</p>
<h2>references</h2>
<ul>
<li>ssh rsa authentication: http://linuxproblem.org/art_9.html</li>
<li>vnc http://tokyoahead.com/main/multifaq/index.php/65 http://ulyssesonline.com/2006/02/26/vncserver-on-</li>
<li>fedora-core-4/ echo http://www.unix.com/shell-programming-scripting/56666-new-line-</li>
<li>echo.html#post302271726  java: http://www.mjmwired.net/resources/mjm-fedora-f9.html#java</li>
<li>maven: http://beans.seartipy.com/2008/10/05/installing-sun-java-se-6-maven-2-and-tomcat-55-on-fedora-</li>
<li>htpasswd: http://linux.die.net/man/1/htpasswd</li>
<li>sql: http://www.vbulletin-germany.com/forum/showthread.php?t=17548</li>
</ul>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d232').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d232" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F&amp;submitHeadline=fedora+install+tutorial+on+a+xen+vps+minimal+installation&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F&amp;bm_description=fedora+install+tutorial+on+a+xen+vps+minimal+installation" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F&amp;T=fedora+install+tutorial+on+a+xen+vps+minimal+installation" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F&amp;title=fedora+install+tutorial+on+a+xen+vps+minimal+installation" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+fedora+install+tutorial+on+a+xen+vps+minimal+installation+@+http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F19%2Fsetting-up-my-new-vserver%2F&amp;t=fedora+install+tutorial+on+a+xen+vps+minimal+installation" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d232').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d232').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2009/01/19/setting-up-my-new-vserver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>xml for mysql for radius for coovachilli because hibernates 2nd datasource was weak :(</title>
		<link>http://blog.srvme.de/2008/08/18/xml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak/</link>
		<comments>http://blog.srvme.de/2008/08/18/xml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 18:33:58 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[algorithms]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cgi]]></category>
		<category><![CDATA[coova chilli]]></category>
		<category><![CDATA[datasource]]></category>
		<category><![CDATA[decode url]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[radcheck]]></category>
		<category><![CDATA[radius]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[stored procedure]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xml service mysql]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=64</guid>
		<description><![CDATA[when i tried to add another datasource to the hibernate environment i ran into problems (connection timed out)&#8230; i now use the xml way which i talk about earlier &#8230; well i didn&#8217;t want to install mysql 6 because its just in the alpha release. so i wrote this little cgi script. later when mysql [...]]]></description>
			<content:encoded><![CDATA[<p>when i tried to add another datasource to the hibernate environment i ran into problems (connection timed out)&#8230; i now use the xml way which i talk about earlier &#8230; well i didn&#8217;t want to install mysql 6 because its just in the alpha release. so i wrote this little cgi script. later when mysql 6 is stable I will use the LOAD XML function. This has the big benefit that i don&#8217;t have to open the 3306 &#8230; which was dirty but fast anyway.</p>
<p>the privileges: &#8220;insert, update, select, <tt>ALTER ROUTINE,</tt> <tt>CREATE ROUTINE, </tt> <tt>EXECUTE, File</tt>&#8221; are needed.</p>
<p>This script <a href="http://srvme.de/trac/snackycracky_techblog/browser/snackycrack_techblog/xmlServiceForMySql/update.cgi" target="_blank">here </a>can insert and update data in the tables via xml:</p>
<p>here is the format of the xml files for input:</p>
<p>&lt;updates&gt;<br />
&lt;update&gt;<br />
&lt;field name=&#8221;UserName&#8221;&gt;some new name&lt;/field&gt;<br />
&lt;condition name=&#8221;id&#8221;&gt;7&lt;/condition&gt;<br />
&lt;/update&gt;<br />
&#8230;.<br />
&lt;/updates&gt;</p>
<p>&lt;inserts&gt;<br />
&lt;insert&gt;<br />
&lt;field name=&#8221;UserName&#8221;&gt;tttttttttttt&lt;/field&gt;<br />
&lt;field name=&#8221;Value&#8221;&gt;tttttt&lt;/field&gt;<br />
&#8230;<br />
&lt;/insert&gt;<br />
&#8230;<br />
&lt;/inserts&gt;</p>
<p>for getting data this here is possible:</p>
<p>for getting the rows when somebody was online, put the parameters &#8216;actTime&#8217; with the condition Value yyyy-mm-dd hh:mm and for the &#8216;type&#8217; put the Value &#8216;getActionsInTime&#8217;, than you get something like this:</p>
<pre>&lt;?xml version="1.0"?&gt;
&lt;resultset&gt;
&lt;row&gt;
&lt;field&gt;
&lt;WlanUserActions&gt;
&lt;Action&gt;
&lt;AcctStartTime&gt;2008-09-01 19:34:01&lt;/AcctStartTime&gt;
&lt;UserName&gt;username&lt;/UserName&gt;
&lt;FramedIPAddress&gt;10.1.0.114&lt;/FramedIPAddress&gt;
&lt;AcctTerminateCause&gt;User-Request&lt;/AcctTerminateCause&gt;
&lt;AcctSessionTime&gt;16731&lt;/AcctSessionTime&gt;
&lt;AcctStopTime&gt;2008-09-02 00:12:52&lt;/AcctStopTime&gt;
&lt;/Action&gt;
....
&lt;/WlanUserActions &gt;
&lt;/field&gt;
&lt;/row&gt;
&lt;/resultset&gt;</pre>
<p>i haven&#8217;t figured out how to get rid of the row and field tags&#8230;from a mysql command.<br />
To get Rows from the radacct table for a specific user put &#8216;getActions&#8217; as type and set the Value<br />
for the parameter &#8216;UserName&#8217;.</p>
<p><span style="color:#ff0000;">BE WARNED THERE SOME HIGH SECURITY RISKS BY IMPLEMENTING THIS SCRIPT, I CAN NOT BE MADE RESPONSIBLE FOR ANYTHING HAPPENING BECAUSE OF THIS SCRIPT.<br />
</span><br />
<a href="http://srvme.de/trac/snackycracky_techblog/browser/snackycrack_techblog/xmlServiceForMySql/update.cgi" target="_blank">here</a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d64').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d64" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F&amp;submitHeadline=xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F&amp;title=xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F&amp;title=xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F&amp;title=xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F&amp;bm_description=xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F&amp;T=xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F&amp;title=xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F&amp;title=xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F18%2Fxml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak%2F&amp;t=xml+for+mysql+for+radius+for+coovachilli+because+hibernates+2nd+datasource+was+weak+%3A%28" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d64').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d64').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/08/18/xml-for-mysql-for-radius-for-coovachilli-because-hibernates-2nd-datasource-was-weak/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>i cheat, do you?</title>
		<link>http://blog.srvme.de/2008/08/17/do-cheat/</link>
		<comments>http://blog.srvme.de/2008/08/17/do-cheat/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 11:29:39 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=59</guid>
		<description><![CDATA[cheating in an office is the best way of remembering unintuitive stuff. Vi is very complicated but the effort of learning how to handle the editor is worth it. here is a really good cheat sheet for vi and vim: Bookmark It Hide Sites $$('div.d59').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) });]]></description>
			<content:encoded><![CDATA[<p>cheating in an office is the best way of remembering unintuitive stuff.<br />
Vi is very complicated but the effort of learning how to handle the editor is worth it.<br />
here is a really good cheat sheet for vi and vim:</p>
<div id="attachment_60" class="wp-caption alignnone" style="width: 310px"><a href="http://snackycracky.files.wordpress.com/2008/08/vi-vim-cheat-sheet.gif"><img class="size-medium wp-image-60" src="http://snackycracky.files.wordpress.com/2008/08/vi-vim-cheat-sheet.gif?w=300" alt="http://www.viemu.com" width="300" height="212" /></a><p class="wp-caption-text">from viemu.com</p></div>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d59').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d59" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F&amp;submitHeadline=i+cheat%2C+do+you%3F&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F&amp;title=i+cheat%2C+do+you%3F" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F&amp;title=i+cheat%2C+do+you%3F" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F&amp;title=i+cheat%2C+do+you%3F" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F&amp;bm_description=i+cheat%2C+do+you%3F" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F&amp;T=i+cheat%2C+do+you%3F" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F&amp;title=i+cheat%2C+do+you%3F" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F&amp;title=i+cheat%2C+do+you%3F" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+i+cheat%2C+do+you%3F+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F17%2Fdo-cheat%2F&amp;t=i+cheat%2C+do+you%3F" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d59').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d59').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/08/17/do-cheat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>can&#039;t see it anymore!!!</title>
		<link>http://blog.srvme.de/2008/08/08/cant-see-it-anymore/</link>
		<comments>http://blog.srvme.de/2008/08/08/cant-see-it-anymore/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 12:53:11 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[escape html]]></category>
		<category><![CDATA[print]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=57</guid>
		<description><![CDATA[i hate when people escape the quotes in a php or perl or bash cgi script : there is a little workaround called End Of Message: in perl do print &#60;&#60; EOM; htmlcode without escaping EOM; with bash you would use cat instead of print. Bookmark It Hide Sites $$('div.d57').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) });]]></description>
			<content:encoded><![CDATA[<p>i hate when people escape the quotes in a php or perl or bash cgi script :</p>
<p>there is a little workaround called End Of Message:</p>
<p>in perl do</p>
<pre>print &lt;&lt; EOM;
htmlcode without escaping
EOM;</pre>
<p>with bash you would use cat instead of print.</p>
<table class="diff" border="0">
<tbody>
<tr>
<td class="diff-added"></td>
</tr>
</tbody>
</table>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d57').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d57" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F&amp;submitHeadline=can%26%23039%3Bt+see+it+anymore%21%21%21&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F&amp;title=can%26%23039%3Bt+see+it+anymore%21%21%21" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F&amp;title=can%26%23039%3Bt+see+it+anymore%21%21%21" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F&amp;title=can%26%23039%3Bt+see+it+anymore%21%21%21" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F&amp;bm_description=can%26%23039%3Bt+see+it+anymore%21%21%21" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F&amp;T=can%26%23039%3Bt+see+it+anymore%21%21%21" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F&amp;title=can%26%23039%3Bt+see+it+anymore%21%21%21" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F&amp;title=can%26%23039%3Bt+see+it+anymore%21%21%21" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+can%26%23039%3Bt+see+it+anymore%21%21%21+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F08%2Fcant-see-it-anymore%2F&amp;t=can%26%23039%3Bt+see+it+anymore%21%21%21" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d57').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d57').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/08/08/cant-see-it-anymore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>validating the user account</title>
		<link>http://blog.srvme.de/2008/08/07/validating-the-user-account/</link>
		<comments>http://blog.srvme.de/2008/08/07/validating-the-user-account/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 15:16:40 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[account status]]></category>
		<category><![CDATA[add columns]]></category>
		<category><![CDATA[radcheck]]></category>
		<category><![CDATA[radius]]></category>
		<category><![CDATA[valid]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=54</guid>
		<description><![CDATA[For my app i needed another column in the radcheck table called `Valid` because so i dont have to delete the user and his or her account to deny access to the network. The main purpose for the hotspotsystem was to log the access times for each user and when deleting a user there will [...]]]></description>
			<content:encoded><![CDATA[<p>For my app i needed another column in the radcheck table called `Valid` because so i dont have to delete the user and his or her account to deny access to the network. The main purpose for the hotspotsystem was to log the access times for each user and when deleting a user there will be errors because the user row dosen&#8217;t exist anymore.</p>
<p>Its really simple:</p>
<pre>alter table radcheck add column `Valid` tinyint(1) default 0 not null;</pre>
<p>than in the /etc/freeradius/sql.conf change the variable authorize_check_query by adding `and Valid = 1` after where username = &#8220;%{SQL-User-Name}&#8221; \</p>
<p>in the future time you can chane then the valid to serve many purposes for example email authorization like wifidog has.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d54').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d54" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F&amp;submitHeadline=validating+the+user+account&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F&amp;title=validating+the+user+account" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F&amp;title=validating+the+user+account" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F&amp;title=validating+the+user+account" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F&amp;bm_description=validating+the+user+account" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F&amp;T=validating+the+user+account" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F&amp;title=validating+the+user+account" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F&amp;title=validating+the+user+account" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+validating+the+user+account+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2Fvalidating-the-user-account%2F&amp;t=validating+the+user+account" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d54').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d54').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/08/07/validating-the-user-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://blog.srvme.de/2008/08/07/52/</link>
		<comments>http://blog.srvme.de/2008/08/07/52/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 11:01:48 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[hibernate]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[choova chilli]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[hotspotlogin.cgi]]></category>
		<category><![CDATA[logoff]]></category>
		<category><![CDATA[logout]]></category>
		<category><![CDATA[radius]]></category>
		<category><![CDATA[simultaneously]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=52</guid>
		<description><![CDATA[well its not that spectacular but for me it couldn&#8217;t be better: In my Application which i&#8217;m developing over a year now i need to access the radius database for user modifications. say simple: in my app i want to control who can access the internet. I opend the database port 3306 by uncommenting the [...]]]></description>
			<content:encoded><![CDATA[<p>well its not that spectacular but for me it couldn&#8217;t be better:</p>
<p>In my Application which i&#8217;m developing over a year now i need to access the radius database for user modifications. say simple: in my app i want to control who can access the internet.<br />
I opend the database port 3306 by uncommenting the bindto=127.0.0.1 in /etc/mysql/my.cnf or similar, which is not very clean. A xml connection for simple crud would be better but i am under time pressure &#8230;.<br />
With hibernate i was able to connect to the radius db besides the app database by defining another &#8220;dataSource&#8221; like this:<br />
<code><br />
&lt;bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"&gt;<br />
</code></p>
<pre style="padding-left:30px;"><code> &lt;property name="driverClassName" value="@DB-DRIVERNAME@"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="url" value="@DB-URL@"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="username" value="@DB-USERNAME@"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="password" value="@DB-PASSWORD@"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxActive" value="100"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxIdle" value="30"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxWait" value="1000"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="defaultAutoCommit" value="true"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="removeAbandoned" value="true"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="removeAbandonedTimeout" value="60"/&gt;</code></pre>
<p><code> &lt;/bean&gt;<br />
&lt;bean id="dataSourceRadius" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"&gt;<br />
</code></p>
<pre style="padding-left:30px;"><code> &lt;property name="driverClassName" value="com.mysql.jdbc.Driver"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="url" value="jdbc:mysql://x.x.x.x/radius?zeroDateTimeBehavior=convertToNull"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="username" value="radius"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="password" value="somepwd"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxActive" value="100"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxIdle" value="30"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxWait" value="1000"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="defaultAutoCommit" value="true"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="removeAbandoned" value="true"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="removeAbandonedTimeout" value="60"/&gt;</code></pre>
<p><code> &lt;/bean&gt;</code></p>
<p>i tried to modify the hotspotlogin.cgi perl script but i&#8217;m not really getting it. AND what i hate the most of all is that html code is printed line by line, in my eyes that is sooo messy &#8230; i heared that other login pages are out there so i have to study them today. I also want to control the logout process from my app, this is a little bit tricky too <img src='http://blog.srvme.de/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  i need to access the adress http://10.1.0.1:3990/logoff but with this addy i can&#8217;t say which user to log off &#8230;</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d52').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d52" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;submitHeadline=&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;bm_description=" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;T=" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out++@+http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;t=" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d52').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d52').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/08/07/52/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>expand the radius</title>
		<link>http://blog.srvme.de/2008/08/04/expand-the-radius/</link>
		<comments>http://blog.srvme.de/2008/08/04/expand-the-radius/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 20:16:12 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[chilli]]></category>
		<category><![CDATA[coova]]></category>
		<category><![CDATA[coovachilli]]></category>
		<category><![CDATA[hotspot]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=37</guid>
		<description><![CDATA[i&#8217;m still on the radius and choova-chilli thing. I began working on a tutorial for ubuntu but with fedora i was more ahead of things but i&#8217;m not jet done. The chilli.iptables file besides the chilli.sock file need a closer look. Tomorrow i will read about iptables which i always wanted to understand. here is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">
<p style="text-align:left;"><img class="alignleft" src="http://coova.com/sites/all/themes/coovacom/logo.png" alt="" width="223" height="68" />i&#8217;m still on the radius and choova-chilli thing. I began working on a tutorial for ubuntu but with fedora i was more ahead of things but i&#8217;m not jet done.<br />
The chilli.iptables file besides the chilli.sock file need a closer look. Tomorrow i will read about iptables which i always wanted to understand.</p>
<p style="text-align:left;"><a href="https://help.ubuntu.com/community/WifiDocs/CoovaChilli" target="_blank">here</a> is the ubuntu tutorial <img src='http://blog.srvme.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align:left;">Something else is not going so well, i think its the hotspotlogin.cgi page dosent encryped the password right because the freeRadius Server sais something about the passwords didn&#8217;t match.<br />
When i try the radtest command than everything is accepted.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d37').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d37" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F&amp;submitHeadline=expand+the+radius&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F&amp;title=expand+the+radius" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F&amp;title=expand+the+radius" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F&amp;title=expand+the+radius" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F&amp;bm_description=expand+the+radius" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F&amp;T=expand+the+radius" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F&amp;title=expand+the+radius" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F&amp;title=expand+the+radius" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+expand+the+radius+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F04%2Fexpand-the-radius%2F&amp;t=expand+the+radius" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d37').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d37').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/08/04/expand-the-radius/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>wifidog a free hotspot</title>
		<link>http://blog.srvme.de/2008/07/22/wifidog-a-free-hotspot/</link>
		<comments>http://blog.srvme.de/2008/07/22/wifidog-a-free-hotspot/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 15:11:07 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[hotspot]]></category>
		<category><![CDATA[login page]]></category>
		<category><![CDATA[wifidog]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=28</guid>
		<description><![CDATA[in a couple days our wlan authentication system goes online for a beta run. it consists of a wifi authentication system called wifidog. It is developed as open source software by canadians. normally anyone can use it. You can logon to the hotspot without any wpa key, register at the login page and surf for [...]]]></description>
			<content:encoded><![CDATA[<p>in a couple days our wlan authentication system goes online for a beta run.</p>
<p>it consists of a wifi authentication system called wifidog. It is developed as open source software by canadians.<br />
normally anyone can use it. You can logon to the hotspot without any wpa key, register at the login page and surf for free. This didn&#8217;t fit our needs because we installed it for restriced access for the customers.<br />
Still our customers login with a wpa key. Now they will login to an open network and can only browse one site: the loginpage for authentication. Afterwards we are able to trac the time they were online nothing more.</p>
<p>With wifidog its really easy to disable the registration form and the email validation procedure.<br />
The only thing which wasn&#8217;t so easy is to disable access for a resistered user.I had to write a little pgsql script which takes the username and sets the account_status of the users table to zero which stands for denied; 1 is for allowed.</p>
<p>I put the authentication server and the gateway server on one fedora mashine. Hopefully someday i will put the gateway on our Linksys WRT54G but its always used and people would complain about the connection interruption <img src='http://blog.srvme.de/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  well someday we get anotherone.</p>
<p>There is something which i don&#8217;t really understand about the system. When i login as a wifi user than there are some dalays when i try to login or logout, but well it works anyway. Sometimes its confusing for the customers.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d28').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d28" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F&amp;submitHeadline=wifidog+a+free+hotspot&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F&amp;title=wifidog+a+free+hotspot" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F&amp;title=wifidog+a+free+hotspot" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F&amp;title=wifidog+a+free+hotspot" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F&amp;bm_description=wifidog+a+free+hotspot" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F&amp;T=wifidog+a+free+hotspot" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F&amp;title=wifidog+a+free+hotspot" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F&amp;title=wifidog+a+free+hotspot" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+wifidog+a+free+hotspot+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F07%2F22%2Fwifidog-a-free-hotspot%2F&amp;t=wifidog+a+free+hotspot" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d28').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d28').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/07/22/wifidog-a-free-hotspot/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>reduce size of images in folder</title>
		<link>http://blog.srvme.de/2008/04/01/reduce-size-of-images-in-folder/</link>
		<comments>http://blog.srvme.de/2008/04/01/reduce-size-of-images-in-folder/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 08:08:21 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/2008/04/01/reduce-size-of-images-in-folder/</guid>
		<description><![CDATA[first install  http://www.imagemagick.org/script/binary-releases.php#macosx then for files in *; do convert -strip -quality 80 &#8220;$files&#8221; &#8220;$files&#8221;; done in windows do a bat file an put this into it: @ECHO OFF ECHO. ECHO This is a batch file ECHO. FOR %%c in (C:\Users\nilsen\Pictures\*.*) DO convert -strip -quality 80 %%c %%c Bookmark It Hide Sites $$('div.d20').each( function(e) { [...]]]></description>
			<content:encoded><![CDATA[<p>first install  http://www.imagemagick.org/script/binary-releases.php#macosx</p>
<p>then</p>
<p>for files in *; do convert -strip -quality 80 &#8220;$files&#8221; &#8220;$files&#8221;; done</p>
<p>in windows do a bat file an put this into it:</p>
<p>@ECHO OFF<br />
ECHO.<br />
ECHO This is a batch file<br />
ECHO.<br />
FOR %%c in (C:\Users\nilsen\Pictures\*.*) DO convert -strip -quality 80  %%c %%c</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d20').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d20" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F&amp;submitHeadline=reduce+size+of+images+in+folder&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F&amp;title=reduce+size+of+images+in+folder" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F&amp;title=reduce+size+of+images+in+folder" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F&amp;title=reduce+size+of+images+in+folder" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F&amp;bm_description=reduce+size+of+images+in+folder" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F&amp;T=reduce+size+of+images+in+folder" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F&amp;title=reduce+size+of+images+in+folder" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F&amp;title=reduce+size+of+images+in+folder" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+reduce+size+of+images+in+folder+@+http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F04%2F01%2Freduce-size-of-images-in-folder%2F&amp;t=reduce+size+of+images+in+folder" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d20').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d20').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/04/01/reduce-size-of-images-in-folder/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
