valeta.org

January 17, 2010

douglas' livejournal

Havaianas welcomes Winter

Amazing video...

January 17, 2010 03:51 PM

January 16, 2010

douglas' livejournal

Saturday... rotfl :)

roftl http://www.rofl.name/f/game_roflcopter

January 16, 2010 05:55 PM

(dica rapida) pushd / popd - Alternando de diretorios rapidamente....

Para trocar alternar de diretorios rapidamente eu recomendo a utilizacao do comando pushd

Neste rapido exemplo, irei adicionar somente dois diretorios, mas podemos adicionar qnts quisermos.

$ [dougsland@medogz ~]$ pushd /tmp/
/tmp ~
$ [dougsland@medogz tmp]$

Certo, adicionamos o diretorio /tmp e agora vamos adicionar o diretorio /var

$ [dougsland@medogz ~]$ pushd /var/
/var /tmp ~

$ [dougsland@medogz var]$

Agora para ficar alternando entre os diretorios e' so' digitar pushd

[dougsland@medogz var]$ pushd
/tmp /var ~
[dougsland@medogz tmp]$ pushd
/var /tmp ~
[dougsland@medogz var]$

Para listar os diretorios que estao na lista?
[dougsland@medogz var]$ dirs
/var /tmp ~

Para remover da lista?
[dougsland@medogz var]$ popd
/tmp ~

January 16, 2010 12:29 AM

Do not access ldap to local users

/etc/nsswitch.conf

passwd: files ldap
shadow: files
group: files

January 16, 2010 12:15 AM

January 15, 2010

douglas' livejournal

How to control (long) delays to do a local login when a LDAP server is down?

Add these lines to /etc/ldap.conf

nss_reconnect_maxconntries 1
nss_reconnect_tries 3
nss_reconnect_sleeptime 1
nss_reconnect_maxsleeptime 1

------------------------------

nss_reconnect_maxconntries - This is the maximum number of reconnection tries.

nss_reconnect_tries - Number of times a reconnection attempt will be made before gives up.

nss_reconnect_sleeptime - Minimum amount of time the code will sleep between reconnection attempts. (seconds)

nss_reconnect_maxsleeptime - Maximum amount of time the code should sleep between reconnection attempts.


Recommended read: http://backdrift.org/how-to-get-pam-ldap-local-logins-to-work-when-networking-is-down

January 15, 2010 10:31 PM

libvirt: How to enable logs?

vi /etc/libvirt/libvirtd.conf

Add these lines (or just uncomment):
-----------------------------------------------

# Logging level: 0 none, 4 errors, 3 warnings, 2 informations, 1 debug
# basically 1 will log everything possible
log_level = 4

To show logs through a file (/var/log/libvirt/libvirtd.log)
---------------------------------------------------------------

# Logging outputs:
# An output is one of the places to save logging informations
# The format for an output can be:
# x:stderr
# output goes to stderr
# x:syslog:name
# use syslog for the output and use the given name as the ident
# x:file:file_path
# output to a file, with the given filepath
# In all case the x prefix is the minimal level, acting as a filter
# 0: everything
# 1: DEBUG
# 2: INFO
# 3: WARNING
# 4: ERROR
#
# Multiple output can be defined , they just need to be separated by spaces.
# e.g.:
log_outputs="1:file:/var/log/libvirt/libvirtd.log"


For filters use:
-----------------------

# Logging filters:
# A filter allows to select a different logging level for a given category
# of logs
# The format for a filter is:
# x:name
# where name is a match string e.g. remote or qemu
# the x prefix is the minimal level where matching messages should be logged
# 1: DEBUG
# 2: INFO
# 3: WARNING
# 4: ERROR
#
# Multiple filter can be defined in a single @filters, they just need to be
# separated by spaces.
#
# e.g:
# log_filters="3:remote 4:event"
# to only get warning or errors from the remote layer and only errors from
# the event layer.


To finish, just restart libvirt:

$ /etc/init.d/libvirtd restart

References: http://libvirt.org/logging.html

January 15, 2010 01:29 PM

January 14, 2010

douglas' livejournal

virsh connecting to (kvm) localhost + ssh + tls

Connect to localhost:
virsh -c qemu:///system

Connect through tls:
virsh -c qemu+tls://your_host/system list --all ( NOTE: just two // )

Connect through ssh:
virsh -c qemu+ssh://user@your_host/system list --all ( NOTE: just two // )

Additional info:
http://libvirt.org/remote.html#Remote_transports
http://libvirt.org/remote.html#Remote_URI_reference

January 14, 2010 06:06 PM

libvirt + tls - The peer did not send any certificate.

