<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2portuguesefull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>alexmontoanelli</title>
	
	<link>http://alexm.unetvale.com.br/blog</link>
	<description>a place to have some fun..</description>
	<lastBuildDate>Sun, 20 Feb 2011 23:58:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/alexmontoanelli" /><feedburner:info uri="alexmontoanelli" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Falexmontoanelli" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Falexmontoanelli" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Falexmontoanelli" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/alexmontoanelli" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Falexmontoanelli" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Falexmontoanelli" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Falexmontoanelli" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item>
		<title>Android – Instalando o openvpn no Milestone 2</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/wLUuKDFOkcw/</link>
		<comments>http://alexm.unetvale.com.br/blog/2011/02/android-instalando-o-openvpn-no-milestone-2/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 23:58:13 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[milestone]]></category>
		<category><![CDATA[openvpn]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=440</guid>
		<description><![CDATA[Fala galera.. How-to rápido de como instalar e usar  openvpn  no seu Milestone 2. Você vai precisar de: Um  Milestone 2 com Android 2.2 e kernel 2.6.32.9 ROOTEADO; tun.ko (módulo do kernel); Openvpn Installer; Openvpn Settings; Terminal emulator; BusyBox Arquivos de configuração de sua VPN; Vamos aos passos; Copie para o cartão na pasta openvpn [...]]]></description>
			<content:encoded><![CDATA[<p>Fala galera..</p>
<p>How-to rápido de como instalar e usar  openvpn  no seu Milestone 2.</p>
<p>Você vai precisar de:</p>
<p>Um  <strong>Milestone 2</strong> com <strong>Android 2.2</strong> e <strong>kernel 2.6.32.9</strong> <a href="http://alexm.unetvale.com.br/blog/2011/02/android-rooteando-seu-milestone-2/"><strong>ROOTEADO</strong></a>;</p>
<p><a href="http://alexm.unetvale.com.br/exe/tun.ko">tun.ko</a> (módulo do kernel);</p>
<p><a href="https://market.android.com/details?id=de.schaeuffelhut.android.openvpn.installer&amp;feature=search_result">Openvpn Installer</a>;</p>
<p><a href="https://market.android.com/details?id=de.schaeuffelhut.android.openvpn&amp;feature=search_result">Openvpn Settings</a>;</p>
<p><a href="https://market.android.com/details?id=jackpal.androidterm">Terminal emulator</a>;</p>
<p><a href="https://market.android.com/details?id=stericson.busybox&amp;feature=search_result">BusyBox</a></p>
<p>Arquivos de configuração de sua VPN;</p>
<p>Vamos aos passos;</p>
<p>Copie para o cartão na pasta openvpn (/sdcard/openvpn), seu arquivos de configuração<br />
da vpn e o arquivo tun.ko;</p>
<p>Abra o terminal emulator; e digite a seguinte sequência de comandos:<br />
su;<br />
mount -o remount,rw /dev/mtlock4 /system;<br />
mv /sdcard/openvpn/tun.ko /system/lib/modules/tun.ko<br />
ln -s /system/bin/route /system/xbin/route;<br />
ln -s /system/bin/ifconfig /system/xbin/ifconfig;<br />
mkdir /system/xbin/bb;<br />
ln -s /system/bin/route /system/xbin/bb/route;<br />
ln -s /system/bin/ifconfig /system/xbin/bb/ifconfig;<br />
mount -o remount,ro /dev/mtlock4 /system;</p>
<p>Agora, inicie o App Openvpn Installer,<br />
Ele irá perguntar por 2 targets, o primeiro o do openvpn,<br />
Escolha /system/xbin;<br />
O segundo o path para o ifconfig e o route; informe /system/xbin/bb</p>
<p>Pronto, openvpn instalado, agora vamos a configuração:</p>
<p>Abra  o Openvpn Settings,<br />
Opções -&gt; Advanced e maque a opção <strong>Load tun kernel module</strong> ;<br />
Em Tun modules settings, informe insmod e /system/lib/modeles/tun.ko respectivamente nas 2 opções;</p>
<p>Volte a tela inicial do openvpn, marque a primeira opção (Turn on OpenVpn),<br />
E seu arquivo de configuração deverá aparecer abaixo em openvpn configurations;</p>
<p>De um clique e nele e veja a mágica acontecer.</p>
<p>É isso, simples assim</p>
<p>Abraço</p>

<p><a href="http://feedads.g.doubleclick.net/~a/2oBUDk-tCNUeDUqzfjQwOjvjDcw/0/da"><img src="http://feedads.g.doubleclick.net/~a/2oBUDk-tCNUeDUqzfjQwOjvjDcw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2oBUDk-tCNUeDUqzfjQwOjvjDcw/1/da"><img src="http://feedads.g.doubleclick.net/~a/2oBUDk-tCNUeDUqzfjQwOjvjDcw/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=wLUuKDFOkcw:1FD2qOIw63k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=wLUuKDFOkcw:1FD2qOIw63k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=wLUuKDFOkcw:1FD2qOIw63k:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=wLUuKDFOkcw:1FD2qOIw63k:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/wLUuKDFOkcw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2011/02/android-instalando-o-openvpn-no-milestone-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2011/02/android-instalando-o-openvpn-no-milestone-2/</feedburner:origLink></item>
		<item>
		<title>Android – Rooteando seu Milestone 2</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/dBp-bVPW6XE/</link>
		<comments>http://alexm.unetvale.com.br/blog/2011/02/android-rooteando-seu-milestone-2/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 23:40:52 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[milestone]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=436</guid>
		<description><![CDATA[Fala galera, depois de um tempo longe do brog, voltamos agora para falar de Android. Adquiri um Milestone 2, e o primeiro passo para que um usuário linux faz nesse tipo de brinquedo é conseguir acesso root ao dispositivo. O procedimento é simples, vamos lá: Vá ao Market e procure e instale a  Busybox  (cojunto [...]]]></description>
			<content:encoded><![CDATA[<p>Fala galera, depois de um tempo longe do brog, voltamos agora para falar de<br />
Android.</p>
<p>Adquiri um Milestone 2, e o primeiro passo para que um usuário linux faz nesse tipo<br />
de brinquedo é conseguir acesso root ao dispositivo.</p>
<p>O procedimento é simples, vamos lá:</p>
<p>Vá ao Market e procure e instale a  Busybox  (cojunto de ferramentas linux);<br />
ao final da instalação não execute, apenas finalize sem abrir-lo.</p>
<p>Agora, baixe o Z4Root, disponível <a href="http://alexm.unetvale.com.br/exe/z4root.zip">aqui</a>.</p>
<p>Descompacte e copie o .apk para o cartão de memória e instale ele,usando um gerenciador de arquivos qualquer.</p>
<p>Depois de instalado, execute ele, e clica no botão root;</p>
<p>O procedimento leva alguns segundos e seu telefone irá reiniciar ao final do processo.</p>
<p>Para conferir se deu tudo certo, instale através do market, o app Terminal emulator;</p>
<p>Ao executar digite su, e se nenhuma mensagem anormal aparecer, parabéns&#8230;seu Milestone 2<br />
está rooteado.</p>
<p>Abraços</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Vw1Ro0m_vDZXLztdZ_PrbCI7eKc/0/da"><img src="http://feedads.g.doubleclick.net/~a/Vw1Ro0m_vDZXLztdZ_PrbCI7eKc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Vw1Ro0m_vDZXLztdZ_PrbCI7eKc/1/da"><img src="http://feedads.g.doubleclick.net/~a/Vw1Ro0m_vDZXLztdZ_PrbCI7eKc/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=dBp-bVPW6XE:yfC-l-jj4t8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=dBp-bVPW6XE:yfC-l-jj4t8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=dBp-bVPW6XE:yfC-l-jj4t8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=dBp-bVPW6XE:yfC-l-jj4t8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/dBp-bVPW6XE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2011/02/android-rooteando-seu-milestone-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2011/02/android-rooteando-seu-milestone-2/</feedburner:origLink></item>
		<item>
		<title>And so you code</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/ztyDmgmW-1I/</link>
		<comments>http://alexm.unetvale.com.br/blog/2010/12/and-so-you-code/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 00:34:49 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=433</guid>
		<description />
			<content:encoded><![CDATA[<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/Eq3CuMDXaPs" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/Eq3CuMDXaPs"></embed></object></p>

<p><a href="http://feedads.g.doubleclick.net/~a/5hmM7gXhv90IqtfpOBqA747-Buk/0/da"><img src="http://feedads.g.doubleclick.net/~a/5hmM7gXhv90IqtfpOBqA747-Buk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5hmM7gXhv90IqtfpOBqA747-Buk/1/da"><img src="http://feedads.g.doubleclick.net/~a/5hmM7gXhv90IqtfpOBqA747-Buk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=ztyDmgmW-1I:nP4HUVFBb-s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=ztyDmgmW-1I:nP4HUVFBb-s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=ztyDmgmW-1I:nP4HUVFBb-s:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=ztyDmgmW-1I:nP4HUVFBb-s:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/ztyDmgmW-1I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2010/12/and-so-you-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2010/12/and-so-you-code/</feedburner:origLink></item>
		<item>
		<title>Linux: /proc/sys/vm/swappiness – Oque é pra que serve</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/ST8GkYIaswo/</link>
		<comments>http://alexm.unetvale.com.br/blog/2010/10/linux-procsysvmswappiness-oque-e-pra-que-serve/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 22:21:24 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[swap]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=427</guid>
		<description><![CDATA[Essa variável que pode ser setada via sysct ou com um simples echo , diz ao kernel o quanto ele deve usar swap, ou tentar ao máximo usar a ram, sempre. Dizemos que é com esse valor que o kernel vai ter a tendência para usar com mais agressividade a swap ou não. Quanto maior [...]]]></description>
			<content:encoded><![CDATA[<p>Essa variável que pode ser setada via sysct ou com um simples echo , diz ao kernel<br />
o quanto ele deve usar swap, ou tentar ao máximo usar a ram, sempre.</p>
<p>Dizemos que é com esse valor que o kernel vai ter a tendência para usar com mais agressividade a swap ou não.</p>
<p>Quanto maior o valor maior será a chance do kernel usar swap, e quanto menor o valor, menor a chance.</p>
<p>Para mudar o valor, podemos fazer de duas maneiras:<br />
sysctl -w vm.swappiness=90<br />
ou<br />
echo 90 &gt; /proc/sys/vm/swappiness</p>
<p>Fonte: <a href="http://lwn.net/Articles/83588/">lwn.net</a></p>
<p>Abraço</p>

<p><a href="http://feedads.g.doubleclick.net/~a/65ra-sj9XpF7mdfOytRjszgXX-Y/0/da"><img src="http://feedads.g.doubleclick.net/~a/65ra-sj9XpF7mdfOytRjszgXX-Y/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/65ra-sj9XpF7mdfOytRjszgXX-Y/1/da"><img src="http://feedads.g.doubleclick.net/~a/65ra-sj9XpF7mdfOytRjszgXX-Y/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=ST8GkYIaswo:qJCIpt9bC9c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=ST8GkYIaswo:qJCIpt9bC9c:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=ST8GkYIaswo:qJCIpt9bC9c:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=ST8GkYIaswo:qJCIpt9bC9c:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/ST8GkYIaswo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2010/10/linux-procsysvmswappiness-oque-e-pra-que-serve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2010/10/linux-procsysvmswappiness-oque-e-pra-que-serve/</feedburner:origLink></item>
		<item>
		<title>Cisco: OID’s para monitorar a temperatura de seu router via SNMP</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/4ypFQ3ZS7OA/</link>
		<comments>http://alexm.unetvale.com.br/blog/2010/09/cisco-oids-para-monitorar-a-temperatura-de-seu-route-via-snmpr/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 22:33:12 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[cisco]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=424</guid>
		<description><![CDATA[Alguns routers e switches da Cisco, vem equipados com o sensores que nos permitem monitorar a sua temperatura, tanto de interna (dentro do processador), quanto a externa. As OID&#8217;s usadas para capturar essas informações são 1.3.6.1.4.1.9.9.13.1.3.1.3.1 para temperatura interna 1.3.6.1.4.1.9.9.13.1.3.1.3.2 para temperatura externa. Com essa informação fica fácil montar via mrtg, um gráfico para acompanhar [...]]]></description>
			<content:encoded><![CDATA[<p>Alguns routers e switches da Cisco, vem equipados com o sensores que nos<br />
permitem monitorar a sua temperatura, tanto de interna (dentro do processador),<br />
quanto a externa.</p>
<p>As OID&#8217;s usadas para capturar essas informações são </p>
<p>1.3.6.1.4.1.9.9.13.1.3.1.3.1 para temperatura interna<br />
1.3.6.1.4.1.9.9.13.1.3.1.3.2 para temperatura externa.</p>
<p>Com essa informação fica fácil montar via mrtg, um gráfico para acompanhar seu estado, ou<br />
até colocar ela no nagios, para alertar caso o valor sai do estipulado.</p>
<p>Abraços</p>

<p><a href="http://feedads.g.doubleclick.net/~a/KQS2YHUvrD2LU0J3GuExAJgJluo/0/da"><img src="http://feedads.g.doubleclick.net/~a/KQS2YHUvrD2LU0J3GuExAJgJluo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/KQS2YHUvrD2LU0J3GuExAJgJluo/1/da"><img src="http://feedads.g.doubleclick.net/~a/KQS2YHUvrD2LU0J3GuExAJgJluo/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=4ypFQ3ZS7OA:3_ac-5r_6Ok:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=4ypFQ3ZS7OA:3_ac-5r_6Ok:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=4ypFQ3ZS7OA:3_ac-5r_6Ok:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=4ypFQ3ZS7OA:3_ac-5r_6Ok:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/4ypFQ3ZS7OA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2010/09/cisco-oids-para-monitorar-a-temperatura-de-seu-route-via-snmpr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2010/09/cisco-oids-para-monitorar-a-temperatura-de-seu-route-via-snmpr/</feedburner:origLink></item>
		<item>
		<title>Mysql Recover Data using ibdata1, ib_logfile0 and ib_logfile1</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/PdYD_UvwkMk/</link>
		<comments>http://alexm.unetvale.com.br/blog/2010/08/mysql-recover-data-using-ibdata1/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 13:21:35 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[outros]]></category>
		<category><![CDATA[ibdata1]]></category>
		<category><![CDATA[inodb]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=406</guid>
		<description><![CDATA[Issue: Unfortunately some times you need to recover MySQL data from ibdata1. It&#8217;s many reasons why your getting corrupted Innodb files that cannot automatically be restored of the mysqld daemon. Solution: Scenario We assume that your scenario are like following: You got backup of your ibdata1, ib_logfile0 and ib_logfile1 You also got backup of your [...]]]></description>
			<content:encoded><![CDATA[<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; font-size: small;"><span style="line-height: 18px; white-space: pre;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;"><span style="line-height: 19px; white-space: normal;"> </span></span></span></span></p>
<p><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; font-size: small;"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;"> </span></span></p>
<div id="_mcePaste"><strong>Issue:</strong></div>
<div id="_mcePaste">Unfortunately some times you need to recover MySQL data from ibdata1. It&#8217;s many reasons why your getting corrupted Innodb files that cannot automatically be restored of the mysqld daemon.</div>
<div><strong>Solution:</strong></div>
<div>Scenario</div>
<div id="_mcePaste">We assume that your scenario are like following:</div>
<div>
<ul>
<li><span style="font-size: small;">You got backup of your ibdata1, ib_logfile0 and ib_logfile1</span></li>
<li><span style="font-size: small;">You also got backup of your database folder with .frm files</span></li>
<li><span style="font-size: small;">You would like to restore this backup into an MySQL server that&#8217;s already in production.</span></li>
</ul>
</div>
<div><strong><br />
</strong></div>
<div><strong>Restore the data backup you got</strong></div>
<div><strong><br />
</strong></div>
<div id="_mcePaste">First of all restore you data on another MySQL server, to not interrupt the services running in your normal production environment. Restore data into the normal MySQL data directory. For our scenario we use /var/lib/mysql.</div>
<div id="_mcePaste">Be careful to get the right permissions and owners on all your data files. Your MySQL users should own the files and the group should also be assigned to MySQL.</div>
<div id="_mcePaste">Before you continue you need to find the size of your Innodb logfiles. Simply run the command ls -l to find this. This will output something like this:</div>
<div>-rw-rw&#8212;- 1 mysql mysql 5242880 Jun 25 11:30 ib_logfile0</div>
<div id="_mcePaste">-rw-rw&#8212;- 1 mysql mysql 5242880 Jun 25 11:30 ib_logfile1</div>
<div><strong><br />
</strong></div>
<div>
<div><strong>Start up MySQL in rescue mode</strong></div>
<div><strong><br />
</strong></div>
<div>Some simple steps will start up the MySQL daemon in rescue mode for you:</div>
<div>From your Unix shell su into the mysql user: su mysql</div>
<div>Start up your mysqld process with the logfile size and innodb_force_recovery as parameters.</div>
<div><em>/usr/sbin/mysqld &#8211;innodb_log_file_size=5242880 &#8211;innodb_force_recovery=6</em></div>
<div>If everything goes fine you should get a output like this:</div>
<div><em>InnoDB: The user has set SRV_FORCE_NO_LOG_REDO on</em></div>
<div><em>InnoDB: Skipping log redo</em></div>
<div><em>070625 11:59:36 InnoDB: Started; log sequence number 0 0</em></div>
<div><em>InnoDB: !!! innodb_force_recovery is set to 6 !!!</em></div>
<div><em>070625 11:59:36 [Note] /usr/sbin/mysqld: ready for connections.</em></div>
<div><em>Version: &#8217;5.0.18&#8242; socket: &#8216;/var/lib/mysql/mysql.sock&#8217; port: 3306 SUSE MySQL</em></div>
<div><strong><br />
</strong></div>
<div><strong>Get your data</strong></div>
<div><strong><br />
</strong></div>
<div>The last simple but most important step is now to get your data.</div>
<div>Open a new shell to the server where your MySQL daemon are running in recovery mode.</div>
<div>Simply run a normal mysqldump of your database:</div>
<div><em>mysqldump -u root -p database &gt; database.sql</em></div>
<div>If you get a message looking like this, you got corrupted Innodb log files:</div>
<div><em>Got error: 1146: Table &#8216;database.table&#8217; doesn&#8217;t exist when using LOCK TABLES</em></div>
<div>What you can do to resolve this problem with keeping the ib_logfile0 file from you most current backup while you restore all the other files from a older backup. This isn&#8217;t a fail-proof solution, but worth a try.</div>
<div><strong><br />
</strong></div>
<div><strong>Restore you data</strong></div>
<div><strong><br />
</strong></div>
<div>Now you can copy your SQL dump to your production server and simply restore the data from your MySQL dump file like this:</div>
<div><em>mysql -u root -p database &lt; database.sql</em></div>
</div>

<p><a href="http://feedads.g.doubleclick.net/~a/TFrac2LItGe1JJGnPGlWu9jU62g/0/da"><img src="http://feedads.g.doubleclick.net/~a/TFrac2LItGe1JJGnPGlWu9jU62g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/TFrac2LItGe1JJGnPGlWu9jU62g/1/da"><img src="http://feedads.g.doubleclick.net/~a/TFrac2LItGe1JJGnPGlWu9jU62g/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=PdYD_UvwkMk:mRTTksPQ0yE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=PdYD_UvwkMk:mRTTksPQ0yE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=PdYD_UvwkMk:mRTTksPQ0yE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=PdYD_UvwkMk:mRTTksPQ0yE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/PdYD_UvwkMk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2010/08/mysql-recover-data-using-ibdata1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2010/08/mysql-recover-data-using-ibdata1/</feedburner:origLink></item>
		<item>
		<title>Linux: deauthenticating from by local choice (reason=3)</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/zwKlfG9en4M/</link>
		<comments>http://alexm.unetvale.com.br/blog/2010/07/linux-deauthenticating-from-by-local-choice-reason3/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 22:36:55 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=395</guid>
		<description><![CDATA[Having problem with unstable wireless connections after kernel upgrade from 2.6.31 ? If are you using a Intel card, the solution is simple, just load the module iwlagn, with this paramenters, or put it on /boot/grub.conf on kernel line: 11n_disable=1 11n_disable50=1 Bye Update  16/07/2010:  If this not solve, try to change from WPA TKIP to [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">
<p>Having problem with unstable wireless connections after kernel upgrade from 2.6.31 ?</p>
</div>
<div id="_mcePaste">If are you using a Intel card, the solution is simple, just load the module iwlagn, with this paramenters,</div>
<div id="_mcePaste">
<p>or put it on /boot/grub.conf on kernel line:</p>
</div>
<div>
<p><strong>11n_disable=1 11n_disable50=1</strong></p>
</div>
<div>Bye</div>
<blockquote>
<div>Update  16/07/2010:  If this not solve, try to change from WPA TKIP to WPA2 PSK AES, the wireless security settings.</div>
</blockquote>

<p><a href="http://feedads.g.doubleclick.net/~a/1lXQkzNVqgpiI80wm-JWE7HvkAs/0/da"><img src="http://feedads.g.doubleclick.net/~a/1lXQkzNVqgpiI80wm-JWE7HvkAs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/1lXQkzNVqgpiI80wm-JWE7HvkAs/1/da"><img src="http://feedads.g.doubleclick.net/~a/1lXQkzNVqgpiI80wm-JWE7HvkAs/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=zwKlfG9en4M:RQH5P3Wcd64:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=zwKlfG9en4M:RQH5P3Wcd64:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=zwKlfG9en4M:RQH5P3Wcd64:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=zwKlfG9en4M:RQH5P3Wcd64:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/zwKlfG9en4M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2010/07/linux-deauthenticating-from-by-local-choice-reason3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2010/07/linux-deauthenticating-from-by-local-choice-reason3/</feedburner:origLink></item>
		<item>
		<title>Interceptando funções internas no PHP</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/URbGbvHj-1M/</link>
		<comments>http://alexm.unetvale.com.br/blog/2010/05/interceptando-funcoes-internas-no-php/#comments</comments>
		<pubDate>Mon, 17 May 2010 16:17:29 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=388</guid>
		<description><![CDATA[Olá pessoal, dica rápida de como proceder para interceptar funções build-in no php. Precisei usar para interceptar as chamadas da função mail, em um servidor em produção, para gerar log, de abusos. Para isso precisaremos instalar o modulo runkit, disponível em github.com/padraic/runkit. O procedimento consiste em baixar o pacote via git, com o comando git [...]]]></description>
			<content:encoded><![CDATA[<p>Olá pessoal, dica rápida de como proceder para interceptar funções build-in no php.</p>
<p>Precisei usar para interceptar as chamadas da função mail, em um servidor em produção,<br />
para gerar log, de abusos.</p>
<p>Para isso precisaremos instalar o modulo runkit, disponível em <a href="http://github.com/padraic/runkit">github.com/padraic/runkit</a>.</p>
<p>O procedimento consiste em baixar o pacote via git, com o comando<br />
git clonse git://github.com/padraic/runkit.git, executar um phpize no diretório, depois<br />
o trio ./configure &amp;&amp;  make &amp;&amp; make install</p>
<p>Feito isso basta configurar o php.ini para subir o modulo com as seguintes linhas:</p>
<p>extension=runkit.so<br />
runkit.internal_override=1</p>
<p>A primeira linha carrega o módulo e a segunda, diz que vamos sobre-escrever funções internas no php.</p>
<p>Depois basta reiniciar o apache.</p>
<p>O script para interceptar fica mais ou menos assim:</p>
<pre>//copiamos a funcao interna mail para o nome de intmail
@runkit_function_copy("mail", "intmail");

//removemos a funcao original mail
@runkit_function_remove("mail");
//atribuimos a funcao umail para o nome mail
@runkit_function_copy("umail", "mail"); 

//criamos a assinatura da funcao identica a original do mail
function umail($to,
               $subject,
               $message,
               $additional_headers = null,
               $additional_parameters = null) {</pre>
<pre>      //executamos aqui nossas rotinas
      //como por exemplo criar logs

      //chamaos a funcao mail original com os paramentros passados
      if (ini_get('safe_mode') === false){
        $x =  intmail($to,
                      $subject,
                      $message,
                      $additional_headers,
                      $additional_parameters);
      } else {
        $x =  intmail($to,
                      $subject,
                      $message,
                      $additional_headers);
      }

      return $x;
}</pre>
<p>Para esse scritpt ter um funcionamento global, é preciso adiciona-lo na configuração auto_prepend_file  para<br />
carrega-lo automaticamente em toda página.</p>
<p>Por hora é isso.</p>
<p>Abraços</p>

<p><a href="http://feedads.g.doubleclick.net/~a/uuyFhB8m6VArd7PAJbaJ6NGGeKM/0/da"><img src="http://feedads.g.doubleclick.net/~a/uuyFhB8m6VArd7PAJbaJ6NGGeKM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/uuyFhB8m6VArd7PAJbaJ6NGGeKM/1/da"><img src="http://feedads.g.doubleclick.net/~a/uuyFhB8m6VArd7PAJbaJ6NGGeKM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=URbGbvHj-1M:kbMFpgXP2LI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=URbGbvHj-1M:kbMFpgXP2LI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=URbGbvHj-1M:kbMFpgXP2LI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=URbGbvHj-1M:kbMFpgXP2LI:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/URbGbvHj-1M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2010/05/interceptando-funcoes-internas-no-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2010/05/interceptando-funcoes-internas-no-php/</feedburner:origLink></item>
		<item>
		<title>Gerando relatórios com Jasper no PHP – mini how-to</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/C7uHdk6ukWI/</link>
		<comments>http://alexm.unetvale.com.br/blog/2010/04/gerando-relatorios-com-jasper-no-php-mini-how-to/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 12:01:03 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[ireport]]></category>
		<category><![CDATA[jasper]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=382</guid>
		<description><![CDATA[Para quem tem a necessidade de gerar relatórios, o php não possui nenhuma ferramenta a nível da já  consagrada Jasper, disponível no Java. A solução então é usar o projeto phpJavaBridge para criar uma ponte entre o mundo Java e PHP e assim conseguir conversar com o Jasper. Vamos lá para a receita, lembre-se que [...]]]></description>
			<content:encoded><![CDATA[<p>Para quem tem a necessidade de gerar relatórios, o php não possui nenhuma ferramenta a nível da já  consagrada<br />
<a href="http://jasperforge.org/projects/jasperreports">Jasper</a>, disponível no Java.</p>
<p>A solução então é usar o projeto phpJavaBridge para criar uma ponte entre o mundo Java e PHP e assim conseguir conversar<br />
com o Jasper.</p>
<p>Vamos lá para a receita, lembre-se que vocẽ precisar ter um certo conhecimento para fazer isso e saber oque está acontencedo,<br />
ter uma certa intimidade com Java e Tomcat e outros.</p>
<p>Primeiro você vai precisar de um servidor web  tomcat rodando -  vários how-to podem ser encontrados no google;</p>
<p>Depois disso baixe o  phpjavabridge (binário), disponível em http://php-java-bridge.sourceforge.net/pjb/download.php,e<br />
baixe tambŕm o Java.inc, disponível na mesma página.</p>
<p>Copie o .war do phpjavabridge (JavaBridge.war) para a pasta webapps do tomcat para fazer o deploy da aplicação.</p>
<p>Acesse então: http://localhost:8080/JavaBridge e se tudo der certo você verá a tela de boas vindas do phpjavabridge.</p>
<p>Feito isso baixe o jasper <a href="http://sourceforge.net/projects/jasperreports/files/jasperreports/JasperReports%203.7.2/jasperreports-3.7.2-project.tar.gz/download">aqui</a> e após descompactar copie os  *.jar para a basta WEB-INF/lib dentro da pasta do JavaBridge<br />
que esta no webapps do tomcat.</p>
<p><a href="http://alexm.unetvale.com.br/blog/wp-content/uploads/testarJasper.zip">Aqui</a> estão uns scripts para testar a a aplicação no console (linux), já com um modelo básico de relatório feito no <a href="http://jasperforge.org/projects/ireport">iReport</a><br />
usando csv para backend de dados.</p>
<p>Você pode usar xml e até conexão direta com o banco de dados como origem dos dados.</p>
<p><strong>Nota: todos os paths são relativos ao tomcat e não ao php.</strong></p>
<p>Aconselho a ler e reler muito a documentação que se encontra no site.</p>
<p>Mais uma vez digo, essa tarefa não é para iniciantes, então tenha muita paciência.</p>
<p>Abraços</p>

<p><a href="http://feedads.g.doubleclick.net/~a/uaCd8dSbsSdfXfKkKNpgcN-rSoE/0/da"><img src="http://feedads.g.doubleclick.net/~a/uaCd8dSbsSdfXfKkKNpgcN-rSoE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/uaCd8dSbsSdfXfKkKNpgcN-rSoE/1/da"><img src="http://feedads.g.doubleclick.net/~a/uaCd8dSbsSdfXfKkKNpgcN-rSoE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=C7uHdk6ukWI:fiNDCAYOrpg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=C7uHdk6ukWI:fiNDCAYOrpg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=C7uHdk6ukWI:fiNDCAYOrpg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=C7uHdk6ukWI:fiNDCAYOrpg:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/C7uHdk6ukWI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2010/04/gerando-relatorios-com-jasper-no-php-mini-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2010/04/gerando-relatorios-com-jasper-no-php-mini-how-to/</feedburner:origLink></item>
		<item>
		<title>Configurando VLANS no Gentoo</title>
		<link>http://feedproxy.google.com/~r/alexmontoanelli/~3/wuMGyOjNH9k/</link>
		<comments>http://alexm.unetvale.com.br/blog/2010/03/configurando-vlans-no-gentoo/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 18:03:56 +0000</pubDate>
		<dc:creator>alexm</dc:creator>
				<category><![CDATA[outros]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[vlan]]></category>

		<guid isPermaLink="false">http://alexm.unetvale.com.br/blog/?p=378</guid>
		<description><![CDATA[How-to rápido de como configurar uma placa de rede com vlans no Gentoo: Instale o pacote vconfig com um &#8216;emerge vconfig&#8217;; Configure o arquivo /etc/conf.d/net da seguinte maneira: vlans_eth0="10 20" config_eth0="null" config_eth0_10=("10.100.5.1 netmask 255.255.255.0" ) config_eth0_20=("192.168.2.243 netmask 255.255.255.0") Nas linhas acima configuramos 2 vlans com as tags 10 e 20, na interface eth0, atribuindo a [...]]]></description>
			<content:encoded><![CDATA[<p>How-to rápido de como configurar uma placa de rede com vlans no Gentoo:</p>
<p>Instale o pacote vconfig com um &#8216;emerge vconfig&#8217;;</p>
<p>Configure o arquivo /etc/conf.d/net da seguinte maneira:</p>
<pre>vlans_eth0="10 20"
config_eth0="null"
config_eth0_10=("10.100.5.1 netmask 255.255.255.0" )
config_eth0_20=("192.168.2.243 netmask 255.255.255.0")</pre>
<p>Nas linhas acima configuramos 2 vlans com as tags 10 e 20, na interface eth0, atribuindo a cada vlan um endereço IP.</p>
<p>Para iniciar a vlan, basta chamar o script default, /etc/init.d/net.eth0 start</p>
<p>Abraços</p>

<p><a href="http://feedads.g.doubleclick.net/~a/TYgCa7x6OGFKEW0LKIT491Z32OI/0/da"><img src="http://feedads.g.doubleclick.net/~a/TYgCa7x6OGFKEW0LKIT491Z32OI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/TYgCa7x6OGFKEW0LKIT491Z32OI/1/da"><img src="http://feedads.g.doubleclick.net/~a/TYgCa7x6OGFKEW0LKIT491Z32OI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=wuMGyOjNH9k:Y_pyiT_pXIM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=wuMGyOjNH9k:Y_pyiT_pXIM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?i=wuMGyOjNH9k:Y_pyiT_pXIM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/alexmontoanelli?a=wuMGyOjNH9k:Y_pyiT_pXIM:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/alexmontoanelli?d=7Q72WNTAKBA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/alexmontoanelli/~4/wuMGyOjNH9k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://alexm.unetvale.com.br/blog/2010/03/configurando-vlans-no-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://alexm.unetvale.com.br/blog/2010/03/configurando-vlans-no-gentoo/</feedburner:origLink></item>
	</channel>
</rss>

