<?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>chr.istoph, der Blog &#187; FH-Aachen</title>
	<atom:link href="http://blog.chr.istoph.de/category/fh-aachen/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chr.istoph.de</link>
	<description>living in a cloud</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:31:19 +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>Partitionen für den Kernel verschwunden</title>
		<link>http://blog.chr.istoph.de/partitionen-fur-den-kernel-verschwunden/</link>
		<comments>http://blog.chr.istoph.de/partitionen-fur-den-kernel-verschwunden/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 22:12:54 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[AStA]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=3337</guid>
		<description><![CDATA[Partitionen für den Kernel Verschwunden Sowohl mit partx als auch mit fdisk -l und anderen Tools konnte man die Partitionen der Platte sehen. # partx -l /dev/sdb # 1: 63- 78124094 ( 78124032 sectors, 39999 MB) # 2: 78124095-1953520064 (1875395970 sectors, 960202 MB) # 3: 0- -1 ( 0 sectors, 0 MB) # 4: 0- [...]]]></description>
			<content:encoded><![CDATA[<p>Partitionen für den Kernel Verschwunden<br />
Sowohl mit <em>partx</em> als auch mit <em>fdisk -l</em> und anderen Tools konnte man die Partitionen der Platte sehen.<br />
<code># partx -l /dev/sdb<br />
# 1:        63- 78124094 ( 78124032 sectors,  39999 MB)<br />
# 2:  78124095-1953520064 (1875395970 sectors, 960202 MB)<br />
# 3:         0-       -1 (        0 sectors,      0 MB)<br />
# 4:         0-       -1 (        0 sectors,      0 MB)<br />
</code><br />
Leider Tauchten sie aber nicht im /sys auf.</p>
<p><code># tree /sys/ | grep sdb<br />
│   ├── sdb -> ../devices/pci0000:00/0000:00:1f.2/host2/target2:0:1/2:0:1:0/block/sdb<br />
│   │   ├── sdb -> ../../devices/pci0000:00/0000:00:1f.2/host2/target2:0:1/2:0:1:0/block/sdb<br />
│   │   ├── 8:16 -> ../../devices/pci0000:00/0000:00:1f.2/host2/target2:0:1/2:0:1:0/block/sdb<br />
│   │   │   │   │   │   │   └── sdb<br />
│       │   │   │   ├── sdb -> ../../../../pci0000:00/0000:00:1f.2/host2/target2:0:1/2:0:1:0/block/sdb</code></p>
<p>Nach dem wir <em>partprobe</em> ausgeführt haben waren die Platten wieder da.<br />
#partprobe</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/partitionen-fur-den-kernel-verschwunden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Das STW Aachen und der NWR</title>
		<link>http://blog.chr.istoph.de/das-stw-aachen-und-der-nwr/</link>
		<comments>http://blog.chr.istoph.de/das-stw-aachen-und-der-nwr/#comments</comments>
		<pubDate>Sat, 07 May 2011 22:15:50 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>
		<category><![CDATA[Kolumne]]></category>
		<category><![CDATA[Netzwerk]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=2855</guid>
		<description><![CDATA[Vor gut einem Jahr beschloss das STW-Aachen massive Umbaumaßnamen in unserem Wohnheim durchzuführen. Dazu zählen der Umbau der Heizung und die Sanierung der Fassade, was zur folge hatte das die gesamte 12. Etage, in der sich unser Netzwerkraum befindet, umgebaut wurde. Hier aber erst mal ein par Fotos wie es vor dem Umzug aus sah. [...]]]></description>
			<content:encoded><![CDATA[<p>Vor gut einem Jahr beschloss das STW-Aachen massive Umbaumaßnamen in unserem <a href="http://www.bauhuette.fh-aachen.de/">Wohnheim</a> durchzuführen. Dazu zählen der Umbau der Heizung und die Sanierung der Fassade, was zur folge hatte das die gesamte 12. Etage, in der sich unser <a href="/category/fh-aachen/bayernallee/">Netzwerkraum</a> befindet, umgebaut wurde.</p>
<p>Hier aber erst mal ein par Fotos wie es vor dem Umzug aus sah. Da hatten wir einen Schrank in dem die Server standen und noch die alten 100Mbit HP Switche im Netzwerkschrank. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr1.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr1.jpg" alt="" title="nwr1" width="422" height="375" class="alignnone size-full wp-image-2859" /></a><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr2.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr2.jpg" alt="" title="nwr2" width="300"  class="alignnone size-full wp-image-2861" /></a></p>
<p>Dann bekamen wir den <a href="http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.1/11/configuration/guide/config.html">Cisco Catalyst 4006</a> mit 3x 48Port 100Mbit, 1x 48Port 1Gbit. Was gar nicht so schleicht war da die Stromaufnahme im Schrank sang und wir über die 3 Netzteile mehrfach redundant angebunden waren. Leider mussten wir für die Zeit die <a href="/hidden-bridge-mit-mysql-unterstutzung/">Hidden Bridge</a> zurück bauen. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr3.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr3.jpg" alt="" title="nwr3" width="375" height="500" class="alignnone size-full wp-image-2865" /></a></p>
<p>Die werten Hobbyarchitekten kamen auf die Idee den Raum kleiner zu mache. Als wir die Pläne zu Gesicht bekamen stellen wir fest, das so wie sie es geplant haben, wir die Tür vom Netzwerkschrank nicht mehr öffnen hätten können. Die Hobbyarchitekten meinen das wir den Schrank doch einfach verschieben sollten. Leider hatten sie nicht an die Kabel gedacht die durch den Fußboden in die Zimmer verteilt werden. Dennoch haben wir den Vorschlag gemacht das wir den Schrank drehen können. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr4.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr4.jpg" alt="" title="nwr4" width="750" height="563" class="alignnone size-full wp-image-2867" /></a></p>
<p>Das sah dann so aus. Unser <a href="/internet-down/">LWL Kabel</a> das während den Bauarbeiten schon mal durchtrennt wurden haben wir diesmal Überall markiert.</p>
<p>Dann gingen die Abreißarbeiten auf der 12. los. Die Wende wurden eingerissen dafür haben wir den Schrank mit Panzerband angeklebt. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr5.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr5.jpg" alt="" title="nwr5" width="750" height="563" class="alignnone size-full wp-image-2871" /></a></p>
<p>Da wir auf den Bauleitersitzungen beklagt haben, dass wir unsere Server Infrastruktur zum betreiben des Internets benötigen, haben wir eines der Schimmel Zimmer bekommen. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr6.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr6.jpg" alt="" title="nwr6" width="750" height="563" class="alignnone size-full wp-image-2891" /></a></p>
<p>Dumm war nur das unsere Server die Luft so stark getrocknet haben das der Schimmel verschwand und wir ins nächste Schimmel Zimmer umziehen mussten.</p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr9.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr9.jpg" alt="" title="nwr9" width="750" height="751" class="alignnone size-full wp-image-2873" /></a></p>
<p>Dieses Zimmer durften wir dann mit der Firma die die Fenster austauschte teilen. Nicht nur das die Tür dieses Zimmers den ganz Tag offen stand. Nach dem die Bauarbeiter gegangen sind haben sie nicht mal abgeschlossen. Gut nur das nix verschwunden ist.</p>
<p>Derweil tat sich einiges im Serverraum, die Wende wurden gezogen und der Estricht wurde gelegt.</p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr7.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr7.jpg" alt="" title="nwr7" width="333" height="500" class="alignnone size-full wp-image-2875" /></a></p>
<p>Nach dem an den Plänen dann wieder Heruntergespielt wurde und wir nun wieder eine Tür nicht öffnen konnten, mussten wir den Schrank wieder zurückdreht. Für alle Fachmänner: der Schrank war voll gepecht und im betrieb. Da dreht sich nicht nur der Schrank sondern auch der Magen. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr7a.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr7a.jpg" alt="" title="nwr7a" width="750" height="500" class="alignnone size-full wp-image-2895" /></a></p>
<p>Weitere Monate zogen ins Land und der Raum wurde gestrischen und die Klima installiert. Leider wurde vergessen sie zu befüllen. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr8.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr8.jpg" alt="" title="nwr8" width="333" height="500" class="alignnone size-full wp-image-2879" /></a></p>
<p>Dann war es endlich soweit. Die Server konnten endlich in Ihr neues Zuhause umziehen. Aber fast wäre es nicht dazu gekommen, denn die oben erwähnten Hobbyarchitekten haben für die Heizungsanlage für <strong>18.000€</strong> zufiel Kabel ziehen lassen aber nur eine Steckdose im Netzwerkraum, direkt an der Tür Hinterlassen. Gütigerweise haben wir nach mehrfachen Betteln jetzt doch noch <strong>eine</strong> bekommen. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr10.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr10.jpg" alt="" title="nwr10" width="333" height="500" class="alignnone size-full wp-image-2881" /></a><a href="http://blog.chr.istoph.de/wp-content/uploads/nwr11.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/nwr11.jpg" alt="" title="nwr11" width="333" height="500" class="alignnone size-full wp-image-2883" /></a></p>
<p>Das war nur ein kleiner Teil was wir mit dem Serverraum erlebt haben. Ein besonderer Gruß gilt an dieser stelle aber dem Hobbyarchitekten. Der alleine schon, durch die  verzögert des Baus 1,5 Millionen € für das Gerüst ausgegeben hat, 18.000 € für die Ansteuerung der Heizung in den Sand setzte und die Steckdosen im EDV Raum vergessen hat. Das da noch einiges nicht an die Öffentlichkeit gekommen ist müsste einigen klar sein. In der freien Wirtschaft hätte ich so jemanden schon lange vor die Türe gesetzt.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/das-stw-aachen-und-der-nwr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Der Mirror in der BA</title>
		<link>http://blog.chr.istoph.de/der-mirror-in-der-ba/</link>
		<comments>http://blog.chr.istoph.de/der-mirror-in-der-ba/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 19:41:35 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2809</guid>
		<description><![CDATA[Mein Update nach Natty: Es wurden 405MB in 18 s geholt (21,4MB/s) Wie gut das der Mirror am gleichen Switch hängt.]]></description>
			<content:encoded><![CDATA[<p>Mein Update nach Natty:<br />
<code>Es wurden 405MB in 18 s geholt (21,4MB/s) </code><br />
Wie gut das der <a href="http://mirror.bauhuette.fh-aachen.de/">Mirror</a> am gleichen Switch hängt. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/der-mirror-in-der-ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RRD Graphen über SNMP erstellen</title>
		<link>http://blog.chr.istoph.de/rrd-graphen-uber-snmp-erstellen/</link>
		<comments>http://blog.chr.istoph.de/rrd-graphen-uber-snmp-erstellen/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 07:00:52 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>
		<category><![CDATA[CISCO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=2589</guid>
		<description><![CDATA[Hier Dokumentire ich mal wie wir im Wohnheim den Cisco Catalist 4006 über SNMP abfragen um RRD Graphen zu erstellen. Zuerst muss man auf den Cisco natürlich SNMP einschalten und ein Passwort Sätzen. snmp-server community password RO snmp-server enable traps tty Als erstes müssen vollende Pakete installiert werden: apt-get install php-cli snmp rrdtool Dann habe [...]]]></description>
			<content:encoded><![CDATA[<p>Hier Dokumentire ich mal wie wir im Wohnheim den Cisco Catalist 4006 über SNMP abfragen um RRD Graphen zu erstellen. Zuerst muss man auf den Cisco natürlich SNMP einschalten und ein Passwort Sätzen. </p>
<p><code>snmp-server community password RO<br />
snmp-server enable traps tty</code></p>
<p>Als erstes müssen vollende Pakete installiert werden:<br />
<code>apt-get install php-cli snmp rrdtool</code></p>
<p>Dann habe ich ein Script geschrieben das die insgesamt 195 Port abfragt. </p>
<pre class="php">&nbsp;
<span style="color: #808080; font-style: italic;">#!/usr/bin/php5</span>
<span style="color: #000000; font-weight: bold;">&lt;?</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//CISCO</span>
<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$i</span>=<span style="color: #cc66cc;">1</span>;<span style="color: #0000ff;">$i</span>&lt;=<span style="color: #cc66cc;">195</span>;<span style="color: #0000ff;">$i</span>++<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
<span style="color: #808080; font-style: italic;">// RRD ERSTELLEN</span>
   <span style="color: #808080; font-style: italic;">//system(&quot;rrdtool create bandwidth-&quot;. $i .&quot;.rrd --start N DS:in:COUNTER:600:U:U</span>
DS:out:COUNTER:<span style="color: #cc66cc;">600</span>:U:U RRA:AVERAGE:<span style="color: #cc66cc;">0.5</span>:<span style="color: #cc66cc;">1</span>:<span style="color: #cc66cc;">432</span><span style="color: #ff0000;">&quot;);
&nbsp;
// RRD LOGGEN
  system(&quot;</span>/usr/bin/rrdupdate /usr/local/rrd/bandwidth-<span style="color: #ff0000;">&quot;. $i .&quot;</span>.rrd N:
`/usr/bin/snmpget -v1 -c password <span style="color: #cc66cc;">192.168</span><span style="color: #cc66cc;">.1</span><span style="color: #cc66cc;">.1</span> -Oqv IF-MIB::<span style="color: #006600;">ifInOctets</span>.<span style="color: #ff0000;">&quot;. $i .&quot;</span>`:
`/usr/bin/snmpget -v1 -c password <span style="color: #cc66cc;">192.168</span><span style="color: #cc66cc;">.1</span><span style="color: #cc66cc;">.1</span> -Oqv IF-MIB::<span style="color: #006600;">ifOutOctets</span>.<span style="color: #ff0000;">&quot;. $i .&quot;</span>`<span style="color: #ff0000;">&quot;);
&nbsp;
// RRD GRAPH
  system(&quot;</span>/usr/bin/rrdtool graph /usr/local/rrd/img/bandwidth-<span style="color: #ff0000;">&quot;. $i .&quot;</span>.png
-a PNG -w <span style="color: #cc66cc;">500</span> -h <span style="color: #cc66cc;">150</span> -M -s <span style="color: #cc66cc;">-129600</span> -v \
`/usr/bin/snmpget -v1 -c password <span style="color: #cc66cc;">192.168</span><span style="color: #cc66cc;">.1</span><span style="color: #cc66cc;">.1</span> -Oqv IF-MIB::<span style="color: #006600;">ifDescr</span>.<span style="color: #ff0000;">&quot;. $i .&quot;</span>` \
    <span style="color: #ff0000;">'DEF:in=/usr/local/rrd/bandwidth-&quot;. $i .&quot;.rrd:in:AVERAGE'</span> \
    <span style="color: #ff0000;">'DEF:out=/usr/local/rrd/bandwidth-&quot;. $i .&quot;.rrd:out:AVERAGE'</span> \
    <span style="color: #ff0000;">'CDEF:kbin=in,1024,/'</span> \
    <span style="color: #ff0000;">'CDEF:kbout=out,1024,/'</span> \
    <span style="color: #ff0000;">'AREA:in#00FF00:Bandwidth In'</span> \
    <span style="color: #ff0000;">'LINE1:out#0000FF:Bandwidth Out<span style="color: #000099; font-weight: bold;">\j</span>'</span> \
    <span style="color: #ff0000;">'GPRINT:kbin:LAST:Last Bandwidth In<span style="color: #000099; font-weight: bold;">\:</span>    %3.2lf KBps'</span> \
    <span style="color: #ff0000;">'GPRINT:kbout:LAST:Last Bandwidth Out<span style="color: #000099; font-weight: bold;">\:</span>   %3.2lf KBps<span style="color: #000099; font-weight: bold;">\j</span>'</span> \
    <span style="color: #ff0000;">'GPRINT:kbin:AVERAGE:Average Bandwidth In<span style="color: #000099; font-weight: bold;">\:</span> %3.2lf KBps'</span> \
    <span style="color: #ff0000;">'GPRINT:kbout:AVERAGE:Average Bandwidth Out<span style="color: #000099; font-weight: bold;">\:</span>%3.2lf KBps<span style="color: #000099; font-weight: bold;">\j</span>'</span><span style="color: #ff0000;">&quot;);
}
?&gt;</span></pre>
<p>Das ganze sieht dann so aus, hier ist der Aktelle Graph des Netzwerk Trafik des Wohnheims:<br />
<img border="0" alt="network traffic" src="http://www.bauhuette.fh-aachen.de/images/traffic.png"></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/rrd-graphen-uber-snmp-erstellen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sudo für www-data auf ein Programm</title>
		<link>http://blog.chr.istoph.de/sudo-fur-www-data-auf-ein-programm/</link>
		<comments>http://blog.chr.istoph.de/sudo-fur-www-data-auf-ein-programm/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 22:11:11 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=2573</guid>
		<description><![CDATA[Um für die Internet freischalte Anwendung im Wohnheim dem Apache root Rechte auf ein Programm zu geben, gibt es die Möglichkeit dies mit sudo und nopassword zumachen. Dafür Edition man die /etc/sudoers mit visudo und ergänzt dies mit einer solchen Zeile: www-data ALL=NOPASSWD:/usr/sbin/arp So kann der Befehl $mac = system('sudo arp -a '. $_SERVER['REMOTE_ADDR'] .' [...]]]></description>
			<content:encoded><![CDATA[<p>Um für die Internet freischalte Anwendung im Wohnheim dem Apache root Rechte auf ein Programm zu geben, gibt es die Möglichkeit dies mit sudo und nopassword zumachen. Dafür Edition man die /etc/sudoers mit visudo und ergänzt dies mit einer solchen Zeile:</p>
<p><code>www-data        ALL=NOPASSWD:/usr/sbin/arp</code></p>
<p>So kann der Befehl </p>
<p><code>$mac = system('sudo arp -a '. $_SERVER['REMOTE_ADDR'] .' | cut -d " " -f4'); </code> </p>
<p>instent die MAC Adresse für die IP des Client Rechners ermitteln, obwohl root rechte zum ausführen einer arp anfrage benötige werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/sudo-fur-www-data-auf-ein-programm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN Config der FH-Aachen unter Ubuntu</title>
		<link>http://blog.chr.istoph.de/openvpn-config-der-fh-aachen-unter-ubuntu/</link>
		<comments>http://blog.chr.istoph.de/openvpn-config-der-fh-aachen-unter-ubuntu/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 23:28:40 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[FH-Aachen]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=2477</guid>
		<description><![CDATA[Da die OpenVPN Config der FH-Aachen für Ubuntu mal wieder buggi ist, habe ich hier eine die bei mir im Networkmanager Läuft: client remote 149.201.253.150 ca /etc/openvpn/user/ca.crt cert /etc/openvpn/user/client.crt key /etc/openvpn/user/client.key auth-user-pass comp-lzo yes dev tap proto tcp tls-auth /etc/openvpn/user/ta.key 1 nobind auth-nocache script-security 2 persist-key persist-tun user openvpn group openvpn Zu erst müsst ihr [...]]]></description>
			<content:encoded><![CDATA[<p>Da die OpenVPN Config der FH-Aachen für Ubuntu mal wieder buggi ist, habe ich hier eine die bei mir im Networkmanager Läuft:</p>
<p><code><br />
client<br />
remote 149.201.253.150<br />
ca /etc/openvpn/user/ca.crt<br />
cert /etc/openvpn/user/client.crt<br />
key /etc/openvpn/user/client.key<br />
auth-user-pass<br />
comp-lzo yes<br />
dev tap<br />
proto tcp<br />
tls-auth /etc/openvpn/user/ta.key 1<br />
nobind<br />
auth-nocache<br />
script-security 2<br />
persist-key<br />
persist-tun<br />
user openvpn<br />
group openvpn</code></p>
<p>Zu erst müsst ihr das Paket für die Unterstützung von OpenVPN im Networkmanager installieren.<br />
<code>sudo apt-get install network-manager-openvpn-gnome</code></p>
<p>Dann braucht ihr die Zertifikate, die ihr <strong>nach der Anmeldung auf der <a href="https://www.fh-aachen.de">FH-Aachen</a> Seite</strong>, von der DVZ Seite aus der <a href="http://www.fh-aachen.de/18290.html">config.zip</a> übernehmen müsst.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/openvpn-config-der-fh-aachen-unter-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Großbaustelle Netzwerkraum Bayernallee</title>
		<link>http://blog.chr.istoph.de/gosbaustelle-netzwerkraum-bayernallee/</link>
		<comments>http://blog.chr.istoph.de/gosbaustelle-netzwerkraum-bayernallee/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 13:56:02 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2279</guid>
		<description><![CDATA[Karos im Netzwerkraum in der Bayernallee. Da das STW auf die glorreiche Idee gekommen ist die Komplette 12. Etage umbauen, steht unser Netzwerkschrank nun in einer Großbaustelle.]]></description>
			<content:encoded><![CDATA[<p>Karos im Netzwerkraum in der Bayernallee. Da das STW auf die glorreiche Idee gekommen ist die Komplette 12. Etage umbauen, steht unser Netzwerkschrank nun in einer Großbaustelle. </p>
<p><a href="http://blog.christoph-hueffelmann.de/wp-content/uploads/DSCF4550.jpg"><img src="http://blog.christoph-hueffelmann.de/wp-content/uploads/DSCF4550-500x500.jpg" alt="" title="DSCF4550" width="500" height="500" class="alignnone size-thumbnail wp-image-2280" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/gosbaustelle-netzwerkraum-bayernallee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uptime 541 Tage</title>
		<link>http://blog.chr.istoph.de/uptime-541-tage/</link>
		<comments>http://blog.chr.istoph.de/uptime-541-tage/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 17:20:40 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2233</guid>
		<description><![CDATA[Oh man was für eine Schande. Da derzeit Umbauarbeiten stattfinden musste ich soeben den Server mit der Höchsten uptime herunterfahren.]]></description>
			<content:encoded><![CDATA[<p>Oh man was für eine Schande. Da derzeit Umbauarbeiten stattfinden musste ich soeben den Server mit der Höchsten uptime herunterfahren. </p>
<p><a href="http://blog.christoph-hueffelmann.de/wp-content/uploads/uptime.png"><img src="http://blog.christoph-hueffelmann.de/wp-content/uploads/uptime-500x500.png" alt="" title="uptime" width="500" height="500" class="aligncenter size-thumbnail wp-image-2234" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/uptime-541-tage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SysAdminDay</title>
		<link>http://blog.chr.istoph.de/sysadminday/</link>
		<comments>http://blog.chr.istoph.de/sysadminday/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 14:45:41 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Aktuell]]></category>
		<category><![CDATA[AStA]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2208</guid>
		<description><![CDATA[Gerade eben bekam ich diese nette E-Mail vom Andreas und dachte, bedanke ich mich doch die reckt öffentlich und hoffe das weiterhin alles so rund läuft. Christoph, heute ist dein Tag, und ich denke wir alle sind froh, dass die Rechner und Programme im AStA so laufen wie sie laufen. Ohne dich wäre die IT [...]]]></description>
			<content:encoded><![CDATA[<p>Gerade eben bekam ich diese nette E-Mail vom Andreas und dachte, bedanke ich mich doch die reckt öffentlich und hoffe das weiterhin alles so rund läuft. </p>
<blockquote><p>Christoph, heute ist dein Tag,</p>
<p>und ich denke wir alle sind froh, dass die Rechner und Programme im AStA<br />
so laufen wie sie laufen. Ohne dich wäre die IT einfach nicht die selbe.<br />
Bemühe dich weiter, wir brauchen dich und deinen Support!</p>
<p>Ein dreifaches Hoch auf unseren unermüdlichen Admin!</p>
<p><a href="http://www.sysadminday.com/" target="_blank">www.sysadminday.com</a></p>
<p>MfG,<br />
Andreas<br />
von der HoPo</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/sysadminday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heute TANDBERG Content Server unter Ubuntu 10.04</title>
		<link>http://blog.chr.istoph.de/heute-tandberg-content-server-unter-ubuntu-10-04/</link>
		<comments>http://blog.chr.istoph.de/heute-tandberg-content-server-unter-ubuntu-10-04/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 22:59:46 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[FH-Aachen]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2165</guid>
		<description><![CDATA[Da die DVZ leider nicht die Ressourcen hat, die Anleitungen für die Verwendung des TANDBERG Content Server unter Ubuntu 10.04 zu überarbeiten, habe ich mir gedacht, dass ich mal eben eine Anleitung schreibe. Erstens ist es vollkommen überflüssig die wie auf der Seite beschreiben Kodexe einzubinden: Sie benötigen für den Firefox das MPlayer Plugin und [...]]]></description>
			<content:encoded><![CDATA[<p>Da die DVZ leider nicht die Ressourcen hat, die Anleitungen für die Verwendung des TANDBERG Content Server unter Ubuntu 10.04 zu überarbeiten, habe ich mir gedacht, dass ich mal eben eine Anleitung schreibe.</p>
<p>Erstens ist es vollkommen überflüssig die wie auf der <a href="http://www.fh-aachen.de/15447.html">Seite</a> beschreiben Kodexe einzubinden:</p>
<blockquote><p>Sie benötigen für den Firefox das MPlayer Plugin und die w32codecs. Hierzu ist es erforderlich, die Paketquelle (medibuntu) und den Schlüssel zur Paketverwaltung (medibuntu-keyring) einzufügen.</p></blockquote>
<p>, da es mittlerweile auch mit Flash geht. </p>
<p>Deswegen sollte man alle Video Plugins wie "Windows Media" oder "Quicktime" im Firefox deaktivieren, ausgenommen Flash.<br />
<a href="http://blog.christoph-hueffelmann.de/wp-content/uploads/Bildschirmfoto-Add-ons.png"><img src="http://blog.christoph-hueffelmann.de/wp-content/uploads/Bildschirmfoto-Add-ons.png" alt="" title="Bildschirmfoto-Add-ons" width="486" height="472" class="aligncenter size-full wp-image-2166" /></a></p>
<p>Dann kann man oben rechts auf der <a href="http://www.podcast.fh-aachen.de">www.podcast.fh-aachen.de</a> Seite auf "Preferences" klicken um mehr Informationen über den Status der Kodexe zu erhalten. Dies sollte dann so aussehen:<br />
<a href="http://blog.christoph-hueffelmann.de/wp-content/uploads/Bildschirmfoto-TANDBERG-Content-Server-Mozilla-Firefox.png"><img src="http://blog.christoph-hueffelmann.de/wp-content/uploads/Bildschirmfoto-TANDBERG-Content-Server-Mozilla-Firefox.png" alt="" title="Bildschirmfoto-TANDBERG Content Server - Mozilla Firefox" width="467" height="373" class="aligncenter size-full wp-image-2167" /></a></p>
<p>Der folgende Hinweis kommt derzeit bei mir auch noch, kann getost übersprungen werden.<br />
<a href="http://blog.christoph-hueffelmann.de/wp-content/uploads/Bildschirmfoto-Studium-Generale-Börse-Big-Bang-und-die-Zukunft-der-Welt-Mozilla-Firefox.png"><img src="http://blog.christoph-hueffelmann.de/wp-content/uploads/Bildschirmfoto-Studium-Generale-Börse-Big-Bang-und-die-Zukunft-der-Welt-Mozilla-Firefox.png" alt="" title="Bildschirmfoto-Studium Generale - &quot;Börse, Big Bang und die Zukunft der Welt&quot; - Mozilla Firefox" width="294" height="274" class="aligncenter size-full wp-image-2170" /></a></p>
<p>Wenn ihr Trotzdem noch Probleme haben solltet, schreib eine E-Mail an das E-Lernring Team oder schaut mit eurem Laptop die reckt in der DVZ vorbei. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/heute-tandberg-content-server-unter-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bildungsstreik im Sommer 2010</title>
		<link>http://blog.chr.istoph.de/bildungsstreik-im-sommer-2010/</link>
		<comments>http://blog.chr.istoph.de/bildungsstreik-im-sommer-2010/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 19:55:49 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Aktuell]]></category>
		<category><![CDATA[AStA]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2143</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object id="mpl" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="418" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="mpl" /><param name="flashvars" value="streamer=rtmp://149.201.10.141/asta/media/&amp;backcolor=000000&amp;frontcolor=00A5A5&amp;lightcolor=FF8401&amp;screencolor=000000&amp;file=http://playerbackend.fh-aachen.de/include/xml.php?schluessel=67572646&amp;playlistsize=0&amp;playlist=bottom&amp;bufferlength=2&amp;stretching=uniform&amp;wmode=" /><param name="src" value="http://playerbackend.fh-aachen.de/player/player.swf" /><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><param name="quality" value="high" /><embed id="mpl" type="application/x-shockwave-flash" width="500" height="418" src="http://playerbackend.fh-aachen.de/player/player.swf" quality="high" allowfullscreen="true" wmode="transparent" flashvars="streamer=rtmp://149.201.10.141/asta/media/&amp;backcolor=000000&amp;frontcolor=00A5A5&amp;lightcolor=FF8401&amp;screencolor=000000&amp;file=http://playerbackend.fh-aachen.de/include/xml.php?schluessel=67572646&amp;playlistsize=0&amp;playlist=bottom&amp;bufferlength=2&amp;stretching=uniform&amp;wmode=" name="mpl"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/bildungsstreik-im-sommer-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heute nacht rendert noch das Video</title>
		<link>http://blog.chr.istoph.de/heute-nacht-rendert-noch-das-video/</link>
		<comments>http://blog.chr.istoph.de/heute-nacht-rendert-noch-das-video/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 00:10:34 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[AStA]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2088</guid>
		<description><![CDATA[dürfte dann morgen so weit sein das wir es veröffentlichen können.]]></description>
			<content:encoded><![CDATA[<p>dürfte dann morgen so weit sein das wir es veröffentlichen können. </p>
<p><a href="http://blog.christoph-hueffelmann.de/wp-content/uploads/IMG_2751_klein.jpg"><img src="http://blog.christoph-hueffelmann.de/wp-content/uploads/IMG_2751_klein.jpg" alt="" title="IMG_2751_klein" width="500" height="344" class="alignright size-full wp-image-2091" /></a></p>
<p><a href="http://blog.christoph-hueffelmann.de/wp-content/uploads/IMG_2405.jpg"><img src="http://blog.christoph-hueffelmann.de/wp-content/uploads/IMG_2405.jpg" alt="" title="IMG_2405" width="500" height="333" class="alignright size-full wp-image-2089" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/heute-nacht-rendert-noch-das-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bildungsstreik April 2010</title>
		<link>http://blog.chr.istoph.de/bildungsstreik-april-2010/</link>
		<comments>http://blog.chr.istoph.de/bildungsstreik-april-2010/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 21:27:28 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[AStA]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2085</guid>
		<description><![CDATA[Hier bin ich unterwegs beim Bildungsstreik TV. Bald noch ein paar Videos von mir.]]></description>
			<content:encoded><![CDATA[<p>Hier bin ich unterwegs beim Bildungsstreik TV. Bald noch ein paar Videos von mir.<br />
<a href="http://blog.christoph-hueffelmann.de/wp-content/uploads/IMG_0306.jpg"><img src="http://blog.christoph-hueffelmann.de/wp-content/uploads/IMG_0306.jpg" alt="" title="IMG_0306" width="500" height="375" class="alignright size-full wp-image-2084" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/bildungsstreik-april-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neulich in der BA</title>
		<link>http://blog.chr.istoph.de/neulich-in-der-ba/</link>
		<comments>http://blog.chr.istoph.de/neulich-in-der-ba/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 23:43:14 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>
		<category><![CDATA[Sprueche]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2051</guid>
		<description><![CDATA[Andy: Der Farbi ist diese Woche schon 3x einstellig aufgestanden.]]></description>
			<content:encoded><![CDATA[<p>Andy: Der Farbi ist diese Woche schon 3x einstellig aufgestanden. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/neulich-in-der-ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importscript von Drupal nach WordPress</title>
		<link>http://blog.chr.istoph.de/importscript-von-drupal-nach-wordpress/</link>
		<comments>http://blog.chr.istoph.de/importscript-von-drupal-nach-wordpress/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 15:16:38 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[AStA]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=2039</guid>
		<description><![CDATA[Endlich hat der AStA eine neue Webseite. Was auffällt ist vermutlich das Kopfzeilen Hintergründigbild das meinem vielleicht ein bisschen ähnelt. Die Jungs vom AStA haben beim anschauen meines Blogs ein bisschen inspirieren lassen. Toll an dem Bild, das ich von meinem Turm geschossen habe, ist nämlich das es die sich um die Sicht der ganzen [...]]]></description>
			<content:encoded><![CDATA[<p>Endlich hat der <a href="http://www.asta.fh-aachen.org" target="_blank">AStA</a> eine neue Webseite. Was auffällt ist vermutlich das Kopfzeilen Hintergründigbild das meinem vielleicht ein bisschen ähnelt. Die Jungs vom AStA haben beim anschauen meines Blogs ein bisschen inspirieren lassen. Toll an dem Bild, das ich von meinem Turm geschossen habe, ist nämlich das es die sich um die Sicht der ganzen FH-Aachen auf Aachen handelt, da alle Standorte sich hinter dem HBF befinden. Ich habe dafür einen Importscript von Drupal nach WordPress geschrieben. Wie immer habe ich es als PHP_CLI Anwendung auf der Konsole gemacht.</p>
<p><span id="more-2039"></span></p>
<pre class="php">&nbsp;
<span style="color: #808080; font-style: italic;">#!/usr/bin/php5</span>
<span style="color: #000000; font-weight: bold;">&lt;?</span>
<span style="color: #0000ff;">$link</span> = <a href="http://www.php.net/mysql_connect"><span style="color: #000066;">mysql_connect</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'localhost'</span>, <span style="color: #ff0000;">'root'</span>, <span style="color: #ff0000;">'PW'</span><span style="color: #66cc66;">&#41;</span>;
<a href="http://www.php.net/mysql_select_db"><span style="color: #000066;">mysql_select_db</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;drupal&quot;</span>,<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">## Encoding Convert</span>
<span style="color: #000000; font-weight: bold;">function</span> con<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$string</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">return</span> <a href="http://www.php.net/iconv"><span style="color: #000066;">iconv</span></a> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;UTF-8&quot;</span>, <span style="color: #ff0000;">&quot;ISO-8859-1&quot;</span>, <span style="color: #0000ff;">$string</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">### IMPORT SACIC SITES</span>
<span style="color: #0000ff;">$sql</span> = <span style="color: #ff0000;">'
SELECT &quot;1&quot; AS `post_author`,
`cms_content`.create_date AS `post_date`,
`cms_content`. modified_date AS `post_date_gmt`,
`cms_content_props`.`content` AS `post_content`,
`cms_content`.content_name AS `post_title`,
&quot;publish&quot; AS `post_status`,
&quot;closed&quot; AS `comment_status`,
&quot;closed&quot; AS `ping_status`,
`cms_content`.`content_alias` AS `post_name`,
`cms_content`.modified_date AS `post_modified`,
`cms_content`.modified_date AS `post_modified_gmt`,
&quot;0&quot; AS `post_parent`,
&quot;0&quot; AS `menu_order`,
&quot;page&quot; AS `post_type`,
&quot;0&quot; AS `comment_count`
FROM `cms_content`, `cms_content_props`
WHERE `cms_content`.`type`=&quot;content&quot; AND
`cms_content`.`content_id`=`cms_content_props`.`content_id`
AND NOT `cms_content_props`.`content`=&quot;&quot;
ORDER BY `cms_content`.hierarchy'</span>;
&nbsp;
<span style="color: #0000ff;">$sql</span> = <span style="color: #ff0000;">'SELECT `news_id` , `news_category_id` , `news_title` , `news_data` , `news_date` ,
`summary` , `start_time` , `end_time` , `status` , `icon` , `create_date` , `modified_date` ,
`author_id` , `news_extra`
FROM `cms_module_news`'</span>;
&nbsp;
<span style="color: #0000ff;">$q</span> = <a href="http://www.php.net/mysql_query"><span style="color: #000066;">mysql_query</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$sql</span>,<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
<a href="http://www.php.net/mysql_select_db"><span style="color: #000066;">mysql_select_db</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;wordpress&quot;</span>,<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span>;<span style="color: #0000ff;">$ds</span> = <a href="http://www.php.net/mysql_fetch_array"><span style="color: #000066;">mysql_fetch_array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$q</span><span style="color: #66cc66;">&#41;</span>;<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #0000ff;">$sql</span> = <span style="color: #ff0000;">&quot;SELECT * FROM `wp_posts` WHERE `post_title`='&quot;</span>.
<a href="http://www.php.net/mysql_real_escape_string"><span style="color: #000066;">mysql_real_escape_string</span></a><span style="color: #66cc66;">&#40;</span>con<span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_title'</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> .<span style="color: #ff0000;">&quot;'&quot;</span>;
&nbsp;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/mysql_num_rows"><span style="color: #000066;">mysql_num_rows</span></a><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/mysql_query"><span style="color: #000066;">mysql_query</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$sql</span>,<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> &gt; <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #808080; font-style: italic;">#UPDATE</span>
		<span style="color: #0000ff;">$sql</span> = <span style="color: #ff0000;">&quot;UPDATE `wp_posts` SET `post_content`=
CONCAT(`post_content` , '&quot;</span> . <a href="http://www.php.net/mysql_real_escape_string"><span style="color: #000066;">mysql_real_escape_string</span></a><span style="color: #66cc66;">&#40;</span>con<span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_content'</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> .<span style="color: #ff0000;">&quot;')
WHERE `post_title`='&quot;</span>. <a href="http://www.php.net/mysql_real_escape_string"><span style="color: #000066;">mysql_real_escape_string</span></a><span style="color: #66cc66;">&#40;</span>con<span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_title'</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> .<span style="color: #ff0000;">&quot;'&quot;</span>;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #b1b100;">else</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #0000ff;">$sql</span> = <span style="color: #ff0000;">&quot;
		INSERT INTO `wp_posts`
		SET
		`post_author`='1',
		`post_date`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_date'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;',
		`post_date_gmt`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_date'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;',
		`post_content`='&quot;</span> . <a href="http://www.php.net/mysql_real_escape_string"><span style="color: #000066;">mysql_real_escape_string</span></a><span style="color: #66cc66;">&#40;</span>con<span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_content'</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> .<span style="color: #ff0000;">&quot;',
		`post_title`='&quot;</span>. <a href="http://www.php.net/mysql_real_escape_string"><span style="color: #000066;">mysql_real_escape_string</span></a><span style="color: #66cc66;">&#40;</span>con<span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_title'</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> .<span style="color: #ff0000;">&quot;',
		`post_excerpt`='',
		`post_status`='publish',
		`comment_status`='closed',
		`ping_status`='closed',
		`post_password`='',
		`post_name`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_name'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;',
		`to_ping`='',
		`pinged`='',
		`post_modified`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_modified'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;',
		`post_modified_gmt`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_modified'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;',
		`post_type`='page';
		&quot;</span>;
	<span style="color: #66cc66;">&#125;</span>
&nbsp;
	<a href="http://www.php.net/mysql_query"><span style="color: #000066;">mysql_query</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$sql</span>,<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span> or <a href="http://www.php.net/die"><span style="color: #000066;">die</span></a> <span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/mysql_error"><span style="color: #000066;">mysql_error</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">### Import Post</span>
<a href="http://www.php.net/mysql_select_db"><span style="color: #000066;">mysql_select_db</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;drupal&quot;</span>,<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #0000ff;">$sql</span> = <span style="color: #ff0000;">'SELECT `news_id` , `news_category_id` , `news_title` , `news_data` ,
`news_date` , `summary` , `start_time` , `end_time` , `status` ,
`icon` , `create_date` , `modified_date` , `author_id` , `news_extra`
FROM `cms_module_news`'</span>;
&nbsp;
<span style="color: #0000ff;">$q</span> = <a href="http://www.php.net/mysql_query"><span style="color: #000066;">mysql_query</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$sql</span>,<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
<a href="http://www.php.net/mysql_select_db"><span style="color: #000066;">mysql_select_db</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;wordpress&quot;</span>,<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span>;<span style="color: #0000ff;">$ds</span> = <a href="http://www.php.net/mysql_fetch_array"><span style="color: #000066;">mysql_fetch_array</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$q</span><span style="color: #66cc66;">&#41;</span>;<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
&nbsp;
<span style="color: #0000ff;">$sql</span> = <span style="color: #ff0000;">&quot;
		INSERT INTO `wp_posts`
		SET
		`post_author`='1',
		`post_date`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'create_date'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;',
		`post_date_gmt`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'create_date'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;',
		`post_content`='&quot;</span> . <a href="http://www.php.net/mysql_real_escape_string"><span style="color: #000066;">mysql_real_escape_string</span></a><span style="color: #66cc66;">&#40;</span>con<span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'news_data'</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> .<span style="color: #ff0000;">&quot;',
		`post_title`='&quot;</span>. <a href="http://www.php.net/mysql_real_escape_string"><span style="color: #000066;">mysql_real_escape_string</span></a><span style="color: #66cc66;">&#40;</span>con<span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'news_title'</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> .<span style="color: #ff0000;">&quot;',
		`post_excerpt`='&quot;</span> . <a href="http://www.php.net/mysql_real_escape_string"><span style="color: #000066;">mysql_real_escape_string</span></a><span style="color: #66cc66;">&#40;</span>con<span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'summary'</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> .<span style="color: #ff0000;">&quot;',
		`post_status`='publish',
		`comment_status`='closed',
		`ping_status`='closed',
		`post_password`='',
		`post_name`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'post_name'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;',
		`to_ping`='',
		`pinged`='',
		`post_modified`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'modified_date'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;',
		`post_modified_gmt`='&quot;</span>. <span style="color: #0000ff;">$ds</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'modified_date'</span><span style="color: #66cc66;">&#93;</span> .<span style="color: #ff0000;">&quot;'
		&quot;</span>;
&nbsp;
	<a href="http://www.php.net/mysql_query"><span style="color: #000066;">mysql_query</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$sql</span>,<span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span> or <a href="http://www.php.net/die"><span style="color: #000066;">die</span></a> <span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/mysql_error"><span style="color: #000066;">mysql_error</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/importscript-von-drupal-nach-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CDP (Cisco Discovery Protocol)</title>
		<link>http://blog.chr.istoph.de/cdp-cisco-discovery-protocol/</link>
		<comments>http://blog.chr.istoph.de/cdp-cisco-discovery-protocol/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 06:00:02 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>
		<category><![CDATA[CISCO]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=1957</guid>
		<description><![CDATA[Da nun endlich die CISCO 4006 läuft habe ich den wurde mir mitgeteilt das ich doch mal CDP Konfigurieren soll. Standardmäßig ist dies auf allen Prots eingestellt und gib darüber Auskunft welche Geräte an welchem Port hängen. Lustig ist das man dies auch auf Normalen Linux Maschine zum laufen bekommt. Hier eine Anleitung wie es [...]]]></description>
			<content:encoded><![CDATA[<p>Da nun endlich die CISCO 4006 läuft habe ich den wurde mir mitgeteilt das ich doch mal <a href="http://de.wikipedia.org/wiki/Cisco_Discovery_Protocol">CDP</a> Konfigurieren soll. Standardmäßig ist dies auf allen Prots eingestellt und gib darüber Auskunft welche Geräte an welchem Port hängen. </p>
<p>Lustig ist das man dies auch auf Normalen Linux Maschine zum laufen bekommt. Hier eine Anleitung wie es unter Ubuntu geht und welche Informationen man bekommt.<br />
<code>sudo apt-get install build-essential libpcap-dev libpcap0.8-dev<br />
wget -c http://snar.spb.ru/prog/cdpd/cdpd-1.0.4.tgz<br />
md5sum cdpd-1.0.4.tgz # ( 7fb767a2e1644456c817bf8477406117 )<br />
tar xfz cdpd-1.0.4.tgz<br />
cd cdpd-1.0.4<br />
./configure<br />
make all<br />
sudo mkdir -p /usr/local/man/man8<br />
sudo cp cdpd.8 /usr/local/man/man8<br />
sudo cp cdpd /usr/local/sbin<br />
sudo /usr/local/sbin/cdpd -a</code></p>
<p>Ausgabe Switch:<br />
<code>switch#show cdp neighbors<br />
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge<br />
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone</p>
<p>Device ID            Local Intrfce         Holdtme   Capability    Platform   Port ID<br />
hostname           Fas 2/1                167             H       i686      eth0</p>
<p>switch#show cdp neighbors detail<br />
-------------------------<br />
Device ID: hostname<br />
Entry address(es):<br />
  IP address: 192.168.0.1<br />
Platform: i686,  Capabilities: Host<br />
Interface: FastEthernet2/1,  Port ID (outgoing port): eth0<br />
Holdtime : 149 sec</p>
<p>Version :<br />
Linux 2.6.24-26-server #1 SMP Tue Dec 1 19:19:20 UTC 2009</code></p>
<p>Quelle: <a href="http://ubuntuforums.org/showthread.php?t=1390519">ubuntuforums.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/cdp-cisco-discovery-protocol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Autowerkstadt</title>
		<link>http://blog.chr.istoph.de/autowerkstadt/</link>
		<comments>http://blog.chr.istoph.de/autowerkstadt/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 09:39:10 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Hiwi]]></category>
		<category><![CDATA[Sprueche]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=1899</guid>
		<description><![CDATA[Ulla zu Jörn: Man das ist aber auch ein Parfüm für Männer. Du riechst ja nach Autowerkstadt. Christoph: Das will ich auch haben. Jörn: Dann musst du mal einen Öl wechsle manchen dann reichst du auch so.]]></description>
			<content:encoded><![CDATA[<p>Ulla zu Jörn: Man das ist aber auch ein Parfüm für Männer. Du riechst ja nach Autowerkstadt.<br />
Christoph: Das will ich auch haben.<br />
Jörn: Dann musst du mal einen Öl wechsle manchen dann reichst du auch so.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/autowerkstadt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temperatursturz im Serverraum</title>
		<link>http://blog.chr.istoph.de/temperatursturz-im-serverraum/</link>
		<comments>http://blog.chr.istoph.de/temperatursturz-im-serverraum/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 02:39:13 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=1892</guid>
		<description><![CDATA[Da die aktuelle Außentemperatur auf -9 °C gefallen und es dabei auch noch leicht windig ist. Musste ich gerade feststellen das bei uns im Serverraum, dank der direkten Außenklimatisierung, die Plattentemperatur meiner Server binnen 5 Stunden um fast 20 °C gefallen ist. [UPDATE] Die Temperatur erholt sich gerade wieder, obwohl es Drusen mittlerweile -13 °C [...]]]></description>
			<content:encoded><![CDATA[<p>Da die aktuelle Außentemperatur auf -9 °C gefallen und es dabei auch noch leicht windig ist. Musste ich gerade feststellen das bei uns im Serverraum, dank der direkten Außenklimatisierung, die Plattentemperatur meiner Server binnen 5 Stunden um fast 20 °C gefallen ist. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/hddtemp-2009-12-30.png"><img src="http://blog.chr.istoph.de/wp-content/uploads/hddtemp-2009-12-30.png" alt="hddtemp-2009-12-30" title="hddtemp-2009-12-30" width="500" class="alignnone size-full wp-image-1891" /></a></p>
<p><strong>[UPDATE]</strong><br />
Die Temperatur erholt sich gerade wieder, obwohl es Drusen mittlerweile -13 °C sind.</p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/hddtemp-2009-12-19.png"><img src="http://blog.chr.istoph.de/wp-content/uploads/hddtemp-2009-12-19.png" alt="hddtemp-2009-12-19" title="hddtemp-2009-12-19" width="500" class="alignnone size-full wp-image-1895" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/temperatursturz-im-serverraum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bildungsstreik 2009 weitere Bilder</title>
		<link>http://blog.chr.istoph.de/zweit-groster-studentlich-organisirter-streik-mit3000/</link>
		<comments>http://blog.chr.istoph.de/zweit-groster-studentlich-organisirter-streik-mit3000/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 08:01:24 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Aktuell]]></category>
		<category><![CDATA[AStA]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=1857</guid>
		<description><![CDATA[Zweit größter von Schülern/Studenten (FH) organisierter Streik in Aachen. Insgesamt gab es laut Polizeiangaben über 3000 Teilnehmer... und die RWTH war nicht dabei! Hier habe ich über 700 Bilder zum Streik zusammengetragen. ... Bilder]]></description>
			<content:encoded><![CDATA[<p>Zweit größter von Schülern/Studenten (FH) organisierter Streik in Aachen. Insgesamt gab es laut Polizeiangaben über 3000 Teilnehmer... und die RWTH war nicht dabei! Hier habe ich über 700 Bilder zum Streik zusammengetragen.</p>
<p><a href="http://images.chr.istoph.de/main.php?g2_itemId=4021"><img src="http://images.chr.istoph.de/main.php?g2_view=core.DownloadItem&g2_itemId=6122&g2_serialNumber=2" alt="Bildungsstreik 2009" /></a></p>
<p><a href="http://images.chr.istoph.de/main.php?g2_itemId=4021">... Bilder</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/zweit-groster-studentlich-organisirter-streik-mit3000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Impressionen Bildungsstreik 2009</title>
		<link>http://blog.chr.istoph.de/impressionen-bildungsstreik-2009/</link>
		<comments>http://blog.chr.istoph.de/impressionen-bildungsstreik-2009/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 15:10:04 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[AStA]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=1844</guid>
		<description><![CDATA[...Bilder]]></description>
			<content:encoded><![CDATA[<p><a href="http://images.chr.istoph.de/main.php?g2_itemId=4021&g2_page=1"><img src="http://images.chr.istoph.de/main.php?g2_view=core.DownloadItem&g2_itemId=4058&g2_serialNumber=2" alt="Bildungsstreik" /></a></p>
<p><a href="http://images.chr.istoph.de/main.php?g2_itemId=4021&g2_page=1">...Bilder</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chr.istoph.de/impressionen-bildungsstreik-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