Client trying to connect:
virsh -c qemu+tls://your_host/system list --all
( NOTE: just two // )

Server's report:
The peer did not send any certificate.
remote_internal: failed to verify peer's certificate

Solution:
Recreate the certificates (attention to CN field, which should include the host of server and client)
Additional info: http://libvirt.org/remote.html

January 14, 2010 06:01 PM

Linux - Fedora 12: Webcam Microsoft LifeCam VX-1000 + skype 2.0

Webcam Microsoft VX-1000



lsusb:


shell> lsusb
045e:00f7 Microsoft Corp. LifeCam VX-1000

Dmesg:


shell> dmesg
gspca: probing 045e:00f7
sonixj: Sonix chip id: 11
gspca: probe ok
gspca: probing 045e:00f7
microsoft vx-1000

1) Installing softwares:


shell> sudo yum install libv4l skype -y

What's libv4l?

libv4l is a collection of libraries which adds a thin abstraction layer on
top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write seperate code for different devices in the same class.

2) Creating a new executable:



shell> sudo vi /usr/local/bin/webcamSkype

Add these 2 lines below:

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

What's v4l1compat.so?

v4l1compat.so is a wrapper of libv4l which adds v4l2 device compatibility to v4l1
applications (like skype).

3) Setting permissions:



shell> sudo chown your_linux_login:your_linux_login /usr/local/bin/webcamSkype
shell> sudo chmod u+x /usr/local/bin/webcamSkype

Starting application:



Now you can just call webcamSkype from shell or create a launcher from your desktop.

i.e:

shell> webcamSkype

January 14, 2010 01:32 PM

January 13, 2010

douglas' livejournal

Linux - Fedora 12: Webcam Microsoft LifeCam VX-500

Linux - Fedora 12: Webam Microsoft LifeCam VX-500



lsusb:


shell> lsusb
045e:074a Microsoft Corp.

Dmesg:


shell> dmesg
uvcvideo: Found UVC 1.00 device Microsoft LifeCam (045e:074a)
input: Microsoft LifeCam as /devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.0/input/input8

shell> skype

January 13, 2010 03:21 AM

Linux - Fedora 12: Webam Logitech Quickcam + skype 2.0

Linux - Fedora 12: Webam Logitech Quickcam



lsusb:


shell> lsusb
046d:08ae Logitech, Inc. QuickCam for Notebooks

Dmesg:


shell> dmesg
gspca: probing 046d:08ae
zc3xx: probe sensor -> 000e
zc3xx: Find Sensor PAS202B
gspca: probe ok
gspca: probing 046d:08ae

1) Installing softwares:


shell> sudo yum install libv4l -y

What's libv4l?

libv4l is a collection of libraries which adds a thin abstraction layer on
top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write seperate code for different devices in the same class.

2) Creating a new executable:



shell> sudo vi /usr/local/bin/webcamSkype

Add these 2 lines below:

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

What's v4l1compat.so?

v4l1compat.so is a wrapper of libv4l which adds v4l2 device compatibility to v4l1
applications (like skype).

3) Setting permissions:



shell> sudo chown your_linux_login:your_linux_login /usr/local/bin/webcamSkype
shell> sudo chmod u+x /usr/local/bin/webcamSkype

Starting application:



Now you can just call webcamSkype from shell or create a launcher from your desktop.

i.e:

shell> webcamSkype

January 13, 2010 02:52 AM

January 12, 2010

douglas' livejournal

Linux: Fedora 12 - Creative WebCam Go + skype 2.0

Creative Webcam Go



lsusb:


shell> lsusb
05a9:0511 OmniVision Technologies, Inc. OV511 Webcam

Dmesg:


shell> dmesg
gspca: probing 05a9:0511
ov519: Device custom id 15
ov519: Uploading quantization tables
ov519: I2C synced in 0 attempt(s)
ov519: starting OV7xx0 configuration
ov519: Sensor is an OV7610
gspca: video0 created

1) Installing softwares:


shell> sudo yum install libv4l -y

What's libv4l?

libv4l is a collection of libraries which adds a thin abstraction layer on
top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write seperate code for different devices in the same class.

2) Creating a new executable:



shell> sudo vi /usr/local/bin/webcamSkype

Add these 2 lines below:

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

What's v4l1compat.so?

v4l1compat.so is a wrapper of libv4l which adds v4l2 device compatibility to v4l1
applications (like skype).

3) Setting permissions:



shell> sudo chown your_linux_login:your_linux_login /usr/local/bin/webcamSkype
shell> sudo chmod u+x /usr/local/bin/webcamSkype

Starting application:



Now you can just call webcamSkype from shell or create a launcher from your desktop.

i.e:

shell> webcamSkype

January 12, 2010 02:41 PM

December 31, 2009

douglas' livejournal

