<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: 18 horas diárias de Happy-Hour</title>
	<atom:link href="http://hugonunes.com/18-horas-diarias-de-happy-hour/feed" rel="self" type="application/rss+xml" />
	<link>http://hugonunes.com/18-horas-diarias-de-happy-hour</link>
	<description></description>
	<lastBuildDate>Mon, 05 Apr 2010 21:46:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Duarte</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-315</link>
		<dc:creator>Duarte</dc:creator>
		<pubDate>Tue, 14 Nov 2006 16:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-315</guid>
		<description>Boas, revoltado com o sistema de ter de reiniciar o router á mão á 1h da manha... encontrei este site. Também possuo um Aolynk DR814Q mas não precebo bem expect e onde meto o codigo.
Se alguem me poder ajudar por favor me envie um mail, ou por msn, para:

DuarteGomes@msn,com</description>
		<content:encoded><![CDATA[<p>Boas, revoltado com o sistema de ter de reiniciar o router á mão á 1h da manha&#8230; encontrei este site. Também possuo um Aolynk DR814Q mas não precebo bem expect e onde meto o codigo.<br />
Se alguem me poder ajudar por favor me envie um mail, ou por msn, para:</p>
<p>DuarteGomes@msn,com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo Nunes</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-299</link>
		<dc:creator>Hugo Nunes</dc:creator>
		<pubDate>Wed, 25 Oct 2006 08:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-299</guid>
		<description>Para usarem o expect para fazer restart à vossa ligação ADSL/Cablee o vosso modem (ou router/modem) necessita de ter telnet ou ssh aberto para podermos &quot;injectar&quot; os comandos para dentro dele através do expect.</description>
		<content:encoded><![CDATA[<p>Para usarem o expect para fazer restart à vossa ligação ADSL/Cablee o vosso modem (ou router/modem) necessita de ter telnet ou ssh aberto para podermos &#8220;injectar&#8221; os comandos para dentro dele através do expect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: helder</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-298</link>
		<dc:creator>helder</dc:creator>
		<pubDate>Tue, 24 Oct 2006 22:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-298</guid>
		<description>viva sou novo por ca alguem me sabe dizer onde arranjo esse tal expect e como e que insiro esso codigo para um Aolynk DR814Q obrigado aqui fica o meu email se alguem puder me responder


Hhelder_ribeiro@hotmail.com</description>
		<content:encoded><![CDATA[<p>viva sou novo por ca alguem me sabe dizer onde arranjo esse tal expect e como e que insiro esso codigo para um Aolynk DR814Q obrigado aqui fica o meu email se alguem puder me responder</p>
<p><a href="mailto:Hhelder_ribeiro@hotmail.com">Hhelder_ribeiro@hotmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EinZteiN</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-292</link>
		<dc:creator>EinZteiN</dc:creator>
		<pubDate>Tue, 17 Oct 2006 23:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-292</guid>
		<description>Olha uma pergunta:

Uso o Huawei SmartAXMT882 q os gajos da Clix mandam; tenho ligado a um Linksys WRT54GL c/ o DD-WRT a bulir sendo que é o router que estabelece a ligação PPPoE...
Preciso desligar o modem da ficha ou posso fazer um restart do WRT ??? Se fizer restart do WRT estou a fazer restart da ligação, mas já me falaram que tinha de haver um &quot;hard shutdown&quot; do modem mesmo... :&#124;

Se me pudesses esclarecer agradecia grandemente :)
qq coisa fala no IRC ;) hehe

PS: posso correr um comando em expect no WRT? :&#124; (será q dá pra instalar lá, ou corro aqui da box?)

abraço,
~EinZteiN @ #linuxhelp @ptnet.org</description>
		<content:encoded><![CDATA[<p>Olha uma pergunta:</p>
<p>Uso o Huawei SmartAXMT882 q os gajos da Clix mandam; tenho ligado a um Linksys WRT54GL c/ o DD-WRT a bulir sendo que é o router que estabelece a ligação PPPoE&#8230;<br />
Preciso desligar o modem da ficha ou posso fazer um restart do WRT ??? Se fizer restart do WRT estou a fazer restart da ligação, mas já me falaram que tinha de haver um &#8220;hard shutdown&#8221; do modem mesmo&#8230; :|</p>
<p>Se me pudesses esclarecer agradecia grandemente :)<br />
qq coisa fala no IRC ;) hehe</p>
<p>PS: posso correr um comando em expect no WRT? :| (será q dá pra instalar lá, ou corro aqui da box?)</p>
<p>abraço,<br />
~EinZteiN @ #linuxhelp @ptnet.org</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-199</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Wed, 16 Aug 2006 21:59:54 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-199</guid>
		<description>Viva Bruno, já vi q dominas isto, porém eu n percebo muito isto, podes-me ensinar a meter este script no expect para poder rebootar a ligação do meu modem?
Deixo-te aqui o meu mail, se puderes dar uma resposta, agradeço-te imenso.
Abraço

vankuish@hotmail.com</description>
		<content:encoded><![CDATA[<p>Viva Bruno, já vi q dominas isto, porém eu n percebo muito isto, podes-me ensinar a meter este script no expect para poder rebootar a ligação do meu modem?<br />
Deixo-te aqui o meu mail, se puderes dar uma resposta, agradeço-te imenso.<br />
Abraço</p>
<p><a href="mailto:vankuish@hotmail.com">vankuish@hotmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-79</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Tue, 16 May 2006 09:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-79</guid>
		<description>Uma forma mais eficiente (reiniciar a ligação em vez do router todo):

#! /usr/bin/expect -f
# exp_internal 1 # DEBUG
spawn telnet 192.168.1.1
expect &quot;Login:&quot;
send &quot;admin\r&quot;
expect &quot;Password:&quot;
send &quot;password\r&quot;
expect -- &quot;--&gt; &quot;
send &quot;port dsl set ActivateLine Abort\r&quot;
expect -- &quot;--&gt; &quot;
send &quot;port dsl set ActivateLine Start\r&quot;
expect -- &quot;--&gt; &quot;
puts &quot;\n&quot;
exit</description>
		<content:encoded><![CDATA[<p>Uma forma mais eficiente (reiniciar a ligação em vez do router todo):</p>
<p>#! /usr/bin/expect -f<br />
# exp_internal 1 # DEBUG<br />
spawn telnet 192.168.1.1<br />
expect &#8220;Login:&#8221;<br />
send &#8220;admin\r&#8221;<br />
expect &#8220;Password:&#8221;<br />
send &#8220;password\r&#8221;<br />
expect &#8212; &#8220;&#8211;&gt; &#8221;<br />
send &#8220;port dsl set ActivateLine Abort\r&#8221;<br />
expect &#8212; &#8220;&#8211;&gt; &#8221;<br />
send &#8220;port dsl set ActivateLine Start\r&#8221;<br />
expect &#8212; &#8220;&#8211;&gt; &#8221;<br />
puts &#8220;\n&#8221;<br />
exit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The privilege of making the wrong choice at Deranged Hermit</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-69</link>
		<dc:creator>The privilege of making the wrong choice at Deranged Hermit</dc:creator>
		<pubDate>Sun, 07 May 2006 12:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-69</guid>
		<description>[...] I&#8217;m going to have to thank Hugo Nunes for his post about Clix ADSL HappyHours. Not cause i did not know about that &#8220;trick&#8221; but because it alerted me to the fact that during his happy hours, his connections traffic was counted as 0.0 Mb. [...]</description>
		<content:encoded><![CDATA[<p>[...] I&#8217;m going to have to thank Hugo Nunes for his post about Clix ADSL HappyHours. Not cause i did not know about that &#8220;trick&#8221; but because it alerted me to the fact that during his happy hours, his connections traffic was counted as 0.0 Mb. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-68</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Sat, 06 May 2006 01:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-68</guid>
		<description>#! /usr/bin/expect

spawn telnet 192.168.1.1
expect {
   Login: { send &quot;admin\r&quot;; exp_continue }
   Password: { send &quot;password\r&quot;; exp_continue }
   --  &quot;--&gt; &quot; { send &quot;system restart\r&quot; }
}</description>
		<content:encoded><![CDATA[<p>#! /usr/bin/expect</p>
<p>spawn telnet 192.168.1.1<br />
expect {<br />
   Login: { send &#8220;admin\r&#8221;; exp_continue }<br />
   Password: { send &#8220;password\r&#8221;; exp_continue }<br />
   &#8212;  &#8220;&#8211;&gt; &#8221; { send &#8220;system restart\r&#8221; }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-67</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Sat, 06 May 2006 00:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-67</guid>
		<description>No caso do Aolynk DR814Q:

--(/usr/local/bin/restart_router)-(700)--
#!/usr/bin/expect
spawn telnet 192.168.1.1
expect &quot;ogin:&quot; { send &quot;admin\r&quot; }
expect &quot;ssword:&quot; { send &quot;password\r&quot; }
expect &quot;--&gt;&quot; { send &quot;system restart\r&quot; }
--(EOF)--

05 1 * * * /usr/local/bin/restart_router
55 7 * * * /usr/local/bin/restart_router

:)</description>
		<content:encoded><![CDATA[<p>No caso do Aolynk DR814Q:</p>
<p>&#8211;(/usr/local/bin/restart_router)-(700)&#8211;<br />
#!/usr/bin/expect<br />
spawn telnet 192.168.1.1<br />
expect &#8220;ogin:&#8221; { send &#8220;admin\r&#8221; }<br />
expect &#8220;ssword:&#8221; { send &#8220;password\r&#8221; }<br />
expect &#8220;&#8211;&gt;&#8221; { send &#8220;system restart\r&#8221; }<br />
&#8211;(EOF)&#8211;</p>
<p>05 1 * * * /usr/local/bin/restart_router<br />
55 7 * * * /usr/local/bin/restart_router</p>
<p>:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://hugonunes.com/18-horas-diarias-de-happy-hour/comment-page-1#comment-66</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Fri, 05 May 2006 18:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://secretos.kaotik.org/2006/05/05/125/#comment-66</guid>
		<description>Este truque já é antiguinho, sempre que tenho de sacar umas distros lá entra o esquema em acção. :)</description>
		<content:encoded><![CDATA[<p>Este truque já é antiguinho, sempre que tenho de sacar umas distros lá entra o esquema em acção. :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
