<?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>penoycentral.net &#187; Search Results  &#187;  DNS-323</title>
	<atom:link href="http://www.penoycentral.net/search/DNS-323/feed/rss2/" rel="self" type="application/rss+xml" />
	<link>http://www.penoycentral.net</link>
	<description>Misadventures of Penoy Internet tips tricks howtos reviews nonsense rants and fun</description>
	<lastBuildDate>Sun, 05 Feb 2012 02:56:15 +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>Windows backup using DLINK DNS-323</title>
		<link>http://www.penoycentral.net/technology/windows-backup-using-dlink-dns-323/</link>
		<comments>http://www.penoycentral.net/technology/windows-backup-using-dlink-dns-323/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 05:30:14 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/technology/windows-backup-using-dlink-dns-323/</guid>
		<description><![CDATA[1. Install CWRsync: http://sourceforge.net/project/showfiles.php?group_id=69227&#38;package_id=68081 2. Create ssh-rsa for the server(password-less rsync) cd "c:\program files\cwrsync\bin" ssh-keygen -t rsa -N '' (hit enter twice) 3. Upload your generated key to the backup server rsync -av "/cygdrive/c/documents and settings/administrator/.ssh/id_rsa.pub" root@ipaddress:/home/root/ 4. SSH to your DNS-323 and copy the new id_rsa.pub to authorized_keys #cat /home/root/id_rsa.pub &#62;&#62; /home/root/.ssh/authorized_keys 5. Create [...]]]></description>
			<content:encoded><![CDATA[<p>1. Install CWRsync: <code>http://sourceforge.net/project/showfiles.php?group_id=69227&amp;package_id=68081</code></p>
<p><span id="more-47"></span></p>
<p>2. Create ssh-rsa for the server(password-less rsync)<br />
<code>cd "c:\program files\cwrsync\bin"<br />
ssh-keygen -t rsa -N '' (hit enter twice)<br />
</code><br />
3. Upload your generated key to the backup server<br />
<code>rsync -av "/cygdrive/c/documents and settings/administrator/.ssh/id_rsa.pub" root@ipaddress:/home/root/</code></p>
<p>4. SSH to your DNS-323 and copy the new id_rsa.pub to authorized_keys<br />
<code>#cat /home/root/id_rsa.pub &gt;&gt; /home/root/.ssh/authorized_keys</code></p>
<p>5. Create a Batch file in your Windows</p>
<blockquote><p>@ECHO OFF<br />
REM *****************************************************************<br />
REM<br />
REM CWRSYNC.CMD &#8211; Batch file template to start your rsync command (s).<br />
REM<br />
REM By Tevfik K. (http://itefix.no)<br />
REM *****************************************************************</p>
<p>REM This is where we can find our .ssh</p>
<p>SET HOME=C:\Documents and Settings\Administrator</p>
<p>REM Make environment variable changes local to this batch file<br />
SETLOCAL</p>
<p>REM ** CUSTOMIZE ** Specify where to find rsync and related files (C:\CWRSYNC)<br />
SET CWRSYNCHOME=%PROGRAMFILES%\CWRSYNC</p>
<p>REM Set CYGWIN variable to &#8216;nontsec&#8217;. That makes sure that permissions<br />
REM on your windows machine are not updated as a side effect of cygwin<br />
REM operations.<br />
SET CYGWIN=nontsec</p>
<p>REM Set HOME variable to your windows home directory. That makes sure<br />
REM that ssh command creates known_hosts in a directory you have access.<br />
SET HOME=%HOMEDRIVE%%HOMEPATH%</p>
<p>REM Make cwRsync home as a part of system PATH to find required DLLs<br />
SET CWOLDPATH=%PATH%<br />
SET PATH=%CWRSYNCHOME%\BIN;%PATH%</p>
<p>REM Windows paths may contain a colon (:) as a part of drive designation and<br />
REM backslashes (example c:\, g:\). However, in rsync syntax, a colon in a<br />
REM path means searching for a remote host. Solution: use absolute path &#8216;a la unix&#8217;,<br />
REM replace backslashes (\) with slashes (/) and put -/cygdrive/- in front of the<br />
REM drive letter:<br />
REM<br />
REM Example : C:\WORK\* &#8211;&gt; /cygdrive/c/work/*<br />
REM<br />
REM Example 1 &#8211; rsync recursively to a unix server with an openssh server :<br />
REM<br />
REM       rsync -r /cygdrive/c/work/ remotehost:/home/user/work/<br />
REM<br />
REM Example 2 &#8211; Local rsync recursively<br />
REM<br />
REM       rsync -r /cygdrive/c/work/ /cygdrive/d/work/doc/<br />
REM<br />
REM Example 3 &#8211; rsync to an rsync server recursively :<br />
REM    (Double colons?? YES!!)<br />
REM<br />
REM       rsync -r /cygdrive/c/doc/ remotehost::module/doc<br />
REM<br />
REM Rsync is a very powerful tool. Please look at documentation for other options.<br />
REM</p>
<p>REM ** CUSTOMIZE ** Enter your rsync command(s) here<br />
REM You want to copy C:\Documents and Settings\Administrator\My Documents\ to DNS-323<br />
rsync &#8211;progress -aurp &#8211;delete &#8220;/cygdrive/c/Documents and Settings/Administrator/My Documents/&#8221; root@dns.ip.address:/mnt/HD_a2/Mydocs/</p></blockquote>
<p>6. Sched the backup using Windows Task Scheduler</p>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/technology/windows-backup-using-dlink-dns-323/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Configuring ssh and rsync in DLINK DNS-323</title>
		<link>http://www.penoycentral.net/linuxnix/configuring-ssh-and-rsync-in-dlink-dns-323/</link>
		<comments>http://www.penoycentral.net/linuxnix/configuring-ssh-and-rsync-in-dlink-dns-323/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 13:00:33 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[Linux/Nix]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/linuxnix/configuring-ssh-and-rsync-in-dlink-dns-323/</guid>
		<description><![CDATA[1. Download and untar funplug(i have problems with 0.4 version cause there&#8217;s no dropbear.sh in the package file) http://www.inreto.de/dns323/fun-plug/0.3/funplug-0.3.tar.gz 2. Copy fun_plug and fun_plug.tar into Volume_1 of Dlink DNS-323 3. Restart Dlink DNS-323 4. Telnet to your DNS 323 #cd /mnt/HD_a2/fun_plug.d/start #sh dropbear.sh start 5. Set your root account #echo "root::0:0:99999:7:::" &#62;&#62;/etc/shadow #passwd root 6. [...]]]></description>
			<content:encoded><![CDATA[<p>1. Download and untar funplug(i have problems with 0.4 version cause there&#8217;s no dropbear.sh in the package file)</p>
<p><span id="more-46"></span></p>
<p><strong><a href="http://www.inreto.de/dns323/fun-plug/0.3/funplug-0.3.tar.gz">http://www.inreto.de/dns323/fun-plug/0.3/funplug-0.3.tar.gz </a></strong></p>
<p>2. Copy fun_plug and fun_plug.tar into Volume_1 of <a href="http://wiki.dns323.info">Dlink DNS-323</a></p>
<p>3. Restart Dlink DNS-323</p>
<p>4. Telnet to your DNS 323</p>
<p><strong>#cd /mnt/HD_a2/fun_plug.d/start<br />
</strong></p>
<p><strong>#sh dropbear.sh start</strong></p>
<p>5. Set your root account</p>
<p><strong><code>#echo "root::0:0:99999:7:::" &gt;&gt;/etc/shadow<br />
#passwd root</code></strong></p>
<p>6. Test first your ssh access with the new password</p>
<p>7. Store your root password</p>
<p><strong><code>#/mnt/HD_a2/fun_plug.d/bin/store-passwd.sh</code></strong></p>
<p>8. Configure your dropbear.sh and rsyncd.sh to start at bootup</p>
<p><strong>#chmod a+x  dropbear.sh</strong></p>
<p><strong>#chmod a+x  rsyncd.sh</strong></p>
<p>9. Disable insecure telnet</p>
<p><strong>#chmod a-x telnetd.sh</strong></p>
<p>10. Restart your DNS-323</p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/linuxnix/configuring-ssh-and-rsync-in-dlink-dns-323/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