Linux: Modem 3G Claro - ZTE MF626 + Fedora

1) yum install usb_modeswitch wvdial -y

2) vi /etc/usb_modeswitch.conf

Remover o '#' das seguintes linhas:
###############################
# ZTE MF628+ (tested version from Telia / Sweden)
# ZTE MF626
# ZTE MF633
# ZTE MF636 (aka "Telstra / BigPond 7.2 Mobile Card")
#
# Contributor: Joakim Wennergren

DefaultVendor= 0x19d2
DefaultProduct= 0x2000

TargetVendor= 0x19d2
TargetProduct= 0x0031

# only for reference and 0.x versions
MessageEndpoint=0x01

MessageContent="55534243123456782000000080000c85010101180101010101000000000000"

# if that command doesn't work, try the other ("eject")
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"

3) vi /etc/wvdial.conf

[Dialer Defaults]
Auto DNS = on
Init1 = ATX3
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","claro.com.br"
Stupid Mode = 1
New PPPD = yes
Modem Type = Analog Modem
ISDN = off
Phone = *99***1#
Modem = /dev/ttyUSB3
Username = claro
Password = claro
Baud = 460800

4) Executar

# usb_modeswitch
# wvdial

5) /etc/resolv.conf
nameserver 200.169.116.23
nameserver 200.169.117.252

December 31, 2009 01:54 PM

December 14, 2009

douglas' livejournal

Videos from Japan Linux Symposium

Videos from Japan Linux Symposium:
http://video.linuxfoundation.org/categories/conferences-symposiums/2009-japan-linux-symposium

December 14, 2009 10:09 PM

December 09, 2009

douglas' livejournal

Video: Japan Linux Symposium: IO Controller State of the Art

Japan Linux Symposium: IO Controller State of the Art by Munehiro Ikeda

December 09, 2009 03:07 AM

December 08, 2009

douglas' livejournal

Video - JLS: Measuring Function Duration with Ftrace

Japan Linux Symposium: Measuring Function Duration with Ftrace by Tim Bird

December 08, 2009 09:53 AM

Video: JLS - Flight Recorder: A Solution for Investigating Linux Kernel Accidents

Japan Linux Symposium: Flight Recorder: A Solution for Investigating Linux Kernel Accidents by Zhao Lei and Lai Jiangshain KOSAKI Motohiro.

December 08, 2009 09:51 AM

December 04, 2009

douglas' livejournal

Video: JLS - The KVM qemu storage stack

Japan Linux Symposium - The KVM qemu storage stack by Christoph Hellwig

December 04, 2009 11:53 PM

Video: Write and Submit your first Linux Kernel Patch

Japan Linux Symposium: Write and Submit your first Linux Kernel Patch by Greg Kroah Hartman

December 04, 2009 11:50 PM

December 03, 2009

douglas' livejournal

Linux - Fedora 12: How to install Cinelerra

1) rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms

2) vi /etc/yum.conf
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1

3) yum install cinelerra -y

4) cinelerra

December 03, 2009 11:44 PM

November 12, 2009

douglas' livejournal

Easter Egg: OpenOffice Calc + StarWars Game

click on any cell and enter =Game("StarWars") into the cell.

Others:
---------------
http://wiki.services.openoffice.org/wiki/Easter_Eggs

November 12, 2009 10:49 PM

November 06, 2009

douglas' livejournal

Linux: Convert ebooks to Kindle 1 or 2

Software: Calibre
URL: http://calibre.kovidgoyal.net/download_linux

Tested on: Fedora 11

November 06, 2009 06:58 AM

September 22, 2009

douglas' livejournal

Linux: Booting your machine over HTTP

http://boot.kernel.org/

September 22, 2009 12:03 AM

September 20, 2009

douglas' livejournal

kvm: atkbd.c: Unknown key pressed (translated set 2, code 0xa0 on isa0060/serio0)

atkbd.c: Unknown key pressed (translated set 2, code 0xa0 on isa0060/serio0).
atkbd.c: Use 'setkeycodes 00 ' to make it known.

See -> KVM and Keycodes

September 20, 2009 09:10 PM

Linux e o Sistema Brasileiro de TV Digital

Com a recém inclusão do driver da Dibcom que suporta SBTVD na árvore do Video4Linux e após uma longa manhã/tarde de conversas, discussões e testes com Mauro Chehab e Alan Carvalho de Assis, agora posso confirmar que já temos um driver estável no Linux.



Qual foi o dispositivo testado?

PixelView PlayTV USB SBTVD







dmesg e lsusb



