<?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>ansi &#187; Linux</title>
	<atom:link href="http://ansi.23-5.eu/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://ansi.23-5.eu</link>
	<description>geek  pirat  tekki</description>
	<lastBuildDate>Thu, 29 Dec 2011 02:18:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Running ntp server for pool.ntp.org</title>
		<link>http://ansi.23-5.eu/2011/10/21/running-ntp-server-for-pool-ntp-org/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=running-ntp-server-for-pool-ntp-org</link>
		<comments>http://ansi.23-5.eu/2011/10/21/running-ntp-server-for-pool-ntp-org/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 15:48:07 +0000</pubDate>
		<dc:creator>ansi</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Technic]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ansi.23-5.eu/?p=29</guid>
		<description><![CDATA[Moin I set up and ntp Server (Network Time Server) at ntp.23-5.eu. In case you want to keep your system up to date feel free to use this ntp server. Beside the fun setting up some cool technology I added my server to the pool.ntp.org project. I case you do not know it have a [...]]]></description>
			<content:encoded><![CDATA[<p>Moin</p>
<p>I set up and ntp Server (<a href="http://en.wikipedia.org/wiki/Network_Time_Protocol" target="_blank">Network Time Server</a>) at <a href="ntp:ntp.23-5.eu" target="_blank">ntp.23-5.eu</a>. In case you want to keep your system up to date feel free to use this ntp server. Beside the fun setting up some cool technology I added my server to the <a href="http://www.pool.ntp.org" target="_blank">pool.ntp.org</a> project. I case you do not know it have a look <a href="http://www.pool.ntp.org" target="_blank">here</a>. Its a public pool of ntp servers free to use. Just add <strong>pool.ntp.org</strong> as ntp server or if you like to have a closer (network point of view) server use <strong><em>eu</em>.pool.ntp.org</strong> or <strong><em>de</em>.pool.ntp.org</strong> or some other countrycode. Beside the good feeling contributing to a cool project you also get some nice statistic. For example here is my time offset history.</p>
<p><a href="http://www.pool.ntp.org/scores/83.133.105.17/graph/offset.png"><img class="alignnone" title="Time offset history" src="http://www.pool.ntp.org/scores/83.133.105.17/graph/offset.png" alt="" width="501" height="209" /></a></p>
<p>More Info on my server <a href="http://www.pool.ntp.org/scores/83.133.105.17" target="_blank">here</a>.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fansi.23-5.eu%2F2011%2F10%2F21%2Frunning-ntp-server-for-pool-ntp-org%2F&amp;title=Running%20ntp%20server%20for%20pool.ntp.org" id="wpa2a_2"><img src="http://ansi.23-5.eu/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class="al2fb_like_button"><div id="fb-root"></div><script type="text/javascript">
(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=408907822470017";
  fjs.parentNode.insertBefore(js, fjs);
}(document, "script", "facebook-jssdk"));
</script>
<fb:like href="http://ansi.23-5.eu/2011/10/21/running-ntp-server-for-pool-ntp-org/" layout="button_count" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div> <p><a href="http://ansi.23-5.eu/?flattrss_redirect&amp;id=29&amp;md5=de32c40938bfa6fbc89165b44591a927" title="Flattr" target="_blank"><img src="https://ansi.23-5.eu/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://ansi.23-5.eu/2011/10/21/running-ntp-server-for-pool-ntp-org/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=Ansi&amp;popout=1&amp;url=http%3A%2F%2Fansi.23-5.eu%2F2011%2F10%2F21%2Frunning-ntp-server-for-pool-ntp-org%2F&amp;language=en_GB&amp;category=text&amp;title=Running+ntp+server+for+pool.ntp.org&amp;description=Moin+I+set+up+and+ntp+Server+%28Network+Time+Server%29+at+ntp.23-5.eu.+In+case+you+want+to+keep+your+system+up+to+date+feel+free+to+use+this+ntp+server....&amp;tags=internet%2CLinux%2Cblog" type="text/html" />
	</item>
		<item>
		<title>How to export display via SSH after sudo su</title>
		<link>http://ansi.23-5.eu/2011/10/21/how-to-export-display-via-ssh-after-sudo-su/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-export-display-via-ssh-after-sudo-su</link>
		<comments>http://ansi.23-5.eu/2011/10/21/how-to-export-display-via-ssh-after-sudo-su/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 11:56:11 +0000</pubDate>
		<dc:creator>ansi</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ansi.23-5.eu/?p=18</guid>
		<description><![CDATA[Moin Just figured out together with DrScofield how to export the Display via an SSH tunnel after changing user to root via sudo. And hey it sound trivial but was not easy to find out. Here is the step by step way. ssh -X server #as normal user xterm #for testing if export display as [...]]]></description>
			<content:encoded><![CDATA[<p>Moin<br />
Just figured out together with DrScofield how to export the Display via an SSH tunnel after changing user to root via sudo. And hey it sound trivial but was not easy to find out. Here is the step by step way.</p>
<ol>
<li>ssh -X server #as normal user</li>
<li>xterm #for testing if export display as normal user works</li>
<li>echo $DISPLAY #write it down</li>
<li>xauth #enters the shell of xauth
<ol>
<li>list # find the line with the display number from step 3 for me it was “wpsvm054/unix:12 MIT-MAGIC-COOKIE-1 071df2e12cfff0ed75fd0af5869665f7″ remember the first part of it</li>
<li>quit #to leave the shell</li>
</ol>
</li>
<li>xauth extract filename system/unix:12 # the line from step 4.1</li>
<li>sudo su &#8211; # to become root</li>
<li>xauth merge filename # filename from step 5</li>
<li>export DISPLAY=:nummer.0 #Displaynumber from step 3 resp. 4.1</li>
<li>xterm #for testing</li>
</ol>
<p>Hope it works on other systems too.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fansi.23-5.eu%2F2011%2F10%2F21%2Fhow-to-export-display-via-ssh-after-sudo-su%2F&amp;title=How%20to%20export%20display%20via%20SSH%20after%20sudo%20su" id="wpa2a_6"><img src="http://ansi.23-5.eu/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class="al2fb_like_button"><div id="fb-root"></div><script type="text/javascript">
(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=408907822470017";
  fjs.parentNode.insertBefore(js, fjs);
}(document, "script", "facebook-jssdk"));
</script>
<fb:like href="http://ansi.23-5.eu/2011/10/21/how-to-export-display-via-ssh-after-sudo-su/" layout="button_count" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div> <p><a href="http://ansi.23-5.eu/?flattrss_redirect&amp;id=18&amp;md5=b850de664410dd725cb6f3bdfe9d6888" title="Flattr" target="_blank"><img src="https://ansi.23-5.eu/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://ansi.23-5.eu/2011/10/21/how-to-export-display-via-ssh-after-sudo-su/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=Ansi&amp;popout=1&amp;url=http%3A%2F%2Fansi.23-5.eu%2F2011%2F10%2F21%2Fhow-to-export-display-via-ssh-after-sudo-su%2F&amp;language=en_GB&amp;category=text&amp;title=How+to+export+display+via+SSH+after+sudo+su&amp;description=Moin+Just+figured+out+together+with+DrScofield+how+to+export+the+Display+via+an+SSH+tunnel+after+changing+user+to+root+via+sudo.+And+hey+it+sound+trivial+but+was...&amp;tags=Linux%2CUbuntu%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Howto boot ISO images via grub2 with ubuntu</title>
		<link>http://ansi.23-5.eu/2011/10/21/howto-boot-iso-images-via-grub2-with-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=howto-boot-iso-images-via-grub2-with-ubuntu</link>
		<comments>http://ansi.23-5.eu/2011/10/21/howto-boot-iso-images-via-grub2-with-ubuntu/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 11:35:05 +0000</pubDate>
		<dc:creator>ansi</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technic]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ansi.23-5.eu/?p=11</guid>
		<description><![CDATA[Moin I am using Ubuntu “Daily builds” for some time inside Suns VirtualBox. Unfortunately the daily builds are not longer booting inside VirtualBox for more then 2 weeks now. Christian told me about a new feature of Grub2. You can boot ISO images directly from your hard disk without burning them on CD or USB. [...]]]></description>
			<content:encoded><![CDATA[<p>Moin</p>
<p>I am using Ubuntu “<a href="http://web.archive.org/web/20100823023201/http://cdimages.ubuntu.com/daily-live/current/" target="_blank">Daily builds</a>” for some time inside Suns <a href="http://web.archive.org/web/20100823023201/http://www.virtualbox.org/" target="_blank">VirtualBox</a>. Unfortunately the daily builds are not longer booting inside VirtualBox for more then 2 weeks now. <a href="http://web.archive.org/web/20100823023201/http://www.facebook.com/christian.kirsch" target="_blank">Christian</a> told me about a new feature of <a href="http://web.archive.org/web/20100823023201/http://grub.enbug.org/FrontPage?action=show&amp;redirect=StartSeite" target="_blank">Grub2</a>. You can boot ISO images directly from your hard disk without burning them on CD or USB. Awesome feature and I had to try it today. Here is the description on how to do it with Ubuntu 9.10.</p>
<p>First I am using this tiny script to update all daily builds with the <a href="http://web.archive.org/web/20100823023201/http://zsync.moria.org.uk/" target="_blank">zsync</a> tool. It transfers only the changed parts of the ISO so you and the Ubuntu teams save a lot of traffic.</p>
<pre>zsync http://cdimages.ubuntu.com/daily-live/current/lucid-desktop-i386.iso.zsync
cd kubuntu
zsync http://cdimages.ubuntu.com/kubuntu/daily-live/current/lucid-desktop-i386.iso.zsync
cd ../netbook
zsync http://cdimages.ubuntu.com/ubuntu-netbook/daily-live/current/lucid-netbook-i386.iso.zsync
cd ../xubunutu
zsync http://cdimages.ubuntu.com/xubuntu/daily-live/current/lucid-desktop-i386.iso.zsync
cd ..
rm `find ./ -name "*.zs-old" `</pre>
<p>This script keeps all my daily builds up to date.</p>
<p>Next Step is to enable the grub menu. In Ubuntu it can be done in “<strong>/etc/default/grub</strong>“. Change the following lines</p>
<pre>GRUB_HIDDEN_TIMEOUT=<strong>10</strong>
GRUB_HIDDEN_TIMEOUT_QUIET=<strong>false</strong></pre>
<p>With this change you will see a 10 seconds count down when booting up. With the <strong>shift-key</strong> you get access to the grub boot menu. Next is to add the ISO images to the grub menu. Change to the “<strong>/etc/grub.d</strong>” dir.</p>
<p>Here you can find the grub menu entries and configuration files. Add your ISO images starting with <strong>50</strong> here. For example my entry for the normal Ubuntu ISO image (50_ubuntu) looks like this:</p>
<pre>echo "Adding $(egrep menu[e]ntry $0 | cut -d'"' -f2)" &gt;&amp;2
 cat &lt;&lt; EOF
menuentry "Ubuntu 10.04 Daily Build" {
       loopback loop (<strong>hd0,3</strong>)<strong>/ansi/software_and_config/ISOs/ubuntu/lucid-desktop-i386.iso</strong>
       linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=<strong>/ansi/software_and_config/ISOs/ubuntu/lucid-desktop-i386.iso</strong> file=(loop)/preseed/ubuntu.seed quiet splash bootkbd=sg --
       initrd (loop)/casper/initrd.lz
}</pre>
<p>My ISO files are stored on <strong>sda3</strong> under <strong>/ansi/software_and_config/ISOs/ubuntu/</strong>. In order to change it for your needs there are 3 elements to change. The <strong>loopback</strong> line contains your hard disk in grub style (hdx,y x=0-&gt;sda x=1-&gt;sdb aso) and the path. The third element to change is in the linux line. Store this file as “<strong>50_ubuntu</strong>” in “<strong>/etc/grub.d</strong>“, make it executable with “<strong>chmod a+x 50_ubuntu</strong>” and activate the changes with “<strong>ubdate-grub</strong>“. After a reboot you should be able to activate the grub menu with the <strong>shift-key</strong> and select the new entry. Have fun.</p>
<p>I found some pages on this topic but the description there was not working for me so I changed it. But take a look on your own:</p>
<ul>
<li><a href="http://web.archive.org/web/20100823023201/http://forum.ubuntuusers.de/topic/lucid-lynx-ohne-cd-brennen-auf-realem-system-/#post-2326751">http://forum.ubuntuusers.de/topic/lucid-lynx-ohne-cd-brennen-auf-realem-system-/#post-2326751</a></li>
<li><a href="http://web.archive.org/web/20100823023201/http://wiki.ubuntuusers.de/GRUB_2/Konfiguration">http://wiki.ubuntuusers.de/GRUB_2/Konfiguration</a></li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fansi.23-5.eu%2F2011%2F10%2F21%2Fhowto-boot-iso-images-via-grub2-with-ubuntu%2F&amp;title=Howto%20boot%20ISO%20images%20via%20grub2%20with%20ubuntu" id="wpa2a_10"><img src="http://ansi.23-5.eu/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class="al2fb_like_button"><div id="fb-root"></div><script type="text/javascript">
(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=408907822470017";
  fjs.parentNode.insertBefore(js, fjs);
}(document, "script", "facebook-jssdk"));
</script>
<fb:like href="http://ansi.23-5.eu/2011/10/21/howto-boot-iso-images-via-grub2-with-ubuntu/" layout="button_count" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div> <p><a href="http://ansi.23-5.eu/?flattrss_redirect&amp;id=11&amp;md5=f9ec0b39813c59cc090b1c60bb8d8fec" title="Flattr" target="_blank"><img src="https://ansi.23-5.eu/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://ansi.23-5.eu/2011/10/21/howto-boot-iso-images-via-grub2-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=Ansi&amp;popout=1&amp;url=http%3A%2F%2Fansi.23-5.eu%2F2011%2F10%2F21%2Fhowto-boot-iso-images-via-grub2-with-ubuntu%2F&amp;language=en_GB&amp;category=text&amp;title=Howto+boot+ISO+images+via+grub2+with+ubuntu&amp;description=Moin+I+am+using+Ubuntu+%E2%80%9CDaily+builds%E2%80%9D+for+some+time+inside+Suns+VirtualBox.+Unfortunately+the+daily+builds+are+not+longer+booting+inside+VirtualBox+for+more+then+2+weeks+now.+Christian...&amp;tags=Linux%2CTechnic%2CUbuntu%2Cblog" type="text/html" />
	</item>
	</channel>
</rss>

