<?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>lab.stefanoperna.it</title>
	<atom:link href="http://lab.stefanoperna.it/feed/" rel="self" type="application/rss+xml" />
	<link>http://lab.stefanoperna.it</link>
	<description>While(true) will not loop</description>
	<lastBuildDate>Sun, 23 Oct 2011 10:52:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Programmazione Web in PHP &#124; Lezione 1 Apache</title>
		<link>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-apache/</link>
		<comments>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-apache/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 10:50:22 +0000</pubDate>
		<dc:creator>Stefano</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://lab.stefanoperna.it/?p=188</guid>
		<description><![CDATA[Indice delle lezioni Introduzione ad Apache TODO Il file .htaccess Da Wikipedia Il file .htaccess (hypertext access) è il file di configurazione di un livello di una cartella che consente la gestione decentralizzata della configurazione del server Web. Il file .htaccess viene inserito nell&#8217;albero delle cartelle del server ed è in grado di sovrascrivere una sotto-impostazione della configurazione globale del server; la portata di questa sotto-impostazione è definita dall&#8217;amministratore del server Web. Lo scopo originale [...]]]></description>
			<content:encoded><![CDATA[<h3 style="text-align: center;"><a title="Programmazione Web in PHP | Informazioni (ITALIAN LANGUAGE)" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-italian-language-informazioni/">Indice delle lezioni</a></h3>
<h3><strong>Introduzione ad Apache</strong></h3>
<p><span style="color: #800000;">TODO</span></p>
<h3><strong>Il file .htaccess</strong></h3>
<p><em>Da Wikipedia</em></p>
<blockquote><p>Il file .htaccess (hypertext access) è il file di configurazione di un livello di una cartella che consente la gestione decentralizzata della configurazione del server Web. Il file .htaccess viene inserito nell&#8217;albero delle cartelle del server ed è in grado di sovrascrivere una sotto-impostazione della configurazione globale del server; la portata di questa sotto-impostazione è definita dall&#8217;amministratore del server Web. Lo scopo originale dei file .htaccess era quello di consentire il controllo dell&#8217;accesso alle cartelle (per esempio, chiedendo una password per accedere al contenuto di una cartella). Oggi i file .htaccess possono sovrascrivere molte altre impostazioni della configurazione, la maggior parte relative al controllo dei contenuti (per esempio: tipo di contenuti e character set, handler CGI, ecc.).</p>
<p>Nei server Web Apache, il formato di .htaccess è lo stesso del file della configurazione globale del server; gli altri server Web (come Sun Java System Web Server e Zeus Web Server) implementano la stessa sintassi anche se i loro file di configurazione sono molto differenti. Le direttive dei file .htaccess si applicato alla cartella corrente e a tutte le sottocartelle (a meno che non si disabilita esplicitamente questo comportamento nella configurazione del server) ma, per ragioni di prestazioni e sicurezza, non si applicano alle cartelle del livello superiore.</p>
<p>Il nome del file inizia con un punto perché i file che iniziano con un punto in ambiente Unix-like sono file nascosti.</p></blockquote>
<p><strong>Cosa possiamo fare con i file .htaccess?</strong></p>
<p>Alcuni utilizzi comuni del file .htaccess sono riportati di seguito.</p>
<p><strong>Protezione di una cartella</strong></p>
<pre class="brush: plain;">				AuthName "Titolo della finestra del login"
				AuthUserFile /persorsofile/.htpasswd
				AuthType Basic
				Require valid-user 

				&lt;Files ~ "protetto.html"&gt;
					Require user studente
				&lt;/Files&gt;</pre>
<p><strong>Personalizzazione delle pagine di errore</strong></p>
<pre class="brush: plain;">				ErrorDocument 403 /error403.html
				ErrorDocument 404 /error404.html
				ErrorDocument 500 /error500.html</pre>
<p>Quando si tenterà di accedere ad una pagina inesistente il sistema genererà l&#8217;errore 404 e visualizzeremo la pagina error404.html al posto di quella generica di Apache.</p>
<p><strong>Bloccare la visualizzazione della lista dei documenti in una cartella</strong></p>
<pre class="brush: plain;">				Options -Indexes</pre>
<p><strong>Personalizzazione delle pagine di indice di una cartella</strong></p>
<pre class="brush: plain;">				DirectoryIndex home.html, miapagina.html</pre>
<h3><strong>Approfondimenti</strong></h3>
<ul>
<li><a href="http://www.apache.org/">Apache.org</a></li>
<li><a href="http://httpd.apache.org/">Apache Web Server</a></li>
<li><a href="http://it.wikipedia.org/wiki/Apache_HTTP_Server">Wikipedia.it &#8211; Apache</a></li>
</ul>
<h3 style="text-align: center;"><a title="Programmazione Web in PHP | Informazioni (ITALIAN LANGUAGE)" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-italian-language-informazioni/">Indice delle lezioni</a></h3>
]]></content:encoded>
			<wfw:commentRss>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programmazione Web in PHP &#124; Lezione 1 CSS</title>
		<link>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-css/</link>
		<comments>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-css/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 10:31:08 +0000</pubDate>
		<dc:creator>Stefano</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://lab.stefanoperna.it/?p=172</guid>
		<description><![CDATA[Indice delle lezioni Introduzione ai CSS Da Wikipedia I fogli di stile a cascata, meglio noti con l&#8217;acronimo CSS (dall&#8217;inglese Cascading Style Sheet) e detti anche semplicemente fogli di stile, vengono usati per definire la rappresentazione di documenti HTML, XHTML e XML. Le regole per comporre i fogli di stile sono contenute in un insieme di direttive (Recommendations) emanate a partire dal 1996 dal W3C. L&#8217;introduzione dei fogli di stile si è resa necessaria per [...]]]></description>
			<content:encoded><![CDATA[<div>
<h3 style="text-align: center;"><strong><a title="Programmazione Web in PHP | Informazioni (ITALIAN LANGUAGE)" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-italian-language-informazioni/">Indice delle lezioni</a></strong></h3>
<h3><strong>Introduzione ai CSS</strong></h3>
<p><em>Da Wikipedia</em></p>
<blockquote><p>I fogli di stile a cascata, meglio noti con l&#8217;acronimo CSS (dall&#8217;inglese Cascading Style Sheet) e detti anche semplicemente fogli di stile, vengono usati per definire la rappresentazione di documenti HTML, XHTML e XML. Le regole per comporre i fogli di stile sono contenute in un insieme di direttive (Recommendations) emanate a partire dal 1996 dal W3C. L&#8217;introduzione dei fogli di stile si è resa necessaria per separare i contenuti dalla formattazione e permettere una programmazione più chiara e facile da utilizzare, sia per gli autori delle pagine HTML che per gli utenti.</p></blockquote>
<p><a href="http://it.wikipedia.org/wiki/Cascading_Style_Sheet">Approfondisci su Wikipedia.it</a></p>
<h3><strong>Uso dei CSS</strong></h3>
<p>Inserimento del foglio di stile come file esterno al documento XHTML:</p>
<pre class="brush: xml;">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
   &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
   &lt;head&gt;
      &lt;title&gt;Titolo Pagina&lt;/title&gt;
         &lt;link type="text/css" rel="stylesheet" href="stile.css"/&gt;
   &lt;/head&gt;
   &lt;body&gt;
      Corpo Pagina
   &lt;/body&gt;
&lt;/html&gt;</pre>
<h3><strong>Caso di studio</strong></h3>
<p>Proponiamo ora un esempio di pagina XHTML presentata con stile CSS.</p>
<p>La pagina XHTML è <a href="http://lab.stefanoperna.it/wp-content/uploads/2011/10/esempio_xhtml.html" target="_blank">la stessa</a> presentata nel paragrafo relativo ad <a title="Programmazione Web in PHP | Lezione 1 XHTML" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-xhtml/">XHTML</a>.</p>
<p>L&#8217;uso dello stile CSS ha prodotto questo risultato: <a href="http://lab.stefanoperna.it/wp-content/uploads/2011/10/esempio_css.html" target="_blank">Esempio CSS</a>.</p>
<h3><strong>Esempi</strong></h3>
<ul>
<li><a href="http://layouts.ironmyers.com/">Esempi di Layouts</a></li>
<li><a href="http://www.noupe.com/design/101-css-techniques-of-all-time-part-1.html">101 tecniche con i CSS &#8211; Parte 1</a></li>
<li><a href="http://www.noupe.com/css/101-css-techniques-of-all-time-part2.html">101 tecniche con i CSS &#8211; Parte 2</a></li>
</ul>
<h3><strong>Approfondimenti</strong></h3>
<ul>
<li><a href="http://www.w3.org/TR/CSS/">Specifiche CSS</a></li>
<li><a href="http://jigsaw.w3.org/css-validator/">Validatore W3C</a></li>
<li><a href="http://it.wikipedia.org/wiki/Cascading_Style_Sheet">Wikipedia.it &#8211; CSS</a></li>
</ul>
<h3 style="text-align: center;"><strong><a title="Programmazione Web in PHP | Informazioni (ITALIAN LANGUAGE)" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-italian-language-informazioni/">Indice delle lezioni</a></strong></h3>
</div>
]]></content:encoded>
			<wfw:commentRss>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Programmazione Web in PHP &#124; Lezione 1 XHTML</title>
		<link>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-xhtml/</link>
		<comments>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-xhtml/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 10:12:27 +0000</pubDate>
		<dc:creator>Stefano</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://lab.stefanoperna.it/?p=151</guid>
		<description><![CDATA[Indice delle lezioni Introduzione a XHTML Da Wikipedia L&#8217;XHTML (acronimo di eXtensible HyperText Markup Language, Linguaggio di marcatura di ipertesti estensibile) è un linguaggio di marcatura che associa alcune proprietà dell&#8217;XML con le caratteristiche dell&#8217;HTML: un file XHTML è un pagina HTML scritta in conformità con lo standard XML. Il linguaggio prevede un uso più restrittivo dei tag HTML sia in termini di validità che in termini di sintassi per descrivere solo la struttura logica [...]]]></description>
			<content:encoded><![CDATA[<h3 style="text-align: center;"><strong><a title="Programmazione Web in PHP | Informazioni (ITALIAN LANGUAGE)" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-italian-language-informazioni/">Indice delle lezioni</a></strong></h3>
<h3><strong>Introduzione a XHTML</strong></h3>
<p><em>Da Wikipedia</em></p>
<blockquote><p>L&#8217;XHTML (acronimo di eXtensible HyperText Markup Language, Linguaggio di marcatura di ipertesti estensibile) è un linguaggio di marcatura che associa alcune proprietà dell&#8217;XML con le caratteristiche dell&#8217;HTML: un file XHTML è un pagina HTML scritta in conformità con lo standard XML.</p>
<p>Il linguaggio prevede un uso più restrittivo dei tag HTML sia in termini di validità che in termini di sintassi per descrivere solo la struttura logica della pagina, mentre il layout e la resa grafica sono imposti dai fogli di stile a cascata (Cascading Style Sheets, CSS).</p>
<p>L&#8217;XHTML è nato ufficialmente il 26 gennaio 2000 come standard del World Wide Web Consortium (W3C), e può essere definito tecnicamente una riformulazione dell&#8217;HTML 4.01 in XML 1.0; è una sorta di &#8220;ponte&#8221; tra questi due linguaggi.</p></blockquote>
<p><a href="http://it.wikipedia.org/wiki/XHTML">Approfondisci su Wikipedia.it</a></p>
<h3><strong>Struttura di un documento XHTML</strong></h3>
<p>La struttura di un documento XHTML deve essere ben formata e rispetta una struttura base del tipo:</p>
<pre class="brush: xhtml; gutter: true">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
	&lt;head&gt;
		&lt;title&gt;Titolo Pagina&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
		Corpo Pagina
	&lt;/body&gt;
&lt;/html&gt;</pre>
<p>Tutti gli elementi devono essere ben formati secondo le specifiche XML. Gli elementi devono essere nidificati correttamente. Per esempio non è corretto scrivere: <span class="Apple-style-span" style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">&lt;b&gt;&lt;i&gt;testo&lt;/b&gt;&lt;/i&gt;</span> La forma corretta è:</p>
<pre class="brush: xhtml; gutter: true">&lt;b&gt;&lt;i&gt;testo&lt;/i&gt;&lt;/b&gt;</pre>
<p>Tutti i tag devono avere il corrispondente tag di chiusura, ed i tag singoli non fanno eccezione. Per esempio, la linea orizzontale:</p>
<div id="highlighter_129390">
<div>
<div>
<pre class="brush: xhtml; gutter: true">&lt;hr /&gt;</pre>
</div>
</div>
</div>
<p>non è valido se non è chiuso correttamente:</p>
<div id="highlighter_546073">
<div>
<div>
<pre class="brush: xhtml; gutter: true">&lt;hr&gt;</pre>
</div>
</div>
</div>
<p>I valori degli attributi devono essere racchiusi tra gli apici:</p>
<pre class="brush: xhtml; gutter: true">&lt;div id="header"&gt;</pre>
<h3><strong>Casi di studio</strong></h3>
<p>Consultare la pagina <a href="http://lab.stefanoperna.it/wp-content/uploads/2011/10/esempio_xhtml.html" target="_blank">Esempio XHTML</a> e studiare il codice.</p>
<p><a href="http://lab.stefanoperna.it/wp-content/uploads/2011/10/xhtml_caratteri_speciali.html" target="_blank">Caratteri speciali</a> in XHTML e HTML.</p>
<h3><strong>Versioni di XHTML</strong></h3>
<p><em>Da Wikipedia</em></p>
<blockquote><p>XHTML è una riformulazione di HTML come linguaggio XML. Esistono tre differenti DTD, corrispondenti ad altrettante DTD di HTML 4.01:<br />
<strong>XHTML 1.0 Transitional</strong>: nato per favorire la migrazione dalla vecchia versione HTML 3.2 o per uso insieme a link e frame in-line. Accetta come validi anche i tag HTML che sono stati definiti come deprecati in XHTML ed è tollerante rispetto ad alcune non conformità sintattiche.<br />
<strong>XHTML 1.0 Strict</strong>: rispetto alla versione Transitional non accetta i tag HTML definiti deprecati, non è tollerante a non conformità sintattiche e prevede controlli più rigorosi anche rispetto al valore di alcuni attributi dei tag (per esempio, l&#8217;attributo id deve avere valori univoci all&#8217;interno dello stesso documento).<br />
<strong>XHTML 1.0 Frameset</strong>: nato per motivi di compatibilità per suddividere la finestra visualizzata dal browser in diversi frame (sottofinestre), pratica un tempo diffusa ma ora deprecata dal World Wide Web Consortium.</p>
<p>L&#8217;ultima versione di XHTML è la XHTML 1.1, che è una riformulazione dell&#8217; XHTML Strict, quindi ha una sola DTD. Non accetta i tag e gli attributi più criticati della precedente versione (come la struttura a frameset). Questa versione invece supporta i tag del cosiddetto markup «ruby», che consente di visualizzare i set di caratteri delle lingue orientali.</p></blockquote>
<h3><strong>Approfondimenti</strong></h3>
<ul>
<li><a href="http://www.w3.org/TR/xhtml11/">Specifiche di XHTML</a></li>
<li><a href="http://validator.w3.org/">Validatore W3C</a></li>
<li><a href="http://it.wikipedia.org/wiki/XHTML">Wikipedia.it &#8211; XHTML</a></li>
</ul>
<h3 style="text-align: center;"><strong><a title="Programmazione Web in PHP | Informazioni (ITALIAN LANGUAGE)" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-italian-language-informazioni/">Indice delle lezioni</a> </strong></h3>
]]></content:encoded>
			<wfw:commentRss>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-xhtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programmazione Web in PHP &#124; Informazioni (ITALIAN LANGUAGE)</title>
		<link>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-italian-language-informazioni/</link>
		<comments>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-italian-language-informazioni/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 11:06:28 +0000</pubDate>
		<dc:creator>Stefano</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://lab.stefanoperna.it/?p=141</guid>
		<description><![CDATA[Informazioni sul corso Obiettivo del corso è l&#8217;apprendimento delle basi della programmazione Web in PHP. Queste pagine raccolgono una breve sintesi delle lezioni svolte in aula. Programma Nozioni sul Web, HTML e CSS. Nozioni di Apache. Pianificazione del sito. Introduzione a PHP. Introduzione ai Database relazionali. Introduzione a PHP per lo sviluppo Web. Sicurezza nelle applicazioni PHP. Nozioni di XML. Nozioni di Javascript. Scarica il programma completo in PDF Lezioni Lezione 1: XHTML, CSS, Apache Lezione 2: Contatti [...]]]></description>
			<content:encoded><![CDATA[<h2>Informazioni sul corso</h2>
<p>Obiettivo del corso è l&#8217;apprendimento delle basi della programmazione Web in PHP.</p>
<p>Queste pagine raccolgono una breve sintesi delle lezioni svolte in aula.</p>
<h2>Programma</h2>
<p>Nozioni sul Web, HTML e CSS. Nozioni di Apache. Pianificazione del sito. Introduzione a PHP. Introduzione ai Database relazionali. Introduzione a PHP per lo sviluppo Web. Sicurezza nelle applicazioni PHP. Nozioni di XML. Nozioni di Javascript.</p>
<p style="text-align: center;"><a href="http://lab.stefanoperna.it/wp-content/uploads/2011/08/Programma.pdf"><img class="size-full wp-image-149 " title="Programma" src="http://lab.stefanoperna.it/wp-content/uploads/2011/08/download.png" alt="" width="128" height="128" /></a></p>
<p style="text-align: center;"><em>Scarica il programma completo in PDF</em></p>
<h2>Lezioni</h2>
<ul>
<li>Lezione 1: <a title="Programmazione Web in PHP | Lezione 1 XHTML" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-xhtml/">XHTML</a>, <a title="Programmazione Web in PHP | Lezione 1 CSS" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-css/">CSS</a>, <a title="Programmazione Web in PHP | Lezione 1 Apache" href="http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-lezione-1-apache/">Apache</a></li>
<li>Lezione 2:</li>
</ul>
<h2>Contatti</h2>
<p>Potete contattare il docente all&#8217;indirizzo <strong>miocognome.mionome@gmail.com</strong> (ricordando che il mio nome è <strong>stefano</strong> ed il mio cognome è <strong>perna</strong>) ed indicando nel subject dell&#8217;email [Corso PHP].</p>
<h2>Copyright</h2>
<p>Il contenuto di questo sito è protetto dal diritto d&#8217;autore.</p>
<p>Tutti i diritti sono riservati.</p>
<p>La riproduzione, il trasferimento, la distribuzione o la memorizzazione di una parte o di tutto il contenuto delle pagine di questo sito, sotto qualsiasi forma, senza la preventiva autorizzazione scritta dell&#8217;autore, non è consentita.</p>
<p>È consentito salvare e stampare parte dei contenuti di questo sito solo ed esclusivamente per uso privato, salvo autorizzazione scritta da parte dell&#8217;autore.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.stefanoperna.it/archives/development/programmazione-web-in-php-italian-language-informazioni/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which backup solution is right for me?</title>
		<link>http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/</link>
		<comments>http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 11:26:41 +0000</pubDate>
		<dc:creator>Stefano</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[online storage]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://lab.stefanoperna.it/?p=87</guid>
		<description><![CDATA[Backup solutions Backup on CD or DVD Backup on external Hard Disk (USB/Firewire/eSata) Backup on external USB flash drive (Pen Derive or similar) Backup on NAS (Network Attached Storage) Backup On-Line Where to go? Simply: take care of your data! Hardware you can buy in any moment, your documents are priceless. This is a common problem of home and (too much often) business user. People are buying expensive hardware for their digital life, but they are [...]]]></description>
			<content:encoded><![CDATA[<div class='indizar' id='left' style='width: 300px; float: left;'>
<ul>
<li>Backup solutions</li>
<li><a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/2/'>Backup on CD or DVD</a></li>
<li><a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/3/'>Backup on external Hard Disk (USB/Firewire/eSata)</a></li>
<li><a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/4/'>Backup on external USB flash drive (Pen Derive or similar)</a></li>
<li><a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/5/'>Backup on NAS (Network Attached Storage)</a></li>
<li><a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/6/'>Backup On-Line</a></li>
<li><a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/7/'>Where to go?</a></li>
</ul>
</div>
<p>Simply: take care of your data!</p>
<p>Hardware you can buy in any moment, your documents are priceless.</p>
<p>This is a common problem of home and (too much often) business user. People are buying expensive hardware for their digital life, but they are not thinking how to protect their documents, photo, music and files in general.</p>
<p>Imagine to loose all your family photos or videos, documents, music, or university thesis, research work&#8230; I prefer not to think about it.</p>
<p>Which is the solution? <em>Backup, backup, backup!</em><br />
<h1 class='indizar'>Backup solutions</h1>
<p>There are different strategies to protect your documents, photo etc. from data loss. Some can be expensive or require high technical skill, other can be cheap but less secure.</p>
<p>The most common way to backup data in the past was to burn CD or DVD or to save on floppy or tape drive. Now there are better solutions, more secure and more handily.</p>
<p>We&#8217;ll analyze the most common backup strategies that people are using.
<p class='indizar scroll'><strong>Chapters:</strong> | 1 | <a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/2/'>2</a> | <a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/3/'>3</a> | <a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/4/'>4</a> | <a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/5/'>5</a> | <a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/6/'>6</a> | <a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/7/'>7</a> | <a href='http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/chapter/2/'>Next</a> |</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.stefanoperna.it/archives/tutorial-2/security/which-backup-solution-is-right-for-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linking DD-WRT routers with DHCP forwarder option</title>
		<link>http://lab.stefanoperna.it/archives/tutorial-2/networking/linking-dd-wrt-routers-with-dhcp-forwarder-option/</link>
		<comments>http://lab.stefanoperna.it/archives/tutorial-2/networking/linking-dd-wrt-routers-with-dhcp-forwarder-option/#comments</comments>
		<pubDate>Sun, 15 May 2011 20:10:22 +0000</pubDate>
		<dc:creator>Stefano</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[DHCP forwarder]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://lab.stefanoperna.it/?p=48</guid>
		<description><![CDATA[As written in the dd-wrt.com tutorial there are different ways to connect two or more router with DD-WRT. I&#8217;ll explain how to connect two different router (wired connected) to use one  as primary router and the second as a not so regular bridge. All client will use the same DHCP server and will access to shared resource on your network. Our goal: connect two DD-WRT router and share the same DHCP server for all the [...]]]></description>
			<content:encoded><![CDATA[<p>As written in the <a title="dd-wrt.com tutorial" href="http://www.dd-wrt.com/wiki/index.php/Linking_Routers" target="_blank">dd-wrt.com tutorial</a> there are different ways to connect two or more router with <a title="DD-WRT" href="http://www.dd-wrt.com" target="_blank">DD-WRT</a>.</p>
<p>I&#8217;ll explain how to connect two different router (<span style="text-decoration: underline;">wired connected</span>) to use one  as primary router and the second as a <em>not so regular</em> bridge. All client will use the same DHCP server and will access to shared resource on your network.</p>
<p><strong>Our goal: </strong>connect two <a title="DD-WRT" href="http://www.dd-wrt.com" target="_blank">DD-WRT</a> router and share the same DHCP server for all the client, allowing every client to access shared resource on your network.</p>
<ul>
<li>Connection between routers is wired.</li>
<li>The Main Router has DHCP and NAT enabled.</li>
<li>The Main Router hosts QOS policy for WAN connection.</li>
<li>Clients can be on the same subnet.</li>
<li>All clients can see one another in the network.</li>
<li>All clients can access to shared resource (like Printer, HD USB, NAS,&#8230;).</li>
<li>No needs to change Main Router config (if already done).</li>
</ul>
<h3>Disclaimer</h3>
<p>Before to configure our network read all the guide, make a backup of your previous configuration and be sure to understand what you are doing!</p>
<h2>Scenario</h2>
<p>In this scenario we have two router (<a title="DD-WRT" href="http://www.dd-wrt.com" target="_blank">DD-WRT</a> compatible) connected via LAN cable (or <a title="Wikipedia - Power Line communication" href="http://en.wikipedia.org/wiki/Power_line_communication" target="_blank">PowerLine</a>).</p>
<p>One router (<em>Main Router</em>) act as DHCP server, File Server and Print Server. The other one (<em>Secondary Router</em>) act as a kind of bridge on the network.</p>
<p>All client can connect via Wi-Fi (or cable) to the <em>Main Router</em> or the S<em>econdary Router</em> and be in the same subnet of all other clients.</p>
<p>Resource shared from a client will be accessible to all other clients on the network without difference if connected to one router or the other one.</p>
<p><em>File Server</em> and <em>Print Server</em> will be accessible to all clients of the network.</p>
<p>Here is an example diagram of our network:</p>
<p style="text-align: center;"><a class="lightbox" href="http://lab.stefanoperna.it/wp-content/uploads/2011/05/network.png"><img class="size-full wp-image-56 aligncenter" title="Network Diagram" src="http://lab.stefanoperna.it/wp-content/uploads/2011/05/network.png" alt="Network Diagram" width="560" height="216" /></a></p>
<p>As shown there&#8217;s a <em>Main Router</em> with DHCP server, a Print Server and File Server on it. <em>Client1 </em>and <em>Client2 </em>are connect wireless to the <em>Main Router</em>. A <em>Secondary Router</em> is connect with a wired link to the <em>Main Router</em>. <em>Client3 </em>and <em>Client4 </em>are wireless connected to the <em>Secondary Router</em>.</p>
<p>In our setting all clients will access to all shared resources (Other client resource, <em>Printer</em> and<em> HD/NAS</em>).</p>
<p>In this tutorial we can imagine that the <em>Main Router</em> is already configured (standard DD-WRT configuration) and we&#8217;ll not cover Wireless settings (WPA2 recommend), <em>Print Server</em> and <em>File Server</em> configuration.</p>
<h2>Configure the Main Router</h2>
<p>In the Main Router check that address 192.168.1.2 will not be used from any client (we&#8217;ll use it for Secondary Router). You&#8217;ll find that DHCP server will start the pool from 192.168.1.100 (Default)</p>
<h2>Configure the Secondary Router</h2>
<ol>
<li>Restore factory default.</li>
<li>Hard Reset (30-30-30) your router (<a title="Hard Reset Tutorial" href="http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30" target="_blank">tutorial</a>).</li>
<li>Connect the Secondary Router to a client (outside the network) via LAN cable.</li>
<li>Access you router configuration (Default: http://192.168.1.1)</li>
<li>In <strong>Setup </strong>-&gt; <strong>Basic Setup</strong> tab:
<ul>
<li><strong>Router IP</strong>
<ul>
<li><strong>Local IP Address</strong>: 192.168.1.2 <em>(different from Main router)</em></li>
<li><strong>Subnet Mask</strong>: 255.255.255.0 <em>(as Main router)</em></li>
<li><strong>Gateway</strong>: 192.168.1.1</li>
<li><strong>Local DNS</strong>: 192.168.1.1</li>
</ul>
</li>
<li><strong>Network Adrress Server Settings (DHCP)</strong>
<ul>
<li><strong>DHCP type</strong>: DHCP forwarder</li>
<li><strong>DHCP Server</strong>: 192.168.1.1</li>
</ul>
</li>
</ul>
</li>
<li>In <strong>Setup </strong>-&gt; <strong>Advanced Routing</strong> tab:
<ul>
<li><strong>Operation Mode</strong>: Router</li>
</ul>
</li>
<li>In <strong>Wireless </strong>-&gt; <strong>Basic Settings</strong> tab:
<ul>
<li><strong>Wireless Mode</strong>: AP</li>
<li><em>other settings as you need</em></li>
</ul>
</li>
<li>In <strong>Wireless </strong>-&gt; <strong>Wireless Security</strong> tab:
<ul>
<li><strong>Security Mode</strong>: WPA2 Personal <em>(recommed)</em></li>
<li><em>other settings as you need</em></li>
</ul>
</li>
<li>In <strong>Services </strong>-&gt; <strong>Services</strong> tab:
<ul>
<li><strong>DNMasq</strong>: disabled</li>
<li><strong>Local DNS</strong>: disabled</li>
</ul>
</li>
<li>In <strong>Security </strong>-&gt; <strong>Firewall </strong>tab:
<ul>
<li><strong>SPI Firewall</strong>: disabled</li>
</ul>
</li>
</ol>
<p>Now restart you router and connect it via cable to the Main Router.</p>
<p>All clients connect (wireless or wired) to the Secondary Router will ask IP configuration to the Main Router (DHCP forwarder) via the  Secondary Router.</p>
<p>All clients will access to shared resource hosted on the Main Router.</p>
<p>QoS policy on the Main Router will be the same for all the clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.stefanoperna.it/archives/tutorial-2/networking/linking-dd-wrt-routers-with-dhcp-forwarder-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://lab.stefanoperna.it/archives/uncategorized/hello-world/</link>
		<comments>http://lab.stefanoperna.it/archives/uncategorized/hello-world/#comments</comments>
		<pubDate>Sat, 07 May 2011 14:13:15 +0000</pubDate>
		<dc:creator>Stefano</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lab.stefanoperna.it/?p=1</guid>
		<description><![CDATA[The Lab&#8217;s Blog is online! I&#8217;m currently working on the website and soon it will be near to be finished. Come back to visit in  few weeks&#8230; &#160;]]></description>
			<content:encoded><![CDATA[<p>The Lab&#8217;s Blog is online!<span id="more-1"></span></p>
<p>I&#8217;m currently working on the website and soon it will be near to be finished.</p>
<p>Come back to visit in  few weeks&#8230;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://lab.stefanoperna.it/archives/uncategorized/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