usb 1-4: new high speed USB device using ehci_hcd and address 29
usb 1-4: New USB device found, idVendor=1554, idProduct=5010
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: STK807X
usb 1-4: Manufacturer: DiBcom
usb 1-4: SerialNumber: 016
usb 1-4: configuration #1 chosen from 1 choice
dvb-usb: found a 'Prolink Pixelview SBTVD' in cold state, will try to load a firmware
usb 1-4: firmware: requesting dvb-usb-dib0700-1.20.fw
dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
dib0700: firmware started successfully.
dvb-usb: found a 'Prolink Pixelview SBTVD' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Prolink Pixelview SBTVD)
DVB: registering adapter 0 frontend 0 (DiBcom 8000 ISDB-T)...
DiB0070: successfully identified
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.7/usb1/1-4/input/input38
dvb-usb: schedule remote query interval to 50 msecs.
dvb-usb: Prolink Pixelview SBTVD successfully initialized and connected.

$ lsusb Bus 001 Device 030: ID 1554:5010 Prolink Microsystems Corp.

Em quais locais já sabemos que funciona?



* São Paulo
* Minas Gerais
* Porto Alegre
* Rio de Janeiro

Precisa de cabo ou o sinal é aberto?


Sinal é aberto. Você pega os canais de acordo com o que tem disponível na sua região.
Em Porto Alegre (Setembro, 20 de 2009) só tem disponível o canal Globo.

Instalando driver e aplicativos



Baixando drivers atuais:

* Remova o dispositivo da USB caso esteja plugado.

$ hg clone http://www.linuxtv.org/hg/v4l-dvb
$ cd v4l-dvb
$ make
$ sudo make rmmod
$ sudo make install

- Instalando firmware

wget http://www.wi-bw.tfh-wildau.de/~pboettch/home/files/dvb-usb-dib0700-1.20.fw
cp dvb-usb-dib0700-1.20.fw /lib/firmware

* Plugue o dispositivo

Baixando ferramentas:

$ hg clone http://linuxtv.org/hg/dvb-apps $ cd dvb-apps
$ make
$ sudo make install

Configurando..



1) Crie o arquivo ch_freq.conf que irá conter a frequência dos canais.

$ vi ch_freq.conf
# UHF channels 14 to 69
T 473142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 14
T 479142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 15
T 485142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 16
T 491142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 17
T 497142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 18
T 503142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 19
T 509142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 20
T 515142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 21
T 521142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 22
T 527142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 23
T 533142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 24
T 539142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 25
T 545142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 26
T 551142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 27
T 557142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 28
T 563142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 29
T 569142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 30
T 575142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 31
T 581142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 32
T 587142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 33
T 593142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 34
T 599142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 35
T 605142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 36
# channel 37 not used
T 617142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 38
T 623142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 39
T 629142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 40
T 635142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 41
T 641142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 42
T 647142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 43
T 653142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 44
T 659142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 45
T 665142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 46
T 671142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 47
T 677142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 48
T 683142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 49
T 689142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 50
T 695142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 51
T 701142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 52
T 707142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 53
T 713142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 54
T 719142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 55
T 725142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 56
T 731142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 57
T 737142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 58
T 743142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 59
T 749142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 60
T 755142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 61
T 761142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 62
T 767142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 63
T 773142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 64
T 779142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 65
T 785142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 66
T 791142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 67
T 797142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 68
T 803142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 69

2) Faça o scan p/ verificar quais canais estão disponíveis em sua área:

$ scan ch_freq.conf > channels.conf

O arquivo channels.conf irá armazenar os canais encontrados:

Exemplo de canais encontrados em Porto Alegre:

RBS TV HD:593142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:51648
RBS TV 1seg:593142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:51672

Instalando/Configurando o player VLC



$ yum install vlc -y (Fedora)



* Adicione channels.conf no seu playlist:




Finalmente click em play




E se não funcionar?



1) Veja se a antena está bem localizada e recebendo sinal
2) Existe um *pequeno* delay p/ o sinal estar disponível e o vlc encontra o canal
3) Verifique o dmesg p/ possíveis erros
4) VLC e Mplayer apresentaram problemas em certas resoluções e certos tipos de codicação de áudio
5) Em último caso envie um email p/ lista dos desenvolvedores do projeto LinuxTV (em inglês) informando seu problema com a saída do dmesg e lsusb.

Onde eu comprei minha placa?


http://www.digimer.com.br/handler.php?module=site&action=view#produto:7280

Qual é a situação dos outros dispositivos de TV Digital no Linux?


Ainda precisam de testes e provavelmente alterações de código.

Qual foi a distribuição testada?


Fedora 11 x86 + vlc (repositório atrpm)
Kernel: 2.6.29.5-191.fc11.i686.PAE #1 SMP

September 20, 2009 08:12 PM

September 16, 2009

douglas' livejournal

Riscando texto em html..

