<?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>Piethein Strengholt&#039;s Blog &#187; Linux</title>
	<atom:link href="http://www.strengholt-online.nl/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strengholt-online.nl</link>
	<description>Bloggen over van alles en nog wat...</description>
	<lastBuildDate>Mon, 20 Sep 2010 11:56:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>chmod directory only or file only</title>
		<link>http://www.strengholt-online.nl/chmod-directory-only-or-file-only/</link>
		<comments>http://www.strengholt-online.nl/chmod-directory-only-or-file-only/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 11:56:42 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=913</guid>
		<description><![CDATA[find -type d -print0 &#124;xargs -0 chmod 755 find -type f -print0 &#124;xargs -0 chmod 644]]></description>
			<content:encoded><![CDATA[<p>find -type d -print0 |xargs -0 chmod 755<br />
find -type f -print0 |xargs -0 chmod 644</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/chmod-directory-only-or-file-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a hyper-v enabled linux kernel</title>
		<link>http://www.strengholt-online.nl/building-a-hyper-v-enabled-linux-kernel/</link>
		<comments>http://www.strengholt-online.nl/building-a-hyper-v-enabled-linux-kernel/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 08:52:23 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=894</guid>
		<description><![CDATA[Here are the instructions for building a hyper-v enabled linux kernel. The system I&#8217;m using is Ubuntu 9.10. First get all the essential packages: sudo apt-get build-dep linux Install some more build essentials: sudo apt-get install libncurses5 libncurses5-dev sudo apt-get install kernel-package Next step is to download the latest kernel packages from: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/ Install them [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the instructions for building a hyper-v enabled linux kernel. The system I&#8217;m using is Ubuntu 9.10.</p>
<p>First get all the essential packages:</p>
<p><code>sudo apt-get build-dep linux</code></p>
<p>Install some more build essentials:</p>
<p><code>sudo apt-get install libncurses5 libncurses5-dev<br />
sudo apt-get install kernel-package</code></p>
<p>Next step is to download the latest kernel packages from: <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/">http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/</a></p>
<p>Install them with the following commands:</p>
<p><code>sudo dpkg -i linux-headers-2.6.32-020632_2.6.32-020632_all.deb<br />
sudo dpkg -i linux-image-2.6.32-020632-generic_2.6.32-020632_i386.deb<br />
sudo dpkg -i linux-headers-2.6.32-020632-generic_2.6.32-020632_i386.deb<br />
sudo dpkg -i linux-source-2.6.32_2.6.32-020632_all.deb</code></p>
<p>Update grub and reboot:</p>
<p><code>sudo update-grub<br />
sudo reboot</code></p>
<p>Verify that you using the new kernel:</p>
<p><code>uname -a<br />
Linux ubuntu 2.6.32-020632-generic #020632 SMP Thu Dec 3 10:58:45 UTC 2009 i686 GNU/Linux</code></p>
<p>Go the /usr/src/ and unzip the kernel source:</p>
<p><code>tar -jxf linux-source-2.6.32.tar.bz2<br />
cd linux-source-2.6.32</code></p>
<p>Copy your current (old) kernel configuration file to the kernel source directory:</p>
<p><code>sudo cp -vi /boot/config-`uname -r` .config</code></p>
<p>Run the make menuconfig wizard</p>
<p><code>sudo make menuconfig</code></p>
<p>Enable the staging drivers</p>
<p><img class="size-full wp-image-895 alignnone" title="staging01" src="http://www.strengholt-online.nl/wp-content/uploads/2009/12/staging01.png" alt="staging01" width="600" height="465" /></p>
<p>And include the hyper-v enabled drivers</p>
<p><img class="size-full wp-image-896 alignnone" title="staging02" src="http://www.strengholt-online.nl/wp-content/uploads/2009/12/staging02.png" alt="staging02" width="600" height="465" /></p>
<p>Press ESC, ESC to return to the main menu&#8217;s and save the new configuration file!</p>
<p>Make clean and start building:</p>
<p><code>sudo make-kpkg clean<br />
sudo fakeroot make-kpkg --initrd --append-to-version=-hyper-v kernel-image kernel-headers</code></p>
<p>You&#8217;ll find your kernel under /usr/src/</p>
<p>Install your kernel with: <code>sudo dpkg -i *.deb</code><br />
Update grub with: <code>sudo update-grub</code></p>
<p>Reboot</p>
<p>After you&#8217;ve rebooted the system your modules are listed under: <code>/lib/modules/2.6.32-hyper-v/kernel/drivers/staging/hv</code> , to load them type:</p>
<p><code>sudo modprobe hv_vmbus<br />
sudo modprobe hv_blkvsc<br />
sudo modprobe hv_netvsc<br />
sudo modprobe hv_storvsc</code></p>
<p>You could verify if the modules are loaded by using <code>lsmod</code>. Also check <code>dmesg</code> and <code>/var/log/messages</code> for any errors.</p>
<p><code>$ lsmod<br />
Module                  Size  Used by<br />
hv_storvsc             21798  0<br />
hv_netvsc              29396  0<br />
hv_blkvsc              25207  0<br />
hv_vmbus               43234  3 hv_storvsc,hv_netvsc,hv_blkvsc<br />
lp                      6868  0<br />
psmouse                52658  0<br />
iptable_filter          2199  0<br />
serio_raw               3812  0<br />
parport                31970  1 lp<br />
i2c_piix4               8052  0<br />
ip_tables               9157  1 iptable_filter<br />
x_tables               13875  1 ip_tables<br />
floppy                 49858  0<br />
tulip                  43835  0</code></p>
<p>The following lines should be present in the /var/log/messages:</p>
<p><code>VMBUS_DRV: Vmbus initializing.... current log level 0x1f1f0006 (1f1f,6)<br />
VMBUS: +++++++ Build Date=Dec 15 2009 06:23:59 +++++++<br />
VMBUS: +++++++ Build Description=Version 2.0 +++++++<br />
VMBUS: +++++++ Vmbus supported version = 13 +++++++<br />
VMBUS: +++++++ Vmbus using SINT 2 +++++++<br />
VMBUS: Windows hypervisor detected! Retrieving more info...<br />
VMBUS: Vendor ID: Microsoft Hv<br />
VMBUS: Interface ID: Hv#1<br />
VMBUS: OS Build:6001-6.0-18-0.18016<br />
VMBUS: Hypercall page VA=e1002000, PA=0x1f9e8000<br />
VMBUS_DRV: irq 0x5 vector 0x35<br />
VMBUS: SynIC version: 1<br />
VMBUS: Vmbus connected!!<br />
VMBUS_DRV: generating uevent - VMBUS_DEVICE_CLASS_GUID={c5295816-f63a-4d5f-8d1a4daf999ca185}<br />
VMBUS: Channel offer notification - child relid 1 monitor id 0 allocated 1, type {32412632-86cb-44a2-9b5c50d1417354f5} instance {00000000-0000-8899-0000000000000000}<br />
VMBUS: Channel offer notification - child relid 2 monitor id 1 allocated 1, type {32412632-86cb-44a2-9b5c50d1417354f5} instance {00000001-0000-8899-0000000000000000}<br />
VMBUS_DRV: generating uevent - VMBUS_DEVICE_CLASS_GUID={32412632-86cb-44a2-9b5c50d1417354f5}</code></p>
<p>Precompiled kernels are here:</p>
<p><a href="http://www.strengholt-online.nl/hyperv/linux-image-2.6.32-020632-hyper-v_i386.deb">http://www.strengholt-online.nl/hyperv/linux-image-2.6.32-020632-hyper-v_i386.deb</a><br />
<a href="http://www.strengholt-online.nl/hyperv/linux-headers-2.6.32-020632-hyper-v_i386.deb"> http://www.strengholt-online.nl/hyperv/linux-headers-2.6.32-020632-hyper-v_i386.deb</a></p>
<p><em>Remark: The synthetic nic loaded by the hv_netvsc module is called seth0</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/building-a-hyper-v-enabled-linux-kernel/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Bash verder laten gaan na stoppen proces</title>
		<link>http://www.strengholt-online.nl/bash-verder-laten-gaan-na-stoppen-proces/</link>
		<comments>http://www.strengholt-online.nl/bash-verder-laten-gaan-na-stoppen-proces/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 15:56:07 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=889</guid>
		<description><![CDATA[Handig stukje code voor bash om een script verder te laten gaan indien een proces stopt: while true; do PROCESS=`ps -A &#124; grep xbmc.bin` if [ "$PROCESS" = "" ] then echo "xbmc no longer running" break fi done]]></description>
			<content:encoded><![CDATA[<p>Handig stukje code voor bash om een script verder te laten gaan indien een proces stopt:</p>
<p><code> while true;<br />
do<br />
PROCESS=`ps -A | grep xbmc.bin`<br />
if [ "$PROCESS" = "" ]<br />
then<br />
echo "xbmc no longer running"<br />
break<br />
fi<br />
done</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/bash-verder-laten-gaan-na-stoppen-proces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rsync server op Ubuntu</title>
		<link>http://www.strengholt-online.nl/rsync-server-op-ubuntu/</link>
		<comments>http://www.strengholt-online.nl/rsync-server-op-ubuntu/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 12:19:37 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=886</guid>
		<description><![CDATA[Het installeren van een rsync server onder Ubuntu gaat als volgt: Open het rsync default bestand: pico /etc/default/rsync Pas de volgende waarde aan naar true RSYNC_ENABLE=true Maak een password file aan met de volgende permissies: chmod 600 /etc/rsyncd.scrt Maak een rsync config bestand aan met de volgende inhoud: /etc/rsyncd.conf max connections = 2 log file [...]]]></description>
			<content:encoded><![CDATA[<p>Het installeren van een rsync server onder Ubuntu gaat als volgt:</p>
<p>Open het rsync default bestand:<br />
<code>pico /etc/default/rsync</code></p>
<p>Pas de volgende waarde aan naar true<br />
<code>RSYNC_ENABLE=true</code></p>
<p>Maak een password file aan met de volgende permissies:<br />
<code>chmod 600 /etc/rsyncd.scrt</code></p>
<p>Maak een rsync config bestand aan met de volgende inhoud:<br />
<code>/etc/rsyncd.conf</code></p>
<p><code>max connections = 2<br />
log file = /var/log/rsync.log<br />
timeout = 300<br />
motd file = /etc/rsyncd.motd</code></p>
<p><code>[Music]<br />
path = /home/xbmc/Music<br />
comment = Music<br />
uid = xbmc<br />
gid = xbmc<br />
read only = yes<br />
auth users = xbmc<br />
secrets file = /etc/rsyncd.scrt</code></p>
<p>Maak een welkom bestand aan:<br />
<code>/etc/rsyncd.motd<br />
Welcome to my rsync server!</code></p>
<p>Vul het rsync bestand met een password:<br />
<code>/etc/rsyncd.scrt<br />
xbmc:xbmc</code></p>
<p>Start rsync:<br />
<code>/etc/init.d/rsync start</code></p>
<p>Vanaf een andere machine content kopieren met:<br />
<code>rsync -aPv rsync://xbmc@192.168.0.104/Music /home/xbmc/Music</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/rsync-server-op-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cache leeggooien squid proxy</title>
		<link>http://www.strengholt-online.nl/cache-leeggooien-squid-proxy/</link>
		<comments>http://www.strengholt-online.nl/cache-leeggooien-squid-proxy/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 07:12:10 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=874</guid>
		<description><![CDATA[Het leeggooien van de cache op een squid proxy doe je met de volgende commandline regels: /etc/init.d/squid stop rm -rf /var/lib/squid/cache/* squid -z /etc/init.d/squid start]]></description>
			<content:encoded><![CDATA[<p>Het leeggooien van de cache op een squid proxy doe je met de volgende commandline regels:</p>
<p><code>/etc/init.d/squid stop</code></p>
<p><code>rm -rf /var/lib/squid/cache/*<br />
</code><br />
<code>squid -z</code></p>
<p><code>/etc/init.d/squid start</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/cache-leeggooien-squid-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handige link: 25 handige linux commando&#8217;s</title>
		<link>http://www.strengholt-online.nl/handige-link-25-handige-linux-commandos/</link>
		<comments>http://www.strengholt-online.nl/handige-link-25-handige-linux-commandos/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 11:26:59 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=423</guid>
		<description><![CDATA[Zie hier: http://laptoplogic.com/resources/25-linux-commands-and-tricks-that-every-geek-should-know]]></description>
			<content:encoded><![CDATA[<p>Zie hier: <a href="http://laptoplogic.com/resources/25-linux-commands-and-tricks-that-every-geek-should-know">http://laptoplogic.com/resources/25-linux-commands-and-tricks-that-every-geek-should-know</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/handige-link-25-handige-linux-commandos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting advanced power management level to 0xfe</title>
		<link>http://www.strengholt-online.nl/setting-advanced-power-management-level-to-0xfe/</link>
		<comments>http://www.strengholt-online.nl/setting-advanced-power-management-level-to-0xfe/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 08:30:41 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[XBMC]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/?p=311</guid>
		<description><![CDATA[Mocht je de onderstaande foutmelding krijgen bij het updaten: setting advanced power management level to 0xfe Dit heeft te maken met het updaten van bijvoorbeeld een kernel en de nvidia video drivers. De drivers zul je na een kernel update altijd weer opnieuw moeten installeren. De handleiding voor het installeren van nieuwe drivers staat hier: [...]]]></description>
			<content:encoded><![CDATA[<p>Mocht je de onderstaande foutmelding krijgen bij het updaten:</p>
<p>setting advanced power management level to 0xfe</p>
<p>Dit heeft te maken met het updaten van bijvoorbeeld een kernel en de nvidia video drivers. De drivers zul je na een kernel update altijd weer opnieuw moeten installeren. De handleiding voor het installeren van nieuwe drivers staat hier: <a href="http://www.strengholt-online.nl/nvidia-1851814-installeren-op-xbmc-904/">http://www.strengholt-online.nl/nvidia-1851814-installeren-op-xbmc-904/</a></p>
<p><a href="http://www.strengholt-online.nl/wp-content/uploads/2009/07/l_1600_1200_EBBFAF56-4F93-4426-8C76-AD9EADE10643.jpeg"><img class="alignnone size-full wp-image-364" src="http://www.strengholt-online.nl/wp-content/uploads/2009/07/l_1600_1200_EBBFAF56-4F93-4426-8C76-AD9EADE10643.jpeg" alt="" width="640" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/setting-advanced-power-management-level-to-0xfe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moblin Linux Beta</title>
		<link>http://www.strengholt-online.nl/moblin-linux-beta/</link>
		<comments>http://www.strengholt-online.nl/moblin-linux-beta/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 08:40:43 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Moblin]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/wordpress/?p=129</guid>
		<description><![CDATA[Ik heb even gekeken naar de laatste versie van Moblin en het ziet er goed uit. Het systeem werkt snel en zou een ideale kandidaat zijn voor bijvoorbeeld de kleine nettops zoals de Asus EEE pc. Moblin is een kleine Linux distributie ontwikkeld door Intel. Zie voor meer informatie http://www.moblin.org]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Ik heb even gekeken naar de laatste versie van Moblin en het ziet er goed uit. Het systeem werkt snel en zou een ideale kandidaat zijn voor bijvoorbeeld de kleine nettops zoals de Asus EEE pc. Moblin is een kleine Linux distributie ontwikkeld door Intel. Zie voor meer informatie http://www.moblin.org</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-131" title="moblin2" src="http://www.strengholt-online.nl/wordpress/wp-content/uploads/2009/06/moblin2.png" alt="moblin2" width="652" height="543" /></p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-130" title="moblin" src="http://www.strengholt-online.nl/wordpress/wp-content/uploads/2009/06/moblin.png" alt="moblin" width="651" height="542" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/moblin-linux-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Door de proxy tunnelen op kantoor met behulp van putty</title>
		<link>http://www.strengholt-online.nl/door-de-proxy-tunnelen-op-kantoor-met-behulp-van-putty/</link>
		<comments>http://www.strengholt-online.nl/door-de-proxy-tunnelen-op-kantoor-met-behulp-van-putty/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 11:58:09 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/wordpress/?p=86</guid>
		<description><![CDATA[In deze handleiding ga ik stap voor stap uitleggen hoe je veilig over het internet kan surfen vanaf bijvoorbeeld een kantoorplek of verbinding kan maken een externe computer vanaf kantoor. We gaan dus poorten openen die normaal op het kantoor dicht zitten! Het uiteindelijke doel is een verbinding te creeren die zowel versleuteld is, als dat [...]]]></description>
			<content:encoded><![CDATA[<p>In deze handleiding ga ik stap voor stap uitleggen hoe je veilig over het internet kan surfen vanaf bijvoorbeeld een kantoorplek of verbinding kan maken een externe computer vanaf kantoor. We gaan dus poorten openen die normaal op het kantoor dicht zitten! Het uiteindelijke doel is een verbinding te creeren die zowel versleuteld is, als dat het voor het kantoor niet mogelijk is te achterhalen welke websites of adressen zijn bezocht. Wat nodig is; is kennis van Linux, netwerken en eventueel proxy&#8217;s.</p>
<p>De allereerste stap is ervoor te zorgen dat ergens op het Internet een Linux server draait. Dit kan de XBMC Media Center thuis zijn of in een datacenter. Verder kan dit fisiek of virtueel zijn. Het belangrijkste is dat poort 443 beschikbaar gemaakt wordt.</p>
<p>In dit voorbeeld heb ik gekozen voor Ubuntu Jeos, maar XBMC werkt uiteraard ook!<br />
<a href="http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos">http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos</a></p>
<p>De installatie is zeer klein en bij uitstek om bijvoorbeeld virtueel geinstalleerd te worden.</p>
<p>Na de installatie loggen we in via bijvoorbeeld SSH en gaan we de SSH poort veranderen waarop SSH draait. We kunnen dit doen door het bestand <strong>/etc/ssh/sshd_config</strong> te openen. We zoeken dan de regel <strong>#Port</strong> op en veranderen deze naar <strong>Port 443<br />
</strong>Sla het bestand op en herstart de ssh deamon met het commando <strong>/etc/init.d/sshd restart</strong></p>
<p>Als we nu opnieuw willen inloggen is het noodzakelijk om de ssh port naar 443 aan te passen, zoals in het onderstaande voorbeeld is te zien:</p>
<p><img class="aligncenter size-full wp-image-89" title="ssh01" src="http://www.strengholt-online.nl/wordpress/wp-content/uploads/2009/06/ssh01.png" alt="ssh01" width="466" height="446" /></p>
<p>Controleer of deze aanpassing goed werkt. Vanaf elders moet er nu verbinding gemaakt kunnen worden op port 443. Eventueel moeten de nodige poorten worden geforward van de router/modem naar de Linux omgeving. Zorg dat dit allemaal klopt en werkt.</p>
<p>Als dit werkt kunnen we wederom weer een stapje verder. We gaan nu naar de situatie op kantoor. Controleer wat de proxy gegevens van het kantoor zijn. Deze zijn op te vragen vanuit Internet Explorer. Ga naar Tools -&gt; Internet Options -&gt; Tabblad Connections -&gt; Lan Settings. De proxy instellingen die hier gevonden worden moeten worden overgenomen en worden aangevuld op het proxy tabblad binnen putty. Zijn er geen proxy gegevens of zijn de instellingen leeg, dan laten we putty voor wat het is. We laten de waarde dan op <em>none</em> staan.</p>
<p><img class="aligncenter size-full wp-image-91" title="ssh02" src="http://www.strengholt-online.nl/wordpress/wp-content/uploads/2009/06/ssh02.png" alt="ssh02" width="466" height="446" /></p>
<p>Probeer nu verbinding te maken met de Linux omgeving. Als dit lukt is er een grote stap gezet. We hebben nu verbinding op gezet met een computer van bijvoorbeeld het kantoor naar de Linux omgeving. De Linux omgeving zal de rest van de verbinding gaan verzorgen. Dit wordt uitlegd in de volgende stappen.</p>
<p>Sluit putty af en open wederom putty. Ga nu naar het <strong>Tunnels</strong> gedeelte. Wat we hier gaan invoeren is de brug naar het Internet. De Linux omgeving staat hier feitelijk tussenin als brug van de pc op bijvoorbeeld kantoor naar een ander adres op het Internet. In dit voorbeeld wil ik mijn Windows computer overnemen met Remote Desktop. Het adres van deze Windows computer is in dit voorbeeld 123.123.123.123. De lokale poort die we gaan toewijzen is 8000 en Remote Desktop is altijd te benaderen op poort 3389. We koppelen in dit geval dus 8000 aan 123.123.123.123:3389. Zie het onderstaande voorbeeld. Vul alles correct in, klik op &#8220;add&#8221;, ga terug naar het hoofdscherm van putty en sla alles op. Maak wederom verbinding.</p>
<p><img class="aligncenter size-full wp-image-98" title="ssh03" src="http://www.strengholt-online.nl/wordpress/wp-content/uploads/2009/06/ssh03.png" alt="ssh03" width="466" height="446" /></p>
<p>Als we nu verbinding maken met de Linux omgeving is de brug een feit. We kunnen nu op de tunnel inloggen. Open Remote Desktop. Vul nu in localhost:8000 en klik op connect. We maken nu dus feitelijk verbinding met 123.123.123.123:3389!</p>
<p><img class="aligncenter size-full wp-image-100" title="rdp" src="http://www.strengholt-online.nl/wordpress/wp-content/uploads/2009/06/rdp.png" alt="rdp" width="421" height="254" /></p>
<p>Een vervolg stap zou zijn om op de Linux omgeving ook een proxy server te installeren. Kijk hiervoor naar mijn handleiding: <a href="http://linux.strengholt-online.nl/squid.htm">http://linux.strengholt-online.nl/squid.htm</a></p>
<p>Voor ubuntu zijn het de volgende stappen:</p>
<p><strong>sudo apt-get install squid</strong></p>
<p>Open het bestand <strong>/etc/squid/squid.conf</strong> en voeg/verander de volgende regels:<br />
Belangrijk! Afhankelijk van de proxy zullen bepaalde poorten wel of niet gaan werken. Ik heb er voor gekozen om mijn proxy op poort 80 te laten draaien om er zo verzekerd van te zijn dat mijn proxy altijd te bereiken is!</p>
<p><em>auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd<br />
acl piethein proxy_auth REQUIRED<br />
http_access allow piethein<br />
http_access deny all<br />
http_port 80</em></p>
<p>Sla het bestand op en maak nu een nieuw wachtwoord aan voor de opgegeven gebruiker. In dit voorbeeld piethein:</p>
<p><strong>htpasswd -c /etc/squid/passwd piethein</strong></p>
<p>Herstart nu de proxy met:</p>
<p><strong>/etc/init.d/squid restart</strong></p>
<p>Zodra de proxy is geinstalleerd kunnen we deze uiteraard ook tunnelen. Ga naar de Tunnels optie in putty. Voeg een nieuwe regel toe; bijvoorbeeld 9000 koppelen we aan 123.123.123.123:80.</p>
<p>Maak opnieuw verbinding. Pas de proxy gegevens van de browser aan zoals in het onderstaande voorbeeld:<br />
(Handiger is wellicht om een tweede browser te installeren.)</p>
<p><img class="aligncenter size-full wp-image-107" title="firefox" src="http://www.strengholt-online.nl/wordpress/wp-content/uploads/2009/06/firefox.png" alt="firefox" width="461" height="469" /></p>
<p>En test of alles naar behoren werkt. Wat we nu hebben bereikt is dat we niet gebruik maken van de proxy server op kantoor maar van de proxy server van de Linux omgeving. Niemand komt nu ooit te weten welke adressen we hebben bezocht! Bijkomend voordeel is dat verbinding ook versleuteld is!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/door-de-proxy-tunnelen-op-kantoor-met-behulp-van-putty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Unrarren van meerdere bestanden onder Linux</title>
		<link>http://www.strengholt-online.nl/unrarren-van-meerdere-bestanden-onder-linux/</link>
		<comments>http://www.strengholt-online.nl/unrarren-van-meerdere-bestanden-onder-linux/#comments</comments>
		<pubDate>Thu, 14 May 2009 12:45:32 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/wordpress/?p=51</guid>
		<description><![CDATA[Unrarren van meerdere bestanden onder Linux doe je het met volgende commando: find -type f -name '*.rar' -exec unrar x {} \;]]></description>
			<content:encoded><![CDATA[<p>Unrarren van meerdere bestanden onder Linux doe je het met volgende commando:</p>
<p><em><code>find -type f -name '*.rar' -exec unrar x {} \;</em></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/unrarren-van-meerdere-bestanden-onder-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The following signatures couldn&#8217;t be verified because the public key is not available</title>
		<link>http://www.strengholt-online.nl/the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-available/</link>
		<comments>http://www.strengholt-online.nl/the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-available/#comments</comments>
		<pubDate>Thu, 14 May 2009 09:25:27 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/wordpress/?p=44</guid>
		<description><![CDATA[Onder mijn Ubuntu installatie had ik steeds het volgende probleem bij het draaien van een apt-get update: The following signatures couldn&#8217;t be verified because the public key is not available De oplossing heb ik uiteindelijk gevonden door het installeren van de juiste key. De stappen die nodig zijn: In terminal run: gpg --keyserver keyserver.ubuntu.com --recv-keys [...]]]></description>
			<content:encoded><![CDATA[<p>Onder mijn Ubuntu installatie had ik steeds het volgende probleem bij het draaien van een apt-get update: <em>The following signatures couldn&#8217;t be verified because the public key is not available</em></p>
<p>De oplossing heb ik uiteindelijk gevonden door het installeren van de juiste key. De stappen die nodig zijn:</p>
<p><code>
<pre class="codepre">
In terminal run:
gpg --keyserver keyserver.ubuntu.com --recv-keys $KEY
then
gpg --export --armor $KEY | sudo apt-key add -
where $KEY is key value you have missed. Do those 2 commands for each repository which you have problem.</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oude linux handleidingen verzameling</title>
		<link>http://www.strengholt-online.nl/oude-linux-handleidingen-verzameling/</link>
		<comments>http://www.strengholt-online.nl/oude-linux-handleidingen-verzameling/#comments</comments>
		<pubDate>Wed, 06 May 2009 13:18:04 +0000</pubDate>
		<dc:creator>Piethein Strengholt</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.strengholt-online.nl/wordpress/?p=19</guid>
		<description><![CDATA[Oud maar voor sommige mensen handig: http://linux.strengholt-online.nl/]]></description>
			<content:encoded><![CDATA[<p>Oud maar voor sommige mensen handig:</p>
<p><a href="http://linux.strengholt-online.nl/"><img class="alignnone" title="Tux" src="http://linux.strengholt-online.nl/images/penguin.gif" alt="" width="147" height="173" /></a></p>
<p><a href="http://linux.strengholt-online.nl/">http://linux.strengholt-online.nl/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strengholt-online.nl/oude-linux-handleidingen-verzameling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

