<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Jhony Maseto</title>
	<atom:link href="http://jhony.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jhony.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Oct 2009 00:09:55 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='jhony.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/f65a68e4035411b3936482cee8ca0d60?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Jhony Maseto</title>
		<link>http://jhony.wordpress.com</link>
	</image>
			<item>
		<title>Fala agora magrão</title>
		<link>http://jhony.wordpress.com/2009/10/29/fala-agora-magrao/</link>
		<comments>http://jhony.wordpress.com/2009/10/29/fala-agora-magrao/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 00:09:55 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=56</guid>
		<description><![CDATA[Fui convidado no mês passado para ministrar algoritmos a uma turma do curso de ciência da computação da Unochapecó no Campi de São Lourenço do Oeste. Confesso que de início fiquei meio aflito, mas encarei, e de fato achei uma experiência muito interessante. Agora estou na expectativa de fechar para o próximo semestre também. Como [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=56&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Fui convidado no mês passado para ministrar algoritmos a uma turma do curso de ciência da computação da Unochapecó no Campi de São Lourenço do Oeste. Confesso que de início fiquei meio aflito, mas encarei, e de fato achei uma experiência muito interessante. Agora estou na expectativa de fechar para o próximo semestre também. Como estou utilizando materiais de outros professores não vou disponibilizar nada por momento.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=56&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/10/29/fala-agora-magrao/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>IV Jornada de Ciência e Tecnologia – JOCETEC e II Jornada de Integração das Semanas Acadêmicas do CETEC,</title>
		<link>http://jhony.wordpress.com/2009/09/17/v-jornada-de-ciencia-e-tecnologia-%e2%80%93-jocetec-e-ii-jornada-de-integracao-das-semanas-academicas-do-cetec/</link>
		<comments>http://jhony.wordpress.com/2009/09/17/v-jornada-de-ciencia-e-tecnologia-%e2%80%93-jocetec-e-ii-jornada-de-integracao-das-semanas-academicas-do-cetec/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 00:23:04 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Redes]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=53</guid>
		<description><![CDATA[Fui convidado a palestrar em conjunto com meu colega de trabalho, na IV Jornada de Ciência e Tecnologia – JOCETEC e II Jornada de Integração das Semanas Acadêmicas do CETEC,  e o tema foi Monitoração de redes com softwares livres, no evento falamos sobre Cacti e Nagios como ferramentas, fizemos uma instalação básica para [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=53&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Fui convidado a palestrar em conjunto com meu colega de trabalho, na IV Jornada de Ciência e Tecnologia – JOCETEC e II Jornada de Integração das Semanas Acadêmicas do CETEC,  e o tema foi <strong>Monitoração de redes com softwares livres</strong>, no evento falamos sobre Cacti e Nagios como ferramentas, fizemos uma instalação básica para demostrar e expomos alguns casos de uso da empresa. Segue o material:</p>
<p><a title="monitoração de redes com sl" href="http://www.unochapeco.edu.br/~jhony/sl.pdf" target="_blank">slides</a></p>
<p><a title="Tutorial passo a passo" href="http://nagios.sourceforge.net/docs/3_0/quickstart.html" target="_self">nagios-passo-a-passo </a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=53&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/09/17/v-jornada-de-ciencia-e-tecnologia-%e2%80%93-jocetec-e-ii-jornada-de-integracao-das-semanas-academicas-do-cetec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Base Ldap + Domínio Samba</title>
		<link>http://jhony.wordpress.com/2009/08/21/base-ldap-dominio-samba/</link>
		<comments>http://jhony.wordpress.com/2009/08/21/base-ldap-dominio-samba/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 20:20:36 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=47</guid>
		<description><![CDATA[Recentemente tivemos que criar um novo servidor de LDAP aqui para a empresa, segue os passos utilizados:

Versões  dos pacotes:

CentOS release 5.2 (Final) 2.6.18-92.el5

Nota: Habilitar o repo centos-plus e atualizar o so.

samba-common-3.0.28-1.el5_2.1

samba-client-3.0.28-1.el5_2.1

samba-3.0.28-1.el5_2.1

 

Para instalar o pacote smbldap-tools-0.9.4-1.el5.rf executar o abaixo:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=47&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom:0;">Recentemente tivemos que criar um novo servidor de LDAP aqui para a empresa, segue os passos utilizados:</p>
<p style="margin-bottom:0;">Versões  dos pacotes:</p>
<p style="margin-bottom:0;">CentOS release 5.2 (Final) 2.6.18-92.el5</p>
<p style="margin-bottom:0;"><span style="color:#ff0000;">Nota: Habilitar o repo centos-plus e atualizar o so.</span></p>
<p style="margin-bottom:0;">samba-common-3.0.28-1.el5_2.1</p>
<p style="margin-bottom:0;">samba-client-3.0.28-1.el5_2.1</p>
<p style="margin-bottom:0;">samba-3.0.28-1.el5_2.1</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Para instalar o pacote smbldap-tools-0.9.4-1.el5.rf executar o abaixo:</p>
<p style="margin-bottom:0;">wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm</p>
<p style="margin-bottom:0;">rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><strong>Criar o usuário ldap antes de instalar os rpms.</strong></p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">nss_ldap-253-12.el5</p>
<p style="margin-bottom:0;">python-ldap-2.2.0-2.1</p>
<p style="margin-bottom:0;">openldap-clients-2.3.27-8.el5_2.4</p>
<p style="margin-bottom:0;">smbldap-tools-0.9.5-1.el5.rf</p>
<p style="margin-bottom:0;">openldap-2.3.27-8.el5_2.4</p>
<p style="margin-bottom:0;">openldap-servers-2.3.27-8.el5_2.4</p>
<p style="margin-bottom:0;">Não instalar -&gt; cyrus-sasl-ldap-2.1.22-4</p>
<p style="margin-bottom:0;">php-ldap-5.1.6-20.el5_2.1</p>
<p style="margin-bottom:0;">openldap-devel-2.3.27-8.el5_2.4</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">php</p>
<p style="margin-bottom:0;">apache</p>
<p style="margin-bottom:0;">phpldapadmin-1.1.0.6.tar.gz</p>
<p style="margin-bottom:0;">##################</p>
<p style="margin-bottom:0;">
<ol>
<p style="margin-bottom:0;">
</ol>
<p style="margin-bottom:0;">Editar o arquivo /etc/ldap.conf:</p>
<p style="margin-bottom:0;">host 127.0.0.1</p>
<p style="margin-bottom:0;">base o=empresa</p>
<p style="margin-bottom:0;">ssl no</p>
<p style="margin-bottom:0;">tls_cacertdir /etc/openldap/cacerts</p>
<p style="margin-bottom:0;">pam_password md5</p>
<p style="margin-bottom:0;">##################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Criar arquivo /etc/ldap.secret com mode 600 com a senha do manager do ldap.</p>
<p style="margin-bottom:0;">#################</p>
<p style="margin-bottom:0;">Editar o arquivo /etc/samba/smb.conf:</p>
<p style="margin-bottom:0;">
<p style="margin-left:.26in;margin-bottom:0;">workgroup = [nome do domínio]</p>
<p style="margin-left:.26in;margin-bottom:0;">server string = Samba Server</p>
<p style="margin-left:.26in;margin-bottom:0;">
<p style="margin-left:.26in;margin-bottom:0;">netbios name = MYSERVER</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Comentar a linha:</p>
<p style="margin-bottom:0;">;       passdb backend = tdbsam</p>
<p style="margin-bottom:0;">Descomentar as linhas:</p>
<p style="margin-bottom:0;">domain master = yes</p>
<p style="margin-bottom:0;">domain logons = yes</p>
<p style="margin-bottom:0;">preferred master = yes</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">add user script = /usr/sbin/useradd &#8220;%u&#8221; -n -g users</p>
<p style="margin-bottom:0;">add group script = /usr/sbin/groupadd &#8220;%g&#8221;</p>
<p style="margin-bottom:0;">add machine script = /usr/sbin/useradd -n -c &#8220;Workstation (%u)&#8221; -M -d /nohome -s /bin/false &#8220;%u&#8221;</p>
<p style="margin-bottom:0;">delete user script = /usr/sbin/userdel &#8220;%u&#8221;</p>
<p style="margin-bottom:0;">delete user from group script = /usr/sbin/userdel &#8220;%u&#8221; &#8220;%g&#8221;</p>
<p style="margin-bottom:0;">delete group script = /usr/sbin/groupdel &#8220;%g&#8221;</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">passdb backend = ldapsam:ldap://127.0.0.1</p>
<p style="margin-bottom:0;">ldap admin dn = &#8220;cn=manager, o=empresa&#8221;</p>
<p style="margin-bottom:0;">ldap group suffix = ou=Group</p>
<p style="margin-bottom:0;">ldap user suffix = ou=People</p>
<p style="margin-bottom:0;">ldap machine suffix = ou=Hosts</p>
<p style="margin-bottom:0;">ldap suffix = o=empresa</p>
<p style="margin-bottom:0;">ldap ssl= off</p>
<p style="margin-bottom:0;">idmap uid = 16777216-33554431</p>
<p style="margin-bottom:0;">idmap gid = 16777216-33554431</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">wins support = yes</p>
<p style="margin-bottom:0;">################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Executar o comando smbpasswd -w senha do manager do ldap</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Editar o arquivo /etc/smbldap-tools/smbldap_bind.conf:</p>
<p style="margin-bottom:0;">slaveDN=&#8221;cn=manager,o=empresa&#8221;</p>
<p style="margin-bottom:0;">slavePw=&#8221;senhadomanager&#8221;</p>
<p style="margin-bottom:0;">masterDN=&#8221;cn=manager,o=empresa&#8221;</p>
<p style="margin-bottom:0;">masterPw=&#8221;senhadomanager&#8221;</p>
<p style="margin-bottom:0;">###################</p>
<p style="margin-bottom:0;">Executar os comandos:</p>
<p style="margin-bottom:0;">cp 	/etc/openldap/DB_CONFIG.example /var/lib/ldap/DB_CONFIG</p>
<p style="margin-bottom:0;">chown ldap. 	/var/lib/ldap/DB_CONFIG</p>
<p style="margin-bottom:0;">cp /usr/share/doc/samba-3.0.28/LDAP/samba.schema /etc/openldap/schema/</p>
<p style="margin-bottom:0;">###################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Editar o arquivo /etc/openldap/slapd.conf:</p>
<p style="margin-bottom:0;">Incluir os schemas adicionais necessários:</p>
<p style="margin-bottom:0;">include         /etc/openldap/schema/samba.schema</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">suffix          &#8220;o=empresa”</p>
<p style="margin-bottom:0;">rootdn          &#8220;cn=manager,o=empresa&#8221;</p>
<p style="margin-bottom:0;">rootpw {SSHA}KOllLHHyDoeyY0IEdqy18v/BH+4bB2Lt (gerar a senha com o comando slappasswd)</p>
<p style="margin-bottom:0;">##########################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Editar o arquivo /etc/smbldap-tools/smbldap.conf:</p>
<p style="margin-bottom:0;">Executar “net getlocalsid” e inserir o SID resultante em SID=</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">sambaDomain=&#8221;nomedodominionosamba&#8221;</p>
<p style="margin-bottom:0;">slaveLDAP=&#8221;127.0.0.1&#8243; (alterar para o ip do ldap)</p>
<p style="margin-bottom:0;">masterLDAP=&#8221;127.0.0.1&#8243; (alterar para o ip do ldap)</p>
<p style="margin-bottom:0;">suffix=&#8221;o=empresa</p>
<p style="margin-bottom:0;">&#8220;ldapTLS=&#8221;0&#8243;</p>
<p style="margin-bottom:0;">usersdn=&#8221;ou=People,o=empresa&#8221;</p>
<p style="margin-bottom:0;">computersdn=&#8221;ou=Hosts,o=empresa&#8221;</p>
<p style="margin-bottom:0;">groupsdn=&#8221;ou=Groups,o=empresa&#8221;</p>
<p style="margin-bottom:0;">idmapdn=&#8221;ou=Idmap,o=empresa&#8221;</p>
<p style="margin-bottom:0;">sambaUnixIdPooldn=&#8221;cn=NextFreeUnixId,o=empresa&#8221; (depende da estrutura do LDAP)</p>
<p style="margin-bottom:0;">userLoginShell=&#8221;/bin/false&#8221;</p>
<p style="margin-bottom:0;">defaultUserGid=&#8221;65535&#8243; (configurar para o grupo primário do usuário padrão)</p>
<p style="margin-bottom:0;">defaultMaxPasswordAge=&#8221;99&#8243; (desabilitar expiração de senhas)</p>
<p style="margin-bottom:0;">userSmbHome=&#8221;"</p>
<p style="margin-bottom:0;">userProfile=&#8221;"</p>
<p style="margin-bottom:0;">userScript=&#8221;%U.bat&#8221;</p>
<p style="margin-bottom:0;">mailDomain=&#8221;empresa.com.br&#8221;</p>
<p style="margin-bottom:0;">######################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Executar o comando service ldap start.</p>
<p style="margin-bottom:0;">######################</p>
<p style="margin-bottom:0;">Editar o arquivo /etc/nsswitch.conf:</p>
<p style="margin-bottom:0;">passwd:     files ldap</p>
<p style="margin-bottom:0;">shadow:     files ldap</p>
<p style="margin-bottom:0;">group:      files ldap</p>
<p style="margin-bottom:0;">####################</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Descompactar o arquivo phpldapadmin-1.1.0.6.tar.gz na pasta /var/www/html.</p>
<p style="margin-bottom:0;">####################</p>
<p style="margin-bottom:0;">Editar o arquivo config.php com os dados do ip do servidor LDAP.</p>
<p style="margin-bottom:0;">Inserir no arquivo /var/lib/ldap/DB_CONFIG as linhas abaixo:</p>
<p style="margin-bottom:0;">### INICIO ARQUIVO DB_CONFIG ###</p>
<p># Define o tamanho do arquivo de cache.</p>
<p>set_cachesize 0 52428800 0</p>
<p>#### Set database flags ####</p>
<p># Remove automaticamente arquivos de logs.<br />
set_flags DB_LOG_AUTOREMOVE</p>
<p># Setando valores dos LOGS</p>
<p>set_lg_regionmax 262144<br />
set_lg_max 10485760<br />
set_lg_bsize 2097152<br />
set_lg_dir /var/lib/ldap/<br />
# Increase locks<br />
set_lk_max_locks 3000<br />
set_lk_max_objects 1500<br />
set_lk_max_lockers 1500</p>
<p>### FIM ARQUIVO DB_CONFIG ###</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;"><a name=":8h"></a>rodar <strong>smbldap-populate</strong> para popular a base com os atributos necessários para o domínio.</p>
<p style="margin-bottom:0;">
<p style="margin-bottom:0;">Espero que ajude.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=47&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/08/21/base-ldap-dominio-samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Autenticando usuários no LDAP e mapeando as unidades de rede do antigo servidor samba via sshfs no fedora 10</title>
		<link>http://jhony.wordpress.com/2009/04/14/autenticando-usuarios-no-ldap-e-mapeando-as-unidades-de-rede-do-antigo-servidor-samba-via-sshfs-no-fedora-10/</link>
		<comments>http://jhony.wordpress.com/2009/04/14/autenticando-usuarios-no-ldap-e-mapeando-as-unidades-de-rede-do-antigo-servidor-samba-via-sshfs-no-fedora-10/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 00:56:37 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redes]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=42</guid>
		<description><![CDATA[Estamos começando a migrar as estações dos nossos usuários de Windows para Linux e adivinha uma das primeiras requisições do usuário são os mapeamentos automáticos feitos via samba. 

Depois de algumas tentativas frustradas de inserir o linux no domínio como faz com o Windows resolvemos mudar a tática e chegamos a uma receita que a princípio esta funcionando, autenticar no LDAP e buscar as unidades do usuário via sshfs através das informações de grupos que o usuário possui no LDAP. 
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=42&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Estamos começando a migrar as estações dos nossos usuários de Windows para Linux e adivinha uma das primeiras requisições do usuário são os mapeamentos automáticos feitos via samba.</p>
<p style="margin-bottom:0;">Depois de algumas tentativas frustradas de inserir o linux no domínio como faz com o Windows resolvemos mudar a tática e chegamos a uma receita que a princípio esta funcionando, autenticar no LDAP e buscar as unidades do usuário via sshfs através das informações de grupos que o usuário possui no LDAP.</p>
<p style="margin-bottom:0;">Criamos um script que busca todos os grupos que o usuário pertence e cria a conexão sshfs com uma unidade no Desktop do usuário, ficando transparente para ele o processo. O processo ficou assim: quando o usuário faz login no micro aparece um dialog pedindo a senha para acessar os recursos de rede, após digitado ele cria os locais por letras e o usuário acessa como se fosse uma pasta.</p>
<p style="margin-bottom:0;">Uma pena que não encontrei ainda uma forma de recuperar a senha no login que ele faz do Gnome, assim o usuário não precisaria digitar a senha duas vezes.</p>
<p style="margin-bottom:0;">Segue os passo que utilizei:</p>
<p style="margin-bottom:0;">####################################################</p>
<p style="margin-bottom:0;">Passo 1</p>
<p style="margin-bottom:0;">clicar na barra Sistemas -&gt; Administração -&gt; Autenticação -&gt; Informações do usuário -&gt; Ativar suporte LDAP</p>
<p style="margin-bottom:0;">BASE-&gt; o=empresa</p>
<p style="margin-bottom:0;">Servidor -&gt; xxx.xxx.xxx.xxx</p>
<p style="margin-bottom:0;">Para verificar se funcionou abrir um terminal e testar com id usuario</p>
<p style="margin-bottom:0;">##############################################</p>
<p style="margin-bottom:0;">Passo 2</p>
<p style="margin-bottom:0;">Configurar no seu servidor DNS um CNAME para serarq com o ip do seu antigo servidor samba</p>
<p style="margin-bottom:0;">##############################################</p>
<p style="margin-bottom:0;">Passo 3</p>
<p style="margin-bottom:0;">Instalar na estação o fuse.sshfs ou sshfs e o dialog e o Xdialog</p>
<p style="margin-bottom:0;">fazer update do sistema todo</p>
<p style="margin-bottom:0;">#########################################################</p>
<p style="margin-bottom:0;">Passo 4</p>
<p style="margin-bottom:0;">criar o script scritp.desktop dentro de /usr/share/gnome/autostart/  com o seguinte conteúdo:</p>
<p style="margin-bottom:0;">[Desktop Entry]</p>
<p style="margin-bottom:0;">Encoding=UTF-8</p>
<p style="margin-bottom:0;">Name=Map user script</p>
<p style="margin-bottom:0;">Comment[br]=MAP user scritp</p>
<p style="margin-bottom:0;">Icon=bluetooth</p>
<p style="margin-bottom:0;">Exec= gnome-terminal /usr/sbin/mapeia_rede.sh</p>
<p style="margin-bottom:0;">Terminal=false</p>
<p style="margin-bottom:0;">Type=Application</p>
<p style="margin-bottom:0;">Categories=</p>
<p style="margin-bottom:0;">OnlyShowIn=GNOME;</p>
<p style="margin-bottom:0;">############################################################</p>
<p style="margin-bottom:0;">Passo 5</p>
<p style="margin-bottom:0;">criar o script chamado mapeia_rede.sh em /usr/sbin/  com o seguinte<a title="Script de mapear unidades via sshfs" href="http://www.unochapeco.edu.br/~jhony/mapeia_rede.sh" target="_blank"> conteudo:</a></p>
<p style="margin-bottom:0;">
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=42&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/04/14/autenticando-usuarios-no-ldap-e-mapeando-as-unidades-de-rede-do-antigo-servidor-samba-via-sshfs-no-fedora-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Reportagem sobre CakePHP revista TIdigital</title>
		<link>http://jhony.wordpress.com/2009/04/08/reportagem-sobre-cakephp-revista-tidigital/</link>
		<comments>http://jhony.wordpress.com/2009/04/08/reportagem-sobre-cakephp-revista-tidigital/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 21:48:07 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=35</guid>
		<description><![CDATA[Foi publicada na segunda edição da revista TIdigital uma reportagem sobre o framework CakePHP.
A Equipe da revista fez uma entrevista com John David Anderson (um dos criadores do cake-php), e entrevistou alguns profissionais que utilizam a ferramenta para expor as suas opiniões sobre o framework. Dentre eles encontra-se:  Elton Luís Minetto, Tulio Vitor Machado [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=35&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>Foi publicada na segunda edição da revista <a href="http://www.revistatidigital.com.br/index.php" target="_blank">TIdigital</a> uma reportagem sobre o framework CakePHP.</div>
<div>A Equipe da revista fez uma entrevista com John David Anderson (um dos criadores do cake-php), e entrevistou alguns profissionais que utilizam a ferramenta para expor as suas opiniões sobre o framework. Dentre eles encontra-se: <a href="http://www.eltonminetto.net/" target="_blank"> Elton Luís Minetto</a>, Tulio Vitor Machado Faria, Oberaldo Büll Junior, João José Carvalho Pedrini.</div>
<div>Nossas participações foram modestas mas o formato da revista ficou muito bom.</div>
<div>O PDF da reportagem está disponível neste <a href="http://www.arteccom.com.br/revistatidigital/downloads/02/link_02_4851.pdf">link</a></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=35&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/04/08/reportagem-sobre-cakephp-revista-tidigital/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Especialização em Software Livre</title>
		<link>http://jhony.wordpress.com/2009/02/20/especializacao-em-sl/</link>
		<comments>http://jhony.wordpress.com/2009/02/20/especializacao-em-sl/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 01:14:54 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=30</guid>
		<description><![CDATA[Após um ano de dedicação e estudo, finalmente a confirmação do meu orientador Professor Luiz Otavio Botelho Lento
Agora sou especialista em Gestão e implantação de software livre pela Fundação de Apoio á Educação, Pesquisa e Extensão da UNISUL, FAEPESUL;
Como trabalho de conclusão escrevi o seguinte artigo: SOLUÇÕES DE SOFTWARE LIVRE PARA MONITORAÇÃO DE REDES, onde [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=30&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Após um ano de dedicação e estudo, finalmente a confirmação do meu orientador Professor<span style="font-family:Tahoma;font-size:x-small;"> <em>Luiz Otavio Botelho Lento</em></span></p>
<p>Agora sou especialista<strong> </strong>em<strong> <em>Gestão e implantação de software livre pela Fundação de Apoio á Educação, Pesquisa e Extensão da UNISUL, FAEPESUL;</em></strong></p>
<p>Como trabalho de conclusão escrevi o seguinte artigo: SOLUÇÕES DE SOFTWARE LIVRE PARA MONITORAÇÃO DE REDES, onde falo sobre duas ferramentas muito bacanas que utilizamos, o Nagios e o Cacti. O artigo está disponível <a title="artigo pós em SL" href="http://www2.unochapeco.edu.br/~jhony/artigo.pdf" target="_blank">aqui</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=30&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2009/02/20/especializacao-em-sl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Script para detecção de Erros nos Switches</title>
		<link>http://jhony.wordpress.com/2008/12/08/script-para-deteccao-de-erros-nos-switches/</link>
		<comments>http://jhony.wordpress.com/2008/12/08/script-para-deteccao-de-erros-nos-switches/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 22:02:55 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Redes]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=25</guid>
		<description><![CDATA[Para otimização da rede e melhoria na monitoração proativa, criamos um shell script que captura da MIB dos switchs da 3Com e retorna quais portas estão com problema, assim se você tiver uma placa de rede com problema ligada a um switch gerenciável da 3com é possível descobrir o erro sem precisar acessar a interface [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=25&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Para otimização da rede e melhoria na monitoração proativa, criamos um shell script que captura da MIB dos switchs da 3Com e retorna quais portas estão com problema, assim se você tiver uma placa de rede com problema ligada a um switch gerenciável da 3com é possível descobrir o erro sem precisar acessar a interface WEB do switch. Pode ser útil para quem administra redes com muitos equipamentos como no nosso caso e não tem tempo para ficar olhando de equipamento em equipamento.<br />
Funciona bem com os switches de modelo:<br />
- 3c17300: neste modelo ele captura os erros de CRC Error e colisões no mesmo trap.<br />
- 3c17300A: se o firmware estiver atualizado captura só os CRC Errors.<br />
O código fonte do plugin esta <a title="script switch" href="http://www2.unochapeco.edu.br/~jhony/check_switch" target="_blank">aqui</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=25&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2008/12/08/script-para-deteccao-de-erros-nos-switches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Shell Script Profissional</title>
		<link>http://jhony.wordpress.com/2008/11/27/shell-script-profissional/</link>
		<comments>http://jhony.wordpress.com/2008/11/27/shell-script-profissional/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 22:02:26 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/?p=22</guid>
		<description><![CDATA[Recentemente adquiri o livro do Aurélio Marinho Jargas,  shell script profissional, confesso que ainda não consegui ler por inteiro mas fica aqui meu elogio ao Aurélio pela qualidade do material e principalmente pelo incentivo ao uso de boas praticas de programação tão raras entre os administradores de redes.
hehehe eu tbm não comentava nada até [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=22&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recentemente adquiri o livro do <em>Aurélio Marinho Jargas</em>,  <strong>shell script profissional</strong>, confesso que ainda não consegui ler por inteiro mas fica aqui meu elogio ao Aurélio pela qualidade do material e principalmente pelo incentivo ao uso de boas praticas de programação tão raras entre os administradores de redes.</p>
<p><em>hehehe eu tbm não comentava nada até então</em></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=22&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2008/11/27/shell-script-profissional/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Evento Frameworks de Desenvolvimento Web com PHP</title>
		<link>http://jhony.wordpress.com/2007/08/06/evento-frameworks-de-desenvolvimento-web-com-php/</link>
		<comments>http://jhony.wordpress.com/2007/08/06/evento-frameworks-de-desenvolvimento-web-com-php/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 23:20:13 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/2007/08/06/evento-frameworks-de-desenvolvimento-web-com-php/</guid>
		<description><![CDATA[Neste sábado, dia 04 de agosto, estive participando de um evento em São Paulo, organizado pela Tempo Real Eventos. O evento tratou de Frameworks de Desenvolvimento Web com PHP, onde tive a oportunidade de atuar como palestrante compartilhando com os presentes algumas das funcionalidades que o framework Symfony implementa.
Gostaria de agradecer primeiramente ao pessoal da [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=17&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Neste sábado, dia 04 de agosto, estive participando de um evento em São Paulo, organizado pela Tempo Real Eventos. O evento tratou de Frameworks de Desenvolvimento Web com PHP, onde tive a oportunidade de atuar como palestrante compartilhando com os presentes algumas das funcionalidades que o framework Symfony implementa.<br />
Gostaria de agradecer primeiramente ao pessoal da Tempo Real pela oportunidade que me foi concedida e aos participantes pela presença e significante troca de conhecimento. Espero que tenha ajudado de alguma forma, deixo aqui os <a href="http://www.unochapeco.edu.br/~jhony/evento_frameworks.pdf">códigos </a>e a <a href="http://www2.unochapeco.edu.br/~jhony/sf_evento.tgz">apresentação </a>se alguém tiver interesse.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhony.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhony.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=17&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2007/08/06/evento-frameworks-de-desenvolvimento-web-com-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
		<item>
		<title>Asus A3500N +Ubuntu +Dor de Cabeça</title>
		<link>http://jhony.wordpress.com/2007/06/15/16/</link>
		<comments>http://jhony.wordpress.com/2007/06/15/16/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 00:17:42 +0000</pubDate>
		<dc:creator>jhony</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jhony.wordpress.com/2007/06/15/16/</guid>
		<description><![CDATA[Tivemos um pequeno problema tentando passar a imagem para um projetor multimídia, de um notebook Asus A3500N com Ubuntu 7.04 Feisty Fawn, depois de uma boa googlada e grande auxilio do meu colega de trabalho Sérgio Tshá, conseguimos fazer funcionar.
Para começar faça o download do pacote ACPI4ASUS
Decompacte o arquivo e execute com o comando Make, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=16&subd=jhony&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Tivemos um pequeno problema tentando passar a imagem para um projetor multimídia, de um notebook Asus A3500N com Ubuntu 7.04 Feisty Fawn, depois de uma boa googlada e grande auxilio do meu colega de trabalho Sérgio Tshá, conseguimos fazer funcionar.</p>
<p>Para começar faça o download do pacote <a href="http://sourceforge.net/projects/acpi4asus" target="_blank">ACPI4ASUS</a><br />
Decompacte o arquivo e execute com o comando Make, depois sudo Make install.<br />
Adicionar dentro do arquivo /etc/modules a linha: asus_acpi, para ser chamado pelo Kernel.<br />
Agora vamos criar um alias para facilitar a execução.<br />
Dentro do .bashrc do usuário verificar se as linhas a seguir não estão comentadas.</p>
<p>if [ -f ~/.bash_aliases ]; then<br />
. ~/.bash_aliases<br />
fi</p>
<p># enable color support of ls and also add handy aliases<br />
if [ "$TERM" != "dumb" ]; then<br />
eval &#8220;`dircolors -b`&#8221;<br />
alias ls=&#8217;ls &#8211;color=auto&#8217;<br />
#alias dir=&#8217;ls &#8211;color=auto &#8211;format=vertical&#8217;<br />
#alias vdir=&#8217;ls &#8211;color=auto &#8211;format=long&#8217;<br />
fi<br />
Depois adicionar no arquivo .bash_aliases a seguinte linhas:<br />
alias chdisplay=&#8221;echo 3 &gt; /proc/acpi/asus/disp&#8221;<br />
Finalmente para executar é só rodar chdisplay tanto para ativar quanto para desativar, lembro que são três os estados de execução.</p>
<p>Sei que não ficou muito elegante mas funcionou, espero que ajude.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/jhony.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/jhony.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhony.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhony.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhony.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhony.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhony.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhony.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhony.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhony.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhony.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhony.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhony.wordpress.com&blog=266041&post=16&subd=jhony&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhony.wordpress.com/2007/06/15/16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4573709b062abdbe45f581e946b6464c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jhony</media:title>
		</media:content>
	</item>
	</channel>
</rss>