<strike> Texto </strike>

Ref.:
http://www.w3schools.com/tags/tag_strike.asp

Thanks Leo!

September 16, 2009 10:07 PM

September 11, 2009

douglas' livejournal

Vono + pap2t: Telefone sem fio tem linha mas não toca....

-> Vá até a página de configuração (Digite no telefone ****110# -> Digite o IP no browser)
-> Selecione a aba Regional (Modo de visualização: Advanced view + Admin login)
-> Selecione a opção Ring Waveform -> Trapezoid

Telefone sem fio utilizado: Siemens C6015

September 11, 2009 08:36 PM

September 04, 2009

douglas' livejournal

Let's Do It Estonia - Legendado em Português

September 04, 2009 03:27 PM

August 28, 2009

douglas' livejournal

TcheLinux e Livraria Cultura: Google Android

Neste domingo, dia 30 de Agosto de 2009, o grupo de usuários Tchelinux estará promovendo uma palestra sobre o Android na Livraria Cultura. O valor do ingresso são DOIS quilos de alimentos não perecíveis que serão doados (não é obrigado, mas por que não ajudar?). O horário da palestra, que é praticamente um mini curso, será das 15 às 18h no auditório da Livraria Cultura, situada no Bourbom Country.


Maiores informações em http://www.tchelinux.org/2009/cultura


Aqui: a chamada oficial

August 28, 2009 03:13 AM

August 24, 2009

douglas' livejournal

Video: Did you know?

August 24, 2009 12:37 PM

August 21, 2009

douglas' livejournal

Linux: flv2ogg flv2ogv

ffmpeg -i video.flv -acodec vorbis -ac 2 -vcodec libtheora -f ogg video.ogg

August 21, 2009 04:50 PM

August 20, 2009

douglas' livejournal

Fedora Directory Server - admserv_host_ip_check: ap_get_remote_host could not resolve

[notice] [client 127.0.0.1] admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1

How to solve?


Set up DNS / DNS reverse to IP address; in this case 127.0.0.1 or change nsAdminAccessAddresses and nsAdminAccessHosts attributes.

For more info about nsAdminAccessAddresses and nsAdminAccessHosts:

How to set the hosts/IP addresses allowed to access the Admin Server
http://directory.fedoraproject.org/wiki/Howto:AdminServerLDAPMgmt

August 20, 2009 10:35 PM

Vídeo - Não abandone seu animal de estimação

Este vídeo deveria ser colocado no horário nobre nos canais de televisão.

Link original: http://tvuol.uol.com.br/#view/id=nao-abandone-seu-animal-de-estimacao-04023868D8A10366/user=a380psmhs0jk/date=2009-08-18&&list/type=tags/tags=727/edFilter=all/

August 20, 2009 08:57 PM

August 14, 2009

douglas' livejournal

scp - resume

rsync -av --progress --inplace --rsh='ssh' file username@host.com:

Works!

August 14, 2009 06:14 PM

August 10, 2009

douglas' livejournal

Vídeo Tchelinux 2009 - FISL 10 - Realidade Aumentada

Novo vídeo disponível no site http://videos.tchelinux.org
Palestra: Demonstração sobre Realidade Aumentada
Palestrante: Alessandro Faria - a.k.a Cabelo :)
Data: 25/06/2009

August 10, 2009 09:25 PM

Vídeo - Tchelinux 2009 - Caxias do Sul - Entendendo o SELinux - Security Enhanced Linux

Novo vídeo disponível no site http://videos.tchelinux.org
Palestra: Entendendo o SELinux - Security Enhanced Linux
Palestrante: Jerônimo Zucco
Data: 13/06/2009

August 10, 2009 12:35 AM

Vídeo Tchelinux 2009 - Caxias do Sul - XEN em produção

Novo vídeo disponível no site http://videos.tchelinux.org
Palestra: XEN em produção
Palestrante: José Marcos Formiga
Data: 13/06/2009

August 10, 2009 12:29 AM

August 04, 2009

douglas' livejournal

Linux: PCI radio donation

Hello,

I would like to give my many thanks to Jordi Sayol for his donation of an radio Guillemot Maxi Radio FM 2000 PCI radio card device to me.

I am really happy to receive this device, thank you Jordi Sayol!

Also, it's working like a charm on Linux!

Cheers,
Douglas

August 04, 2009 12:50 AM

July 29, 2009

faw's advogato

29 Jul 2009

Debian

Redesigning Communication
Comments about the ideas of a better "looking"

It seems to be a "hot topic" week for Debian, yesterday the announcement of Time Based Freeze Cycles and today the proposal to redesign some parts of Debian. No matter how orthogonal those topics are, communication seems to be needing real improvements inside Debian Project, but I will leave this item for later (and I mean communications amongst teams and developers, nothing related to the Press Team).

