<?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>sysadmin-blog.de</title>
	<atom:link href="http://www.sysadmin-blog.de/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sysadmin-blog.de</link>
	<description>Linux, Netzwerk &#38; Co.</description>
	<lastBuildDate>Mon, 26 Jul 2010 19:37:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>DSL: 1und1 zahlt Telekom Grundgeb&#252;hr</title>
		<link>http://www.sysadmin-blog.de/internet/dsl-1und1-zahlt-telekom-grundgebuehr.html</link>
		<comments>http://www.sysadmin-blog.de/internet/dsl-1und1-zahlt-telekom-grundgebuehr.html#comments</comments>
		<pubDate>Mon, 26 Jul 2010 18:49:10 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[1und1]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[Telekom]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=71</guid>
		<description><![CDATA[Ein Bekannter von mir hatte mich letztens darum gebeten, mal nach seinem DSL Vertrag zu sehen. Grund hierfür war, dass er noch einen relativ alten Vertrag bei 1und1 hatte. Das Problem ist, das er zusätzlich auch noch einen Vetrag mit der Telekom hat und somit doppelt Grundgebührt bezahlt. Sprich bei 1und1 bezahlt er 29,99 Euro [...]]]></description>
			<content:encoded><![CDATA[<div class="chlforbidden"><p>Ein Bekannter von mir hatte mich letztens darum gebeten, mal nach seinem DSL Vertrag zu sehen. Grund hierfür war, dass er noch einen relativ alten Vertrag bei 1und1 hatte. Das Problem ist, das er zusätzlich auch noch einen Vetrag mit der Telekom hat und somit doppelt Grundgebührt bezahlt. Sprich bei 1und1 bezahlt er 29,99 Euro für den DSL Tarif und die Telefon Flatrate. Bei der Telekom bezahlt er noch 16,95 Euro für den analogen Telefon Anschluß.<span id="more-71"></span></p>
<p>Da es ja nun seit einiger Zeit die sogenannten entbündelten DSL Anschlüsse gibt, ist ein analoger Telefon Anschluß der Telekom nicht mehr notwendig.</p>
<p>Also habe ich meinem Bekannten dazu geraten, im 1und1 Control Center (Kundenzentrum) seinen DSL Tarif auf das aktuelle 1und1 16.000 MBit Doppel-Flat Paket umzustellen. Hierbei handelt es sich um das Vollprodukt von 1und1, bei dem kein analoger Telefonanschluß von der Telekom mehr nötig ist.</p>
<p>So gesagt, so getan. Dann noch schnell das Portierungsforumular für die Rufnummer ausgedruckt, unterschrieben und zurückgefaxt.</p>
<p>Zwei Tage später kam dann ein Schreiben von 1und1. In diesem Schreiben wurde dann mitgeteilt, dass sich der Anschluß leider nicht im eigenen Ausbaugebiet befindet und daher das Produkt nicht verfügbar ist. Allerdings wies 1und1 darauf hin, das die zusätzlichen Kosten für den analogen Anschluß übernommen werden.</p>
<p><strong>Fazit:</strong><!--wpcontaxe: Werbung komplett deaktiviert--></p>
<p>Es hat sich, zumindest technisch, derzeit nichts verändert, und 1und1 übernimmt die Kosten von 16,95 Euro monatlich.</p>
<p>Super Sache, weiter so.<br />
<!-- BEGIN PARTNER PROGRAM - DO NOT CHANGE THE PARAMETERS OF THE HYPERLINK --><br />
<a href="http://partners.webmasterplan.com/click.asp?ref=524342&amp;site=2941&amp;type=b1&amp;bnb=1" target="_blank"><br />
<img src="http://banners.webmasterplan.com/view.asp?ref=524342&amp;site=2941&amp;b=1" border="0" alt="1&amp;1 DSL" width="468" height="60" /></a><br />
<!-- END PARTNER PROGRAM --></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/internet/dsl-1und1-zahlt-telekom-grundgebuehr.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kostenlose Navigation: &#214;-Navi wird eingestellt</title>
		<link>http://www.sysadmin-blog.de/software/kostenlose-navigation-navi-wird-eingestellt.html</link>
		<comments>http://www.sysadmin-blog.de/software/kostenlose-navigation-navi-wird-eingestellt.html#comments</comments>
		<pubDate>Sat, 24 Jul 2010 08:04:25 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Navigation]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=120</guid>
		<description><![CDATA[Gestern kam eine weniger erfreuliche Email von &#8220;das Örtliche&#8221;. Leider wird der kostenlose Handy Navigations Dienst (Ö-Navi) bis spätestens zum 31.07.2010 eingestellt. Dies finde ich natürlich sehr schade, da ich den kostenlosen Dienst selbst längere Zeit lang genutzt habe. Wohlgemerkt hat dieser auch immer sehr gut funktioniert. In der Mail (siehe unten) heißt es, das [...]]]></description>
			<content:encoded><![CDATA[<p>Gestern kam eine weniger erfreuliche Email von &#8220;das Örtliche&#8221;. Leider wird der kostenlose Handy Navigations Dienst (Ö-Navi) bis spätestens zum 31.07.2010 eingestellt. Dies finde ich natürlich sehr schade, da ich den kostenlosen Dienst selbst längere Zeit lang genutzt habe. Wohlgemerkt hat dieser auch immer sehr gut funktioniert.<span id="more-120"></span></p>
<p>In der Mail (siehe unten) heißt es, das es dem technischen Dienstleister nicht mehr möglich sei, den Dienst weiter aufrecht zu erhalten. Genauere Gründe werden nicht genannt, wobei diese vermutlich finanzieller Natur sind. Des weiteren heißt es nur &#8220;vorläufig&#8221;, naja, wir werden sehen.</p>
<p>Zitat:</p>
<blockquote><p>Liebe Ö-NAVI Nutzer,</p>
<p>leider müssen wir Euch mitteilen, dass Ö-NAVI spätestens zum 31.07.2010 eingestellt wird.</p>
<p>Wir bedauern diesen Schritt außerordentlich, da sich Ö-NAVI im Laufe der vergangenen Jahre zu einem der beliebtesten Handy-Navigationssysteme in Deutschland entwickelt hat. Wir konnten viele Nutzer von unserem Angebot überzeugen, haben sehr viel positive Resonanz erfahren und mit dem kostenlosen Ö-NAVI eine neue Form der werbefinanzierten Navigation in Deutschland eingeführt.</p>
<p>Unserem technischen Dienstleister ist es nicht mehr möglich den Dienst weiterhin aufrecht zu erhalten. Daher sind wir leider gezwungen, Ö-NAVI vorläufig einzustellen.</p>
<p>Wir arbeiten mit Hochdruck daran, kurzfristig ein alternatives Angebot zu entwickeln, welches das derzeitige Ö-NAVI ersetzen kann.</p>
<p>Wir werden Euch über aktuelle Entwicklungen auf dem Laufenden halten. Bitte habt Verständnis, dass in der Zwischenzeit individuelle Anfragen nicht beantwortet werden können.</p>
<p>Mit freundlichen Grüßen<br />
Dein Team von Ö-NAVI</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/software/kostenlose-navigation-navi-wird-eingestellt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rsyslog: Iptables Log in neue Datei</title>
		<link>http://www.sysadmin-blog.de/linux/rsyslog-iptables-log-in-neue-datei.html</link>
		<comments>http://www.sysadmin-blog.de/linux/rsyslog-iptables-log-in-neue-datei.html#comments</comments>
		<pubDate>Fri, 04 Dec 2009 18:26:22 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[rsyslog]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=50</guid>
		<description><![CDATA[Logfile anlegen und Rechte setzen touch /var/log/firewall chown root.adm /var/log/firewall chmod 640 /var/log/firewall Logfile angeben vi /etc/rsyslog.conf kern.warning /var/log/firewall rsyslog neu starten /etc/init.d/rsyslog restart]]></description>
			<content:encoded><![CDATA[<p>Logfile anlegen und Rechte setzen</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>firewall
<span style="color: #c20cb9; font-weight: bold;">chown</span> root.adm <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>firewall
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">640</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>firewall</pre></div></div>

<p>Logfile angeben</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rsyslog.conf
kern.warning <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>firewall</pre></div></div>

<p>rsyslog neu starten</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>rsyslog restart</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/linux/rsyslog-iptables-log-in-neue-datei.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Professional mit Ultimate Medium installieren</title>
		<link>http://www.sysadmin-blog.de/windows/windows-7-professional-mit-ultimate-medium-installieren.html</link>
		<comments>http://www.sysadmin-blog.de/windows/windows-7-professional-mit-ultimate-medium-installieren.html#comments</comments>
		<pubDate>Wed, 02 Dec 2009 17:36:02 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Probleme]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=48</guid>
		<description><![CDATA[Die Tage hatte ich das Problem, das ich ein Notebook von Windows 7 Professional 32-Bit auf die 64-Bit Version um installieren musste. Leider hatte ich nur ein Windows 7 Ultimate 64-Bit Medium zur Hand. Mit dieser kleinen Anleitung ist es jedoch möglich, diese als Professional zu installieren. - Die Datei &#8220;ei.cfg&#8221; aus dem &#8220;Source&#8221; Ordner [...]]]></description>
			<content:encoded><![CDATA[<p>Die Tage hatte ich das Problem, das ich ein Notebook von Windows 7 Professional 32-Bit auf die 64-Bit Version um installieren musste. Leider hatte ich nur ein Windows 7 Ultimate 64-Bit Medium zur Hand.</p>
<p>Mit dieser kleinen Anleitung ist es jedoch möglich, diese als Professional zu installieren.</p>
<p>- Die Datei &#8220;ei.cfg&#8221; aus dem &#8220;Source&#8221; Ordner der ISO löschen<br />
- ISO brennen</p>
<p>Danach könnt Ihr bei der Installation zwischen den verschiedenen Versionen wählen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/windows/windows-7-professional-mit-ultimate-medium-installieren.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Tools unter Debian installieren</title>
		<link>http://www.sysadmin-blog.de/virtualisierung/vmware-tools-unter-debian-installieren.html</link>
		<comments>http://www.sysadmin-blog.de/virtualisierung/vmware-tools-unter-debian-installieren.html#comments</comments>
		<pubDate>Sat, 14 Nov 2009 20:55:41 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Virtualisierung]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=46</guid>
		<description><![CDATA[Zu beginn müsst ihr natürlich die Installation der VMware Tools in der VMware Server Verwaltung anstoßen. Dadurch wird dann lediglich eine ISO Datei in das virtuelle Laufwerk eingelegt, welches wir dann unter Linux mounten können. apt-get install autoconf automake binutils cpp gcc make psmisc apt-get install linux-headers-$&#40;uname -r&#41; &#160; mount /media/cdrom cd /usr/src tar xfzv [...]]]></description>
			<content:encoded><![CDATA[<p>Zu beginn müsst ihr natürlich die Installation der VMware Tools in der VMware Server Verwaltung anstoßen. Dadurch wird dann lediglich eine ISO Datei in das virtuelle Laufwerk eingelegt, welches wir dann unter Linux mounten können.</p>

<div class="wp_syntax"><div class="code"><pre class="dos" style="font-family:monospace;">apt-get install autoconf automake binutils cpp gcc make psmisc
apt-get install linux-headers-$<span style="color: #66cc66;">&#40;</span>uname -r<span style="color: #66cc66;">&#41;</span>
&nbsp;
mount /media/cdrom
<span style="color: #b1b100; font-weight: bold;">cd</span> /usr/src
tar xfzv /media/cdrom/VMwareTools-X.X.X.tar.gz
umount /media/cdrom
&nbsp;
/usr/src/vmware-tools-distrib/vmware-install.pl</pre></div></div>

<p>Fertig.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/virtualisierung/vmware-tools-unter-debian-installieren.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Samba Zugriff von Vista Clients</title>
		<link>http://www.sysadmin-blog.de/linux/linux-samba-zugriff-von-vista-clients.html</link>
		<comments>http://www.sysadmin-blog.de/linux/linux-samba-zugriff-von-vista-clients.html#comments</comments>
		<pubDate>Fri, 13 Nov 2009 19:54:05 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Probleme]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=44</guid>
		<description><![CDATA[Windows Vista verwendet Standardmäßig nur die neue Authentifizierungsmethode. Dies lässt sich folgendermaßen umstellen. Als Administrator: - Start -&#62; Ausführen -&#62; secpol.msc - Lokale Richtlinien -&#62; Sicherheitsoptionen - Netzwerksicherheit: LAN Manager-Authentifizierungsebene von: &#8220;Nur NTLMv2-Antworten Senden&#8221; auf: &#8220;LM- und NTLM-Antworten senden (NTLMv2-Sitzungssicherheit verwenden, wenn &#8230;) umstellen. Danach funktioniert der Zugriff wie gewohnt.]]></description>
			<content:encoded><![CDATA[<p>Windows Vista verwendet Standardmäßig nur die neue Authentifizierungsmethode.</p>
<p>Dies lässt sich folgendermaßen umstellen.</p>
<p>Als Administrator:</p>
<p>- Start -&gt; Ausführen -&gt; secpol.msc<br />
- Lokale Richtlinien -&gt; Sicherheitsoptionen<br />
- Netzwerksicherheit: LAN Manager-Authentifizierungsebene</p>
<p>von: &#8220;Nur NTLMv2-Antworten Senden&#8221;<br />
auf: &#8220;LM- und NTLM-Antworten senden (NTLMv2-Sitzungssicherheit verwenden, wenn &#8230;)<br />
umstellen.</p>
<p>Danach funktioniert der Zugriff wie gewohnt.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/linux/linux-samba-zugriff-von-vista-clients.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Filesystem mit SSH-FS mounten</title>
		<link>http://www.sysadmin-blog.de/linux/remote-filesystem-mit-ssh-fs-mounten.html</link>
		<comments>http://www.sysadmin-blog.de/linux/remote-filesystem-mit-ssh-fs-mounten.html#comments</comments>
		<pubDate>Mon, 26 Oct 2009 17:24:20 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=42</guid>
		<description><![CDATA[Mit dem Paket &#8220;sshfs&#8221; lässt sich ein entferntes Dateisystem einfach und sicher mounten. apt-get install sshfs modprobe fuse sshfs 192.168.1.1:/mnt/test /mnt/test/]]></description>
			<content:encoded><![CDATA[<p>Mit dem Paket &#8220;sshfs&#8221; lässt sich ein entferntes Dateisystem einfach und sicher mounten.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> sshfs
modprobe fuse
sshfs 192.168.1.1:<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>test<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/linux/remote-filesystem-mit-ssh-fs-mounten.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DBMAIL, MySQL, Postfix und SMTP auth unter Debian</title>
		<link>http://www.sysadmin-blog.de/linux/dbmail-mysql-postfix-und-smtp-auth-unter-debian.html</link>
		<comments>http://www.sysadmin-blog.de/linux/dbmail-mysql-postfix-und-smtp-auth-unter-debian.html#comments</comments>
		<pubDate>Sat, 17 Oct 2009 18:37:55 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dbmail]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[SMTP-AUTH]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=40</guid>
		<description><![CDATA[Sodele, in diesem kleinen HowTo gehe ich auf die Basisinstallation von dbmail in Verbindung mit MySQL, Postfix und SMTP auth via SASL2 ein. Als Ausgangspunkt verwende ich eine Plain Debian Etch installation. Nach dem durchführen der beschriebenen Schritte sollte euer System in der Lage sein, Mails mit Empfängerverifizierung zu empfangen und in der Datenbank abzulegen. [...]]]></description>
			<content:encoded><![CDATA[<p>Sodele, in diesem kleinen HowTo gehe ich auf die Basisinstallation von dbmail in Verbindung mit MySQL, Postfix und SMTP auth via SASL2 ein. Als Ausgangspunkt verwende ich eine Plain Debian Etch installation.</p>
<p>Nach dem durchführen der beschriebenen Schritte sollte euer System in der Lage sein, Mails mit Empfängerverifizierung zu empfangen und in der Datenbank abzulegen. Ebenso sollte der Versand (mit SMTP auth) sowie der Zugriff via POP3 und IMAP funktionieren.</p>
<p>Sicherlich ist dieses HowTo nicht perfekt (was bei dem Thema auch schwierig ist), aber einen guten Leitfaden sollte es dennoch bieten.</p>
<p>Für Fragen und Anregungen stehe ich euch gern zur Verfügung.</p>
<h3>DBMAIL installation</h3>
<p>Als erstes müssen die APT sourcen angepasst werden.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">deb http:<span style="color: #000000; font-weight: bold;">//</span>debian.nfgd.net<span style="color: #000000; font-weight: bold;">/</span>debian stable main</pre></div></div>

<p>Pakelisten aktualisieren und die benötigten Pakete installieren.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> update</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> dbmail dbmail-mysql mysql-server postfix postfix-mysql apache2 libapache2-mod-php5 php5 php5-mysql</pre></div></div>

<h3>DBMAIL konfigurieren</h3>
<p>Für das erste reichen folgen Einstelungen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>dbmail<span style="color: #000000; font-weight: bold;">/</span>dbmail.conf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">driver = mysql
authdriver = sql
host = localhost
sqlport = <span style="color: #000000;">3306</span>
sqlsocket = <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>mysqld<span style="color: #000000; font-weight: bold;">/</span>mysqld.sock
user = dbmail
pass = geheim
db = dbmail
table_prefix = dbmail_
encoding = utf8
default_msg_encoding = utf8
EFFECTIVE_USER = dbmail
EFFECTIVE_GROUP = dbmail</pre></div></div>

<h3>MySQL anpassungen</h3>
<p>Diese anpassungen sind zwar nicht erforderlich, jedoch sinnvoll, da nicht jedesmal manuell eingestellt werden muss.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>my.cnf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>mysqld<span style="color: #7a0874; font-weight: bold;">&#93;</span>
default-character-set = utf8
default-collation = utf8_general_ci
character_set_server = utf8
collation_server = utf8_general_ci</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysql restart</pre></div></div>

<h3>Datenbank und User anlegen</h3>
<p>Am besten via pypMyAdmin einen user &#8220;dbmail&#8221; sowie eine gleichnamige Datenbank mit allen Rechten anlegen.</p>
<p>Erstellen der MySQL Tabellen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>doc<span style="color: #000000; font-weight: bold;">/</span>dbmail-mysql<span style="color: #000000; font-weight: bold;">/</span>examples<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">gunzip</span> create_tables.mysql.gz
mysql <span style="color: #660033;">-udbmail</span> <span style="color: #660033;">-pgeheim</span> dbmail create_tables.mysql</pre></div></div>

<h3>Postfix konfiguration</h3>
<p>Da Postfix standartmäsig in einem &#8220;chroot jail&#8221; läuft, ist es wichtig den MySQL Socket dahin zu verlinken. Damit das bei jedem Start passiert, am besten in die MySQL Start Datei eintragen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>mysqld</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>debian-start</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">...
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Linking mysqld.sock to the postfix-jail.&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>mysqld<span style="color: #000000; font-weight: bold;">/</span>mysqld.sock
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>mysqld<span style="color: #000000; font-weight: bold;">/</span>mysqld.sock <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>spool<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>mysqld<span style="color: #000000; font-weight: bold;">/</span>mysqld.sock
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre></div></div>

<p>Erstellen der &#8220;recipients maps&#8221; mit den entsprechenden MySQL Daten.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #000000; font-weight: bold;">/</span>mysql_recipients_maps.cf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">user = dbmail
password = geheim
hosts = localhost
dbname = dbmail
&nbsp;
query = SELECT <span style="color: #7a0874; font-weight: bold;">alias</span> FROM dbmail_aliases WHERE <span style="color: #007800;"><span style="color: #7a0874; font-weight: bold;">alias</span></span>=<span style="color: #ff0000;">'%s'</span></pre></div></div>

<p>Hier kurz und knapp die wichtigsten Optionen für die main.cf.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #000000; font-weight: bold;">/</span>main.cf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># daemon configuration</span>
command_directory = <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin
daemon_directory = <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>postfix
program_directory = <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>postfix
&nbsp;
<span style="color: #666666; font-style: italic;"># smpt-banner</span>
smtpd_banner = <span style="color: #007800;">$myhostname</span> ESMTP <span style="color: #007800;">$mail_name</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>Debian<span style="color: #000000; font-weight: bold;">/</span>GNU<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># base</span>
myhostname = mail.domain.de
myorigin = <span style="color: #007800;">$myhostname</span>
mydomain = domain.de
mydestination = localhost <span style="color: #007800;">$myhostname</span> <span style="color: #007800;">$mydomain</span>
mynetworks = 192.168.1.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">24</span>, 127.0.0.0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">8</span>
&nbsp;
inet_interfaces = all
&nbsp;
<span style="color: #666666; font-style: italic;"># runtime configuration</span>
alias_maps = <span style="color: #7a0874; font-weight: bold;">hash</span>:<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>aliases
alias_database = <span style="color: #7a0874; font-weight: bold;">hash</span>:<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>aliases
&nbsp;
biff = no
append_dot_mydomain = no
&nbsp;
message_size_limit = <span style="color: #000000;">209715200</span>
mailbox_size_limit = <span style="color: #000000;">0</span>
recipient_delimiter = +
virtual_mailbox_limit = <span style="color: #000000;">0</span>
&nbsp;
local_recipient_maps = mysql:<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #000000; font-weight: bold;">/</span>mysql_recipients_maps.cf
mailbox_transport = lmtp:<span style="color: #7a0874; font-weight: bold;">&#91;</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>:<span style="color: #000000;">24</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># sasl</span>
smtpd_sasl_auth_enable = <span style="color: #c20cb9; font-weight: bold;">yes</span>
smtpd_sasl_local_domain = <span style="color: #007800;">$myhostname</span>
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = <span style="color: #c20cb9; font-weight: bold;">yes</span>
smtpd_recipient_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
<span style="color: #666666; font-style: italic;">#       reject_non_fqdn_hostname,</span>
<span style="color: #666666; font-style: italic;">#       reject_non_fqdn_sender,</span>
<span style="color: #666666; font-style: italic;">#       reject_non_fqdn_recipient,</span>
        reject_unauth_destination,
<span style="color: #666666; font-style: italic;">#       reject_unauth_pipelining,</span>
<span style="color: #666666; font-style: italic;">#       reject_invalid_hostname,</span>
<span style="color: #666666; font-style: italic;">#       reject_rbl_client opm.blitzed.org,</span>
<span style="color: #666666; font-style: italic;">#       reject_rbl_client list.dsbl.org,</span>
<span style="color: #666666; font-style: italic;">#       reject_rbl_client bl.spamcop.net,</span>
<span style="color: #666666; font-style: italic;">#       reject_rbl_client sbl-xbl.spamhaus.org,</span>
<span style="color: #666666; font-style: italic;">#       check_policy_service inet:127.0.0.1:60000</span></pre></div></div>

<h3>Postfix SMTP via SASL2</h3>
<p>Installieren der SASL2 Pakete.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libsasl2 sasl2-bin libsasl2-modules-sql</pre></div></div>

<p>Dieser Schritt ist nicht notwendig, da Postfix über die Module direkt mit dem Daemon komunizieren kann und dieser somit nicht im Hintergrund laufen muss.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">To <span style="color: #7a0874; font-weight: bold;">enable</span> saslauthd, edit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>default<span style="color: #000000; font-weight: bold;">/</span>saslauthd and <span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">START</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span></pre></div></div>

<p>Verbindung zur Datenbank.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>postfix<span style="color: #000000; font-weight: bold;">/</span>sasl<span style="color: #000000; font-weight: bold;">/</span>smtpd.conf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pwcheck_method: auxprop
auxprop_plugin: sql
sql_engine: mysql
mech_list: DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
sql_engine: mysql
sql_hostnames: localhost
sql_user: dbmail
sql_passwd: geheim
sql_database: dbmail
sql_verbose: <span style="color: #c20cb9; font-weight: bold;">yes</span>
sql_select: SELECT <span style="color: #c20cb9; font-weight: bold;">passwd</span> FROM dbmail_users WHERE userid = <span style="color: #ff0000;">'%u'</span></pre></div></div>

<h3>Abschließende Tests sowie Debugging</h3>
<p>Es ist zwar nicht wirklich Linux freundlich, aber vor dem testen der konfigurationen am besten das System einmal durchbooten.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">reboot</pre></div></div>

<p>DBMAIL Dienste starten.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dbmail-pop3d
dbmail-imapd</pre></div></div>

<p>DBMAIL konfiguration auf Fehler prüfen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dbmail-util <span style="color: #660033;">-av</span>
Maintenance done. No errors found.</pre></div></div>

<p>DBMAIL User &#8220;test&#8221; mit Passwort &#8220;test&#8221; anlegen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dbmail-users <span style="color: #660033;">-a</span> <span style="color: #7a0874; font-weight: bold;">test</span> <span style="color: #660033;">-w</span> <span style="color: #7a0874; font-weight: bold;">test</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Adding INBOX <span style="color: #000000; font-weight: bold;">for</span> new user... ok.
Done
<span style="color: #7a0874; font-weight: bold;">test</span>:x:<span style="color: #000000;">4</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">0.00</span>:<span style="color: #000000;">0.00</span>:</pre></div></div>

<p>POP3 Verbindung testen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">telnet localhost <span style="color: #000000;">110</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Trying 127.0.0.1...
Connected to localhost.
Escape character is <span style="color: #ff0000;">'^]'</span>.
+OK DBMAIL pop3 server ready to rock 9c66ebc9e72e4a6de6e3496480b4c991<span style="color: #000000; font-weight: bold;">@</span>domain.com
user <span style="color: #7a0874; font-weight: bold;">test</span>
+OK Password required <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">test</span>
pass <span style="color: #7a0874; font-weight: bold;">test</span>
+OK <span style="color: #7a0874; font-weight: bold;">test</span> has <span style="color: #000000;">0</span> messages <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0</span> octets<span style="color: #7a0874; font-weight: bold;">&#41;</span>
quit
+OK see ya later
Connection closed by foreign host.</pre></div></div>

<p>Wenn alles soweit funktioniert hat, ist das System jetzt in der Lage&#8230;</p>
<ul>
<li>&#8230; auf gültigen Empfänger zu prüfen.</li>
<li>&#8230; mails zu empfangen.</li>
<li>&#8230; POP3 und IMAP bereitstellung.</li>
</ul>
<p>Sollte es noch Probleme geben, dann haltet euch an folgende logs.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>syslog
<span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>auth.log
<span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>dbmail<span style="color: #000000; font-weight: bold;">/</span>dbmail.err
<span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>dbmail<span style="color: #000000; font-weight: bold;">/</span>dbmail.log</pre></div></div>

<p>Fertig.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/linux/dbmail-mysql-postfix-und-smtp-auth-unter-debian.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>rancid: Cisco &amp; Co. Backup`s unter Debian</title>
		<link>http://www.sysadmin-blog.de/linux/rancid-cisco-co-backups-unter-debian.html</link>
		<comments>http://www.sysadmin-blog.de/linux/rancid-cisco-co-backups-unter-debian.html#comments</comments>
		<pubDate>Wed, 02 Sep 2009 17:45:20 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[rancid]]></category>
		<category><![CDATA[Router]]></category>
		<category><![CDATA[Switch]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=38</guid>
		<description><![CDATA[Rancid ist ein sehr nettes Linux Tool, mit dem man einfach Router und Switche sichern kann. Unter anderem werden auch Geräte von Cisco und Extreme Networks unterstützt. Installation Installation der benötigten Pakete. apt-get install apache2 expect cvs gcc make libc6-dev perl telnet Rancid Benutzer erstellen. adduser rancid Sourcen herunterladen, compilieren und installieren: cd /usr/src wget [...]]]></description>
			<content:encoded><![CDATA[<p>Rancid ist ein sehr nettes Linux Tool, mit dem man einfach Router und Switche sichern kann. Unter anderem werden auch Geräte von Cisco und Extreme Networks unterstützt.</p>
<h3>Installation</h3>
<p>Installation der benötigten Pakete.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> apache2 expect <span style="color: #c20cb9; font-weight: bold;">cvs</span> <span style="color: #c20cb9; font-weight: bold;">gcc</span> <span style="color: #c20cb9; font-weight: bold;">make</span> libc6-dev <span style="color: #c20cb9; font-weight: bold;">perl</span> telnet</pre></div></div>

<p>Rancid Benutzer erstellen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">adduser rancid</pre></div></div>

<p>Sourcen herunterladen, compilieren und installieren:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.shrubbery.net<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>rancid<span style="color: #000000; font-weight: bold;">/</span>rancid-2.3.2a8.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf rancid-2.3.2a8.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> rancid-2.3.2a8
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">-prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid <span style="color: #660033;">-localstatedir</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid<span style="color: #000000; font-weight: bold;">/</span>var
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> rancid:rancid <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid</pre></div></div>

<h3>Konfiguration</h3>
<p>Gruppe für die Geräte definieren.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rancid.conf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">LIST_OF_GROUPS</span>=<span style="color: #ff0000;">&quot;test&quot;</span></pre></div></div>

<p>Host, Benutzername, Kennwort und ggf. das &#8220;enable&#8221; Passwort hinterlegen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid<span style="color: #000000; font-weight: bold;">/</span>.cloginrc</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">add user        <span style="color: #000000; font-weight: bold;">*</span>       user
add password    gw1.domain.de    password    enable_password
add password    gw2.domain.de    password    enable_password
add password    gw3.domain.de    password    enable_password
add password    192.168.10.254   password    enable_password
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">600</span> .cloginrc
<span style="color: #c20cb9; font-weight: bold;">chown</span> rancid:rancid .cloginrc</pre></div></div>

<p>Für die restlichen Arbeiten am besten den Benutzer wechseln.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span> - rancid</pre></div></div>

<p>Verzeichnis für die Gruppe anlegen</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">test</span></pre></div></div>

<p>Geräte Datenbank aufbauen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> router.db</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gw1.domain.de:cisco:up
gw2.domain.de:cisco:up
gw3.domain.de:cisco:up
192.168.10.254:cisco:up</pre></div></div>

<p>Achtung: Bei verwendung von DNS Namen müssen diese zwingend aufgelöst werden können.</p>
<p>CVS Tree erzeugen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>rancid-cvs</pre></div></div>

<p>Erster Testlauf. Danach am besten &#8220;~/var/log/&#8221; auf eventuelle Fehler prüfen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>rancid-run</pre></div></div>

<p>Cron Job einrichten.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>crontab</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> rancid <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rancid<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>rancid-run</pre></div></div>

<p>Fertig.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/linux/rancid-cisco-co-backups-unter-debian.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Router: DynDNS einrichten</title>
		<link>http://www.sysadmin-blog.de/netzwerk/cisco/cisco-router-dyndns-einrichten.html</link>
		<comments>http://www.sysadmin-blog.de/netzwerk/cisco/cisco-router-dyndns-einrichten.html#comments</comments>
		<pubDate>Sun, 23 Aug 2009 20:56:35 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[DynDns]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Router]]></category>

		<guid isPermaLink="false">http://www.sysadmin-blog.de/?p=36</guid>
		<description><![CDATA[Wer kennt das nicht, bei jeder neuen Einwahl bekommt Ihr eine neue dynamische IP Adresse von eurem Provider zugewiesen. Um trotzdem den Zugriff auf Daten und Dienste von außen zu gewährleisten werden zwei Dinge benötigt. Dyndns Anbieter (z.B.: www.dyndns.org) Kostenloser Anbieter der einen statischen DNS Namen für die dynamische IP Adresse zur Verfügung stellt. Router [...]]]></description>
			<content:encoded><![CDATA[<p>Wer kennt das nicht, bei jeder neuen Einwahl bekommt Ihr eine neue dynamische IP Adresse von eurem Provider zugewiesen. Um trotzdem den Zugriff auf Daten und Dienste von außen zu gewährleisten werden zwei Dinge benötigt.</p>
<p><strong>Dyndns Anbieter (z.B.: www.dyndns.org)</strong></p>
<p>Kostenloser Anbieter der einen statischen DNS Namen für die dynamische IP Adresse zur Verfügung stellt.</p>
<h3>Router Anpassung</h3>
<p>Prinzipiell funktioniert diese Konfiguration mit jeden Cisco Router ab dem Release 12.3(8).</p>
<p>In den &#8220;Privilege Mode&#8221; wechseln:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">enable</span></pre></div></div>

<p>Konfigurations Modus aktivieren:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">configure terminal</pre></div></div>

<p>Dyndns Konfiguration:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ip ddns update method dyndns
 HTTP
  add http:<span style="color: #000000; font-weight: bold;">//</span>username:password<span style="color: #000000; font-weight: bold;">@</span>members.dyndns.org<span style="color: #000000; font-weight: bold;">/</span>nic<span style="color: #000000; font-weight: bold;">/</span>update?<span style="color: #007800;">system</span>=dyndns<span style="color: #000000; font-weight: bold;">&amp;</span><span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">hostname</span></span>=host.dyndns.org<span style="color: #000000; font-weight: bold;">&amp;</span><span style="color: #007800;">myip</span>=<span style="color: #000000; font-weight: bold;">&lt;</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
 interval maximum <span style="color: #000000;">0</span> <span style="color: #000000;">1</span> <span style="color: #000000;">0</span> <span style="color: #000000;">0</span>
&nbsp;
interface Dialer0
 ip ddns update <span style="color: #c20cb9; font-weight: bold;">hostname</span> host.dyndns.org
 ip ddns update dyndns host members.dyndns.org</pre></div></div>

<p># Debugging aktivieren</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">debug ip ddns update</pre></div></div>

<h3>Achtung:</h3>
<p>Beim kopieren der Befehle geht öfters mal das &#8220;?&#8221; verloren. Entsprechende Zeile am besten von Hand eingeben. Vor dem Fragezeichen einmal &#8220;STRG + V&#8221; drücken.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmin-blog.de/netzwerk/cisco/cisco-router-dyndns-einrichten.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

