<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1056310795416044762</id><updated>2025-11-03T02:50:53.895+00:00</updated><category term="engenharia"/><category term="africa"/><category term="cfcb"/><category term="desporto"/><category term="nigeria"/><title type='text'>&quot;O Nuno&quot;</title><subtitle type='html'>Curiosidades e anormalidades do meu dia-a-dia</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1056310795416044762.post-6531984271743539968</id><published>2013-04-21T15:25:00.001+01:00</published><updated>2013-04-22T20:38:27.397+01:00</updated><title type='text'>Uniden GMR3040 squelch adjustment</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64RSPJnSMVp2tPWfAx_-3DvFuyOSaYXR8CEl6iOgaryGkmBB7hj8W8tAqSkr7n4-h32KlR-g8Ph0Aq-jIxPv-U0320r6M9NAmCEfGUWZ_l5wRGSR7ADaJUb446NsMKoEOuUjqqE2qjmb/s1600/81SRzMySVcL._SL1500_.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64RSPJnSMVp2tPWfAx_-3DvFuyOSaYXR8CEl6iOgaryGkmBB7hj8W8tAqSkr7n4-h32KlR-g8Ph0Aq-jIxPv-U0320r6M9NAmCEfGUWZ_l5wRGSR7ADaJUb446NsMKoEOuUjqqE2qjmb/s200/81SRzMySVcL._SL1500_.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
I bought a bunch of Uniden GMR3040 two-way radios at US.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
This model seems to be cursed by a squelch calibration defect - so that the radio is always receiving a static noise. In high-end devices the user can select the squelch level, but on this consumer devices it is factory set, and good luck with that.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
So I had the option of&amp;nbsp;returning&amp;nbsp;them for warranty repair or try to fix it at home.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I opened it in the hope of finding some pots. And there they were.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Then it was just a question of try one by one to see what were they for.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;RT404 &lt;/b&gt;Adjusts the squelch. That is the only thing I needed. Problem solved.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I figured out two more adjustments:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;RT401&lt;/b&gt; is able to adjust the frequency about&amp;nbsp;+-70KHz.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;L401&lt;/b&gt; adjusts the FM demodulation.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2EaTxdGdWTSf72N8DHPVn1Ud8pA14YcDfkPSiAUKS2i9dzjkxoc5CTEjXbp4ZbsEhdKRJunuWA4rmuNosrqJOr20zxjyrot-uE-6M65hOvUM67ui102wX41gdWoVo-OTTJktZb3MNRVoh/s1600/DSCN7225.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2EaTxdGdWTSf72N8DHPVn1Ud8pA14YcDfkPSiAUKS2i9dzjkxoc5CTEjXbp4ZbsEhdKRJunuWA4rmuNosrqJOr20zxjyrot-uE-6M65hOvUM67ui102wX41gdWoVo-OTTJktZb3MNRVoh/s320/DSCN7225.JPG&quot; width=&quot;142&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
You can see the frequency sweep while I give a full turn to&amp;nbsp;&lt;b&gt;RT401&lt;/b&gt;. This is measured with a calibrated RTL.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK7L_G7Ccps2jv09X641zXG30lFkFvjxPUrstoNsxwjADe1qyQSIbEsbggLxmdb0it-w7iI-rPsXv-FzowO-hoy1R6USLI1mp_luHSdTYYMcjHRXmbikm0cKg9yRbxqwmHx28h6C53Kq80/s1600/RF.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK7L_G7Ccps2jv09X641zXG30lFkFvjxPUrstoNsxwjADe1qyQSIbEsbggLxmdb0it-w7iI-rPsXv-FzowO-hoy1R6USLI1mp_luHSdTYYMcjHRXmbikm0cKg9yRbxqwmHx28h6C53Kq80/s400/RF.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
There are some more pots on the board. Probably for battery voltage measurement, VOX threshold, etc. If you know what any of them are for please leave a comment and I will update this article.&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/6531984271743539968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1056310795416044762/6531984271743539968' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/6531984271743539968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/6531984271743539968'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/2013/04/uniden-gmr3040-squelch-adjustment.html' title='Uniden GMR3040 squelch adjustment'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy64RSPJnSMVp2tPWfAx_-3DvFuyOSaYXR8CEl6iOgaryGkmBB7hj8W8tAqSkr7n4-h32KlR-g8Ph0Aq-jIxPv-U0320r6M9NAmCEfGUWZ_l5wRGSR7ADaJUb446NsMKoEOuUjqqE2qjmb/s72-c/81SRzMySVcL._SL1500_.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1056310795416044762.post-537162548811276259</id><published>2011-01-25T17:40:00.003+00:00</published><updated>2011-12-26T17:11:44.882+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="engenharia"/><title type='text'>Escape your company network proxy</title><content type='html'>&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Your company network is &quot;blocked&quot;? Probably they are using a proxy to filter your outbound connections.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;The usual solution is to encapsulate YOUR traffic inside the traffic your COMPANY ALLOWS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;READ FIRST:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;mso-pagination:none;mso-layout-grid-align:none; text-autospace:none&quot;&gt;&lt;/p&gt;&lt;ul&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;I will show how to establish a ssh connection to a server over the Internet. Then you will be able to create a socks proxy and use most applications freely.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Before all you will need to be able to &quot;browse&quot; the Internet on the company assigned computer. Try opening &lt;a href=&quot;https://encrypted.google.com/&quot;&gt;&lt;span style=&quot;color:blue;&quot;&gt;https://encrypted.google.com/&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;You may be breaching your employment agreement doing this. You have a read a lot of &quot;this is just academic, don&#39;t do this a home&quot;, but I really mean it. I&#39;ve used this kind of &quot;jailbreak&quot; in 3 different companies up to now, but on their best interest. That means this is just a shortcut for having to ask the IT people to open the exception for our computer, or to deal with &quot;that&#39;s to complicated&quot;-type IT administrators.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;No method is perfect and even if the IT staff can&#39;t know exactly what are you doing over the tunnel, they can at least notice the potential high bandwidth usage from your machine to that weird server that no one else use.&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;You will need a Linux server accessible over ssh on the Internet. And in most cases you also need root privileges to bind to TCP 443. Can you do this with a Windows server? I don&#39;t know, Windows Servers are expensive and I haven&#39;t used them that much.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;          &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;The proxy very probably will be a HTTP proxy(CONNECT Method) that only allows connections to TCP port 443. You might get lucky and get one that allows to TCP port 22.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Start by collecting your proxy configuration. In Windows (supposing this is your company assigned OS) go to &quot;Internet Options-&amp;gt;Connections-&amp;gt;LAN settings&quot; and you might see something as proxy.mycompany.com:8080.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Then check if you need authentication. Do you type a username and password when you open the Internet Explorer?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;I assume you have a linux server with openssh daemon running at myserverontheinternet.com:22&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;There are at least 3 methods to try to get connectivity. Method A will probably not work on most companies, Method B have worked everywhere I tried, Method C is proxy proof as it gets but will have some processor and network overhead.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;I&#39;ve tested the 3 Methods both on Windows and Linux.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;The only tool beside ssh client/server is &lt;a href=&quot;http://nmap.org/ncat/&quot;&gt;ncat&lt;/a&gt;. &lt;a href=&quot;http://nmap.org/ncat/&quot;&gt;Ncat&lt;/a&gt; is included with &lt;a href=&quot;http://en.wikipedia.org/wiki/Nmap&quot;&gt;nmap&lt;/a&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;To install on windows, download at &lt;a href=&quot;http://nmap.org/download.html&quot;&gt;&lt;span style=&quot;color:blue;&quot;&gt;http://nmap.org/download.html&lt;/span&gt;&lt;/a&gt;. On linux use your package manager, ex, on ubuntu: sudo apt-get install nmap&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Method A:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Server :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;(nothing to do)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Client [3]:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;ncat -kl 8000 --sh-exec &quot;ncat --proxy proxy.mycompany.com:8080 --proxy-type http --proxy-auth mike:mypassword myserverontheinternet.com 22&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;ssh -p 8000 root@localhost&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Method B:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Server [1]:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;sudo ncat -kl 443&lt;span style=&quot;mso-spacerun:yes&quot;&gt;  &lt;/span&gt;--sh-exec &quot;ncat localhost 22&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Client [3]:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;ncat -kl 8000 --sh-exec &quot;ncat --proxy proxy.mycompany.com:8080 --proxy-type http --proxy-auth mike:mypassword myserverontheinternet.com 443&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;ssh -p 8000 root@localhost&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Method C [4]:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Server [2]:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;sudo ncat -kl 443 --ssl --sh-exec &quot;ncat localhost 22&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Client [3]:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;ncat -kl 8000 --sh-exec &quot;ncat --ssl --proxy proxy.mycompany.com:8080 --proxy-type http --proxy-auth mike:mypassword myserverontheinternet.com 443&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;ssh -p 8000 root@localhost&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;This client instructions apply to linux with openssh ssh(1). If you are using Windows, just adapt accordingly.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;There are quite a lot of other examples of doing this using other tools, probably smaller than nmap/ncat. But nmap is maintained and is available for most distributions, that&#39;s why it is my favorite.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;&lt;a href=&quot;http://www.openwrt.org/&quot;&gt;OpenWrt&lt;/a&gt; have also ncat available now (package ncat and ncat-ssl), so if you are looking for a standalone linux machine for this, consider using a cheap router :).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Please comment if it worked for you.&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;[1] - You may bind openssh sshd directly to port 443 changing /etc/ssh/sshd_config. This is the recommend way of doing this and you shall replace it. I&#39;m showing with ncat just to keep it similiar to the other examples.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;[2] - Unless you have some kind of additional internet connection (like 3G) you can&#39;t set this from inside the company (because you haven&#39;t yet escaped the firewall). Just set it at home and create a script to start it on boot.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;[3] - If you using linux you can set the ncat as a proxy command that will start each time you try to connect. Example, for method C add the following line to the end of /etc/ssh/ssh_config:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;ProxyCommand ncat --ssl --proxy proxy.mycompany.com:8080 --proxy-type http --proxy-auth mike:mypassword %h %p&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;Now run ssh as:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;ssh -p 443 root@myserverontheinternet.com&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-ascii-font-family:Calibri; mso-hansi-font-family:Calibri;mso-bidi-mso-ansi-language: #0016font-family:Calibri;&quot; lang=&quot;pt&quot; &gt;[4] - This way your traffic will look like regular SSL traffic instead of SSH traffic. This might work to go over extensive network filtering. You migh notice that we are not doing any kind of certificate checks, and that is because we are not relying on SSL security, because openssh is secure by itself.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/537162548811276259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1056310795416044762/537162548811276259' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/537162548811276259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/537162548811276259'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/2010/01/escape-your-company-network-proxy.html' title='Escape your company network proxy'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1056310795416044762.post-7875479290458473489</id><published>2011-01-15T21:06:00.011+00:00</published><updated>2011-01-18T12:43:50.706+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="engenharia"/><title type='text'>Use Google Authenticator to login to a Linux PC</title><content type='html'>&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;Google recently &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;a style=&quot;font-family: arial;&quot; href=&quot;http://googleenterprise.blogspot.com/2010/09/more-secure-cloud-for-millions-of.html&quot;&gt;announced two-step authentication for google apps&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;Fortunately they started from the beginning with open-source code, and released a &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;a style=&quot;font-family: arial;&quot; href=&quot;http://en.wikipedia.org/wiki/Pluggable_Authentication_Modules&quot;&gt;PAM&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt; module that allows us to use it for something else: use a Time-based One-time Password (TOTP) to login to your Linux PC.&lt;/span&gt; &lt;pre class=&quot;newpage&quot; style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;TOTP algorithm is still a &lt;a href=&quot;http://tools.ietf.org/html/draft-mraihi-totp-timebased-00&quot;&gt;draft RFC&lt;/a&gt;:&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;blockquote&gt;&lt;pre class=&quot;newpage&quot; style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;TOTP(K,T) = Truncate(HMAC-SHA-1(K,T))&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-family:monospace;&quot;&gt;K     shared secret between client and server; each TOTP&lt;br /&gt;  generator has a different and unique secret K.&lt;br /&gt;&lt;br /&gt;T     value derived from a time reference.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;The TOTP is valid only for one login, and for a short period(usually around 60s), that means that both clocks must be in sync.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;The Google implementation also allows one-time scratch codes that can be used if some clock happen to be out of sync, or your phone just doesn&#39;t work when you need it.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:130%;&quot;&gt;To configure:&lt;/span&gt; &lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;1 - Install Google Authenticator on a Android or Blackberry phone.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;2 - Install the Google Authenticator PAM at your linux PC.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;3 - Generate the key and provision it to the phone.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;4 - Set Linux authentication to use this PAM module.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:130%;&quot;&gt;To authenticate:&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;1 - Generate the TOTP with the phone.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;2 - Use it like a password.&lt;/span&gt;   &lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:180%;&quot;&gt;This are the detailed instructions for Ubuntu 10.10 and Android 2.2:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;To configure:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;1 - Go to the Market app on the phone and search for &quot;Google Authenticator&quot;. Install it.&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;2 - Open a console and type:&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;To install all the needed dependencies:&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;sudo apt-get install mercurial libqrencode3 libpam0g-dev&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;To checkout the Google Authenticator PAM module source code:&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;hg clone https://google-authenticator.googlecode.com/hg/ google-authenticator&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;To compile and install[1]:&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;cd google-authenticator/libpam/&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;make&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;make install&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;Delete the source:&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;cd ../..&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;      rm -r google-authenticator/&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;3 - &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Type:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;nuno@test-box1:~$ google-authenticator&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;https://www.google.com/chart?chs=200x200&amp;amp;chld=M|0&amp;amp;cht=qr&amp;amp;chl=otpauth://totp/nuno@test-box1%3Fsecret%3DIVCTSZVKG6ZJZ5P4&lt;/span&gt;&lt;br /&gt;&lt;a style=&quot;font-family: arial;&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_U5K4y-U4MBWcpaHDWnPmMonDH3Sj4ySwN2wntu7ESNkaKZRX84rEBhRaD1kxH7lJKF_7tU1KudgZkAMGhTCVmkF0FsH3qeSVfyu3z7EEhlXVnDDooLtm7hZ8qAVXc_qpKUuPByYEU9xp/s1600/chart.png&quot;&gt;&lt;img style=&quot;float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 320px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_U5K4y-U4MBWcpaHDWnPmMonDH3Sj4ySwN2wntu7ESNkaKZRX84rEBhRaD1kxH7lJKF_7tU1KudgZkAMGhTCVmkF0FsH3qeSVfyu3z7EEhlXVnDDooLtm7hZ8qAVXc_qpKUuPByYEU9xp/s320/chart.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5562537625398037186&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Your new secret key is: IVCTSZVKG6ZJZ5P4&lt;/span&gt;&lt;/span&gt;                      &lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Your verification code is 853162&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Your emergency scratch codes are:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;70581448&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;65775471&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;40949450&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;81754434&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;11625120&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Do you want me to update your &quot;~/.google_authenticator&quot; file (y/n) y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Do you want to disallow multiple uses of the same authentication&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;token? This restricts you to one login about every 30s, but it increases&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;your chances to notice or even prevent man-in-the-middle attacks (y/n) y&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;nuno@test-box1:~$&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;Open the Google Authenticator at your phone and create an account, scanning the barcode.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;4 - Type:&lt;/span&gt;&lt;code style=&quot;font-family: arial;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;blockquote&gt;sudo bash -c &#39;cat &amp;gt;/usr/share/pam-configs/google-all &amp;lt;&amp;lt;EOF&lt;br /&gt;Name: Google Authenticator (all)&lt;br /&gt;Default: yes&lt;br /&gt;Priority: 900&lt;br /&gt;Auth-Type: Primary&lt;br /&gt;Auth:&lt;br /&gt;       required              pam_google_authenticator.so&lt;br /&gt;EOF&#39;&lt;br /&gt;&lt;br /&gt;sudo bash -c &#39;cat &amp;gt;/usr/share/pam-configs/google-enough &amp;lt;&amp;lt;EOF&lt;br /&gt;Name: Google Authenticator (enough)&lt;br /&gt;Default: yes&lt;br /&gt;Priority: 900&lt;br /&gt;Auth-Type: Primary&lt;br /&gt;Auth:&lt;br /&gt;       sufficient             pam_google_authenticator.so&lt;/blockquote&gt;On the next step you have to decide how you prefer to authenticate. Using only the TOTP, having to enter both the TOTP and the password, or just any of them.&lt;br /&gt;For TOTP only:.................select google-enough, &lt;span style=&quot;font-weight: bold;&quot;&gt;deselect &lt;/span&gt;unix&lt;br /&gt;For TOTP or Password:.......select google-enough, select unix&lt;br /&gt;For TOTP and Password [2]:.select google-all, select unix&lt;br /&gt;&lt;blockquote&gt;sudo pam-auth-update&lt;/blockquote&gt;This is all. You can also login with TOTP remotely using ssh, without any change to openssh-server.&lt;br /&gt;If you want to use different authentication schemes for local and remove login, you have to tweak with /etc/pam.d/*. The documentation is not very good, so good luck.&lt;br /&gt;If you have any corrections or improvements please leave a comment.&lt;br /&gt;&lt;br /&gt;Thanks for reading!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;eof google=&quot;&quot; authenticator=&quot;&quot; yes=&quot;&quot; 900=&quot;&quot; primary=&quot;&quot; required=&quot;&quot; so=&quot;&quot; eof=&quot;&quot; sudo=&quot;&quot; bash=&quot;&quot; c=&quot;&quot; cat=&quot;&quot;&gt;&lt;eof google=&quot;&quot; authenticator=&quot;&quot; yes=&quot;&quot; 900=&quot;&quot; primary=&quot;&quot; sufficient=&quot;&quot; so=&quot;&quot; eof=&quot;&quot; decide=&quot;&quot; require=&quot;&quot; both=&quot;&quot; regular=&quot;&quot; of=&quot;&quot; on=&quot;&quot; following=&quot;&quot; step=&quot;&quot; choose=&quot;&quot; modules=&quot;&quot; according=&quot;&quot; to=&quot;&quot; just=&quot;&quot; deselect=&quot;&quot; totp=&quot;&quot; and=&quot;&quot; select=&quot;&quot; unix=&quot;&quot; sudo=&quot;&quot; update=&quot;&quot; now=&quot;&quot; authenticate=&quot;&quot; the=&quot;&quot; method=&quot;&quot; also=&quot;&quot; mean=&quot;&quot; you=&quot;&quot; can=&quot;&quot; use=&quot;&quot; it=&quot;&quot; remotely=&quot;&quot; using=&quot;&quot; with=&quot;&quot; server=&quot;&quot; without=&quot;&quot; that=&quot;&quot; is=&quot;&quot; please=&quot;&quot; comment=&quot;&quot; any=&quot;&quot; corrections=&quot;&quot; or=&quot;&quot;&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;[1] - I didn&#39;t need to type &quot;sudo&quot; before &quot;make install&quot; although some files end up in system locations. If you know why I didn&#39;t need to invoke the Lord&#39;s name, please leave a comment!&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;&gt;&lt;br /&gt;[2] - This will work fine for Gnome login or sudo authentication, both of them will prompt for both codes. On the other hand it will not work for authentication on sshd or Synaptic Package Manager.&lt;/span&gt;&lt;br /&gt;&lt;/eof&gt;&lt;/eof&gt;</content><link rel='replies' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/7875479290458473489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1056310795416044762/7875479290458473489' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/7875479290458473489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/7875479290458473489'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/2011/01/use-google-authenticator-to-login-to.html' title='Use Google Authenticator to login to a Linux PC'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_U5K4y-U4MBWcpaHDWnPmMonDH3Sj4ySwN2wntu7ESNkaKZRX84rEBhRaD1kxH7lJKF_7tU1KudgZkAMGhTCVmkF0FsH3qeSVfyu3z7EEhlXVnDDooLtm7hZ8qAVXc_qpKUuPByYEU9xp/s72-c/chart.png" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1056310795416044762.post-6239028569137379710</id><published>2010-11-08T15:51:00.017+00:00</published><updated>2011-09-19T14:12:41.999+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="engenharia"/><title type='text'>Quick start with the Microchip Explorer 16 board</title><content type='html'>&lt;div style=&quot;TEXT-ALIGN: center&quot;&gt;Quick start with the &lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en024858&quot;&gt;Microchip Explorer 16 board&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;TEXT-ALIGN: center&quot;&gt;(with standard &lt;a href=&quot;http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en024805&quot;&gt;PIC24FJ128GA010&lt;/a&gt; PIM)&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;TEXT-ALIGN: center&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;img style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 315px; CURSOR: hand; HEIGHT: 237px; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;http://www.microchip.com/stellent/groups/devtools_sg/documents/devtools/~export/en024858~18~en006096~PressReleaseLayout/125807-2.png&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-large;&quot;&gt;1 - Programmer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;The board have dedicated connectors for a &lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en023805&quot;&gt;PICkit 2&lt;/a&gt;/&lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en538340&quot;&gt;PICkit 3&lt;/a&gt; or &lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en010046&amp;amp;part=DV164005&quot;&gt;ICD2&lt;/a&gt;/&lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en537580&quot;&gt;ICD3&lt;/a&gt; programmer.&lt;br /&gt;While I have a &lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en537580&quot;&gt;ICD3&lt;/a&gt;, we really don&#39;t need it. A direct USB cable from the computer to the board USB connector(J8) is enough.&lt;br /&gt;The board was designed with a auxiliary MCU, the &lt;a href=&quot;http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010300&quot;&gt;PIC18LF4550&lt;/a&gt;(U2), that was supposed, as it seems, to offer equivalent features to a &lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en023805&quot;&gt;PICkit 2&lt;/a&gt;.&lt;br /&gt;Unfortunately Microchip never shipped the firmware needed to enable this feature.&lt;br /&gt;Fortunately Rafal Waniurski &lt;a href=&quot;http://www.microchip.com/forums/m338210.aspx&quot;&gt;did&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To update the &lt;a href=&quot;http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010300&quot;&gt;PIC18LF4550&lt;/a&gt;(U2) to work as a programmer follow:&lt;br /&gt;&lt;span style=&quot;font-size:+0;&quot;&gt;1&lt;/span&gt; - Install PICkit 2 tool (latest as of 2010-11-08 &lt;a href=&quot;http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit%202%20v2.61.00%20Setup%20A.zip&quot;&gt;PICkit 2 v2.61&lt;/a&gt;).&lt;br /&gt;2 - Connect the board to power(J12) and a USB cable from J8 to the PC.&lt;br /&gt;3 - Open PICkit 2 tool.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;* you might get a error &quot;PICkit 2 VDD and VPP voltage level errors.&quot;, just ignore it. Click OK and continue.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;4 - Click Tools -&amp;gt; Download PICkit 2 Operating System, choose file &lt;/span&gt;&lt;a style=&quot;FONT-SIZE: small&quot; href=&quot;http://www.mediafire.com/download.php?ozivmywm1y0&quot;&gt;PK2_Explorer16_V0210022.hex&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;. The programming starts. It should take about 15s, and if it completes successfully you can read &quot;PICkit 2 connected. ID = OIHoss&quot;.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;5 - This will probably fail the first time. That is because the PICkit 2 tool will try to connect to the &lt;/span&gt;&lt;a style=&quot;FONT-SIZE: small&quot; href=&quot;http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010300&quot;&gt;PIC18LF4550&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;(U2) to verify the programing, but this will happen while windows is installing the driver for the new firmware you just flashed. While it probably is already working, you might repeat the previous step to get the successfully message.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;*If this fails, your &lt;/span&gt;&lt;a style=&quot;FONT-SIZE: small&quot; href=&quot;http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010300&quot;&gt;PIC18LF4550&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;(U2) might be not programed from factory with a USB bootloader. In that case, you will need to use a regular programmer for loading this firmware(use &lt;/span&gt;&lt;a style=&quot;FONT-SIZE: small&quot; href=&quot;http://www.mediafire.com/download.php?ozivmywm1y0&quot;&gt;PK2_Explorer16_V0210022-BL.hex&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; instead).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-large;&quot;&gt;2 - My first program&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;1 - Install &lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en019469&amp;amp;part=SW007002&quot;&gt;MPLAB IDE&lt;/a&gt; and &lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en010065&quot;&gt;MPLAB C30&lt;/a&gt;. MPLAB IDE is free. MPLAB C30 have evaluation and free versions for &lt;a href=&quot;http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en536656&quot;&gt;academic use&lt;/a&gt;.&lt;br /&gt;2 - Make sure Jumper J7 is set to &quot;PIC24&quot; Side and Switch S2 is set to &quot;PIM&quot; side&lt;br /&gt;3 - Connect the board to power(J12) and a USB cable from J8 to the PC.&lt;br /&gt;4 - Download &lt;a href=&quot;https://docs.google.com/leaf?id=0B-nWQaj3MvlcNjRkN2FmZDctMzBlNS00NzVkLWJkZTUtM2ZiM2NhMWVhMWMz&amp;amp;hl=en&quot;&gt;explorer16_demo_v1.zip&lt;/a&gt; and unzip it.&lt;br /&gt;5 - Double-click explorer16_demo.mcp to load the project in MPLAB.&lt;br /&gt;6 - Click Project -&amp;gt; Build all.&lt;br /&gt;7 - Select Programmer -&amp;gt; Select Programmer -&amp;gt; 8 PICkit 2.&lt;br /&gt;8 - Click Programmer -&amp;gt; Program.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;9 - Click Programmer -&amp;gt; Release from Reset.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;* If you get a programming error or each time you reconnect the power/usb cable, you will need to click Programmer -&amp;gt; Connect.&lt;br /&gt;* If you click Programmer -&amp;gt; Dowload OS, the vanilla PICkit 2 firmware will be loaded in the &lt;a href=&quot;http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010300&quot;&gt;PIC18LF4550&lt;/a&gt;(U2), and the programmer will not work anymore. You will need to flash the &lt;a href=&quot;http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010300&quot;&gt;PIC18LF4550&lt;/a&gt;(U2) with the Rafal Waniurski modified firmware to get it working again. That must be done with the PICkit 2 tool.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;You are done.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;The program behavior is explained in the main.c file header.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-large;&quot;&gt;3 - Starting to write code&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Microchip is known for making MCUs with &quot;trilions&quot; of peripherals. A&lt;a href=&quot;http://www.microchip.com/en_US/family/16bit/&quot;&gt; PIC24&lt;/a&gt; will have ADCs, Comparators, Timers, Low-power modes, Watchdog, UARTs, ...&lt;br /&gt;That integration allows to reduce the number of components, saving board space, power and money.&lt;br /&gt;&lt;br /&gt;Mastering all this features is not a simple task, and you will need to read the full bible(s).&lt;br /&gt;&lt;br /&gt;1 - &lt;b&gt;Peripherals Libraries&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;(C:\Program Files (x86)\Microchip\MPLABC30\docs\periph_lib\Microchip PIC24F Peripheral Library.chm)&lt;br /&gt;* My demo program is using adc library, notice line &quot;#include &amp;lt;adc.h&amp;gt;&quot;.&lt;br /&gt;2 - &lt;b&gt;Standard C Library&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;adc.h&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;(C:\Program Files (x86)\Microchip\MPLAB C30\docs\hlpLib30.chm)&lt;br /&gt;* My demo program is using the standard c input and output library, notice line &quot;#include &amp;lt;stdio.h&amp;gt;&quot;.&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;3 - &lt;/span&gt;&lt;b style=&quot;FONT-SIZE: small&quot;&gt;PIC24FJ128GA010 Family Data Sheet&lt;/b&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;http://ww1.microchip.com/downloads/en/DeviceDoc/39747e.pdf&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;4 - &lt;/span&gt;&lt;b style=&quot;FONT-SIZE: small&quot;&gt;PIC24F Family Reference Manuals&lt;/b&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en024805&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;* There is one Reference Manual for each Peripheral/Module. You should check this together with the Data Sheet. The Reference Manual explain in more detail, but might be only partially applicable to your MCU. The datasheet will clarify what your specific MCU has or hasn&#39;t.&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;5 - &lt;/span&gt;&lt;b style=&quot;FONT-SIZE: small&quot;&gt;Explorer 16 Development Board User Guide&lt;/b&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;http://ww1.microchip.com/downloads/en/DeviceDoc/Explorer%2016%20User%20Guide%2051589a.pdf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Even if you read all this twice you will probably still don&#39;t get the entire picture. Buying a book might help:&lt;/span&gt;&lt;br /&gt;&lt;a style=&quot;FONT-SIZE: small&quot; href=&quot;http://www.flyingthepic24.com/&quot;&gt;Lucio Di Jasio, Programming 16-Bit PIC Microcontrollers in C: Learning to Fly the PIC 24, ISBN 0-7506-8292-2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;For last, a useful trick to reduce the code/compile/program/debug/code/compile/program/debug/code &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;cycle is to activate the auto-program option in MPLAB. That way after changing the code, you only need to click &quot;Make&quot; and MPLAB will automatically compile and program the MCU for you.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;1 - Select Programmer -&amp;gt; Settings -&amp;gt; Program after a sucessful build.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;2 - Select Programmer -&amp;gt; Settings -&amp;gt; Run after a successful program.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;References&lt;br /&gt;[1] &lt;/ADC.H&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;a href=&quot;http://www.flyingthepic24.com/&quot;&gt;Lucio Di Jasio, Programming 16-Bit PIC Microcontrollers in C: Learning to Fly the PIC 24, ISBN 0-7506-8292-2&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/6239028569137379710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1056310795416044762/6239028569137379710' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/6239028569137379710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/6239028569137379710'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/2010/11/quickstart-with-microchip-explorer-16.html' title='Quick start with the Microchip Explorer 16 board'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1056310795416044762.post-7890229354898241699</id><published>2010-06-01T18:58:00.003+01:00</published><updated>2016-01-21T18:32:54.654+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="engenharia"/><title type='text'>e-mail SPAM defense techniques</title><content type='html'>&lt;div&gt;
The following ideas are full of bugs and probably already discussed somewhere else. I don&#39;t claim they are original. I only claim I never googled them :)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;1st method&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
E-mail is only accepted from:&lt;/div&gt;
&lt;div&gt;
Private/personal e-mail: Senders that complete a captcha. The captcha is generated by the receiver server, and extensions to existing protocols(SMTP) will enable transfer and display by e-mail clients to be completed on e-mail send.&lt;/div&gt;
&lt;div&gt;
Enterprise/mailing lists: E-mail is only accepted from authenticated sender domains, with proper trusted certificates.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Problems: would partially break current e-mail system.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-large;&quot;&gt;2nd method&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Private domain case(ex: johndoe.me):&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Each time John wants to give his e-mail to someone/somewhere, he will use is e-mail server, or even a off-line device with a cryptographic algorithm to generate a unique address for that situation, ex, 98ads7@johndoe.me.&lt;/div&gt;
&lt;div&gt;
Later, when John wants to give away is e-mail again, he will create a new address, ex, fdsr432@johndoe.me, also unique for that transaction.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
With this method there are two defenses against spam:&lt;/div&gt;
&lt;div&gt;
1 - Few addresses at johndoe.me are valid, so a random attack is harder.&lt;/div&gt;
&lt;div&gt;
2 - If John wants to give is e-mail to a untrusted site, that he suspects that can end in a spam list, he can rest assured that if that e-mail ends compromised, he can just block it at his e-mail server.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Shared domain case(ex gmail.com):&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
The extension for the private domain case is to use a subdomain instead of the name, so the same e-mail addresses for John could be:&lt;/div&gt;
&lt;div&gt;
johndoe@98ads7.gmail.com&lt;/div&gt;
&lt;div&gt;
johndoe@fdsr432.gmail.com&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Problems: adds complexity for the user.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/7890229354898241699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1056310795416044762/7890229354898241699' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/7890229354898241699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/7890229354898241699'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/2010/06/e-mail-spam-defense-techniques.html' title='e-mail SPAM defense techniques'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1056310795416044762.post-2617864379024734057</id><published>2010-02-17T19:36:00.011+00:00</published><updated>2010-03-28T23:13:57.258+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="africa"/><category scheme="http://www.blogger.com/atom/ns#" term="engenharia"/><category scheme="http://www.blogger.com/atom/ns#" term="nigeria"/><title type='text'>Nigeria, a quarta vez.</title><content type='html'>Ai e tal, vou ali à Nigéria.&lt;br /&gt;Ai e tal, fico lá 4 semanas.&lt;br /&gt;Sim...dificilmente seria pior.&lt;br /&gt;&lt;br /&gt;Uma pequena ideia do ambiente na provincia:&lt;br /&gt;&lt;object width=&quot;400&quot; height=&quot;246&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/bb_rYSrgGB4&amp;hl=en_US&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/bb_rYSrgGB4&amp;hl=en_US&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;400&quot; height=&quot;246&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Destruir uma torre:&lt;br /&gt;&lt;object width=&quot;400&quot; height=&quot;246&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/vROfvFEFQoM&amp;hl=en_US&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/vROfvFEFQoM&amp;hl=en_US&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;400&quot; height=&quot;246&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Escolta policial:&lt;br /&gt;&lt;object width=&quot;400&quot; height=&quot;246&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/8eKLmtEi2BQ&amp;hl=en_US&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/8eKLmtEi2BQ&amp;hl=en_US&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;400&quot; height=&quot;246&quot;&gt;&lt;/embed&gt;&lt;/object&gt;</content><link rel='replies' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/2617864379024734057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1056310795416044762/2617864379024734057' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/2617864379024734057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/2617864379024734057'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/2010/02/nigeria-quarta-vez.html' title='Nigeria, a quarta vez.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1056310795416044762.post-4455911153197369075</id><published>2009-11-21T18:08:00.000+00:00</published><updated>2013-01-27T14:58:09.044+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="africa"/><title type='text'>S. Tome e Príncipe</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKU3o4PeQItCQk9IRXqby6vgaIuY0z1SQBvbBDmj6SbbNA3TWFkCfFiNA6pOVdGAbnywPJ1IaRs5Y11H8801420i5xN2ETtoHRq0bYWfhdODC8lF5BFweWY5XH60Gu5zYu4P0Zl-CV09sD/s1600-h/P6070018.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5401716529078528082&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKU3o4PeQItCQk9IRXqby6vgaIuY0z1SQBvbBDmj6SbbNA3TWFkCfFiNA6pOVdGAbnywPJ1IaRs5Y11H8801420i5xN2ETtoHRq0bYWfhdODC8lF5BFweWY5XH60Gu5zYu4P0Zl-CV09sD/s400/P6070018.jpg&quot; style=&quot;cursor: pointer; display: block; height: 300px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
3 horas depois de passar numa escola secundária em Palmela para um trabalho publicitário, estava a sair de Lisboa para S. Tomé e&amp;nbsp;Príncipe.&lt;br /&gt;
&lt;br /&gt;
Fui lá fazer um biscate para a Universidade da Beira Interior. Montar um GPS que não é TomTom.&lt;br /&gt;
&lt;br /&gt;
Antes já me tinham avisado para levar &quot;Blazer e gravata&quot; para o 10 de Junho na embaixada.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; Estive 30m a nadar no mar (Nada mau!).&lt;br /&gt;
&amp;gt; Calor, calor, calor, odeio o calor :( Ou se está na praia ou em casa com ar condicionado, de resto é calor, calor, calor!&lt;br /&gt;
&amp;gt; Fiquei no Bairro da cooperação Portuguesa (IPAD). Muitos portugueses, muita animação. Muito porreiro pá!&lt;br /&gt;
&amp;gt; Explicaram-me que quando alguém diz &quot;Blazer e gravata&quot; também quer dizer &quot;Calças e sapatos&quot;. Estava escuro e acho que só por isso é que me deixaram entrar na embaixada.&lt;br /&gt;
&amp;gt; Os miúdos não paravam de dizer o meu nome: &quot;Branco, branco, branco!&quot;. Por momentos senti-me famoso novamente.</content><link rel='replies' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/4455911153197369075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1056310795416044762/4455911153197369075' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/4455911153197369075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/4455911153197369075'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/2009/10/s-tome-e-principe.html' title='S. Tome e Príncipe'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKU3o4PeQItCQk9IRXqby6vgaIuY0z1SQBvbBDmj6SbbNA3TWFkCfFiNA6pOVdGAbnywPJ1IaRs5Y11H8801420i5xN2ETtoHRq0bYWfhdODC8lF5BFweWY5XH60Gu5zYu4P0Zl-CV09sD/s72-c/P6070018.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1056310795416044762.post-7037548462843386049</id><published>2009-11-08T14:25:00.000+00:00</published><updated>2009-11-08T14:31:20.514+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cfcb"/><title type='text'>CFCB 2009</title><content type='html'>Deixaram-me fazer 1 turno.&lt;br /&gt;&lt;br /&gt;1º turno, Secretaria, Clãs.&lt;br /&gt;&lt;br /&gt;Cansativo, muito mais do que das outras vezes. Quanto voltei a casa descobri que é possível dormir 13 horas seguidas.&lt;br /&gt;&lt;br /&gt;Muito bom, como sempre.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/s_SyNQlShlc&amp;hl=en&amp;fs=1&amp;&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/s_SyNQlShlc&amp;hl=en&amp;fs=1&amp;&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;</content><link rel='replies' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/7037548462843386049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1056310795416044762/7037548462843386049' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/7037548462843386049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/7037548462843386049'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/2009/10/cfcb-2009.html' title='CFCB 2009'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1056310795416044762.post-6027267037454882028</id><published>2009-01-19T15:57:00.005+00:00</published><updated>2016-02-16T16:19:53.492+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="desporto"/><title type='text'>Parvoices</title><content type='html'>&lt;br /&gt;
&lt;div&gt;
Depois da ida de bicicleta ao Algarve em 2006 (será que ainda tenho o registo de GPS disso?), de uma descida do Tejo em kayak, teve agora o Nuno a ideia de se por a andar para Este, muito para Este. E depois parar em St. Gallen.&lt;br /&gt;
&lt;br /&gt;
Foi assim na Sexta das 15h00m as 00h45m e o GPS gravou isto:&lt;br /&gt;
&lt;br /&gt;
Summary Data&lt;br /&gt;
Total Time 9:48:14&lt;br /&gt;
Moving Time 9:39:55&lt;br /&gt;
Distance (km) 63.65&lt;br /&gt;
Moving Speed (kph) 6.6 avg.&lt;br /&gt;
Elevation Gain (m) +2,321 / -2,125&lt;br /&gt;
Temperature (°C) -2.7°C&lt;br /&gt;
Wind Speed ( kph) SW 3.4 avg. SW 7.4 max. &lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5293039964720662866&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisxF4bfvMMTGcpccqUn37unHJfUTykhwtoRQxj0Cvjrfh_YN8NrN6gLACIb8MLhkXpTxpvoX29P-C-9mGTqhvpz2GIBRtMqDSdOunNLxWjAKC9QdOh3cpEdxYtqAdQfSsk86HV8HE7sbBh/s400/New+Picture+(1).png&quot; style=&quot;display: block; height: 239px; margin: 0px auto 10px; text-align: center; width: 403px;&quot; /&gt;&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5293038830034564146&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnG479Rf0oP19tBJJKv7pPpJEMW3FIPGgTj7V3wydICRvKgrfcyDWefJL-q_t9QJfRVx1YiBCwrzsb7XBiqhW9deQtv_vOQP5Eo_Z7IWMgxTzOXSmYwQRMCxHiBE-maVdn0TeycwDe5yds/s400/New+Picture.png&quot; style=&quot;display: block; height: 120px; margin: 0px auto 10px; text-align: center; width: 395px;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Cheguei vivo, mas já houve alturas em que estava mais bem disposto.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nunoassimassim.blogspot.com/feeds/6027267037454882028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/1056310795416044762/6027267037454882028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/6027267037454882028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1056310795416044762/posts/default/6027267037454882028'/><link rel='alternate' type='text/html' href='http://nunoassimassim.blogspot.com/2009/01/parvoices.html' title='Parvoices'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14088529350144380778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisxF4bfvMMTGcpccqUn37unHJfUTykhwtoRQxj0Cvjrfh_YN8NrN6gLACIb8MLhkXpTxpvoX29P-C-9mGTqhvpz2GIBRtMqDSdOunNLxWjAKC9QdOh3cpEdxYtqAdQfSsk86HV8HE7sbBh/s72-c/New+Picture+(1).png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>