First of all, let me state this perfectly clear: I believe Agnieszka (pixelgirl) did an incredible job with her redesign proposal. As a concept. (Or proof of concept). That's why I share some of Rhonda's concerns.

I don't think anybody disagrees that several parts of the Debian project urges improvements in the design field, some of them requires a total redesign, that doesn't mean we need a new logo. It is curious to see how some things happen in a strange related fashion, no matter if you believe in $DEITY (superior power or destiny), life has its ways. Early this week, the new logo of Pepsi was announced and some comparison images were created to show the evolution of Pepsi and Coca-Cola logos. It's possible to find quite a few articles commenting about the new logo, about brand, market share and strangely related to a "new logo proposal".

Yes, I like Debian's logo, it has a strong recognition, I don't think we need to change it and I don't have reasons to believe we need a new one.

The Swirl can be applied vertically and horizontally, it can also be applied alone without the "debian" text and for those wondered about the details of our logo and font, a quick (re)search would review the DebianLogo wiki page, with a lot of details.

That being said, the art work concept is indeed an important first step, but it is certainly not the only one. As I said, life has its ways, yesterday, Rhonda mentioned the amazing work of Kalle Söderman, who has looking for the Debian's Global Picture since 2007 and who did move to the step after the mockups having real instances implemented maintaining part of Debian WWW Team informed and working on feedback and smooth integration.

No matter what people said (or will say), CSS can't do all the magic.

Kalle deserves a big Thank You for his work and, IMNSHO, should be the first option to be considered in a merge (that's why you shouldn't resign Rhonda, you got quite some work to do to get it integrated).

The point, is that Kalle is not alone. There are a lot of people behind Debian Art and it would be great to see a joint effort from all artists interested in helping Debian to have a better unified look-and-feel on the Debian Project, not only on our web interfaces, but also on our products: CDs/DVDs (and its covers), desktops, wallpapers, boot loaders, splash screens, documentations, business cards, banners, t-shirts (and a bunch of other materials). It is not just a matter of writing something completely new without keep in touch with an already existent community, it is also the need to communicate and push such goals project-wide, so we can have massive adoption.

I was surprised by the fact that a lot of people mixed quite a few orthogonal points. Specially the fact that the website also needs some work in the Information Architecture field in order to improve the users' experience, but that's one point of a project-wide concern (that Kalle took into account).

Finally, some may not remember that we vote (General Resolution) to choose our logo, back in 1999 (10 years ago).

Yes, we need to do better on communicating and we need do to better with our design (and probably Marketing), but please do not start such work by changing our logo.
Yes... long time since I last post. Apparently, I will be able to graduate by April of 2010, but that remains for another post.

July 29, 2009 04:56 PM

douglas' livejournal

Tchelinux 2009 - Caxias do Sul - N800: Linux na plataforma ARM

Tchelinux 2009 - Caxias do Sul
Palestra: N800: Linux na plataforma ARM
Palestrante: Gabriel Stein
Data: 13/06/2009

July 29, 2009 01:33 PM

July 26, 2009

douglas' livejournal

Vídeo - Tchelinux 2009 - Caxias do Sul - Gerenciamento de redes com Nagios e Cacti

Tchelinux 2009 - Caxias do Sul
Palestra: Gerenciamento de redes com Nagios e Cacti
Palestrante: Rafael Giovanella
Data: 13/06/2009

Tchelinux 2009 - Caxias do Sul - FTEC: Gerenciamento de redes com Nagios e o Cacti

July 26, 2009 10:02 PM

Vídeo - Tchelinux 2009 - Caxias do Sul - Workshop Ubuntu Server

Novo vídeo disponível no site http://videos.tchelinux.org
Palestra: Workshop Ubuntu Server
Palestrante: Marcos André Lucas

Tchelinux 2009 - Caxias do Sul - FTEC: Workshop Ubuntu Server

July 26, 2009 12:44 PM

July 25, 2009

douglas' livejournal

Linux: ffmpeg - jp2avi, gif2avi, avi2dv

jpg2avi:
shell> ffmpeg -r 5 -i foto.jpg -y -an foto.avi

gif2avi:
shell> convert test.gif foto.jpg
shell> ffmpeg -r 5 -i foto.jpg -y -an foto.avi

avi2dv:
NTSC DV:
shell> ffmpeg -i video.avi -target ntsc-dv video.dv

PAL DV:
shell> ffmpeg -i video.avi -target pal-dv video.dv

July 25, 2009 01:37 PM

July 12, 2009

douglas' livejournal

Tchelinux 2009 - Caxias do Sul - FTEC: Entrevista Maurício Barros

