tag:blogger.com,1999:blog-91765994079177905362024-03-18T23:49:02.622-03:00Eletrônica & IoT#Arduino, #Eletrônica, #OpenHardware, #OpenSource, #IoT, #DIY, #MCU, Tecnologia & InformaçãoUnknownnoreply@blogger.comBlogger36125tag:blogger.com,1999:blog-9176599407917790536.post-62674576344786836142012-11-01T13:25:00.000-02:002012-11-09T13:45:56.521-02:00Instalando o CadSoft Eagle no Linux<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwjOItuhrKhbvHIV3b4VPDAl-I8usYgXo9qSqSHzo3HuE1WjWDa_BqiK3OpMKtufdkmUfOGobl6g1XLYkhkMTtua7F3BMKckW9WGHdER61A9iksGAb70gHjpkQ9TdNWhFQoWvxufdngMY/s1600/cadsoft-logo1-304x377.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwjOItuhrKhbvHIV3b4VPDAl-I8usYgXo9qSqSHzo3HuE1WjWDa_BqiK3OpMKtufdkmUfOGobl6g1XLYkhkMTtua7F3BMKckW9WGHdER61A9iksGAb70gHjpkQ9TdNWhFQoWvxufdngMY/s320/cadsoft-logo1-304x377.jpg" width="258" /></a></div>
O <a href="http://www.cadsoftusa.com/download-eagle/">CadSoft Eagle</a> é um excelente software para Cad de eletrônica, sendo seu formato amplamente aceito pela industria e possuindo versões para Linux, Mac e Windows. Além disso possui a grande vantagem de ser gratuito para confecção de PCBs de até 10x8 cm, sendo por esta razão também muito utilizado por hobistas, entusiastas e estudantes.<br />
<br />
Infelizmente no ambiente Linux ele não é distribuído em pacotes .deb, padrão do GNU/Linux, e alguns usuários encontram dificuldades para instala-lo, quando não possuem todas as dependências já disponíveis no sistema. O problema é que simplesmente o instalador não funciona ou acaba por sinalizar com mensagens de erro como esta abaixo, durante a instalação:<br />
<br />
<b><span style="font-size: x-small;">eagle: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory</span></b><br />
<br />
A solução do problema porém é bem simples, bastando para isso instalar antes estes pacotes*:<br />
<br />
<b><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">> sudo apt-get install build-essential perl gcc-multilib</span></b><br />
<b><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">> sudo apt-get install ia32-libs lib32z1 lib32z1-dev</span></b><br />
<br />
Feito isso basta executar o instalador do Eagle, utilizando o seguinte comando:<br />
<br />
<b><span style="font-family: Courier New, Courier, monospace; font-size: x-small;">> sudo sh eagle-lin-6.3.0.run</span></b><br />
<br />
Durante a instalação será solicitado o diretório de destino, normalmente gosto de colocar em /opt/eagle para deixar mais organizado, já que este não é um pacote padrão do sistema.<br />
<br />
Uma vez concluída a instalação, efetue o teste executando-o manualmente na CLI:<br />
<br />
/opt/eagle/bin/eagle<br />
<br />
Tente abrir alguns arquivos na biblioteca de exemplos, não ocorrendo erros, o seu software esta pronto para uso.<br />
<br />
<span style="font-size: x-small;">* Efetuei estes testes utilizando o CadSoft Eagle 6.3.0 e o Linux Mint 13 (Baseado no Ubuntu 12.04 LTS).</span><br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-65367805117770322892012-08-05T18:16:00.001-03:002012-08-07T11:13:52.997-03:00Instalando o Optiboot em um ATmega328 standalone com oscilador interno de 8MHz<title></title>
<style type="text/css">
<!--
@page { margin: 0.79in }
P { margin-bottom: 0.08in }
A:link { so-language: zxx }
-->
</style>
<br />
<div style="margin-bottom: 0in; orphans: 2; widows: 2;">
<div class="separator" style="clear: both; font-style: normal; font-variant: normal; font-weight: normal; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUjFNeDBk0QPJb1sHrn75uM0b7hC8X1xHD69svzfYRMKy84uPPWjCl1A5qWC9Wdei2USPyqRLXKeC9_FRaznR1z7G4juNxpNrM_D3_rdmQvdcAVUwauOOZu9pvzjgr9-N8uAtN0HPHzp0/s1600/atmega328p.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUjFNeDBk0QPJb1sHrn75uM0b7hC8X1xHD69svzfYRMKy84uPPWjCl1A5qWC9Wdei2USPyqRLXKeC9_FRaznR1z7G4juNxpNrM_D3_rdmQvdcAVUwauOOZu9pvzjgr9-N8uAtN0HPHzp0/s320/atmega328p.jpg" width="320" /></a></div>
<div style="font-style: normal; font-variant: normal; font-weight: normal;">
<span style="font-size: medium;">O Optiboot agregou uma gama de qualidades ao Arduino, dentre elas, velocidade no boot, transferência mais rápida dos sketches e menor utilização da memoria flash. Como no universo dos MCUs normalmente a memoria é muito limitada, este recurso é o que mais me agrada nele, já que possui apenas um quarto do tamanho do bootloader anterior, deixando livres 32.256 bytes para o desenvolvedor, no caso do ATmega328, um ganho de 1,5K bytes!</span></div>
<span style="font-size: medium;"><br /></span>
<span style="font-size: medium;">Todas estas vantagens
garantiram ao Optiboot o lugar do bootloader padrão nos Arduinos a
partir do modelo Uno, porem quem já tentou grava-lo em um ATmega328
standalone que faz uso do oscilador interno de 8MHz, possivelmente
teve a decepção de não conseguir utiliza-lo para efetuar o uploads
dos sketches.</span></div>
<div style="font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0in; orphans: 2; widows: 2;">
<br /></div>
<div style="margin-bottom: 0in; orphans: 2; widows: 2;">
<span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;">O
curioso é que todo o processo de gravação do bootloader ocorre
normalmente, bem como o MCU responde positivamente ao funcionamento
do bootloader, efetuando as três piscadas rápidas do LED ao efetuar
o reset, sinalizando que o mesmo esta sendo executado.<br /><br />Mesmo
após efetuar varias configurações diferentes de fuses, não obtive
sucesso e resolvi estudar mais a fundo o problema. Notei que fazendo
uso de um oscilador externo, o mesmo funciona perfeitamente! Isto se
deve ao fato de que o Optiboot eleva a velocidade de upload na UART
para 115.200 BPS, tornando a transferência de sketches mais rápida.
Entretanto o oscilador interno infelizmente não possui muita
precisão (cerca de até 10% de tolerância), que é exigida em
velocidades de transferencia mais altas.<br /><br />A solução
encontrada foi recompilar o Optiboot de forma a permitir uploads com
uma velocidade um pouco mais baixa, em 57.200 BPS. Nesta velocidade a
UART do ATmega funciona perfeitamente mesmo com o oscilador interno,
e a perda de performance na taxa de upload é perfeitamente
aceitável, já que este processo levara apenas poucos segundos a
mais, preservando o mais importante que é a utilização de espaço
do Optiboot.<br /><br />Todo o processo é bem simples: Primeiramente é
recomendável baixar a ultima versão dos fontes do optiboot em
<a href="http://code.google.com/p/optiboot" target="_blank">http://code.google.com/p/optiboot</a>.
Isto se faz necessário já que dependendo da versão do avr-gcc que
esteja instalada, o tamanho do bootloader pode ultrapassar os 512
bytes definidos no setup dos fuses e a versão disponibilizada no
site já corrige este bug.<br /><br />Feito isso será necessário editar
o arquivo Makefile (normalmente em
/usr/share/arduino/hardware/arduino/bootloaders/optiboot/Makefile) e
acrescentar os parâmetros abaixo, preferencialmente ao final da
sessão "8MHz clocked platforms".</span></span></span></span></span></span><br />
<span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">#####
ATmega328 on Breadboard @8MHz Int. Osc. (Optiboot)
#####</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8:
TARGET = atmega328_int_8MHz</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8:
MCU_TARGET = atmega328p</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">#
Default for FTDI interfaces or equivalent</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8:
CFLAGS += '-DLED_START_FLASHES=3' '-DBAUD_RATE=57600'</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">#
For low speed serial interface (Nokia cable, Prolific PL2303 or
equivalent)</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">#atmega328_int8:
CFLAGS += '-DLED_START_FLASHES=3' '-DBAUD_RATE=19200'
'-DTIMEOUT_MS=1000'</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8:
AVR_FREQ = 8000000L</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8:
LDSECTIONS = -Wl,--section-start=.text=0x7e00
-Wl,--section-start=.version=0x7ffe</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8:
$(PROGRAM)_atmega328_int_8MHz.hex</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8:
$(PROGRAM)_atmega328_int_8MHz.lst</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8_isp:
atmega328_int8</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8_isp:
TARGET = atmega328_int_8MHz</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8_isp:
MCU_TARGET = atmega328p</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">#
512 byte boot, SPIEN</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8_isp:
HFUSE = DE</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">#
Internal 8MHz oscillator</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8_isp:
LFUSE = E2</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">#
2.7V brownout</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8_isp:
EFUSE = 05</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">atmega328_int8_isp:
isp</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">##############################################################</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /><br />Note
que deixei comentada uma segunda entrada CFLAGS, para o caso de se
estar utilizando uma UART mais lenta, que além de utilizar uma
velocidade menor também necessita de um delay maior no watchdog do
optiboot, aumentando em meio segundo o tempo de boot do ATmega. Este
inconveniente é um pouco maior que o da taxa de transferencia, uma
vez que a cada boot do MCU sofreremos seu impacto, mas ainda assim
compensa a economia de memoria e na realidade leva o mesmo tempo do
antigo bootloader, o ATmegaBoot.<br /><br />Estes parâmetros comentados
apenas serão necessários nos casos de se estar utilizando
interfaces seriais mais baratas baseadas no PL2303 (tipicamente
interfaces onde o IC é "estampado" na PCB) ou em
adaptações de cabos para celular, que por alguma razão não
suportam bem taxas de transferência altas, que mesmo quando não
sofrem erro de perda de pacotes podem "engasgar". Na
maioria dos casos o uso destas chaves não é preciso, mesmo em
interfaces que utilizam o Prolific PL2303 padrão.<br /><br />Efetuadas
as alterações no Makefile basta fazer a compilação do Optiboot,
simplesmente digitando o comando abaixo:</span></span></span></span></span></span><br />
<strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;">>
sudo make atmega328_int8</span></span></span></span></span></strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><br />
<span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avr-gcc
-g -Wall -Os -fno-inline-small-functions -fno-split-wide-types
-mshort-calls -mmcu=atmega328p -DF_CPU=8000000L
'-DLED_START_FLASHES=3' '-DBAUD_RATE=57600' -c -o
optiboot.o optiboot.c</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avr-gcc
-g -Wall -Os -fno-inline-small-functions -fno-split-wide-types
-mshort-calls -mmcu=atmega328p -DF_CPU=8000000L
'-DLED_START_FLASHES=3' '-DBAUD_RATE=57600'
-Wl,--section-start=.text=0x7e00 -Wl,--section-start=.version=0x7ffe
-Wl,--relax -Wl,--gc-sections -nostartfiles -nostdlib -o
optiboot_atmega328_int_8MHz.elf optiboot.o </span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avr-size
optiboot_atmega328_int_8MHz.elf</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><b>
</b></span></span></span></span></span></strong><strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><b>text
data bss dec hex
filename</b></span></span></span></span></span></strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><b><br /></b></span></span></span></span></span><strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><b>
</b></span></span></span></span></span></strong><strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><b>506
0 0 506
1fa optiboot_atmega328_int_8MHz.elf</b></span></span></span></span></span></strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avr-objcopy
-j .text -j .data -j .version --set-section-flags .version=alloc,load
-O ihex optiboot_atmega328_int_8MHz.elf
optiboot_atmega328_int_8MHz.hex</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avr-objdump
-h -S optiboot_atmega328_int_8MHz.elf >
optiboot_atmega328_int_8MHz.lst</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">rm
optiboot.o optiboot_atmega328_int_8MHz.elf</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /><br />Ao
final da compilação, verifique se o tamanho total do bootloader não
ultrapassou os 512 bytes, caso contrário sera necessário calcular
novamente os fuses. Conforme podemos notar acima, estamos dentro do
nosso limite, se isto não ocorreu é porque provavelmente não está
sendo utilizada a versão mais recente do Optiboot. Neste caso tente
baixa-lo e efetue este processo novamente.<br /><br />Agora será feita a
gravação do bootloader em si, para isto teremos que utilizar um
programador AVR ou na sua ausência podemos usar um Arduino como
AVRISP. Não vou descrever este processo aqui, uma vez que
esta <a href="http://arduino.cc/en/Tutorial/ArduinoISP" target="_blank">amplamente
documentado no site do Arduino</a> e na internet.<br /><br />Todo o
processo de gravação pode ser feito utilizando apenas o comando
make abaixo:</span></span></span></span></span></span><br />
<strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;">>
make ISPTOOL=stk500v1 ISPPORT=/dev/ttyUSB0 ISPSPEED=-b19200
atmega328_int8_isp</span></span></span></span></span></strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><br />
<span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude
-c stk500v1 -p atmega328p -P /dev/ttyUSB0 -b19200 -e -u -U
lock:w:0x3F:m -U efuse:w:0x05:m -U hfuse:w:0xDE:m -U
lfuse:w:0xE2:m</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
AVR device initialized and ready to accept instructions</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
0.06s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
Device signature = 0x1e950f</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
erasing chip</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading input file "0x3F"</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
writing lock (1 bytes):</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Writing
| ################################################## | 100%
0.02s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of lock written</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying lock memory against 0x3F:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
load data lock data from input file 0x3F:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
input file 0x3F contains 1 bytes</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading on-chip lock data:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
0.02s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying ...</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of lock verified</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading input file "0x05"</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
writing efuse (1 bytes):</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Writing
| ################################################## | 100%
0.02s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of efuse written</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying efuse memory against 0x05:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
load data efuse data from input file 0x05:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
input file 0x05 contains 1 bytes</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading on-chip efuse data:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
0.02s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying ...</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of efuse verified</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading input file "0xDE"</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
writing hfuse (1 bytes):</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Writing
| ################################################## | 100%
0.02s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of hfuse written</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying hfuse memory against 0xDE:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
load data hfuse data from input file 0xDE:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
input file 0xDE contains 1 bytes</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading on-chip hfuse data:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
0.02s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying ...</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of hfuse verified</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading input file "0xE2"</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
writing lfuse (1 bytes):</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Writing
| ################################################## | 100%
0.02s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of lfuse written</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying lfuse memory against 0xE2:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
load data lfuse data from input file 0xE2:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
input file 0xE2 contains 1 bytes</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading on-chip lfuse data:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
0.02s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying ...</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of lfuse verified</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude
done. Thank you.</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude
-c stk500v1 -p atmega328p -P /dev/ttyUSB0 -b19200 -U
flash:w:optiboot_atmega328_int_8MHz.hex:i -U lock:w:0x0F:m</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
AVR device initialized and ready to accept instructions</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
0.06s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
Device signature = 0x1e950f</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
NOTE: FLASH memory has been specified, an erase cycle will be
performed</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br />
</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">To
disable this feature, specify the -D option.</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
erasing chip</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading input file "optiboot_atmega328_int_8MHz.hex"</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
writing flash (32768 bytes):</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Writing
| ################################################## | 100%
0.62s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
32768 bytes of flash written</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying flash memory against
optiboot_atmega328_int_8MHz.hex:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
load data flash data from input file
optiboot_atmega328_int_8MHz.hex:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
input file optiboot_atmega328_int_8MHz.hex contains 32768
bytes</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading on-chip flash data:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
24.32s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying ...</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
32768 bytes of flash verified</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading input file "0x0F"</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
writing lock (1 bytes):</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Writing
| ################################################## | 100%
0.05s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of lock written</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying lock memory against 0x0F:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
load data lock data from input file 0x0F:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
input file 0x0F contains 1 bytes</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading on-chip lock data:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
0.02s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying ...</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1 bytes of lock verified</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
safemode: Fuses OK</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude
done. Thank you.</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /><br />Finalizada
a gravação do bootloader, ainda será necessário efetuar a
configuração na lista de placas para sua utilização dentro do
Arduino IDE. Para isso acrescente as configurações abaixo em
~/sketchbook/hardware/breadboard/boards.txt ou em
/usr/share/arduino/hardware/arduino/boards.txt.</span></span></span></span></span></span><br />
<span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">##############################################################</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.name=ATmega328
on a breadboard @8MHz Int. Oscillator
(OptiBoot)</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.upload.protocol=arduino</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.upload.maximum_size=32256</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.upload.speed=57600</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.bootloader.low_fuses=0xE2</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.bootloader.high_fuses=0xDE</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.bootloader.extended_fuses=0x05</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.bootloader.path=arduino:optiboot</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.bootloader.file=optiboot_atmega328_int_8MHz.hex</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.bootloader.unlock_bits=0x3F</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.bootloader.lock_bits=0x0F</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.build.mcu=atmega328p</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.build.f_cpu=8000000L</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.build.core=arduino:arduino</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">optb328int8.build.variant=standard</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">##############################################################</span></span></span></span></span></span></div>
<div style="font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0in; orphans: 2; widows: 2;">
<br /></div>
<div style="margin-bottom: 0in; orphans: 2; widows: 2;">
<span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;">Agora
temos que abrir a IDE do Arduino e selecionar a nova placa na lista
de modelos. Feito isso, basta re-iniciar a IDE e fazer o upload de um
sketch de exemplo para testar. Caso apresente algum erro durante o
upload, podemos tentar efetua-lo manualmente para fins de debug, já
que desta forma teremos uma resposta mais clara do avrdude (neste
exemplo utilizei o .HEX previamente compilado atraves da IDE,
substitua os XXXXX pelo número gerado na pasta tmp):</span></span></span></span></span></span><br />
<strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;">>
avrdude -c arduino -p atmega328p -P /dev/ttyUSB1 -b57600 -D -U
flash:w:/tmp/buildXXXXXXXXXXXXXXXXXXX.tmp/Blink.cpp.hex:i</span></span></span></span></span></strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
AVR device initialized and ready to accept instructions</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
0.00s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
Device signature = 0x1e950f</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading input file
"/tmp/buildXXXXXXXXXXXXXXXXXXX.tmp/Blink.cpp.hex"</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
writing flash (1130 bytes):</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Writing
| ################################################## | 100%
0.28s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1130 bytes of flash written</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying flash memory against
/tmp/buildXXXXXXXXXXXXXXXXXXX.tmp/Blink.cpp.hex:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
load data flash data from input file
/tmp/buildXXXXXXXXXXXXXXXXXXX.tmp/Blink.cpp.hex:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
input file /tmp/buildXXXXXXXXXXXXXXXXXXX.tmp/Blink.cpp.hex contains
1130 bytes</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
reading on-chip flash data:</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">Reading
| ################################################## | 100%
0.24s</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
verifying ...</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
1130 bytes of flash verified</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude:
safemode: Fuses OK</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /></span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">avrdude
done. Thank you.</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /><br />Neste
teste o upload foi bem sucedido, caso o seu não tenha sido,
verifique se as portas estão corretas (aqui foram utilizadas a
ttyUSB0 no Arduino e a ttyUSB1 na FTDI). Se ainda assim o problema
persistir, verifique atentamente as mensagens de erro ou tente
recompilar o optiboot utilizando uma velocidade menor, descomentando
no Makefile a entrada para a UART da Prolific. Em todos os exemplos
descritos acima foi utilizado o sistema operacional GNU/Linux, em
outras plataformas são necessários pequenos ajustes no caminho dos
arquivos e portas.<br /><br />Caso não queira ter o trabalho de compilar
o Optiboot, segue abaixo a imagem já preparada para o ATmega328 com
UART a 57.200BPS e oscilador interno a
8MHz:</span></span></span></span></span></span><br />
<span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;"><span style="font-weight: normal;">:107E00000F92CDB7DEB7112484B714BE81FFF0D036<br />:107E100085E08093810082E08093C00088E18093B8<br />:107E2000C10086E08093C20080E18093C4008EE0B0<br />:107E3000C9D0259A26E088E19EEF31E09093850035<br />:107E40008093840036BBB09BFECF1D9AA89521502D<br />:107E5000A9F788249924CC24C394F5E0DF2EE1E12E<br />:107E6000EE2E73E0F72EA2D0813479F49FD089836F<br />:107E7000AFD08981823811F485E005C0813811F4D2<br />:107E800084E001C083E08BD087C0823411F484E1A8<br />:107E900003C0853419F485E0A3D07EC0853561F434<br />:107EA00085D0082F10E082D090E0982E8824802A78<br />:107EB000912A880C991C6FC0863521F484E090D0FB<br />:107EC00080E0E1CF843609F040C070D06FD0B82E8A<br />:107ED0006DD080E0881680E7980618F4F401F7BEAC<br />:107EE000E89500E011E062D0F80181938F01BE16A1<br />:107EF000D1F7F0E08F16F0E79F0618F0F401F7BE17<br />:107F0000E89566D007B600FCFDCFF401A0E0B1E033<br />:107F10002C9130E011968C91119790E0982F882742<br />:107F2000822B932B12960C01C7BEE8951124329632<br />:107F300081E0A038B80761F7F401D7BEE89507B62D<br />:107F400000FCFDCFE7BEE89527C08437B9F42ED0FA<br />:107F50002DD0A82E2BD03CD0BA2CF40101C0F801B2<br />:107F60008F010F5F1F4F84911AD0BA94C1F7089404<br />:107F7000811C911CAA948A0C911C0EC0853739F47F<br />:107F800027D08EE10CD085E90AD08FE07CCF8135F7<br />:107F900011F488E017D01CD080E101D064CF90911B<br />:107FA000C00095FFFCCF8093C60008958091C0006B<br />:107FB00087FFFCCF8091C00084FD01C0A89580910F<br />:107FC000C6000895E0E6F0E098E19083808308958C<br />:107FD000EDDF803219F088E0F5DFFFCF84E1DFCFFD<br />:107FE0001F93182FE3DF1150E9F7F2DF1F91089577<br />:0A7FF00080E0E8DFEE27FF27099488<br />:027FFE00050478<br />:0400000300007E007B<br />:00000001FF</span></span></span></span></span></span><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /><br />Salve
o texto acima no arquivo optiboot_atmega328_int_8MHz.hex. Antes de
subir a imagem é preciso setar os fuses do ATmega:</span></span></span></span></span></span><br />
<strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;">>
avrdude -c stk500v1 -p atmega328p -P /dev/ttyUSB0 -b19200 -e -u -U
lock:w:0x3F:m -U efuse:w:0x05:m -U hfuse:w:0xDE:m -U
lfuse:w:0xE2:m</span></span></span></span></span></strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /><br />Em
seguida faça o upload do bootloader manualmente utilizando o comando
abaixo:</span></span></span></span></span></span><br />
<strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: courier new, courier;"><span style="font-size: x-small;"><span style="font-style: normal;">>
avrdude -c stk500v1 -p atmega328p -P /dev/ttyUSB0 -b19200 -U
flash:w:optiboot_atmega328_int_8MHz.hex:i -U lock:w:0x0F:m</span></span></span></span></span></strong><span style="font-variant: normal;"><span style="color: black;"><span style="font-family: Times New Roman;"><span style="font-size: medium;"><span style="font-style: normal;"><span style="font-weight: normal;"><br /><br />Concluido
isto, certifique-se de ter adicionado no arquivo boards.txt as
definições do novo Arduino e efetue um teste fazendo o upload de um
sketch de exemplo. Seu ATmega standalone agora está pronto para uso!</span></span></span></span></span></span></div>
<div style="margin-bottom: 0in;">
<br /></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-82983380202424693392011-12-01T17:20:00.001-02:002011-12-02T06:55:10.795-02:00Arduino - O Documentário (Agora com legendas em português)<br />
No início de 2011 foi publicado o <a href="http://arduino.cc/blog/2011/01/07/arduino-the-documentary-now-online/">documentário sobre a história do Arduino</a>, como surgiu e porque foi desenvolvido, com seus criadores, usuários e até com a presença de algumas personalidades como Nathan Seidle, fundador e CEO da SparkFun Electronics.<br />
<br />
Recentemente o pessoal do <a href="http://baixacultura.org/2011/10/28/arduino-o-documentario-do-hardware-livre-leve-e-solto/">Baixa Cultura</a> legendou o vídeo, revisou e disponibilizou-o no <a href="http://youtu.be/766yR7EOHxE">YouTube</a>. Vale a pena conferir!<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/766yR7EOHxE" width="560"></iframe>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-55569148337307496152011-11-22T15:45:00.001-02:002011-11-30T18:34:15.631-02:00Instalando Fritzing no Ubuntu Linux via apt-get<br />
O Fritizning está disponível para diferentes plataformas como Linux, Mac, Windows, entre outros, mas atualmente não se encontra disponível nos repositórios oficiais do Debian e Ubuntu.<br />
<br />
Mas para fazer a inclusão de seu repositório* é bem simples, bastando para isso executarmos os passos abaixo:<br />
<br />
<div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: center; vertical-align: baseline;">
</div>
<div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: center; vertical-align: baseline;">
</div>
<div class="wp_syntax" style="background-attachment: initial; background-clip: initial; background-color: #f9f9f9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: silver; border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-color: initial; border-left-color: silver; border-left-style: solid; border-left-width: 1px; border-right-color: silver; border-right-style: solid; border-right-width: 1px; border-style: initial; border-style: initial; border-top-color: silver; border-top-style: solid; border-top-width: 1px; color: #110000; font-size: 12px; margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: hidden; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 623px;">
<table style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-collapse: collapse; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><td class="line_numbers" style="background-attachment: initial; background-clip: initial; background-color: #ddeeff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: grey; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 2px; padding-left: 4px; padding-right: 4px; padding-top: 2px; text-align: right; vertical-align: top;"><pre style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; clear: none; float: none; font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.333; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: auto;"></pre>
</td><td class="code" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 2px; padding-left: 4px; padding-right: 4px; padding-top: 2px; vertical-align: top;"><pre class="bash" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; clear: none; float: none; font-family: monospace; font-size: 12px; line-height: 1.333; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: auto;"><b><span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">sudo</span> add-apt-repository ppa:ehbello<span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; color: black; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">/</span>fritzing</b></pre>
</td></tr>
</tbody></table>
</div>
<div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span class="Apple-style-span" style="font-size: small; line-height: normal;">Feita a inclusão, atualizamos a lista de repositórios:</span></div>
<div class="wp_syntax" style="background-attachment: initial; background-clip: initial; background-color: #f9f9f9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: silver; border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-color: initial; border-left-color: silver; border-left-style: solid; border-left-width: 1px; border-right-color: silver; border-right-style: solid; border-right-width: 1px; border-style: initial; border-style: initial; border-top-color: silver; border-top-style: solid; border-top-width: 1px; color: #110000; font-size: 12px; margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: hidden; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 623px;">
<table style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-collapse: collapse; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><td class="line_numbers" style="background-attachment: initial; background-clip: initial; background-color: #ddeeff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: grey; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 2px; padding-left: 4px; padding-right: 4px; padding-top: 2px; text-align: right; vertical-align: top;"><pre style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; clear: none; float: none; font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.333; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: auto;"></pre>
</td><td class="code" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 2px; padding-left: 4px; padding-right: 4px; padding-top: 2px; vertical-align: top;"><pre class="bash" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; clear: none; float: none; font-family: monospace; font-size: 12px; line-height: 1.333; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: auto;"><b><span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">sudo</span> <span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">apt-get</span> update</b></pre>
</td></tr>
</tbody></table>
</div>
<div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<span class="Apple-style-span" style="font-size: small; line-height: normal;">Para finalizarmos, instalamos o Fritzing:</span></div>
<div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: center; vertical-align: baseline;">
</div>
<div class="wp_syntax" style="background-attachment: initial; background-clip: initial; background-color: #f9f9f9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: silver; border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-color: initial; border-left-color: silver; border-left-style: solid; border-left-width: 1px; border-right-color: silver; border-right-style: solid; border-right-width: 1px; border-style: initial; border-style: initial; border-top-color: silver; border-top-style: solid; border-top-width: 1px; color: #110000; font-size: 12px; margin-bottom: 1.5em; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: hidden; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 623px;">
<table style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-collapse: collapse; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><td class="line_numbers" style="background-attachment: initial; background-clip: initial; background-color: #ddeeff; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: grey; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 2px; padding-left: 4px; padding-right: 4px; padding-top: 2px; text-align: right; vertical-align: top;"><pre style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; clear: none; float: none; font-family: 'Courier New', monospace; font-size: 12px; line-height: 1.333; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: auto;"></pre>
</td><td class="code" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 2px; padding-left: 4px; padding-right: 4px; padding-top: 2px; vertical-align: top;"><pre class="bash" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; clear: none; float: none; font-family: monospace; font-size: 12px; line-height: 1.333; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: visible; overflow-y: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: auto;"><b><span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">sudo</span> <span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">apt-get</span> <span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">install</span> fritzing</b></pre>
</td></tr>
</tbody></table>
</div>
<div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
<div style="font-size: 12px;">
<span class="Apple-style-span" style="font-size: small; line-height: normal;">Pronto, já estamos com o Fritzing instalado no Ubuntu! Agora futuras instalações e atualizações poderão ser feitas de forma automatizada.</span></div>
<div style="font-size: 12px;">
<span class="Apple-style-span" style="font-size: small; line-height: normal;"><br /></span></div>
<div style="font-size: 12px;">
<span class="Apple-style-span" style="font-size: small; line-height: normal;"><span class="Apple-style-span" style="color: #303030; font-family: Verdana, sans-serif; font-size: 11px; line-height: 16px;"><img src="http://fritzing.org/media/uploads/download_screenshot_jpg_versions/small_download_screenshot.jpg" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: middle;" /></span></span></div>
<div style="font-size: 12px;">
<span class="Apple-style-span" style="font-size: small; line-height: normal;"><span class="Apple-style-span" style="color: #303030; font-family: Verdana, sans-serif; font-size: 11px; line-height: 16px;"><br /></span></span></div>
<span class="Apple-style-span" style="line-height: normal;"><span class="Apple-style-span" style="color: #303030; font-family: Verdana, sans-serif; line-height: 16px;"><span class="Apple-style-span" style="font-size: xx-small;"><span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; line-height: normal;">*A instalação utilizada tem sido gentilmente mantida por <a href="https://launchpad.net/~ehbello/+archive/fritzing">Enrique Hernández Bello</a>, que tem empacotado o Frtizing para o formato deb.</span></span></span></span></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-9176599407917790536.post-88736634211527170732011-11-22T06:10:00.000-02:002011-11-22T06:10:00.672-02:00Virtual Breadboard, um emulador para Arduino e protoboard<br />
Já comentei <a href="http://www.it.etc.br/2011/11/utilizando-o-fritzing-para-desenvolver.html">aqui</a> a respeito do Fritzing, para fazer desenhos virtuais dos projetos em protoboard. É um software excelente, além disto possui a opção de criar o diagrama do projeto e imprimir a PCB, porém ele não simula o funcionamento do circuito.<br />
<br />
Para simular o funcionamento do protótipo, encontrei o Virtual Breadboard. Com ele você faz upload do software e observa o comportamento do circuito.<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/Vo2qjVJCnIY" width="420"></iframe>
<br />
<br />
Ao contrário do Fritzing, este não é gratuito e muito menos open source, mas é possível baixar uma versão de avaliação em seu site, que funciona por um mês. A versão paga possui a vantagem de não ser muito cara, custando a partir de $19,00. Infelizmente só há binários para a plataforma Windows.<br />
<br />
<a href="http://www.virtualbreadboard.net/">Download: virtualbreadboard.net</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-44758960771583637632011-11-11T15:34:00.000-02:002011-11-21T15:37:38.944-02:00Utilizando o Fritzing para desenvolver seus projetos com Arduino<br />
<br />
<span class="Apple-style-span" style="font-family: arial;">Estava procurando uma forma de documentar melhor meus protótipos feitos em protoboard e ao fazer a busca no Google encontrei o Fritzing, utilizado por muitos sites e blogs para fazer os seus respectivos esboços de montagem.</span><br />
<span class="Apple-style-span" style="font-family: arial;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/Hxhd4HKrWpg?feature=player_embedded' frameborder='0'></iframe></div>
<span class="Apple-style-span" style="font-family: arial;"><br /></span><br />
<div style="font-family: arial;">
Para minha surpresa, o Fritzing é muito mais do que isto, fazendo também o diagrama esquemático do circuito automaticamente e o layout da PCB, inclusive com auto-route! Ao adicionar ou remover um componente ou conexão na protoboard, o mesmo é atualizado em tempo real nos três modos de operação.</div>
<div style="font-family: arial;">
<br /></div>
<div style="font-family: arial;">
O projeto ainda está em alpha, mas me surpreendeu pela facilidade de uso e a qualidade dos recursos. Possui biblioteca de componentes básicos e para o Arduino, além da possibilidade de adicionar, criar e editar os seus próprios. Outra vantagem é que todo o software é open source e possui binários para Linux, Mac e Windows.</div>
<div style="font-family: arial; font-size: small;">
<br /></div>
<div style="font-family: arial; font-size: small;">
<a href="http://fritzing.org/">Download: Fritzing.org</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-71672403684707500762011-11-04T12:37:00.000-02:002011-11-04T12:44:32.914-02:00Minibloq, um Arduino IDE para leigos<br />
O Minibloq é um ambiente de programação gráfica para Arduino, sendo um de seus principais objetivos a aproximação com o Arduino e outras plataformas das crianças e iniciantes, descomplicando a sua utilização.<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/sc61WI4DXU0" width="420"></iframe>
<br />
<br />
A primeira versão beta já se encontra disponível para download em seu site (<a href="http://blog.minibloq.org/">blog.minibloq.org</a>), sendo seu uso extremamente simples, bastando apenas alguns cliques para que seu primeiro programa esteja sendo compilado, transferido e executado.<br />
<div>
<br /></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-78324234179735921012011-02-28T08:56:00.002-03:002011-11-06T20:53:43.917-02:00Verifique o sinal de seu celular<div align="center" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoGKvDu8D7aAy62KhiumvEE4J9nY0m5PL8oOIJmRDDiBmKv1YkHBlQMaDZBOdXD23PrPiP2LVVtYt_8C-kHSosbHCF6eiBmZZ137PDQgYWt2QgEJeRdbZ822V9dM_vJHgkfbmuk9pPWGM/s1600/logo-large-trans.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoGKvDu8D7aAy62KhiumvEE4J9nY0m5PL8oOIJmRDDiBmKv1YkHBlQMaDZBOdXD23PrPiP2LVVtYt_8C-kHSosbHCF6eiBmZZ137PDQgYWt2QgEJeRdbZ822V9dM_vJHgkfbmuk9pPWGM/s640/logo-large-trans.png" width="640" /></a></div>
<br />
Não tem jeito: não importa a operadora ou o lugar onde você mora, o sinal do celular pode sumir de repente, quando você menos espera. Com o site Open Signal Maps você escolhe determinada região e vê toda a cobertura de sinal, inclusive em 3G, de todas as operadoras de telefonia do local.</div>
<div align="center" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
No menu à direita você pode selecionar uma das duas opções disponíveis: a localização das torres ou uma mapa de calor. Com o mapa de calor, o site indicará as regiões mais “quentes”, ou seja, com sinal mais forte, utilizando a cor vermelha.</div>
<div align="center" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
As regiões com sinal fraco ficam em um tom mais próximo do azul. Já os lugares sem sinal ficam sem cor nenhuma. Logo abaixo, você pode selecionar se deseja ver a cobertura total disponível na região ou se prefere conferir a de cada uma das principais operadoras do país.</div>
<div align="center" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Em Tower Locations você pode ver a quantidade e localização das torres de celular espalhadas pela cidade. Do mesmo jeito que no mapa de calor, é possível selecionar cada uma das operadoras ou ver toda a cobertura disponível.</div>
<div align="center" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Ainda mais legal que o site é o aplicativo disponível para a plataforma Android do serviço. Nele você pode checar a potência do seu sinal, além de saber qual a distância e em que direção está a antena de celular mais próxima da sua operadora.</div>
<div align="center" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
O programa te mostra, em tempo real, qual a variação do sinal do local onde você está. Já em velocidade, você pode ver quão rápida está sua conexão 3G em determinado lugar. Infelizmente, o app ainda está em desenvolvimento para o iPhone e também não tem previsão de chegada para outras plataformas.</div>
<div align="center" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<strong style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"><span style="color: green; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://opensignalmaps.com/" rel="nofollow" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;">Conheça e teste o Open Signal Maps</a></span></strong><br />
<strong style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"><span style="color: green; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://opensignalmaps.com/" rel="nofollow" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"></a></span></strong>acompanhe o vídeo abaixo para sanar alguma dúvida que você ainda tenha:</div>
<div style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<em style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://www.youtube.com/watch?v=jHHBiqAnvGA" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"><span style="color: red; font-size: small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"></span></a></em></div>
<br />
<br />
<br />
<center style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><em style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://www.youtube.com/watch?v=jHHBiqAnvGA" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"><span style="color: red; font-size: small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><strong style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><img src="http://t0.gstatic.com/images?q=tbn:ANd9GcQWYRcUf3vkRjpvTx8cB1g2D3di30f2jo2WnZRQeMjS60EhX3EIYQ&t=1" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /></strong></span></a></em></center><br />
<div style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
</div>
<div style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: arial; line-height: 1.6em; margin-bottom: 0.7em; margin-left: 0px; margin-right: 0px; margin-top: 0.7em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Fonte: Olhar Digital</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-87058396271651972092011-02-23T13:19:00.000-03:002011-11-06T20:52:00.265-02:00Isso é um PC<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj16jkHoebB6_ERxNmvIsVU6ysT5fxj93kURN3jVM2r-KY2jTlrDV2cD_R4yPX880lafhMNrZ2Z2LlzvRLsP4gcxv9gZAN5P7MMjJt6oho7yesxKOxB2Cj4PieyItzeQF__AZsTxMZtFFs/s1600/trimslice_thumb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj16jkHoebB6_ERxNmvIsVU6ysT5fxj93kURN3jVM2r-KY2jTlrDV2cD_R4yPX880lafhMNrZ2Z2LlzvRLsP4gcxv9gZAN5P7MMjJt6oho7yesxKOxB2Cj4PieyItzeQF__AZsTxMZtFFs/s1600/trimslice_thumb.jpg" /></a></div>
<br />
<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;">Direto ao que interessa:</span><br />
<br />
<ul style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;">
<li>CPU: NVIDIA Tegra 2 Dual Core ARM Cortex A9 1GHz com GPU GeForce ultra-low power</li>
<li>Memória: 1 GB DDR2-800</li>
<li>Armazenamento:<ul>
<li>SD (SDHC)</li>
<li>Micro SD (SDHC)</li>
<li>SATA SSD (até 64GB)</li>
</ul>
</li>
<li>Rede:<ul>
<li>1 GbE</li>
<li>WiFi 802.11n + BT</li>
</ul>
</li>
<li>Display: HDMI 1.3 full-HD + DVI (dual head)</li>
<li>Audio: Saída Estéreo, line-in, S/PDIF 5.1 digital</li>
<li>Video in: PAL/NTSC</li>
<li>I/O:<ul>
<li>4 USB2 ports (480 MBps)</li>
<li>1 USB</li>
<li>1 RS232</li>
</ul>
</li>
<li></li>
<li>Dimensões: 130mm x 95mm x 15mm</li>
<li>Energia: 8-16V DC, 3W em média</li>
</ul>
<br />
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: x-small;"><span class="Apple-style-span" style="border-collapse: collapse;">O nome do bicho é TrimSlice, criado pelo Compulab, empresa israelense especializada em sistemas integrados. Ainda não há determinação de preço final, mas o fabricante diz que ficará mais barato que um tablet e mais caro que um simples streamer como o Xing Player. Só sei que é um excelente companheiro para uma TV em uma casa conectada.</span></span><br />
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: x-small;"><span class="Apple-style-span" style="border-collapse: collapse;"><br />
</span></span><br />
<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: x-small;"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px;">Fonte: <a href="http://www.gizmag.com/compulab-announces-tegra2-powered-trim-slice-mini-pc/17664/" style="color: #2244bb;" target="_blank">Gizmag</a></span></span></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-43467119964287319132011-02-20T12:21:00.002-03:002011-11-06T20:51:45.213-02:00Instalando, configurando e sincronizando o relógio de servidores e clientes com NTP no Linux e Windows<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuT0N06PFQQmq0oWA-xMukxuH0EJl0SWpxUm97WwN7EWZNoyrOsQy1S_idnbs3rVaOMhKMA2h-XSZw3uVBFVUeh9OIy6JLvJn6YChyphenhyphenwZlZvSO4MRNnXlqZP5LuAceC_bF5RWFIkDmdMSg/s1600/servidor-ntp.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuT0N06PFQQmq0oWA-xMukxuH0EJl0SWpxUm97WwN7EWZNoyrOsQy1S_idnbs3rVaOMhKMA2h-XSZw3uVBFVUeh9OIy6JLvJn6YChyphenhyphenwZlZvSO4MRNnXlqZP5LuAceC_bF5RWFIkDmdMSg/s1600/servidor-ntp.jpg" /></a></div>
<span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; line-height: 20px;"></span><br />
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Notei, nesses vários anos que trabalho com redes, que não é a maioria dos administradores que se preocupam com a configuração perfeita da data e hora dos servidores. Uma rede com o horário dessincronizado pode gerar sérios problemas de administração, como por exemplo: falhas em servidores de controle de versão, problemas com sistemas de <em>backup</em>, erro em transações de banco de dados, não funcionamento do <em>Active Directory</em> ou quando precisamos analisar <em>LOGs</em> de vários servidores por causa de alguma ocorrência na rede. Ah, tem até aquele caso comum de um e-mail cuja resposta tem hora inferior ao do primeiro e-mail enviado.<span id="more-325"></span></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Para resolver essa situação existe o <strong>NTP</strong>(<em>Network Time Protocol</em>) que tem como finalidade sincronizar relógios na rede, seja ela, rede local ou a Internet. Através do <em>NTP</em>podemos sincronizar nossas máquinas com a data e hora provida por órgãos responsáveis pela hora legal no país, como é o caso do <a href="http://ntp.br/" style="text-decoration: none;" target="_blank">NTP.br</a> e o <a href="http://www.on.br/" style="text-decoration: none;" target="_blank">Observatório Nacional</a>.</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Uma informação pertinente é que os servidores de <strong>NTP</strong>, como do Observatório Nacional, têm como referência <a href="http://pt.wikipedia.org/wiki/Rel%C3%B3gio_at%C3%B4mico" style="text-decoration: none;" target="_blank">relógios atômicos</a> ou <a href="http://pt.wikipedia.org/wiki/Gps" style="text-decoration: none;" target="_blank">GPS</a>.</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
O processo de sincronização é feito através de <a href="http://pt.wikipedia.org/wiki/Algoritmo" style="text-decoration: none;" target="_blank">algorítimos</a> e mensagens trocadas entre o seu servidor <em>NTP</em> local com o servidor <em>NTP</em> de referência, possibilitando a determinação exata da hora que será utilizada em seu servidor e a partir daí o processo é repetido entre seu servidor<em>NTP</em> local com as demais máquinas de sua rede.</div>
<h2 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Instalação e configuração do servidor NTP</h2>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
O <strong>servidor NTP</strong>, ou <strong>NTPd</strong> (<a href="http://pt.wikipedia.org/wiki/Daemon_%28aplicativo_para_computadores%29" style="text-decoration: none;" target="_blank">daemon</a>) é instalável em todos as distribuições <em>Linux</em> e sua função é justamente se comunicar com servidores de referência e depois propagar a data e hora pelos computadores clientes da rede.</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Antes de começarmos a instalação que é compatível tanto como <strong>Debian Lenny</strong> (<em>Debian 5.0</em>) quanto com o <strong>Ubuntu Jaunty</strong> (<em>Ubuntu 9.04</em>), vamos primeiro atualizar nossa lista de repositórios do <em>APT</em> com o comando:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># apt-get update</code></div>
<h3 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Instalando o servidor NTP</h3>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Após atualizar a lista de repositórios, basta executarmos o comando para instalação:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># apt-get install ntp ntpdate</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
O <em>deamon</em> do <strong>NTP</strong> utiliza pouco mais de um megabyte de espaço em disco e não adiciona pacotes extras, exceto no <em>Debian</em> onde pacote <strong>libcap1</strong> é instalado. O <strong>libcap1</strong> tem como função particionar os privilégios do <em>root</em> para utilização de vários serviços como o <strong>NTPd</strong>.</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Outra necessidade percebida no Debian é a instalação do <strong>ntpdate</strong>, com este utilitário é possível atualizar o relógio diretamente com um servidor NTP de referência.</div>
<h2 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Configurando o NTPd no Debian Lenny (Debian 5.0) e Ubuntu Jaunty (Ubuntu 9.04)</h2>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Após a instalação, precisamos nos certificar que o horário de nosso computador não está mais que 16 minutos atrasado ou adiantado. Vamos utilizar o comando abaixo para atualizar o horário do computador com o servidor NTP padrão de referência:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># ntpd -q -g</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Após a atualização do horário através dos servidores padrões do <em>Debian</em> e do <em>Ubuntu</em>, o <strong>NTP</strong>utiliza o arquivo <strong>ntp.drift</strong>. O <strong>ntp.drift</strong> registra a instabilidade na freqüência do relógio do seu computador e o <em>NTP</em> o utiliza este registro para sincronizar corretamente o relógio do seu equipamento com o do servidor de referência. Algumas distribuições <em>Linux</em> não criam o arquivo automaticamente no momento da instalação, porém o <strong>Debian Lenny</strong> (<em>Debian 5.0</em>) e o<strong>Ubuntu Jaunty</strong> (<em>Ubuntu 9.04</em>) o criam corretamente.</div>
<h3 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Configurando o servidor NTP via ntp.conf</h3>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
O arquivo responsável pela configuração do <em>servidor NTP</em> é o <strong>ntp.conf</strong> que no <em>Debian</em> e<em>Ubuntu</em> está localizado em <strong>/etc/ntp.conf</strong>. Nas duas distribuições o <strong>ntp.conf</strong> é idêntico, salvo é claro o servidor NTP de referência, que no <em>Ubuntu</em> é <em>ntp.ubuntu.com</em> e no <em>Debian</em> são quatro servidores, onde o primeiro é <em>0.debian.pool.ntp.org</em>.</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Vamos agora entender a estrutura do arquivo para definirmos uma configuração usual.</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
A primeira linha faz referência a localização do arquivo <em>ntp.drift</em> que comentei um pouco acima neste <em>post</em>. Verifique se ele está criado no diretório apontado em seu arquivo de configuração. Caso não esteja criado, então utilize o comando abaixo:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># touch /var/lib/ntp/ntp.drift</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Caso você deseje monitorar seu servidor <em>NTP</em> através de <em>LOGs</em>, então “descomente” (retire o caracter #) da linha <strong>statsdir</strong>. Não esqueça de “descomentar” também as linhas de <strong>filegen</strong>, pois serão utilizadas para definir as informações gravadas em <em>log</em>.</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
O terceiro item do arquivo de configuração é relativo ao servidor NTP de referência, ele deve ser configurado no padrão:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">server <endereço-do-servidor> <opções></opções></endereço-do-servidor></code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Existem doze itens de configuração de servidor. Eu recomendo a utilização de três opções, são elas:</div>
<ul style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><strong>iburst</strong> – quando o <em>NTPd</em> não localiza o servidor, então ele envia oito pacotes, ao invés de dois pacotes (padrão), assim mesmo que sua conexão apresente alguma instabilidade o NTPd tentará mais contatos com o <em>servidor NTP</em> de referência;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><strong>prefer</strong> – define o <em>servidor NTP</em> de referência como preferencial;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><strong>dynamic</strong> – permite que um servidor, mesmo que inalcançável, ainda seja contatado futuramente, pois sua rede local ou sua conexão de internet pode ter falhado ou esteja com sinal intermitente.</li>
</ul>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Sugiro estes cinco servidores:</div>
<ul style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">a.ntp.br – Servidor da NTP.br ;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">ntp.ansp.br – Servidor do NARA (núcleo de apoio a rede acadêmica);</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">ntp.cais.rnp.br – Servidor da RNP (rede nacional de pesquisa);</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">b.ntp.br – Servidor da NTP.br;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">c.ntp.br – Servidor da NTP.br.</li>
</ul>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
É importante, por questões de segurança, que não seja permitido que estes servidores NTP de referência façam qualquer alteração no horário, pois estes são para consulta e a alteração de horário deverá ser feita localmente, então vamos colocar uma regra de restrição de alteração e consulta para estes servidores. Configuramos estes parâmetros dentro da configuração de restrict, como por exemplo:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">restrict <endereço-do-servidor> mask 255.255.255.255 nomodify noquery</endereço-do-servidor></code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Eu não modifico a configuração padrão das primeiras quatro linhas contendo o item o chamada <strong>restrict</strong>, pois desejo que meu <em>servidor NTP</em> troque horário com qualquer computador, porém não permitindo alteração de configuração e também permito que usuários do próprio computador façam consultas ao servidor. A única configuração de restrição que eu faço é a inserção da linha:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">restrict <rede-local> mask <máscara-de-rede></máscara-de-rede></rede-local></code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
A linha acima deve ser utilizada para liberar todas as máquinas da rede local para acessarem o <em>servidor de NTP</em>.</div>
<h3 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Exemplo de configuração do ntp.conf</h3>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Abaixo segue meu exemplo de configuração do ntp.conf:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">driftfile /var/lib/ntp/ntp.drift</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">statsdir /var/log/ntpstats/</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">statistics loopstats peerstats clockstats</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">filegen loopstats file loopstats type day enable</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">filegen peerstats file peerstats type day enable</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">filegen clockstats file clockstats type day enable</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">server a.ntp.br prefer iburst dynamic</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">server ntp.ansp.br iburst dynamic</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">server ntp.cais.rnp.br iburst dynamic</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">server b.ntp.br iburst dynamic</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">server c.ntp.br iburst dynamic</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">restrict a.ntp.br mask 255.255.255.255 nomodoify noquery</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">restrict ntp.ansp.br mask 255.255.255.255 nomodoify noquery</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">restrict ntp.cais.rnp.br mask 255.255.255.255 nomodoify noquery</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">restrict b.ntp.br iburst mask 255.255.255.255 nomodoify noquery</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">restrict c.ntp.br iburst mask 255.255.255.255 nomodoify noquery</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">restrict -4 default kod notrap nomodify nopeer noquery</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">restrict -6 default kod notrap nomodify nopeer noquery</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">restrict 127.0.0.1</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">restrict ::1</code><br />
<code style="font-family: 'Courier new', Courier, monospace;">restrict 192.168.0.0 mask 255.255.255.0</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Depois de salvar (gravar) o arquivo, não vamos reiniciar o serviço ainda. Primeiro vamos parar o servidor NTP (caso esteja rodando) e sincronizar o horário, do nosso servidor <em>NTP</em>, com os comandos:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># /etc/init.d/ntp stop<br />
# ntpdate a.ntp.br</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Após feita sincronização de horário com um <em>servidor NTP</em> de referência, então vamos reiniciar o serviço de <em>NTP</em> com o comando:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># /etc/init.d/ntp force-reload</code></div>
<h2 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Verificando se o nosso servidor NTP está sincronizando corretamente</h2>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Para verificarmos se os servidores ao qual estamos tentando sincronizar estão fornecendo respostas e nosso <em>servidor NTP</em> está sincronizando o horário corretamente, precisaremos executar o comando de consulta. O resultado é atualizado constantemente nos dois primeiros dias de sincronização, pois as informações de frequência ainda estão sendo atualizadas no arquivo <em>ntp.drift</em>.</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Comando de consulta da situação de sincronização:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># ntpq -p</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
O resultado deve variar, mas pode ser como o abaixo:</div>
<table border="0" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: collapse; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><tbody>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">remote</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">refid</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">st</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">t</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">when</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">poll</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">reach</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">delay</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">offset</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">jitter</span></code></td></tr>
<tr><td colspan="10" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">==============================================================================</span></code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">a.ntp.br</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">.INIT.</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">16</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">u</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">-</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">64</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">ns2.ansp.br</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">.STEP.</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">16</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">u</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">482</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">64</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.001</span></code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">titan.cais.rnp.</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">.STEP.</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">16</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">u</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">34m</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">64</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.001</span></code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">b.ntp.br</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">200.20.186.76</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">2</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">u</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">32</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">64</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">1</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">20.664</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">-1.971</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.001</span></code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">c.ntp.br</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">.STEP.</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">16</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">-</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">64</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;"><span class="Apple-style-span" style="font-size: x-small;">0.000</span></code></td></tr>
</tbody></table>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<br /></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Você poderá reparar que os servidores estão marcados como <em>INIT</em> e <em>STEP</em>. Isto acontece, pois nosso servidor é recém configurado e ainda está atualizando as frequências com os servidores NTP de referência. Após alguns minutos a resposta poderá ser como abaixo:</div>
<table border="0" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: collapse; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><tbody>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">remote</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">refid</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">st</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">t</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">when</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">poll</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">reach</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">delay</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">offset</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">jitter</code></td></tr>
<tr><td colspan="10" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">==============================================================================</code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">a.ntp.br</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">.INIT.</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">16</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">u</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">-</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">64</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">0</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">0.000</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">0.000</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">0.000</code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">*ntp.ansp.br</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">200.192.232.8</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">3</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">u</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">41</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">64</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">7</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">11.962</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">-65.677</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">26.804</code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">+titan.cais.rnp.</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">26.29.7.231</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">2</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">u</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">36</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">64</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">7</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">15.542</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">-45.002</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">23.074</code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">+b.ntp.br</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">200.20.186.76</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">2</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">u</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">38</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">64</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">7</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">17.908</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">-44.850</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">22.019</code></td></tr>
<tr><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">c.ntp.br</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">.INIT.</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">16</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">u</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">-</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">64</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">0</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">0.000</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">0.000</code></td><td style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><code style="font-family: 'Courier new', Courier, monospace;">0.000</code></td></tr>
</tbody></table>
<h2 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<br />
</h2>
<h2 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Entendendo a resposta do ntpq</h2>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Após utilizar o comando acima, com certeza queremos saber por que alguns servidores possuem um caracter antes do endereço, chamados de Tally Codes. Os Tally Codes<br />
podem variar entre * (asterisco), + (soma), x. Vamos entender qual o significado desses simbolos e qual a função dos itens st, t, when, poll, reach, delay, offset e jitter:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Entendendo os caracteres ou tally codes:</div>
<ul style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">* – system peer, servidor escolhido como principal referência;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">+ – candidat, servidor utilizado, porém com menor peso;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">x – falsetick, servidor descartado por alguma incoerência verificada na execução do algoritimo de sincronização;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">- – outlier, servidor funcional, porém geograficamente distante. A distância pode afetar na sincronização;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">. – excess, se existir mais de 10 servidores de referência configurados, então os que não estiverem entre os 10 melhores receberão esta marca;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"># – selected, porém não está entre os 6 principais servidores NTP de referência;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">– se não houver marcação, então o servidor de referência foi descartado por não estar respondendo.</li>
</ul>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Verificando as demais informações:</div>
<ul style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">st – o ideal é 1 ou 2, pois o estrato 0 é destinado às fontes dos servidores NTP de referência. 16 significa que não está sincronizado;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">when – tempo (em segundos) da última consulta;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">poll – tempo (em segundos) entre uma consulta e outra;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">reach – transformação em decimal do resultado das últimas consultas. 377 mostra que não houveram falhas;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">delay – tempo (em milisegundos) de demora entre consultas;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">offset – medidas de deslocamento (em miliseguntos), é a diferença de tempo entre nosso servidor NTP e o servidor de referência;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">jitter – ou variação, utiliza o offset para informar desvio ou erro do servidor NTP de referência.</li>
</ul>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Outra maneira de consultar a situação do seu servidor NTP é através do Syslog, para isso utilize o comando abaixo:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># tail -f -n 30 /var/log/syslog | grep ntpd</code></div>
<h2 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Configurando o NTP em máquinas clientes</h2>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
O processo de configuração do seu servidor NTP nas máquinas existentes em sua rede local é bastante simples. Abaixo vamos ver como executar esta tarefa tanto em clientes <strong>Linux</strong>quanto clientes <strong>Windows</strong>.</div>
<h3 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
NTP em máquinas Windows</h3>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Apenas três comandos são suficientes para configurar seu servidor NTP em clientes Windows. Para isso siga os passos:</div>
<ol style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<li style="margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Clique em Iniciar</li>
<li style="margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Selecione Todos os Programas</li>
<li style="margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Entre no menu Acessórios</li>
<li style="margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Clique no item Prompt de Comandos</li>
</ol>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Agora no <strong>Prompt de Comandos</strong>, vamos executar os comandos abaixo:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">C:\> net time /setsntp:"<ip-do-servidor-ntp>"<br />
C:\> net stop w32time<br />
C:\> net start w32time</ip-do-servidor-ntp></code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Os comandos acima definem o seu servidor como servidor NTP de referência, pára o serviço de horário do Windows (<em>Windows Time Service</em>) e inicia o <em>Windows Time Service</em>.<br />
Estes passos são válidos para <strong>Windows XP</strong> e <strong>Windows 2003 Server</strong>. Não testei no <em>Windows Vista</em>, porém deve seguir passos semelhantes.</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Para verificarmos se o <em>Windows</em> está sincronizando com nosso servidor NTP, então basta executar o comando no <em>Prompt de Comandos</em>:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">c:\> net time /querysntp</code></div>
<h3 style="font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
NTP em clientes Linux</h3>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
O processo de configuração do <em>NTP</em> em um cliente <em>Linux</em> é muito parecido com o processo de configuração do servidor, ou seja, vamos ter que instalar os pacotes <strong>ntp</strong> e o <strong>ntpdate</strong>:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># apt-get install ntp ntpdate</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Vamos criar o arquivo <strong>ntp.drift</strong> (caso não exista):</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># touch /var/lib/ntp/ntp.drift</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
E vamos agora configurar o arquivo <strong>/etc/ntp.conf</strong>. Eu, particularmente, prefiro remover todas as configurações e deixar como o exemplo abaixo:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;">driftfile /var/lib/ntp/ntp.drift<br />
statsdir /var/log/ntpstats/<br />
statistics loopstats peerstats clockstats<br />
filegen loopstats file loopstats type day enable<br />
filegen peerstats file peerstats type day enable<br />
filegen clockstats file clockstats type day enable<br />
server <em><ip-do-servidor-ntp></ip-do-servidor-ntp></em><br />
restrict 127.0.0.1<br />
restrict <em><ip-do-servidor-ntp></ip-do-servidor-ntp></em><br />
restrict ::1</code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Salve as configurações e atualize a data e hora do sistema, mas antes vamos parar o serviço de <em>NTP</em> local:</div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<code style="font-family: 'Courier new', Courier, monospace;"># /etc/init.d/ntp stop<br />
# ntpdate <ip-do-servidor-ntp><br />
# /etc/init.d/ntp start</ip-do-servidor-ntp></code></div>
<div style="font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
Pronto, agora temos nosso servidor e clientes com data e hora atualizadas.</div>
<span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; font-size: 12px; font-weight: bold; line-height: 20px;">Fontes e Referências</span><br />
<div>
<ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; font-size: 12px; line-height: 20px;"><a href="http://www.ntp.br/" style="text-decoration: none;" target="_blank" title="NTP.br">NTP.br</a>;</span></li>
<span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif; font-size: 12px; line-height: 20px;">
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://www.eecis.udel.edu/~mills/ntp/html/ntpq.html" style="text-decoration: none;" target="_blank" title="ntpq - standard NTP query program">ntpq – standard NTP query program</a>;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://www.dicas-l.com.br/sysadmin/sysadmin_20080127.php" style="text-decoration: none;" target="_blank" title="SysAdmin - Sincronizando o relógio de seu micro com o NTP.br">SysAdmin – Sincronizando o relógio de seu micro com o NTP.br</a>;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://www.g2ctech.com/artigos/uso-de-ntp.html" style="text-decoration: none;" target="_blank" title="Mantendo o sincronismo da rede com NTP">Mantendo o sincronismo da rede com NTP</a>;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch24_:_The_NTP_Server" style="text-decoration: none;" target="_blank" title="Quick HOWTO : Ch24 : The NTP Server">Quick HOWTO : Ch24 : The NTP Server</a>;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://www.nara.org.br/servicos/ntp/servidor-ntp-para-linux" style="text-decoration: none;" target="_blank" title="Servidor NTP para Linux">Servidor NTP para Linux</a>;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://www.debianadmin.com/ntp-server-and-client-configuration-in-debian.html" style="text-decoration: none;" target="_blank" title="NTP Server and Client Configuration in debian">NTP Server and Client Configuration in debian</a>;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://dshowgirl.highend3d.com/2008/01/09/configuring-ntp-on-a-linux-server/" style="text-decoration: none;" target="_blank" title="Configuring NTP on a LINUX Server">Configuring NTP on a LINUX Server</a>;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://support.ntp.org/bin/view/Support/TroubleshootingNTP" style="text-decoration: none;" target="_blank" title="Troubleshooting NTP">Troubleshooting NTP</a>;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><a href="http://www.gsp.com/cgi-bin/man.cgi?section=8&topic=ntpq#4" style="text-decoration: none;" target="_blank" title="ntpq - standard NTP query program">ntpq – standard NTP query program</a>;</li>
<li style="list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 0px; margin-left: 2.2em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">man ntp, man ntpq, man ntp.conf, man ntp.drift.</li>
</span></ul>
</div>
<div>
<span class="Apple-style-span" style="color: #999999; font-size: x-small;">[</span><span class="Apple-style-span" style="color: #999999; font-size: x-small;"><a href="http://andreferraro.wordpress.com/2009/05/11/linux-instalando-configurando-sincronizando-relogio-servidores-clientes-ntp-debian-ubuntu-windows/">Autor do artigo: Andre Ferraro</a></span><span class="Apple-style-span" style="color: #999999; font-size: x-small;">]</span></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-2706605674923868862011-01-26T16:58:00.000-02:002011-11-06T20:51:26.574-02:00Cabos HDMI: faz diferença comprar um modelo mais econômico?Vale a pena economizar na compra de cabos HDMI, ou o barato pode sair caro?<br />
<br />
Vi este artigo e achei interessante compartilhar... Espero que seja útil.<br />
<br />
<a href="http://www.baixaki.com.br/tecnologia/2897-cabos-hdmi-faz-diferenca-comprar-um-modelo-de-150-e-um-de-30-reais-.htm">Leia a matéria completa no Baixaki</a><br />
<br />
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicHJp-FIM82Sputr7G2DkQwqlOmw2HM3NnPp8GaY0QnU2Q_Xlfi2BngLl_Z_5-oqkvW_0EbgBG35LNdTPyLcffYavPi0PMh_2LBlqjwyjBH6msZku8mi3mdXbNRVPDt90sWrMnkP_DEg4/s1600/def_hdmi02.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="152" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicHJp-FIM82Sputr7G2DkQwqlOmw2HM3NnPp8GaY0QnU2Q_Xlfi2BngLl_Z_5-oqkvW_0EbgBG35LNdTPyLcffYavPi0PMh_2LBlqjwyjBH6msZku8mi3mdXbNRVPDt90sWrMnkP_DEg4/s640/def_hdmi02.jpg" width="640" /></a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-47151655197256542772010-11-28T11:58:00.003-02:002011-11-06T20:50:47.283-02:00Jack PC: O computador para instalar dentro da parede<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ3f9uBavCPdY9cZAzH73fd3AZFIA-6btDTts6QHqIfsc8MJxHBWTBtKu6oXGMxpL9lu7MNqQytyGE5VwFE98RsnGoKr7uyGWGmzaiJ-04igVjFJkKjY4SMV0eUdHHS9d-rgxcKKZlQbk/s1600/jackpc1.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5544600020756343218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ3f9uBavCPdY9cZAzH73fd3AZFIA-6btDTts6QHqIfsc8MJxHBWTBtKu6oXGMxpL9lu7MNqQytyGE5VwFE98RsnGoKr7uyGWGmzaiJ-04igVjFJkKjY4SMV0eUdHHS9d-rgxcKKZlQbk/s320/jackpc1.jpg" style="cursor: pointer; height: 292px; width: 320px;" /></a><br />
<br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 12px; line-height: 18px; text-align: left;">Imagine instalar um computador dentro da parede de sua casa. Este é o objetivo do Jack PC, um dos desktops mais compactos do mercad</span></span><span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 12px; line-height: 18px; text-align: left;">o. Ao todo, ele tem 6,96 x 11,4 x 3,95cm e pesa apenas 350 g.<br /></span></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG9IRHZInnyJiiiRf88VdjuuHo130gu23zRPyoTVNpmvT8E7ecMXkEoTWF_cCdWbBQ2ZTyhyLVouli_Rce0FPI04iqHRvvxt5qVsb_8NxAoT566XirB2g02blYV98M_sBZsJyMNayz2Rk/s1600/jackpc2.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5544600109022270802" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG9IRHZInnyJiiiRf88VdjuuHo130gu23zRPyoTVNpmvT8E7ecMXkEoTWF_cCdWbBQ2ZTyhyLVouli_Rce0FPI04iqHRvvxt5qVsb_8NxAoT566XirB2g02blYV98M_sBZsJyMNayz2Rk/s320/jackpc2.jpg" style="cursor: pointer; height: 292px; width: 320px;" /></a><br />
<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 12px; line-height: 18px; text-align: left;">O Jack PC possui processador de 1,2 GHz, suporte para 2 monitores simultâneos, rede wireless e capacidade de armazenamento de até 128 GB, além de entradas USB. A alimentação elétrica é feita por conta um cabo Ethernet.</span></span>Santanahttp://www.blogger.com/profile/03863099909083635777noreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-72266163426574962552010-11-13T21:32:00.000-02:002011-11-06T20:50:20.013-02:00Adicionando verificação de SPF ao Postfix<h1>
<span style="font-size: small;"></span></h1>
<h1>
<span style="font-size: small;"></span></h1>
<h1>
<span style="font-size: large;">Introdução</span></h1>
Talvez você já tenha ouvido falar "desse tal de SPF" e se pergunte que novidade é essa que apareceu na Internet. <br />
A sigla significa "Sender Policy Framework", ou "Estrutura de Politicas de Remetente". Diz a lenda que originalmente a sigla significava "Sender Permitted From", mas que foi alterada para refletir melhor o tipo de trabalho e ferramentas que a idéia do SPF traria. <br />
Nesse artigo vamos ver pra que serve o SPF, como ele ajuda o controle de email mundial e como usa-lo, tanto do lado "cliente" como "servidor". <br />
<a href="http://www.blogger.com/blogger.g?blogID=9176599407917790536" name="toc2"></a> <br />
<h1>
<span style="font-size: large;">1. Para que serve</span></h1>
O SPF basicamente serve para dizer aos servidores de email espalhados pela Internet quais enderecos IP/servidores estao autorizados a enviar email (rementente) com o dominio designado. <br />
Assim, eu, como administrador do dominio xyz.com.br, publicarei um registro SPF dizendo que os servidores 200.200.200.200 e 200.200.200.201 estao autorizados a enviar emails com remetentes @xyz.com.br; quaisquer outros servidores tentando enviar emails como @xyz.com.br são falsos, e tais emails devem ser rejeitados. <br />
De maneira similar, quando eu estiver recebendo um email de um remetente <a href="mailto:fulano@qwerty.com.br">fulano@qwerty.com.br</a>, verificarei seu registro SPF para saber se o servidor tentando me passar esse email tem autorização para isso. <br />
Note que o SPF não se trata necessariamente de uma ferramenta anti-SPAM. Embora uma quantidade razoavel de SPAM possa ser combatido com o SPF, estatisticas mostram que a maior parte dos spammers "profissionais" já tinham registros SPF implantados, ao passo que apenas uma pequena parcela dos dominios de emails legitimos tinham o registro. <br />
Nesse contexto, o SPF ajuda a combater outra forma de lixo "internetico": os Scams ou Phishing Scams, pessoas enviando emails como se fossem de bancos ou similares pedindo para que você acesse uma pagina e "atualize seus dados". Nem precisa dizer que o email não é do banco e seus dados não vão para o banco... <br />
Você talvez esteja pensando: "Mas se esse negocio não é a arma final contra o SPAM vou implementar pra que?". O SPF ajuda a impedir emails falsificados, dizendo ser você. Isso ajuda a prevenir fraudes e similares. Também dificulta a ação de alguns virus, que sorteiam um nome na lista de contatos da vitima para usar como remetente. <br />
<a href="http://www.blogger.com/blogger.g?blogID=9176599407917790536" name="toc3"></a> <br />
<h1>
<span style="font-size: large;">2. Como funciona</span></h1>
Registros SPF são simples registros texto na tabela de DNS de seu dominio. Esses registros possuem sintaxe própria, que pode ser consultada direto no site oficial do SPF - <a href="http://spf.pobox.com/">http://spf.pobox.com/</a> . Há inclusive um "Wizard" para gerar o registro SPF para você, e é recomendado que você use esse wizard qdo for implementar o registro em seu dominio. <br />
Se você usa o BIND como DNS, o registro ficaria mais ou menos assim na zona de DNS: <br />
<pre>. IN TXT "v=spf1 mx -all"</pre>
Se quiser saber qual o registro SPF de um domninio, basta rodar essa consulta: <br />
<pre>thefallen@KlingonRealm:~$ host -t txt dominio.com.br
dominio.com.br text "v=spf1 mx -all"</pre>
A sintaxe mencionada acima diz que apenas os servidores listados como MX do dominio estao autorizados a mandar email em nome do dominio, e que o registro é a "autoridade final" (-all), quer dizer, pode-se rejeitar a mensagem se não sair de algum MX do dominio. Se a palavra-chave fosse "?all" quer dizer que o registro é "neutro", ou esta em periodo de implantação, e ainda podem haver servidores fora dessa lista; portanto NAO se deve rejeitar a mensagem. Uma lidinha na especificação do site do SPF ajuda a esclarecer esse ponto. <br />
<a href="http://www.blogger.com/blogger.g?blogID=9176599407917790536" name="toc4"></a> <br />
<h1>
<span style="font-size: large;">3. Quando a verificação de SPF funciona</span></h1>
Uma duvida que você talvez tenha é "Se eu ativar SPF, vou parar de receber email de quem não tem SPF?". A verificação de SPF só acontece quando o dominio do remente já publicou o registro SPF. Assim, se o site do remetente não tiver aderido ao SPF, os emails vão passar normalmente (poderao ser forjados, visto que não há o registro SPF). <br />
Se você não quiser ativar a verificação do SPF em seu MTA agora, pode fazer apenas o primeiro passo da implantação, que é adicionar o registro no DNS. Isso também não vai comprometer emails chegando ou saindo de/para sites que não facam a verificação SPF. <br />
<a href="http://www.blogger.com/blogger.g?blogID=9176599407917790536" name="toc5"></a> <br />
<h1>
<span style="font-size: large;">4. Implementações de verificação SPF</span></h1>
Existem varias implementações de verificação de SPF. Alem da implementação inicial em Perl (Mail::SPF::Query), há bibliotecas especializadas (libspf e libspf2), modulos em Python, modulos para SpamAssassin, modulos pro Milter do Sendmail, patches para verificação nativa em Postfix, Exim e Qmail, e inclusive esta listado no site uma implementação para Exchange. <br />
No Howto a seguir usaremos a implementação via Policy Daemon do Postfix (a policyd listada no site). Não precisa de patches no Postfix e o daemon adicional é bastante leve para permitir que o sistema escale bem para ambientes maiores. <br />
<a href="http://www.blogger.com/blogger.g?blogID=9176599407917790536" name="toc6"></a> <br />
<h1>
<span style="font-size: large;">5. Para os mais apressados</span></h1>
Para os que não quiseram ler a teoria acima, a implementação do SPF ocorre em 2 partes: <br />
<br />
<ul>
<li>Publicar um registro SPF em seu DNS </li>
<li>Implementar a verificação do registro SPF no MTA </li>
</ul>
<a href="http://www.blogger.com/blogger.g?blogID=9176599407917790536" name="toc7"></a> <br />
<h2>
<span style="font-size: small;">5.1. Gerando o registro SPF</span></h2>
Va até o site do Wizard do SPF (<a href="http://spf.pobox.com/wizard.html">http://spf.pobox.com/wizard.html</a>) e responda as perguntas. Na maioria dos casos, o registro fica como "v=spf1 mx -all" <br />
Edite a zona DNS de seu dominio no BIND/named e adicione a seguinte linha no final do arquivo: <br />
<pre>. IN TXT "v=spf1 mx -all"</pre>
<a href="http://www.blogger.com/blogger.g?blogID=9176599407917790536" name="toc8"></a> <br />
<h2>
<span style="font-size: large;">5.2. Implementando a verificação no MTA</span></h2>
Primeiro de tudo, tenha em mente que o Policy Daemon Delegation (check_policy_service) só esta disponivel a partir da versão 2.1 do Postfix. Para saber qual versão você esta rodando, digite o comando: <br />
<pre>root@KlingonRealm:~# /usr/sbin/postconf mail_version
mail_version = 2.1.5</pre>
Para implantar o policyd para verificar os registros de servidores conectando ao seu MTA, vai precisar da libspf2 e do policyd (<a href="http://www.libspf2.org/">http://www.libspf2.org/</a>). Note que usaremos a versão do site <a href="http://www.libspf2.org/">www.libspf2.org</a>, que é a versão em C que usa a libspf2. O policyd disponivel no site <a href="http://spf.pobox.com/">http://spf.pobox.com/</a> é a versão em Perl, consideravelmente mais pesada e não tão bem escalavel. <br />
A instalação da biblioteca libspf2 é bastante simples: <br />
<pre>./configure --prefix=/usr
make
su -c "make install"</pre>
Se quiser já instalar o policyd direto no /usr/libexec/postfix, rode o seguinte comando: <br />
<pre>./configure --prefix=/usr --sbindir=/usr/libexec/postfix
make
su -c "make install"</pre>
Precisamos agora referenciar o serviço no master.cf: <br />
<pre># /etc/postfix/master.cf:
policy unix - n n - - spawn
user=nobody argv=/usr/libexec/postfix/policyd</pre>
Basta adicionar a seguinte linha no main.cf para que ele já faça a verificação: <br />
<pre># /etc/postfix/main.cf:
smtpd_sender_restrictions = suas_restricoes_vao_aqui,
permit_mynetworks,
check_policy_service unix:private/policy</pre>
Note que é necessário o permit_mynetworks para que o SPF não tente verificar o próprio dominio. Se quiser mover a verificação de SPF pra "frente" das regras, não se esqueca de mover também o permit_mynetworks. <br />
Tente agora enviar um email de algum IP externo com a seguinte sintaxe: <br />
<pre>thefallen@KlingonRealm:~$ telnet mail.seudominio.com.br 25
220 mail.seudominio.com.br SMTP Postfix
MAIL FROM: <seuemail@seudominio.com.br>
250 Ok
RCPT TO: <seuemail@seudominio.com.br>
554 <seuemail@seudominio.com.br>: Sender address rejected: Please see http://spf.pobox.com/why.html?sender=seuemail%40seudominio.com.br&ip=201.x.y.x&receiver=mail.seudominio.com.br
QUIT</seuemail@seudominio.com.br></seuemail@seudominio.com.br></seuemail@seudominio.com.br></pre>
<a href="http://www.blogger.com/blogger.g?blogID=9176599407917790536" name="toc9"></a> <br />
<h1>
<span style="font-size: large;">6. O que fazer quandos as coisas não dao certo</span></h1>
<br />
<ul>
<li>Primeiro, verifique o log de email (normalmente /var/log/maillog). Ele é seu melhor amigo nessa hora :) </li>
<li>Se não houver nenhuma mensagem de erro la, verifique as configurações que vc acabou de fazer, e certifique-se que rodou o comando "postfix reload" ou "postfix stop; postfix start". </li>
<li>Verifique se o SPF foi corretamente instalado com o comando spfquery: <pre>thefallen@Ragnarok:~$ /usr/bin/spfquery -ip 200.200.200.200 -sender fulano@uol.com.br -helo fulano
fail
Please see http://spf.pobox.com/why.html?sender=fulano%40uol.com.br&ip=200.200.200.200&receiver=spfquery
spfquery: domain of uol.com.br does not designate 200.200.200.200 as permitted sender
Received-SPF: fail (spfquery: domain of uol.com.br does not designate 200.200.200.200 as permitted sender) client-ip=200.200.200.200; envelope-from=fulano@uol.com.br; helo=fulano;</pre>
</li>
</ul>
Se todo o resto não deu certo, você pode tentar (na seguinte ordem :D) pesquisar no Google, as listas de discussão do Postfix (<a href="http://www.postfix.org/lists.html">http://www.postfix.org/lists.html</a>) e, em ultimo caso, canais de IRC (os que frequento são #postfix e #postfix-br em irc.freenode.net) <a href="http://www.blogger.com/blogger.g?blogID=9176599407917790536" name="toc10"></a> <br />
<h1>
<span style="font-size: large;">7. Sobre o autor</span></h1>
Deives Michellis "thefallen" é Tecnologo em Processamento de Dados pela FATEC e Gerente de Desenvolvimento de Soluções Linux do Grupo GEO. Também nerd de carteirinha e ativista linux nas horas vagas. <br />
<br />
Ultima Revisão: Tue Jan 18 16:42:51 2005 <br />
<br />
Criado com o <a href="http://www.unitednerds.org/thefallen/docs/txt2tags.sf.net">txt2tags</a><br />
<br />
<div style="text-align: center;">
<small>A menos que especificado de outra maneira, todos os documentos e textos sao protegidos sob licenca BSD - Veja a <a href="http://www.unitednerds.org/thefallen/docs/DOC-LICENSE.txt">licenca</a> para mais detalhes<br />
Leia tambem sobre o <a href="http://www.unitednerds.org/thefallen/docs/licenca-motivo.html">motivo</a> de uso de licencas em documentacao. </small></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-54415698444186169882010-08-26T11:21:00.009-03:002011-11-06T20:49:42.361-02:00Microsoft Windows Media Encoder<b><span class="titprog x18">Ferramentas completas para profissionais que desejam aproveitar a codificação multimídia da Microsoft.</span></b><br />
<br />
<a href="http://www.microsoft.com/windows/windowsmedia/images/subhome/9series/encoder_m.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://www.microsoft.com/windows/windowsmedia/images/subhome/9series/encoder_m.gif" /></a>Windows Media Encoder é um pacote de ferramentas completo para profissionais e usuários avançados que desejam aproveitar o que a tecnologia Microsoft tem de melhor a oferecer nos quesitos codificação de áudio e vídeo.<br />
<br />
Ele é composto por uma série de recursos integrados que trazem soluções imprescindíveis para qualquer empresa que precisa veicular conteúdo audiovisual com qualidade e praticidade, através de uma interface completa e cheia de configurações, mas que, nem por isso, deixa de ser fácil e acessível.<br />
<br />
Suas ferramentas permitem o controle total à exibição de conteúdo digital, com direito a recursos de segurança, automatização no processo de codificação e à adição de quatro utilitários novos para você aproveitar<br />
<br />
Assim, através de diferenciais interessantes como suporte a áudio multicanal, vídeo de alta definição e possibilidade de atuação com o modo misto de voz e música, você pode aproveitar funções exclusivas e atingir resultados muito mais satisfatórios ao executar as ações listadas logo abaixo.<br />
<br />
<br />
<b>Possibilidades com o Windows Media Encoder</b><br />
<ul>
<li>Capturar um evento ao vivo para exibição local.</li>
<li>Capturar áudio e vídeo para depois exibir por streaming, utilizando variadas taxas de bits.</li>
<li>Converter todo o conteúdo original de gravações para o Windows Media Format, com a possibilidade de retornar a sua forma inicial de 24 quadros por segundo com a mesma facilidade.</li>
<li>Exibir vídeos locais pelo Windows Media Server.</li>
</ul>
<br />
<br />
Disponível para baixar na área de <a href="http://www.it.etc.br/p/downloads.html">downloads</a><br />
<br />
From: <a href="http://www.microsoft.com/windows/windowsmedia/pt/9series/encoder/default.aspx">Microsoft</a> / <a href="http://www.baixaki.com.br/download/windows-media-encoder.htm">Baixaki</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-57490415426474997912010-07-27T11:13:00.009-03:002011-11-06T20:48:21.332-02:00WinToFlash - Finalmente uma forma descomplicada de fazer um Pen Drive de instalação do Windows<div style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px;">
Quem se lembra dos antigos drives de disquete? Atualmente, eles estão ultrapassados, mas já foram largamente utilizados como fonte de armazenamento e boot para o Windows. Antevendo que o mesmo venha a acontecer com leitores de CDs/DVDs dos computadores em um futuro não muito distante, o WinToFlash é um programa cuja função é copiar para um dispositivo USB o conteúdo da instalação de uma mídia do Windows.</div>
<div style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px;">
<strong style="color: #0066cc; font-size: 14px;">Como o programa funciona</strong></div>
<div style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px;">
Para utilizar o programa, você precisa de um CD do Windows e um pendrive. <span style="color: red;">ATENÇÃO</span>: o conteúdo do pendrive será formatado, o que implica na perda de tudo que estiver armazenado nele. Caso você não queira que isto venha a acontecer, insira um pendrive que não esteja utilizando e com o conteúdo em branco ou que possa ser apagado.</div>
<div style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px;">
O Funcionamento do programa é bem simples, uma vez iniciado, ele executa um assistente e tudo que você precisa fazer é inserir no campo “Windows files path” o caminho da unidade do CD do Windows (letra do drive) e em “USB drive” o local do dispositivo USB. Feito isto, ele exibirá o contrato de licença do Windows e é necessário aceitá-lo (após a leitura adequada) para continuar o processo.</div>
<div style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; text-align: center;">
<img alt="Especificando o CD e local no qual será armazenado" border="0" src="http://www.baixaki.com.br/imagens/61667/64622.jpg" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" title="Especificando o CD e local no qual será armazenado" /></div>
<div style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px;">
Na próxima etapa, o programa informa que os dados de seu pendrive serão apagados e é necessário clicar em “Ok”, para dar sequência ao processo. Feito isto, ele iniciará automaticamente o processo de cópia dos dados para boot e uma barra de progresso informa em tempo real o andamento da operação.</div>
<div style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px;">
O programa informa o final da operação e em seguida exibe uma mensagem explicando que o processo foi finalizado e lembrando que computadores mais antigos não aceitam boot por meio de cartões de memória USB.</div>
<div style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px;">
Certamente, este valor deve variar conforme a versão do Windows que for utilizada, mas no caso do Windows XP, os arquivos de boot ocuparam aproximadamente 488 MB, o que indica que mesmo um pendrive com quantidade menor de espaço pode ser utilizado, uma vez que a partir disto será destinado apenas para esta finalidade.</div>
<div style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; text-align: center;">
<img alt="Processo em andamento" border="0" src="http://www.baixaki.com.br/imagens/61667/36837.jpg" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" title="Processo em andamento" /><br />
<br />
<span class="Apple-style-span" style="color: #551a8b;"><u><span class="Apple-style-span" style="color: #333333;"><br />
</span></u></span><br />
<a href="http://www.it.etc.br/p/downloads.html"><span class="Apple-style-span" style="font-size: medium;">Disponível para baixar na área de downloads (freeware)</span></a></div>
<br />
<i><span class="Apple-style-span" style="color: #999999;"><a href="http://www.baixaki.com.br/download/wintoflash.htm"><span class="Apple-style-span" style="font-size: small;">From: BaixaKi 20/07/2010</span></a></span></i>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-17993334125769773852010-07-22T22:57:00.000-03:002011-11-06T20:47:16.803-02:00Carreira: Vale a pena virar PJ em TI?<div style="color: #444748; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 12px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 5px;">
Apresentar-se ao mercado como pessoa jurídica, abrindo mão de uma série de dispositivos da CLT, é uma providência ao alcance de muitos profissionais de tecnologia, e desejada (ou mesmo exigida) por muitos contratantes. Para mim não é uma opção, mas há quem goste e prefira, pelas mais variadas razões.</div>
<div style="color: #444748; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 12px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 5px;">
A pergunta do título vem da Info, que responde em um longo artigo de 4 páginas, cuja introdução (e link para a versão integral) reproduzo abaixo:</div>
<div style="color: #444748; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 12px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 5px;">
"O PJ ganha mais, paga menos imposto, mas não recebe os benefícios de quem trabalha como CLT, tais como: FGTS, férias, 13º, entre outros.</div>
<div style="color: #444748; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 12px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 5px;">
Mesmo assim, muita gente topa o desafio. Tudo em nome da liberdade de poder fazer o seu horário e sair da rotina de funcionário com carteira assinada. Em regra, a maioria muda para PJ por se cansar da vida de empregado CLT.</div>
<div style="color: #444748; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 12px; line-height: 16px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 5px; padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 5px;">
Mas, afinal, será que os profissionais estão preparados para essa mudança?" (<i style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">via <a href="http://info.abril.com.br/noticias/carreira/vale-a-pena-virar-pj-em-ti-29062010-4.shl" style="color: #5c82ef; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;">info.abril.com.br</a></i>)</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-605217980493738812010-07-22T08:30:00.000-03:002011-11-06T20:46:41.393-02:00HDbaseT: o fim do HDMI!<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCnIoH1CacZAPQN9y0Wot3O2COLtPQbvQ8tI1cQrR6mBarCQiGJ2zv0GfM_n5KtJdVcOmx3MdWYO4j_i57FOd1360rT1Yjvw_HTKdkkh-izGyGKEljPi4vIsh8fvOwMkRaGqtfLKcmBkg/s1600/hdbaset1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCnIoH1CacZAPQN9y0Wot3O2COLtPQbvQ8tI1cQrR6mBarCQiGJ2zv0GfM_n5KtJdVcOmx3MdWYO4j_i57FOd1360rT1Yjvw_HTKdkkh-izGyGKEljPi4vIsh8fvOwMkRaGqtfLKcmBkg/s320/hdbaset1.jpg" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Um grupo de fabricantes de produtos eletrônicos se reuniram e finalizaram as especificações de um novo padrão de cabo A/V. Ele se chama HDBaseT e é baseado no padrão Cat5e/Cat6 - semelhante aos cabos Ethernet, o que significa que poderemos pagar menos pelos nossos cabos do home theater.</div>
<div class="separator" style="clear: both; text-align: left;">
Você já conectou um cabo de rede no seu PC? Então imagine se fosse possível usar o mesmo tipo de cabo para transmitir imagem e vídeo para a sua TV. O propósito do HDbaseT e o funcionamento é exatamente esse. O usuário não precisa investir em um novo cabo, aliás, pode economizar e comprar um cabo de até cem metros para assistir aos vídeos favoritos.</div>
<div class="separator" style="clear: both; text-align: left;">
Com o apoio e a ajuda tecnológica da Samsung, LG e Sony, a Valens Semiconductor (empresa responsável pelo padrão) está dando os primeiros passos na criação e implementação desta nova tecnologia. Possivelmente os produtos atuais com conexão para rede não vão ser compatíveis com o HDbaseT, isso porque quaisquer aparelhos já existentes usam a porta LAN para conectar-se a uma rede.</div>
<div class="separator" style="clear: both; text-align: left;">
Na realidade em alguns aspectos ele até empata com o HDMI, mas levando em consideração todos os benefícios do novo padrão, não há como duvidar da possível dominação no mercado dos eletrônicos.</div>
<div class="separator" style="clear: both; text-align: left;">
Espera-se que o padrão seja adotado já em 2011.</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-48700447893701020442010-04-30T19:19:00.000-03:002011-11-06T20:45:31.317-02:00A Terra vista de outro planeta<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"></span><br />
<a href="http://gizmodo.com.br/sites/all/files/2010/04/28/4542423536_8776633040_o.jpg" style="color: #2244bb;" target="_blank"><img alt="" height="565" src="http://gizmodo.com.br/sites/all/files/2010/04/28/4542423536_8776633040_o.jpg" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;" width="630" /></a><br />
Eu só consigo imaginar o sentimento de estar em Marte e ter essa visão do lar... A atmosfera de CO2 e a seta “Você está aqui” arruinando o que poderia ser um belo local para casais.<br />
Aparentemente essa imagem divulgada pela Nasa é a primeira da Terra de uma superfície de outro planeta.<br />
<br />
<a href="http://www.gizmodo.com.br/conteudo/terra-vista-de-outro-planeta"><i><span class="Apple-style-span" style="color: #cccccc;">Via Gizmodo</span></i></a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-2025850792691050742010-04-28T07:52:00.005-03:002011-11-06T20:45:00.713-02:00Windows7 Touch Pack: de graça!<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"></span><br />
Na semana passada, a Microsoft disponibilizou, gratuitamente, o pacote “Microsoft Touch Pack for Windows 7”. Como pouca gente tem monitores ou notebooks com capacidades “multitouch”, a notícia “passou despercebida”.<br />
<img alt="ms surface" border="0" height="204" src="http://meiobit.com/wp-content/uploads/mssurface_thumb.png" style="border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="ms surface" width="324" /><br />
Para quem possui o tal hardware, o pacote traz seis programas imperdíveis:<br />
<ul>
<li><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Blackboard: um jogo ao estilo “Crayons and Physics” ;</div>
</li>
<li><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Garden Pund: jogo onde se deve mover barquinhos de papel “tocando” a água do lago.</div>
</li>
<li><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Rebound: outro jogo, com esferas eletrizadas controladas com dois dedos (simultaneamente) ;</div>
</li>
<li><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Surface Globe: talvez seja a aplicação mais interessante do pacote. O “BingMaps” usando “multitouch” para zoom, movimentação do mapa…</div>
</li>
<li><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Surface Collage: a principal “arma de marketing” do MS Surface. É aquela aplicação onde os usuários brincam com as fotos, arrastando, aproximando ou movendo, com os dedos sobre a tela.</div>
</li>
<li><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
Surface Lagoon: “screen Saver” interativo, com peixes nadando em um lago.</div>
</li>
</ul>
O pacote tem respeitáveis 290 MB, mas o efeito “Uau!” vale cada byte. <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b152fadd-82e4-4ddb-a46a-aebe49944428&displaylang=en" style="color: #2244bb;" target="_blank">Pode ser baixado aqui</a> com validação da originalidade da cópia do Sistema Operacional.<br />
Há também o pacote “<a href="http://www.microsoft.com/windowsxp/downloads/powertoys/tabletpc.mspx" style="color: #2244bb;" target="_blank">Power Toys</a>” para o Windows XP Tablet Edition mas que funciona perfeitamente no Windows 7.<br />
<i><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="color: #999999;"><br />
</span></span></i><br />
<i><a href="http://meiobit.com/65237/windows7-touch-pack-de-graca/"><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="color: #999999;">Via Meio Bit</span></span></a></i>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-33707317019644258542010-04-25T10:51:00.000-03:002011-11-06T20:44:18.598-02:00Backup com utilitário Robocopy<span class="Apple-style-span" style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif; font-size: 12px;"></span><br />
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
O robocopy.exe faz parte do <a href="http://www.microsoft.com/downloads/details.aspx?familyid=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en" style="border-bottom-color: silver; border-bottom-style: dotted; border-bottom-width: 1px; color: #515151; text-decoration: none;" target="_blank">resource kit</a> , um conjunto de ferramentas úteis para administradores de rede com servidores microsoft. A versão mais recente do robocopy é o XP010 com apenas 78kb e tem algumas opções a mais em relação a versões anteriores. Todos os novos recursos estão descritos nesse arquivo <a href="http://vini.homeip.net:81/wordpress/wp-content/uploads/2008/07/robocopy.doc" style="border-bottom-color: silver; border-bottom-style: dotted; border-bottom-width: 1px; color: #515151; text-decoration: none;" target="_blank">robocopy.doc</a> assim como um manual completo de comandos.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
Nesse post eu vou descrever alguns parametros básicos do robocopy com base no meu uso pessoal.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
No meu caso possuo uma máquina com Windows Server 2003 usada como servidor de arquivos entre outras funções, e um notebook onde também armazeno dados pessoais.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
Utilizo no note uma estrutura de árvore idêntica àquela existente no servidor 2003, e necessito que seja feito um espelhamento desses diretórios no servidor, que posteriormente envia os dados para um HD externo através de um job configurado no arcserve.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
Estou usando no robocopy a seguinte sintaxe:</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: left;">
<strong>c:\robocopy.exe d:\Documents \\server\compartilhamento\Documents</strong></div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; text-align: left;">
<strong>/E /V /ETA /PURGE /NDL /NFL /LOG+:d:\robocopy.log</strong></div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
O comando acima executa o robocopy.exe que está na unidade c:, e copia todo o diretório d:\Documents para um compartilhamento com o mesmo nome no servidor.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
Segue a descrição dos parametros acima e mais alguns:</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/E -> copia diretórios e subdiretórios, inclusive os vazios</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/PURGE -> remove no diretório de destino aqueles arquivos que não existem no diretório de origem</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/MIR -> esse parâmetro tem o mesmo efeito do /E e /PURGE, ele faz com que o diretório de destino seja um espelhamento do diretório de origem, mesmo que para isso seja necessário remover arquivos no diretório de destino.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/LOG:arquivo -> faz com que seja gerado um arquivo de log com a saída do comando</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/LOG+:arquivo -> a mesma coisa do parâmetro anterior, porém ao invés de sobescrever o arquivo, ele adiciona o conteúdo ao arquivo existente</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/MOV -> Deleta arquivos da origem após a cópia</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/ETA -> Exibe o tempo estimado que a cópia dos dados levará</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/NDL -> nao loga diretorios na saída</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/NFL -> nao loga arquivos na saída</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/MAX:n :: -> tamanho máximo do arquivo para cópia.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/MIN:n :: -> tamanho mínimo do arquivo para cópia.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/MAXAGE:n :: -> não copia arquivos mais antigos que um número especificado de dias.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/MINAGE:n :: -> não copia arquivos que não tenham uma idade mínima de dias.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/SEC -> copia arquivos com security attributes</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/Z -> reinicia a cópia de onde parou em caso de falha</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/B -> copia em modo backup</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
/ZB -> Tenta copiar os arquivos em modo reiniciavel, e caso falha copia em modo backup</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
obs.: essas ultimas 3 opções diminuem o desempenho da cópia</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
No meu caso os parâmetros utilizados foram a melhor forma que eu encontrei de manter os dados do meu note sempre sincronizados com o servidor de arquivos, de uma maneira rápida e segura. Gerei um arquivo bat com o comando a ser executado e adicionei no tarefas agendadas para ser rodado uma vez por semana.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
Na primeira execução demorou bastante, mas depois disso é bem rápido, pois da segunda execução em diante apenas adiciona no destino os novos arquivos e as alterações feitas nos arquivos de origem.</div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
Pra baixar o resource kit inteiro <a href="http://www.microsoft.com/downloads/details.aspx?familyid=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en" style="border-bottom-color: silver; border-bottom-style: dotted; border-bottom-width: 1px; color: #515151; text-decoration: none;" target="_blank">clique aqui</a> pra baixar apenas o <a href="http://vini.homeip.net:81/wordpress/wp-content/uploads/2008/07/robocopy.exe" style="border-bottom-color: rgb(255, 60, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #515151; text-decoration: none;" target="_blank">robocopy.exe clique aqui</a></div>
<div style="margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em;">
<a href="http://vini.homeip.net:81/index.php/2008/07/23/backup-com-utilitario-robocopyexe/"><i><span class="Apple-style-span" style="color: #999999;">Via Larocca</span></i></a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-74777852693921575462010-04-24T11:11:00.001-03:002011-11-06T20:43:37.018-02:00Definindo uma interface de rede específica no Windows XP para acesso RDP<span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px;"><b style="-webkit-box-sizing: border-box;">importante: </b>Esta seção, método ou tarefa contém etapas que informam sobre como modificar o registro. No entanto, sérios problemas poderão ocorrer se você modificar o registro incorretamente. Por isso, certifique-se que você execute essas etapas cuidadosamente. Para proteção adicional, fazer backup do registro antes de modificá-lo. Em seguida, você pode restaurar o registro se ocorrer um problema. Para obter mais informações sobre como fazer backup e restaurar o registro, clique no número abaixo para ler o artigo na Base de dados de Conhecimento da Microsoft: <span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; line-height: normal;"><a class="KBlink" href="http://support.microsoft.com/kb/322756/" style="-webkit-box-sizing: border-box; color: #07679a; text-decoration: none;">322756</a> Como fazer backup e restaurar o registro no Windows</span></span><br />
<span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px;"><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; line-height: normal;"><br />
</span></span><br />
Para editar o registro e adicionar entradas de registro para ativar a escutar solicitações RDP manualmente, execute estas etapas:<br />
<ol style="-webkit-box-sizing: border-box; position: relative;">
<li style="-webkit-box-sizing: border-box; position: relative;">Clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">Iniciar </strong>, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">Executar </strong>, digite <span class="userInput" style="box-sizing: border-box; font-weight: bold; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;">regedit </span>e, em seguida, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">OK </strong>.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Localize e, em seguida, clique na seguinte subchave do Registro:<br />
<div class="indent" style="-webkit-box-sizing: border-box; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;">
<strong class="uiterm" style="-webkit-box-sizing: border-box;">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces</strong></div>
</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Clique o GUID do adaptador de rede que você quer RDP para escutar com o botão direito do mouse e clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">Copiar nome da chave </strong>.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Localize e, em seguida, clique na seguinte subchave do Registro:<br />
<div class="indent" style="-webkit-box-sizing: border-box; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;">
<strong class="uiterm" style="-webkit-box-sizing: border-box;">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server</strong></div>
</li>
<li style="-webkit-box-sizing: border-box; position: relative;">No menu <strong class="uiterm" style="-webkit-box-sizing: border-box;">Editar </strong>, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">novo </strong>e, em seguida, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">chave </strong>.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Digite <span class="userInput" style="box-sizing: border-box; font-weight: bold; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;">lanatable </span>e, em seguida, pressione ENTER.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Clique com o botão direito do mouse <strong class="uiterm" style="-webkit-box-sizing: border-box;">lanatable </strong>subchave, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">novo </strong>e, em seguida, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">chave </strong>.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Cole o nome da GUID que você copiou na etapa 3. Exclua as informações de caminho que está em texto colado.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Clique com o botão direito essa nova chave, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">novo </strong>e, em seguida, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">Valor DWORD </strong>.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Digite <span class="userInput" style="box-sizing: border-box; font-weight: bold; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;">LanaId </span>e, em seguida, pressione ENTER.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Clique duas vezes em <strong class="uiterm" style="-webkit-box-sizing: border-box;">LanaId </strong>, digite <span class="userInput" style="box-sizing: border-box; font-weight: bold; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px;">1 </span>e, em seguida, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">OK </strong>.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Localize e, em seguida, clique na seguinte subchave do Registro:<br />
<div class="indent" style="-webkit-box-sizing: border-box; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; padding-top: 0px;">
<strong class="uiterm" style="-webkit-box-sizing: border-box;">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Winstation\RDP-Tcp</strong></div>
</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Clique duas vezes em <strong class="uiterm" style="-webkit-box-sizing: border-box;">adaptador de rede local </strong>, altere o valor para 1 e, em seguida, clique em <strong class="uiterm" style="-webkit-box-sizing: border-box;">OK </strong>.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Feche o Editor do Registro.</li>
<li style="-webkit-box-sizing: border-box; position: relative;">Reinicie o computador.</li>
</ol>
<a href="http://support.microsoft.com/kb/924927"><span class="Apple-style-span" style="color: #999999;"><i><span class="Apple-style-span" style="font-size: small;">Fonte: Microsoft</span></i></span></a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-66822042916728850632010-04-20T09:42:00.003-03:002011-11-06T20:42:45.549-02:00Cinco vantagens para a virtualização de dados<span class="Apple-style-span" style="font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px;"></span><br />
<br />
<img alt="5 vantagens para a virtualização de dados" src="http://info.abril.com.br/aberto/infonews/fotos/Servidores-20100416163538.jpg" style="max-width: 550px;" title="5 vantagens para a virtualização de dados" /><br />
<br />
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;">A virtualização não é um processo novo, mas muitas empresas só começaram a testar o processo agora. Mais quais são as suas vantagens?<br />
<br />
Guilherme Araújo, diretor comercial da Online Brasil, sugere cinco pontos, que ele considera como os principais do processo.<br />
<br />
“Nos últimos anos, a virtualização de servidores ganhou popularidade. Hoje, entretanto, também a virtualização de desktops e bancos de dados provam ser boas opções para muitas empresas”, diz Guilherme Araújo, diretor comercial da Online Brasil, que atua há 17 anos na indústria de TI.<br />
</span><br />
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;"> Segundo o especialista, o modelo será utilizado para criar ambientes mais racionais, gerar economia de espaço e recursos. Confira as cinco vantagens da virtualização, segundo Guilherme Araújo:<br />
<strong> </strong><br />
<strong>1- Racionalização da manutenção:</strong> reduzindo o número de servidores físicos é possível cortar gastos de manutenção do hardware de forma relevante;<br />
<br />
<strong>2- Melhor uso de recursos:</strong> Todo crescimento implica em aumento de gastos. Mas quem consegue fazer mais com menos certamente economiza energia elétrica, espaço, refrigeração e administração;<br />
<br />
<strong>3- Autonomia de aplicativos:</strong> quando cada aplicativo está inserido em seu próprio servidor virtual é possível evitar que upgrades e mudanças gerem impacto em toda rede e venham a comprometer a rotina de trabalho;<br />
<br />
<strong>4- Ganho de eficiência:</strong> a virtualização permite apresentar produtos, serviços e projetos ao mercado com maior agilidade, já que é possível acessar desktops remotamente e com segurança;<br />
<br />
<strong>5- Conformidade ideal: </strong>várias tecnologias de sistemas operacionais podem coexistir em uma única plataforma. Ou seja, é possível haver sistemas Windows e Linux coabitando o mesmo espaço, o que é uma grande vantagem para as empresas que vêm renovando sua infraestrutura de TI ao longo dos anos.<br />
<br />
<i><a href="http://info.abril.com.br/noticias/ti/5-vantagens-para-a-virtualizacao-de-dados-16042010-37.shl"><span class="Apple-style-span" style="color: #999999;"><span class="Apple-style-span" style="font-size: small;">Via Info Online - 16 / Abr / 2010</span></span></a></i></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-10878845857649582752010-04-19T10:42:00.001-03:002011-11-06T20:42:16.454-02:00Taxímetro de IT<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"></span><br />
Tempo é dinheiro, correto? Então, este relógio exclusivo irá mostrar o custo total de todo o tempo a cada segundo que passa! Vendido por <a href="http://www.bringtim.com/" style="color: #2244bb;" target="_blank">$24.99</a> (Obamas).<br />
<br />
<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"><img alt="" height="321" src="http://www.coolest-gadgets.com/wp-content/uploads/bringtim.jpg" title="bringtim" width="450" /></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-84719790888376176572010-04-17T12:20:00.008-03:002011-11-06T20:40:31.650-02:00Trinta razões para utilizar o VirtualBox em seu desktop, notebook ou servidor de desenvolvimento como virtualizador<div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3SYo6LZcb3sPaLh9_ZW7Y4MAMTqybTgaxkBcZ8IZBnef3p0B0oj3eoNlKIlft-n4bRzCs5yGEYo1lMePaqPx76S82_TNojjUnmpJ_qbvt5yWYv4aBUEnzWbPYUBhyphenhyphenb_GWHknN5QxE09Q/s1600/VirtualBox256.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="[VirtualBox256.png]" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3SYo6LZcb3sPaLh9_ZW7Y4MAMTqybTgaxkBcZ8IZBnef3p0B0oj3eoNlKIlft-n4bRzCs5yGEYo1lMePaqPx76S82_TNojjUnmpJ_qbvt5yWYv4aBUEnzWbPYUBhyphenhyphenb_GWHknN5QxE09Q/s1600/VirtualBox256.png" /></a> Bom, que o VMware ESXi e o Xen Hypervisor, são hoje uma das melhores soluções de virtualização existentes para servidores, nisto não há discussão. Porém, quando a questão é instalar em seu desktop, notebook ou mesmo em um pequeno servidor de desenvolvimento, surge a dúvida sobre a escolha de um virtualizador, que ao mesmo tempo não mate a maquina host, tenha uma boa performance nos guests em execução, não seja pobre em recursos, e ao mesmo tempo tenha uma certa portabilidade, estabilidade e seja preferencialmente freeware e / ou open source.<br />
<br />
A principio parece que o VMware server é a escolha mais obvia, afinal ele não tem as mesmas exigências de hardware do ESXi e Xen, possui excelente desempenho nas maquinas virtuais, roda nas plataformas Windows e Linux, possui os principais recursos necessários em softwares do tipo, e possui uma facilidade nata de se exportar as maquinas virtuais para o ESXi caso se deseje coloca-las em produção no futuro, não possui seu código aberto, mas ainda assim é gratuito.<br />
<br />
Porem nem tudo é perfeito, infelizmente devido aos serviços de VMnetworking, acabam deixando a maquina host extremamente lenta, em especial no boot da mesma, o que é muito desagradável principalmente quando se trata de um notebook. O problema se torna mais incomodo ainda, quando o recurso de virtualização é pouco utilizado, e o usuário acaba com o ônus de ter um serviço pesado rodando na maquina o tempo todo. Mesmo o VMware Workstation sofre com esta deficiência, embora seja um pouco mais leve que o Server por não possuir o serviço de gerenciamento a partir da rede, porem possui a desvantagem de ser um software pago.<br />
<br />
O VMware Player é bem mais leve que seus dois irmãos maiores e possui também excelente performance nos guests, porém devido aos cortes de funcionalidades impostos pela VMware, o tornaram extremamente pobre de recursos, sendo necessário importar maquinas virtuais do VM Server / Workstation, ou utilizar utilitários de terceiros. Tudo isso acabou por tornar seu uso muito pouco prático, a menos que se deseje utilizar sempre uma unica maquina virtual, sem a necessidade de futuras alterações.<br />
<br />
Também chama atenção o VirtualPC, fornecido gratuitamente pela Microsoft. Inicialmente o VirtualPC da a impressão de ser mais leve que os demais softwares do tipo, porém logo se nota que isto se traduz em direta baixa performance na execução dos guests. Em todos os cenários testados o VirtualPC apresentou o pior desempenho, ficando atraz, dos VMwares e do VirtualBox. O unico caso em que se sai melhor é quando comparado diretamente com o QEMU, mais neste caso a comparação não é justa, já que este como o próprio nome diz é um emulador não um virtualizador, sendo seu principal objetivo executar binários de PC em outras plataformas (da pra rodar Windows XP em um PlayStation com o QEMU, por exemplo).<br />
<br />
Se já não bastasse o problema do baixo desempenho, o VirtualPC ainda sofre de graves deficiências. Como já era de ser esperar ele não suporta maquinas hosts de outras plataformas que não sejam Windows ou Mac. Além disso o suporte a maquinas guests Linux é muito pobre, suportando apenas algumas distribuições comerciais (OpenSUSE e RedHat). Devido a todos estes problemas é um dos softwares do tipo que estão no final da minha lista, utilizaria só por falta de opção e apenas para executar Windows e nada mais. Vale lembrar também que a integração (importação / exportação) como outros softwares de virtualização que não seja o Microsoft Hyper-V, não é trivial.<br />
<br />
Por ultimo, vou citar o VirtualBox, também fornecido gratuitamente pela Sun. No passado, durante as versões 1.x até 2.x, tive diversos problemas com o VirtualBox, que iam desde erros na instalação a falhas de estabilidade, que me levaram na época a optar pelo VMserver sem pestanejar. Felizmente porem, a partir da versão 3 o produto amadureceu muito, se tornando uma das melhores alternativas existentes hoje. Diversas foram as razões que me levaram a utiliza-lo desde então tanto em meu PC como em meu note, bem como recomenda-lo a clientes como alternativa ao VMserver para desenvolvimento.<br />
<br />
Embora o VMware Server ainda seja mais robusto, o VirtualBox cresceu muito em termos desempenho, estabilidade e riqueza de recursos. Possui funcionalidades muito interessantes como o modo SeamLess, o melhor suporte multi plataforma entre os produtos do gênero, uma facilidade enorme de se converter os discos virtuais para outros softwares de virtualização e o principal: Uma CLI muito poderosa, que permite acesso, customização e scripts a todos os recursos disponiveis no sistema. Em fim, foram tantas os recursos que chamaram a atenção, que achei mais simples enumera-los em um lista, ao invés de continuar descrevendo-os.<br />
<br />
<b>Trinta razões para utilizar o VirtualBox em seu desktop, notebook ou servidor de desenvolvimento como virtualizador:</b><br />
<br />
1 - Baixa utilização recursos maquina host e Excelente relação de desempenho nas maquinas guests<br />
2 - Suporte aceleração de video OpenGL e Direct 3D nas maquinas guests<br />
3 - Maior suporte multi plataforma existente para maquinas hosts (Windows, Linux, Mac, Solaris, BSD, etc)<br />
4 - Maior suporte multi plataforma existente maquinas guests (Windows, Linux, Solaris, BSD, DOS, OS/2, Netware, etc)<br />
5 - Pacote de software / drivers para otimização desempenho e funcionalidade na maquina host para diversos sistemas operacionais<br />
6 - OpenSource / Disponível com licença GNU/GPL (facilita portabilidades futuras)<br />
7 - Instalação e atualização direta via apt-get em hosts Linux<br />
8 - Converte / importa / exporta maquinas virtuais com os principais softwares de virtualização (VMware / VirtualPC / QEMU / RAW / etc)<br />
9 - Importa / Exporta Virtual Appliances<br />
10 - Importa facilmente maquinas físicas através de utilitários raw, sem a necessidade de pré-instalação de softwares ou drivers<br />
11 - Totalmente gerenciável através de linha de comando, não sendo sequer necessário estar com o ambiente gráfico instalado para instala-lo na maquina ou utiliza-lo como servidor<br />
12 - Servidor RDP, permite total acesso as maquinas guests via RDP, sem a necessidade de instalar qualquer software client, bastando ter apenas o Remote Desktop, independente da plataforma de ambos (Suporte inclusive a DOS via RDP, Gnome, etc)<br />
13 - Modo SeamLess, permite exportar para a maquina host, apenas a tela da aplicação que está em execução<br />
14 - Modo HeadLess, permite iniciar / finalizar as maquinas virtuais através de scripts ou serviço do Windows, sem a necessidade de exportar a console local / RDP ou ter intervenção humana / usuário<br />
15 - Modo GUI, possui interface gráfica amigável e de simples utilização com acesso direto aos principais recursos do software<br />
16 - Ajuste dinâmico em tempo real da resolução na máquina guest de acordo com o tamanho da janela ou tela cheia na maquina host<br />
17 - Possui redes virtuais customizáveis (Bridge / NAT / Host / Internal), sem a necessidade de pesados serviços rodando full time na maquina host (como no caso do VMware Server)<br />
18 - Recurso de Snapshot, permite criar pontos de restauração na maquina virtual (Excelente para Developping)<br />
19 - Suprte a processadores de 32 / 64 Bits<br />
20 - Suporte aos recursos Intel VT-x e AMD-v, sem ter seu uso obrigatório (VirtualPC a partir da versão 7 só roda em CPUs com este suporte)<br />
21 - Shared Folders entre a maquina host e a maquina guest<br />
22 - Habilidade de gravar toda execução da maquina virtual em video mpeg (Excelente para treinamento)<br />
23 - Possui interface gráfica em diversos idiomas, inclusive em português do Brasil<br />
24 - Suporte a interface USB, inclusive via Remote Desktop<br />
25 - Suporte a serial ports, físico ou redirecionado a arquivos<br />
26 - Suporte a discos Sata / iSCSI nos guests<br />
27 - Emulação de AC97 / Soundblaster 16, permite gerar o áudio local no servidor ou remotamente<br />
28 - Acesso as maquinas virtuais a nivel de usuário. Cada usuário gerencia seus guests no servidor, sem interferir com as VMs dos demais<br />
29 - Modulo HTTP opcional, permite gerenciar o VirtualBox a partir da web<br />
30 - Permite habilitar autenticação e criptografia adicional via RDP prevenindo acessos remotos indesejados a sistemas sem autenticação (Ex.: DOS, etc)<br />
<br />
Poderia continuar enumerando mais caracteristicas do software, porem estes foram os principais motivos que me levaram a utiliza-lo como meu atual virtualizador pessoal. Espero que seja útil a ajuda-lo a decidir sobre qual software utilizar na próxima vez que for necessário optar por uma ferramenta de virtualização.</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-9176599407917790536.post-64729017920764439922010-04-10T14:54:00.001-03:002011-11-06T20:39:48.295-02:00Utilizando o GMail como SmartHost de um servidor Postfix<span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; font-size: 12px; line-height: 21px;"></span><br />
<br />
Este método é util quando se possui um servidor SMTP em uma rede privada sem IP externo fixo, e se faz necessária a entrega de e-mails para internet.<br />
<br />
Seguem abaixo as instruções necessárias para configurar o postfix no Ubuntu utilizando o gmail como smarthost:<br />
<br />
<ol style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 35px; padding-right: 0px; padding-top: 0px;">
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Instale o postfix.<br />
<pre>sudo apt-get install postfix</pre>
</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">O deb-installer irá pedir que você responda a uma série de perguntas:<br />
<ol style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 35px; padding-right: 0px; padding-top: 0px;">
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Type of mail server : Satellite System</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Mail Name : exemplo.com.br (o nome que você quer em seu correio de saída)</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">SMTP relay host : smtp.gmail.com</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Postmaster : Deixe em branco</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Other destinations : Deixe em branco</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Synchronous Queues : sua escolha, não terá impacto sobre a entrega</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Network blocks to allow relay : default (a menos que você saiba o que esta fazendo)</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Mailbox size : sua escolha, não terá impacto sobre a entrega</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Local address : deixei isso como ‘+’</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Listen Address : tudo escolha sua</li>
</ol>
</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Estamos quase terminando, mas precisam de alguns ajustes no arquivo de configuração do postfix em /etc/postfix/main.cf. Adicione as seguintes linhas para habilitar TLS e senhas em conexões de saída:<br />
<pre>smtp_use_tls=yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous</pre>
</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Crie o arquivo /etc/postfix/sasl_passwd com uma linha (substituir o usuário e senha com o seu próprio)<br />
<pre>smtp.gmail.com some.user@gmail.com:PASSWORD</pre>
</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Re-faça o hash:<br />
<pre>postmap /etc/postfix/sasl_passwd</pre>
</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Re-inicie o postfix:<br />
<pre>/etc/init.d/postfix/restart</pre>
</li>
<li style="list-style-image: initial; list-style-position: outside; list-style-type: decimal; margin-bottom: 8px; margin-left: 10px; margin-right: 0px; margin-top: 7px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;">Opcionalmente, você pode bloquear seu arquivo de senhas<br />
<pre>chmod 640 /etc/postfix/sasl_passwd*
chown postfix.postfix /etc/postfix/sasl_passwd*</pre>
</li>
</ol>
Esta feito. Aqui está o meu arquivo <a href="http://braiden.org/~braiden/main.cf">main.cf</a> para referência.<br />
<br />
<i><span class="Apple-style-span" style="color: #999999; font-size: x-small;"><a href="http://braiden.org/?p=15">Traduzido de braiden.org</a></span></i>Unknownnoreply@blogger.com0