Maurício Barros é diretor de operações e coordenador do curso superior de redes de computadores na Faculdade de Tecnologia (FTEC) em Caxias do Sul, RS. Nesta entrevista, Maurício informa detalhes de como funciona a parceria entre o Tchelinux e instituições de ensino.

July 12, 2009 03:45 AM

July 11, 2009

douglas' livejournal

Presentes de amigos...






Pinguim "Tchelinux" presente do Julio Agostini







Cartão Perfurado presente do Ricardo Maraschini













Cão Alegria presente do Filipe Rosset






Obrigado amigos! :)

July 11, 2009 05:58 PM

July 10, 2009

douglas' livejournal

Vídeo - Tchelinux 2009 - Báge: Por que usar Software Livre?

Disponível no site http://videos.tchelinux.org a palestra Por que
usar Software Livre? Ministrada por Leonardo Vaz em Bagé na Urcamp

July 10, 2009 07:34 PM

Code Rush - Documentary about Netscape engineers in Silicon Valley

Code Rush is a 1998 documentary following the lives of a group of Netscape engineers in Silicon Valley. It was shot during a time of flagging company fortunes, the initial release of the Mozilla code as an open source project, and the friction of an impending AOL-Netscape merger. The documentary depicts Netscape programmers forgoing their normal lives and families in an attempt to save the company from ruin.



Kudos to Marc Sauton for sending me this link!

Original link

July 10, 2009 06:54 PM

June 28, 2009

douglas' livejournal

FISL 10: Slides Video4linux

Palestra: Desenvolvendo o Kernel Linux
Palestrantes:

* Arnaldo Carvalho de Melo
* Breno Leitão
* Douglas Landgraf
* Eduardo Habkost
* Mauro Carvalho Chehab

* Slides da apresentação Video4linux

June 28, 2009 04:56 PM

Linux - Fedora 11 - Set up VNC Server + Default Window Manager (Gnome)

Server side - Installing


shell> yum install vnc vnc-server -y

Server side - Setting


shell> vi /etc/sysconfig/vncservers

Add the following lines:

VNCSERVERS="1:USERNAME_TO_CONNECT"
VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"

shell> su USERNAME_TO_CONNECT
shell> vncpasswd

Setting gnome as Window Manager

shell> vi .vnc/xstartup

Uncomment the following two lines for normal desktop:

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc


Restarting services


shell> su -
shell> service vncserver restart
shell> chkconfig --level 345 vncserver on

Client side - Connecting to VNC Server


shell> vncviewer SERVER_IP:1

p.s: Set up your firewall (iptables) between server and client before any connection.

FullScreen


Press F8 -> FullScreen

June 28, 2009 04:24 PM

June 22, 2009

douglas' livejournal

Fedora 11: Como configurar um teclado padrão americano p/ aceitar acentos pt_BR?

Selecione no menu do seu desktop:

1) System -> Preferences -> Hardware -> Keyboard -> Layouts -> Add -> USA International (with dead keys)
2) Remova a opção anterior de mapa de teclado e pressione OK

Neste momento você poderá utilizar os acentos normalmente.
A tecla ç está disponível pressionando juntos a tecla ALT (direito) + a tecla ","

June 22, 2009 01:26 PM

June 19, 2009

douglas' livejournal

Fedora: Installing MediaWiki

shell> yum install mediawiki
shell> cd /var/www/html
shell> ln -s ../wiki .
shell> cd wiki
shell> cp -R /usr/share/mediawiki/* .

Now browse to:

http://IP_SERVER/wiki

June 19, 2009 09:36 PM

June 17, 2009

douglas' livejournal

Linux: How to disable CPU? (logically offline)

To disable

:
shell> echo 0 > /sys/devices/system/cpu/cpu[X]/online

To check:


shell> cat /pro/cpuinfo or cat /proc/interrupts

To enable

:
shell> echo 1 > /sys/devices/system/cpu/cpu[X]/online

Useful doc:
Documentation/cpu-hotplug.txt

June 17, 2009 09:08 PM

June 15, 2009

douglas' livejournal

Tchelinux 2009: Vídeo - Stellarium: um planetário no seu Desktop



Para outros vídeos: http://videos.tchelinux.org

June 15, 2009 01:21 PM

June 11, 2009

douglas' livejournal

Cachorro é morto a pauladas no pátio da UFRGS

June 11, 2009 03:07 PM

June 10, 2009

douglas' livejournal

Ato cruel mata cão Dr. Alegria

Quem é o verdadeiro animal?





O animal era um dos personagens mais queridos do campus da UFRGS

No colo do médico e professor de genética Renato Zamora Flores, um cão vira-lata ajudava dezenas de crianças a superarem o trauma da violência. Fascinadas pelo animal, usado em um programa de extensão da Universidade Federal do Rio Grande do Sul (UFRGS) para ajudar na terapia, elas não viam a hora de reencontrá-lo nas consultas. No sábado, o cachorro foi morto, aparentemente, com uma paulada no Campus do Vale, no bairro Agronomia, na Capital.

– Ele era tão querido que o treinei para ajudar na terapia das crianças, uma técnica muito usada pela capacidade dos animais cativarem os pequenos. Elas não contavam o problema para mim, mas para o doutor Alegria. E ele ficava quietinho no meu colo, ouvindo por mais de uma hora – lembra Flores, o primeiro a receber a notícia.

Adotado há cerca de três anos, o animal era um dos personagens mais queridos do campus. Além de auxiliar os atendimentos do Projeto Proteger – Saúde e Comportamento Violento, era parceiro durante as aulas. Alegria acompanhava o professor e, segundo ele, conquistava as alunas. Era comum o cachorro terminar as aulas no colo de alguma moça, ganhando fama de paquerador.

Funcionários suspeitam que cães estão sendo exterminados

A maior parte do dia, Alegria ficava na sala do professor. À noite, eventualmente, dormia na rua. No começo da noite de sábado, um segurança da universidade ligou para ele dizendo que o cão havia morrido. Ao voltar ao campus, o professor encontrou o cachorro com a marca de um golpe na cabeça. Com isso, tornou-se o 10º animal morto no campus em dois meses, indicando a possibilidade de um ou mais exterminadores de cães.

Os casos foram registrados na 15ª Delegacia da Polícia Civil, que encaminhou o caso para a Polícia Federal por se tratar de uma área da UFRGS.

– Estamos preocupados com isso. Sempre existiram animais no campus, soltos, e isso dificulta um pouco descobrir como estão sendo mortos. Vamos instalar 39 câmeras para monitorar a área, uma medida que deverá ajudar a reprimir esses e outros crimes – diz o coordenador de segurança da UFRGS, Daniel Augusto Pereira.

Estudantes e funcionários choraram a morte de Alegria. Após a veiculação da notícia no Jornal do Almoço, da RBS TV, Flores recebeu dezenas de telefonemas e mensagens eletrônicas de solidariedade.

– As crianças perguntavam se ele era doutor de verdade. Eu dizia que sim, que era um cãozinho doutor para quem elas podiam contar tudo – lembra o professor Flores.

ZERO HORA

June 10, 2009 04:18 PM

June 03, 2009

douglas' livejournal

Tchelinux 2009: Vídeo - Renderização de Jogos 3D

No evento Tchelinux 2009 - Bagé na URCAMP (Universidade da Região da Campanha) Érico Nunes ministrou a palestra Renderização de Jogos 3D.



Para outras palestras do grupo Tchelinux: http://videos.tchelinux.org

June 03, 2009 12:35 AM

June 01, 2009

douglas' livejournal

Tchelinux 2009: Vídeo - Python: o poder em suas mãos

No evento Tchelinux 2009 - Bagé na URCAMP (Universidade da Região da Campanha) Renato Severo ministrou a palestra Python: o poder em suas mãos.

Tchelinux 2009 - Bagé - URCAMP: Python: o poder em suas mãos from Douglas Schilling Landgraf on Vimeo.



Para outras palestras do grupo Tchelinux: http://videos.tchelinux.org

June 01, 2009 06:46 PM

Tchelinux - 2º Workshop sobre Desenvolvimento Software Livre - FTEC Porto Alegre

Palestra: Introdução ao kernel hacking

PDF Introdução ao kernel hacking

Sources Introdução ao kernel hacking

June 01, 2009 03:00 AM

Tchelinux - Slides Bagé

Palestra: Profissão: desenvolvedor de Software Livre

PDF Profissão: desenvolvedor de Software Livre

June 01, 2009 02:48 AM

May 31, 2009

douglas' livejournal

Vídeos Tchelinux

Olá,

Saiu uma nota no site Br-Linux sobre os vídeos que o grupo Tchelinux vem disponibilizando na internet. Gostaria de agradecer a todos os palestrantes que colaboraram p/ este acontecimento... :)

--

"E a persistente turma do Tchelinux continua dando o exemplo de não apenas realizar seus eventos descentralizados e sem aquele foco em pregar para os já convertidos, como ainda se esforçar para que o conteúdo apresentado chegue a todos os interessados que não têm como estar presentes aos seus eventos nas terras gaúchas."

--

Texto completo no link:
http://br-linux.org/2009/video-fedora-10-o-setup-perfeito-palestra-do-tchelinux-2009/

[]s
Douglas

May 31, 2009 11:10 PM