Planeta DebianPT.org

O Planeta da Comunidade Portuguesa de Utilizadores de Debian

27 de Janeiro, 2010

Joel Patrão

Huawei e1750 on Linux (TMN - Portugal)

Once again the answer is usb_modeswitch!!! If you remember this: Tutorial de Instalação para Placa TMN de Banda Larga ZTE MF620, the process is the same.

In a few steps, you need to do this:
sudo apt-get install libusb-dev
wget http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.0.tar.bz2
sudo tar xjvf usb-modeswitch-1.1.0.tar.bz2
cd usb-modeswitch-1.1.0/
make clean
make
make install

If you prefer, it is possible to install the deb package of usb_modeswitch :
wget https://forge.betavine./frs/download.php/490/usb-modeswitch_0.9.7_i386.deb
dpkg -i usb-modeswitch_0.9.7_i386.deb


edit the file /etc/usb_modeswitch.conf

vim /etc/usb_modeswitch.conf

and add this vendor to the file:

DefaultVendor= 0x12d1
DefaultProduct= 0x1446

TargetVendor = 0x12d1
TargetProduct= 0x1001

MessageContent="55534243000000000000000000000011060000000000000000000000000000"
MessageEndpoint=0x01
CheckSuccess=5

Create the following file in udev rules

vim /etc/udev/rules.d/15-huawei-e1750.rules
Copy the following text:
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"

restart service udev

/etc/init.d/udev restart
With network-manager configure to use TMN

por joel.patrao@gmail.com (Joel Patrão) em 27 de Janeiro, 2010 23:09

25 de Janeiro, 2010

Tux Vermelho

Como instalar o Firefox 3.6 no Ubuntu sem complicações

Outra Actualização: Este método de instalar o Firefox 3.6 é agora desaconselhado. O método ideal é através do PPA Firefox Stable Channel Package.

Actualização: Acrescentei instruções para instalar a última versão do Thunderbird e Seamonkey. Também acrescento que esta medida deve ser vista como uma medida temporária até o Firefox 3.6 estar disponível nos backports do Ubuntu ou num dos repositórios oficiais como o PPA da Ubuntu Mozilla Security Team.

Como provavelmente já muitos sabem, o Firefox 3.6 saiu há pouco tempo (não digo uma data específica porque ainda não tenho a certeza se foi ontem ou hoje). Se não sabiam, também é natural, a notícia ainda é fresca e eu sou um maluco pelos standards web, pelos "browsers" e por essas confusões todas.

No entanto, um dilema que vos aparecerá pela frente se usarem o sistema operativo Ubuntu Linux é que este não vos actualizará o Firefox para a versão 3.6 até a nova versão do Ubuntu sair (não sei se o mesmo se aplica ao Debian). Isso é uma chatice, pois o Firefox 3.6 tem muitas características novas e interessantes que podem ser vistas a fundo no site da Mozilla.

De qualquer maneira, eu decidi procurar um bocadinho no Google e na minha memória, e encontrei uma solução muito simples. Esta solução chama-se Ubuntuzilla.

O Ubuntuzilla basicamente é um repositório especial para programas da Mozilla, como o Firefox, Thunderbird e Seamonkey. O Ubuntuzilla tem vantagem sobre os outros sistemas porque se pode actualizar através do gestor de pacotes e não substitui o Firefox, Thunderbird ou Seamonkey oficiais.

Para actualizar o Firefox só é necessário adicionar o seguinte repositório ao Ubuntu:

deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main

A maneira mais simples é ir a Sistema > Administração > Fontes de Pacotes.

 Depois disso, para autenticar o repositório, abrem uma linha de comandos e escreve-se:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29

Seguido de:

sudo apt-get update

Por fim, para instalar, procura-se pelo pacote firefox-mozilla-build no Synaptic, ou escreve-se na linha de comandos:

sudo apt-get install firefox-mozilla-build

O mesmo se aplica para o Thunderbird e Seamonkey ao substituir firefox-mozilla-build por thunderbird-mozilla-build e seamonkey-mozilla-build respectivamente.

Para pôr o Firefox em Português, dirige-se até aqui (para o caso do Firefox 3.6 em Português Europeu) e reinicia-se o Firefox. Se este ainda não estiver em Português, vai-se a Tools > Addons > Languages, e activa-se o Portuguese Portugal Language Pack.

Para mais informações sobre esta ferramenta fantástica, visitem o site do Ubuntuzilla aqui.

por José Pedro (noreply@blogger.com) em 25 de Janeiro, 2010 00:24

24 de Janeiro, 2010

Tux Vermelho

Google Reader (ou qualquer outro site) num separador do Thunderbird 3

Caso alguém que costume visitar este blog seja como eu, então provavelmente partilha um problema comigo: o uso vários serviços online, mas sem querer que o navegador os tenha abertos junto com sites normais.

Esta é uma paranóia normal que eu tenho, apesar de confiar no meu navegador, não confio nos sites que visito. Eu uso o Firefox, e no entanto bloqueio Flash, Javascript, e nunca estou em dois sites diferentes se tiver feito login num deles. Isto em conjunto com o hábito de ter sempre os e-mails à mão e de poder dar uma olhadela no Google Reader de vez em quando faz-me a vida difícil.

Resolver o problema dos e-mails é fácil: eu uso Gmail, por isso só preciso de activar o IMAP e configurar o meu leitor de emails - o Thunderbird - para ter os meus e-mails e todo e qualquer site ao mesmo tempo e sem preocupações.

O segundo problema é mais difícil. Apesar de existirem vários leitores de feeds, o Google Reader é o que me mais agrada, principalmente por causa das características de partilha pública (já que não escrevo muito, que partilhe muito de quem tem uma opinião semelhante à minha), entre outras características.

O que tenho usado até agora para o Google Reader é uma aplicação muito prática chamada Prism. O Prism é um navegador sem controlos, feito para que os serviços online possam funcionar como se um programa fossem.



Mas o Prism ainda tem alguns bugs, e começava a chatear-me com o excesso de janelas, por isso, decidi procurar alternativas.

Foi aí que me lembrei de um artigo no Lifehacker com já alguns meses e pensei no óbvio: tal como é possível pôr o Google Wave num separador à parte do Thunderbird, também é possível pôr qualquer outra coisa, como o Google Reader.

Então pus mãos à obra. E aqui está como o fazer:

O Thunderbird 3 tem uma característica nova muito interessante chamada "Separadores de Conteúdo". Estes separadores de conteúdo (feitos principalmente para extensões) permitem mostrar páginas web num separador, e o tal separador é persistente, ou seja, vai continuar disponível mesmo depois de fechar e voltar a abrir o Thunderbird. Para fazer um separador de conteúdo com o Google Reader só é necessário abrir a Consola de Erros (Ferramentas > Consola de Erros) e escrever o seguinte:

Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow("mail:3pane").document.getElementById("tabmail").openTab("contentTab", {contentPage: "http://reader.google.com/"});



 Se se preferir outro site em vez do Google Reader, só é necessário substituir a parte carregada pelo endereço do site que se quiser.

O resultado final é este:



Espero ter ajudado e que tenham gostado da dica.

por José Pedro (noreply@blogger.com) em 24 de Janeiro, 2010 18:44

22 de Janeiro, 2010

celso

Organizar


http://www.mozilla.org/projects/calendar/

Lightning – Add-on para Thunderbird

Sunbird  – Calendário “stand alone”

por celsor em 22 de Janeiro, 2010 00:50

18 de Janeiro, 2010

Joel Patrão

14 de Janeiro, 2010

drcursor

Quem é “Terrorista” afinal? (II)

Excerto do relato de Amaia Urizar, torturada pela Guardia Civil:

Então senti o metal entre as minhas pernas e um guarda civil sussurrou-me que não me mexesse. Eu chorava e comecei a gritar como uma louca, enquanto fazia forças para juntar as minhas pernas, mas não podia porque tinha os tornozelos atados aos pés da cadeira… Pôs-me a pistola entre as pernas e com a mão apalpou-me as cuecas; eu gritava-lhe que me deixasse em paz, mas ele começou-me a bater-me nos ouvidos com estalos e gritava-me que estivesse quieta ou que se ia escapar um tiro porque a pistola estava carregada. Ouvia as gargalhadas dos restantes dizendo coisas do estilo “vaca, puta, vais gostar..”. Introduziu-me o canhão da pistola na vagina enquanto me gritava ao ouvido uma e outra vez “que te digo quando te foder, gora ETA?” Não podia parar de chorar e já não tinha forças para gritar. Começou-me a introduzir e a tirar a pistola de forma mais violenta, o que me provocava dor, enquanto que o que me sussurrava “sim, tu gostas, puta”, “não vais ter um filho porque te vou dar dois tiros”…O seu odor metia-se dentro de mim, enojava-me, não sei se alguma vez me sairá este cheiro da cabeça…Estavam-se todos a rir (…) metia-me e tirava o canhão da pistola na vagina e sovava-me o peito de forma brusca, apertando-me o peito com as mãos. Notava dentro de mim o frio do metal, eles repetiam que a pistola estava carregada e que se disparassem a culpa seria minha…Não sei quanto tempo se prolongou a violação mas fiquei muda, estava como perdida; naquela habitação estavam a violar o meu corpo, mas por momentos consegui fugir dali em pensamentos, entre soluços, mas consegui fugir dali; dava-me conta da minha gente, estava com eles e elas, estava protegida… De repente sacou o canhão bruscamente de dentro de mim, enquanto lhes dizia (…) “temos de repetir, que ela gostou”… Voltei à realidade, encontrava-me dorida… De novo mostraram-me as fotografias, de uma em uma, e diziam-me a respeito de cada pessoa o que lhes tinha dito (de que local eram…) mais o que eles lhes queriam imputar; diziam-me que tinha de aprender tudo de memória para repetir quando tivesse de declarar… Repetiram-no muitas vezes e eu tinha que o repetir tudo uma e outra vez e se confundia começavam a bater-me e dar-me estaladas, e a ameaçar-me dizendo que me iam violar de novo”.

Lê o relato completo

Assina a petição da ASEH para que os dois presos bascos em Portugal não sejam enviados para Espanha e sujeitos a tratamento deste calibre.

por drcursor em 14 de Janeiro, 2010 11:43

12 de Janeiro, 2010

drcursor

Quem é “Terrorista” afinal?

Muito se pode dizer sobre o Pais Basco…mas acho que estes dois videos resumem muito:

http://www.youtube.com/watch?v=Ga84rl-4gqg

http://www.youtube.com/watch?v=gwj9xfW7gfY

Mais informações : http://paisbasco.blogspot.com

Abaixo assinado contra a extradição dos dois independentistas : http://www.petitiononline.com/ehpt1974/petition.html

Grupo contra a extradição dos dois independentistas no Facebook : http://www.facebook.com/group.php?gid=245156199445

por drcursor em 12 de Janeiro, 2010 17:07

09 de Janeiro, 2010

Joel Patrão

Pitxyoki

Compilar a versão de desenvolvimento do Audacious

Este post tem contra-indicações para os fracos de estômago!

As versões supostamente estáveis do Audacious têm por tradição (pelo menos pela minha experiência) ser menos estáveis do que algumas das suas versões de desenvolvimento. Para ajudar a reportar bugs e usar de imediato uma versão com alguns desses bugs corrigidos, a equipa recomenda que se instale e use a versão mais recente de desenvolvimento.

Aqui fica um guião "rápido":

  1. Instalar as dependências para compilar o audacious e todos os plugins que se pretendem:
    # apt-get build-dep audacious audacious-plugins audacious-plugins-extra [click!]
    NOTA: é preciso haver linhas iniciadas com deb-src no ficheiro /etc/apt/sources.list.

    • audacious (base) - podem ser necessários mais pacotes, estes são só os que eu não tinha e precisei de instalar:
      autoconf automake autotools-dev diffstat imagemagick liblqr-1-0 libmagickcore2 libmagickwand2 libsamplerate0-dev m4 quilt

    • audacious-plugins:
      libasound2-dev libmad0-dev libflac-dev libogg-dev libmowgli-dev libmcs-dev libdbus-1-dev libdbus-glib-1-dev libcurl4-gnutls-dev audacious-dev comerr-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libbinio-dev libcddb2-dev libcdio-cdda-dev libcdio-dev libcurl4-gnutls-dev libesd0-dev libfluidsynth-dev libgcrypt11-dev libgif-dev libgl1-mesa-dev libglu1-mesa-dev libgnutls-dev libgpg-error-dev libgssrpc4 libidn11-dev libimlib2 libimlib2-dev libjack-dev libkadm5srv6 libkdb5-4 libkrb5-dev liblash-dev libldap2-dev liblircclient-dev libltdl-dev libmms-dev libmtp-dev libmusicbrainz4-dev libmusicbrainz4c2a libneon27-gnutls-dev libprojectm-dev libpulse-browse0 libpulse-dev libreadline5-dev libresid-builder-dev libsdl1.2-dev libshout3-dev libsidplay2-dev libsndfile1-dev libspeex-dev libtag1-dev libtagc0 libtagc0-dev libtasn1-3-dev libtheora-dev libtiff4-dev libtiffxx0c2 libusb-dev libvorbis-dev libwavpack-dev libxt-dev mesa-common-dev uuid-dev libxml2-utils libfaad-dev libavcodec-dev libavformat-dev libavutil-dev libcue-dev libcue1



  2. [Mostrar tempos]
    $ whoami
    <USER>
    # adduser <USER> src
    # mkdir /opt; chown <USER>.<USER> /opt
    $ cd /usr/src/
    $ aria2c http://hg.atheme.org/audacious/audacious/archive/tip.tar.bz2
    $ aria2c http://hg.atheme.org/audacious-plugins/audacious-plugins/archive/tip.tar.bz2
    $ mkdir audacious/; cd audacious/
    $ tar -xf ../audacious-*.tar.bz2
    $ cd audacious-XPTO/
    $ ./autogen.sh
    $ time ./configure --prefix=/opt/audacious/
    Configuration: [Mostrar/Esconder]

    Install path: /opt/audacious
    Use one plugin dir:
    Allow user plugin dir: yes

    Automatic character code detection: yes
    Sample rate conversion: no
    D-Bus support: yes
    Session management (eggsm) yes
    XSPF playlists yes

    SSE2: yes
    AltiVec: no


    real 0m13.509s
    user 0m4.708s
    sys 0m1.712s

    $ time make -j 2

    real 1m4.673s
    user 1m29.454s
    sys 0m9.981s

    $ time make -j 2 install

    real 0m2.414s
    user 0m1.144s
    sys 0m0.184s

  3. [Mostrar tempos]
    $ export PKG_CONFIG_PATH=/opt/audacious/lib/pkgconfig/:$PKG_CONFIG_PATH
    $ export LD_LIBRARY_PATH=/opt/audacious/lib/:$LD_LIBRARY_PATH
    $ cd ../audacious-plugins-XPTO/
    $ ./autogen.sh
    $ time ./configure --prefix=/opt/audacious/
    Configuration: [Mostrar/Esconder]

    Install path:

    Output Plugins
    --------------
    Open Sound System (oss): yes
    Open Sound System v4 (oss4): no
    Advanced Linux Sound Arch. (alsa): yes
    PulseAudio (pulse): yes
    Enlightenment Sound Daemon (esd): yes
    Jack Audio Connection Kit (jack): yes
    BSD/SUN audio output (sun): no
    Mac OS X sound support (CoreAudio): no
    FileWriter: yes
    -> FileWriter MP3 output part: no
    -> FileWriter Vorbis output part: yes
    -> FileWriter FLAC output part: yes
    Icecast audio output (icecast): yes
    Null Audio output (null): yes

    Input Plugins
    -------------
    MPEG 1/2/3 (madplug): yes
    MPEG 4 Audio (AAC): yes
    FFaudio (ffaudio): yes
    Module decoder (modplug): yes
    MIDI modular plugin (amidi-plug): yes
    -> ALSA backend: yes
    -> FluidSynth backend: yes
    -> dummy backend: yes
    CD Digital Audio (cdaudio_ng): yes
    sndfile extensions: yes
    Tone Generator: yes
    Ogg Vorbis (vorbis): yes
    Free Lossless Audio Codec (flacng): yes
    Commodore 64 audio (SID): yes (old style API)
    -> libSIDPlay1 support: no
    -> libSIDPlay2 support: yes
    -> distortion patched libSIDPlay2: no
    Game music (spc, nsf & gbs): yes
    PlayStation (psf/psf2) audio (psf): yes
    Nintendo DS audio (xsf): yes experimental
    AdLib synthesizer (adplug): yes
    Apple Lossless Audio Codec (alac): yes
    WavPack 4.31+ (wavpack): yes
    Metronom: yes

    General
    -------
    Alarm: yes
    Song Change: yes
    Status Icon: yes
    Audacious OSD: yes
    -> X Composite support: yes
    Control via event device (evdev-plug): yes
    Global Hotkey Plugin: yes
    Gnome Shortcuts Plugin: yes
    LIRC: yes
    AudioScrobbler Client: yes
    Upload to MTP device: yes
    Bluetooth audio support: no
    MacOS Dock Album Art plugin: no
    Streambrowser: yes

    Effect
    ------
    AudioCompressor (AGC): yes
    LADSPA effects host (ladspa): yes
    Voice Removal: yes
    Extra Stereo: yes
    Echo/Surround: yes
    SndStretch: yes
    Crystalizer: yes
    Icecast effect plugin (icecast): yes
    Bauer stereophonic-to-binaural (bs2b): no

    Visualization
    -------------
    Blur Scope: yes
    Spectrum Analyzer: yes
    Paranormal Visualization Library: yes
    projectM 0.x (GL milkdrop): no
    projectM 1.x (GL milkdrop): no

    Transport
    ---------
    gio transport: yes
    neon-based http/https: yes
    libmms-based mms: yes
    lastfm transport: yes

    Container
    ---------
    Winamp PLS playlist format (pls): yes
    M3U playlist format (m3u): yes
    XML Sharable Playlist Format (xspf): yes
    CUE playlist format (cue): yes


    real 0m13.482s
    user 0m5.776s
    sys 0m2.160s

    $ time make -j 2

    real 6m44.552s
    user 9m0.478s
    sys 0m54.663s

    $ time make -j 2 install

    real 0m24.868s
    user 0m17.537s
    sys 0m1.044s



O audacious ficará arrumadinho em /opt/audacious, sem tocar nos ficheiros do sistema. Para o iniciar basta fazer /opt/audacious/bin/audacious2.
Para desinstalar tudo basta fazer:
$ cd /usr/src/audacious/audacious-plugins-XPTO/
$ make uninstall
$ cd ../audacious-XPTO/
$ make uninstall
$ rm -rf /opt/audacious
$ cd /usr/src/; rm -rf audacious/

...e remover os pacotes instalados pelo build-dep.

por Pitxyoki (noreply@blogger.com) em 09 de Janeiro, 2010 03:28

07 de Janeiro, 2010

Pitxyoki

Configurações para o arranque do sistema

GRUB2: A nova versão do GRUB. A configuração é feita em ficheiros diferentes do antigo menu.lst.
Bootchart: criação de gráficos do processo de arranque. Útil para analisar quanto tempo demoram os programas a arrancar até que o sistema esteja pronto a usar.
Kernel Mode Setting (KMS): definição da resolução do ecrã no núcleo do Sistema Operativo. Permite evitar que o ecrã "pisque" tantas vezes durante o arranque e na alteração entre o sistema gráfico e os terminais virtuais (TTYs).
Novo sistema de init: Permitirá definir a ordem dos programas a arrancar com o sistema baseando-se nas suas dependências. Tornará obsoleta a configuração baseada em números de sequência e supostamente o arranque será mais rápido.

O leitor mais interessado deverá consultar as referências para melhores explicações sobre cada uma destas opções. :-)

Notas:
- A configuração para KMS aqui apresentada é apenas para placas gráficas Intel. Placas de outros fabricantes deverão ser configuradas de outra forma.
- Com KMS ainda há um momento durante o arranque em que o ecrã muda a resolução: quando do GRUB se passa para o arranque do Linux. Este ponto tem estado a ser trabalhado e aguardam-se novidades para quando também este passo for mostrado na melhor resolução possível. Sem KMS, a opção gfxpayload serve exactamente para manter a resolução durante esta transição. Obviamente, com isto perdem-se as vantagens do KMS.
- Os modos suportados pelo GRUB2 (e que dependem da BIOS) podem ser consultados durante o arranque: no próprio GRUB carregar na tecla "C" e escrever: vbeinfo.


Configurações com GRUB2, bootchart e KMS:
  1. # echo "i915 modeset=1" > /etc/modules
  2. # egrep "(CMDLINE|GFXMODE)" /etc/default/grub
    GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/sbin/bootchartd"
    GRUB_CMDLINE_LINUX=""
    GRUB_GFXMODE=1280x1024x32
  3. # update-grub2


Com GRUB2, sem bootchart e sem KMS:
  1. Por volta da linha 80, no ficheiro /etc/grub.d/00_header:
    set gfxmode=${GRUB_GFXMODE}
    set gfxpayload=keep
    insmod gfxterm
  2. # egrep "(CMDLINE|GFXMODE)" /etc/default/grub
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX=""
    GRUB_GFXMODE=1280x1024x32
  3. # update-grub2


Referências:
Bootchart - How it Works
Bootchart - README
Debian Wiki - KernelModesetting
Debian Wiki - Dependency based boot sequence
Mailing list debian-devel-announce: The future of the boot system in Debian

por Pitxyoki (noreply@blogger.com) em 07 de Janeiro, 2010 11:12

06 de Janeiro, 2010

Joel Patrão

05 de Janeiro, 2010

elmig

04 de Janeiro, 2010

m42

Resoluções de Ano Novo

Resoluções de Ano Novo para 2010 (des-ordenadas):

Debian
- Retomar as traduções de material novo
- Ajudar noutras áreas (spam-reporting nas mailling-lists, triagem de bugs)
- Ajudar na dinamização do debianPT

Vamos a ver, no final deste ano, o que terei conseguido fazer...

Bom Ano de 2010 a todos os leitores (se ainda ouver algum) deste blog.

por Pedro Ribeiro (noreply@blogger.com) em 04 de Janeiro, 2010 16:30

03 de Janeiro, 2010

Joel Patrão

Packages for Asus eee pc

Here are some useful packages for Asus eee pc, eeepc-acpi-utilities_1.1.48_i386 and eeepc-tray_1.0.17_i386.

Eee-control is an easy-to-use utility for controlling Eee PC hardware under Linux.
It can toggle hardware (WiFi, Bluetooth, etc.) on and off, lets you configure all hardware hotkeys, enables aggressive powersaving, and more.

por joel.patrao@gmail.com (Joel Patrão) em 03 de Janeiro, 2010 21:31

Marcos Marado

Personal Top 20 decade bands

Sorry for the lack of propper formating and links, this is a blog post being written in a rush, via cellphone.

I've seen more than one hundred "top music lists" in the last month: being end of year and end of decade (spare me the math, people *act* as this was an end of decade, and that's what matters), it is no surprise that we get so many lists, and, well, all of them (the music ones) are subjective and kind of personal, so not only I'm not going to comment them, but also I'm not going to hide it: this blog post is highly personal, and lists what were, for me, the 20 most important music acts of this decade. Personal, I insist.

Black Metal band ColdBlooded (and probably also Death Metallers NecroSlaughter, but those won't be a part of this list since they ended up never going public, with music released or gigs played) is a really personal choice: they are a part of the reason that made me understand what it is to be a musician today, what can you achieve by yourself, the reality of Portuguese small labels, and several other things. Not only their "Sangue Barbaro" release is great, but their existence was, by chance, an important piece in my path as a musician. Heavily related with it (specially with NecroSlaughter) is Mordor, my "old Metal band". It was an important experience and step for me, where the process was more important than the result. Now defunct, its track "Dystopia" is what's worth listening of it, and the example of what Mordor could have been if it wasn't just a process, the path that led me as a musician to try something else... and what ended up validating my steps as a musician by myself... and so, the third in my list, Merankorii, my experimental one-man-band. Writing about Merankorii would be a project by itself (maybe one day I'll write a book or something about it), but for this post I'll just say that Merankorii is... "the musical me". You can listen or download lots of free tracks or albums, or buy some of its records. Merankorii is a pretty active musical project, and disregarding compilations and similar collaborations it has released 9 albums, with the 10th comming really soon. Another inspiring Portuguese one-man-band, and the fourth of this list, is Ambiance, unfortunately virtually unknown and yet one of the best Portuguese acts we have and one that, for me, mark the Portuguese music history of this decade. Personally I think that "As Dez Esperas" is its best album, and if you're willing to know this band you should grab that album. My story with Ambience's M. Is once again a proof that the era of rock stars is over, and that bands have to be more accessible than ever. My interaction with him was so good that we ended up creating a musical project and an album together: that is the story of the creation of "Ambiansu", considered by some as "better than Merankorii or Ambiense alone". Only time will tell what the future reserves for this project, but I believe that you'll hear more about it, even if not a lot more. Anyway, it was already worth it, and its record will always have a very special place in my music collection. +ko+ko+, another Portuguese one-man-band, is a musical project created in 2009, when its debut album was released (by Noori Records), and it is important for me in many levels. It is, IMHO, a great album, which I helped producing, and it is for me the proof that nowadays anyone can create great music, if they have the will to do it. The seventh is being announced in this post: kokori. I don't have any clue about what's going to happen to that musical project, but kokori is yet another experience, and yet another example of how different things are in the music world nowadays. It appeared almost by chance, and it is a musical project created by me and the guy behind +ko+ko+. If nothing else, the only track we've done is going to be released soon in a compilation. Then, a triple: Empyrium, Tenhi and Neun Welten. These three neofolk bands play the type of neofolk I enjoy and inspires me the most. Heavily linked with Mother Nature, they are different but complement themselves. Empyrium was an exercice of perfectionism. Album after album, its work was getting more and more defined, until their last, the perfect album, was done and released. After that, the work of Empyrium was done and the project disbanded. A great collectors package was released with every Empyrium work and a book explaining it all, so grab it if you get the chance. Tenhi is darker, colder, more introspective. A different take on the subject, they've been aweing me (and its fans) album after album, and I'm sure that I won't be able ever to think about this decade about reminding them. They're making something beautiful and new from what's ancient, and they work as a proof that there's evolution in music. Neun Welten, a relatively new act, is for me something as a bridge between Empyrium and Tenhi: its recently released second album surely sounds more Empyrium-ish than the first, but... It's not really a good time for me to talk about N.W. since I still need to have more contact with the new album. DVAR and Caprice, needed to be introduced together, are 11 and 12 on this list. DVAR is simply the most "inovattive" band there is, and Caprice a DVAR-ish (in mood) introduction to the neoclassical faerie world. Grab DVAR's complete discography, if you can (being released by Russian labels add to their mistery an "hard-to-grab" factor), and the latest Caprice works.

Sunn O))) was great in the decade, introducing drone to the mainstream. Ashram is the proof that simple can be beautiful, showing us the future of neoclassical music. Current 93 proves that indie bands can make it, with its legion of true fans and Tibet's non-stop work making new and different albums in a breathtaking pace. The decade begun with Jack Off Jill's latest album, and a prelude to Scarling.: less shock rock, still grrl rock, this is simply what indie rock should be. Jessicka from Scarling. created another musical project "The Ingenues" (only one digital single released so far), let's see if they make into the 10's list. Speaking of shock rock, it's no news that I consider Marilyn Manson a genious musician, but this decade was my "departure" with his works: despite Holy Wood and The Golden Age of Grotesque being excelent albums (totally different, but both really good), I didn't really followed his works after that (and from what I've heard I didn't miss much), nor even went to his latest concerts in Portugal: my boycott to major labels includes Interscope since it is a subsidiary of Universal... but the great news about Marilyn Manson came already in the last month of the decade: Marilyn Manson's contract with Interscope expired, so now he's free and working on a new album... may 2010 bring us a great new MM record. And, well, talking about MM I had to talk about #18 and #19: Nine Inch Nails and Radiohead are two bands I don't actually musically enjoy enough to buy them an album, but they surely marked the decade, to the point that if this list had only two name, they had to be these. Their message is clear: stop whining, music is more alive than ever. Some of the lists I've been reading come with rants telling us that this decade was not a particulary good one on music (OK, some of those who wrote about it can never be taken seriously - yes, I'm looking at you Belanciano), but these two actually gave us, more than music, or business models, a message: the next decade, regarding music, will be brilliant if we let it go that way. Finaly, the #20: Astra Autisma. This one is hard to explain, go listen to it yourself. A warning tho: it's something that won't last...

por noreply@blogger.com (Mind Booster Noori) em 03 de Janeiro, 2010 16:37

02 de Janeiro, 2010

elmig

Actualizar microcode em processadores Intel

Microcode é o nome do ‘firmware’ de processadores.

É vulgar existirem correcções para o microcode dos processadores. Em (quase) todos os processadores são detectados bugs e são feitas correcções ao microcode.

No caso dos processadores Intel é possível carregar, durante o arranque, um ficheiro com a actualização do microcode.

Para tal é necessário ter o suporte no kernel para carregar o microcode:

CONFIG_MICROCODE=m
CONFIG_MICROCODE_INTEL=y

De seguida pode ser feito de duas formas. A primeira, genérica:

- fazer o download do ficheiro de microcode [1];
- descompactar para uma determinada localização;
- obter o utilitário para carregar o microcode;
- configurar a coisa.

…ou pode ser feito ‘à Debian’:

~# aptitude install microcode.ctl

1 – http://downloadcenter.intel.com/detail_desc.aspx?agr=&ProductID=&DwnldID=18148&strOss=&OSFullName=&lang=eng

Digg Facebook Google Bookmarks Google Reader Hotmail LinkedIn LiveJournal Reddit StumbleUpon Technorati Favorites Twitter Windows Live Favorites WordPress Yahoo Bookmarks Share/Bookmark

por elmig em 02 de Janeiro, 2010 18:50

31 de Dezembro, 2009

elmig

30 de Dezembro, 2009

Joel Patrão

28 de Dezembro, 2009

elmig

27 de Dezembro, 2009

Tux Vermelho

Monitoriza o teu PC

Um dos programas essenciais em qualquer sistema operativo, na minha opinião, é o monitor de sistema pois com ele posso controlar os consumos do processador, da memória, os serviços activos, pará-los ou matá-los, entre outras coisas. E se num PC doméstico, este recurso já é bastante útil, agora pensem qual a sua importância e utilidade num servidor!
E que monitores de sistema se tem num Linux com ambiente Gnome? Abrindo um terminal e escrevendo "top" aparece-nos imediatamente um dos mais conhecidos e populares:

top


Apesar de bastante útil, o "top" é um aplicativo muito simples, talvez até simples demais para muitos utilizadores. O "atop", Advanced Top, dá-nos mais informação do sistema além de que guarda dados até 28 dias por omissão para melhor visualizarmos a utilização do sistema desse período.

atop


Uma variação do "top" é o "Htop", visualizador de processos interactivo. Mais apelativo à vista pois dá-nos a informação em modo colorido e os consumos de memória e CPU em modo gráfico. O Htop também nos dá a possibilidade de controlar muitas funções através das teclas "Fs".

htop


Um top muito especial é o "Iotop": com ele pode-se monitorizar os I/O dos vários processos que estão a ser executados no momento:

iotop


E para aqueles que acham o terminal fora de moda, há sempre monitores de sistema gráficos como o System Activity Monitor do KDE acessível através do Krunner ou o Gnome System Monitor:

Gnome System Monitor


Se acharem que o aspecto da janela acima é um tanto old-fashion, então experimentem usar o lavaPS em que os processos são representados por fluídos numa lâmpada de lava:

LavaPS


Seja qual for o programa que preferirem, não deixem de ver e controlar o vosso PC!

por RedTuxer (noreply@blogger.com) em 27 de Dezembro, 2009 19:26

26 de Dezembro, 2009

Aquarina

22 de Dezembro, 2009

Tux Vermelho

Factos e consequências

Facto:
Benfica avia o FCP por 1 bola a 0:



Consequência:
A recessão com fim à vista em Portugal

Metro


Agora imaginem o Glorioso ganhar o campeonato (que é o mais certo) e o que acontecerá a Portugal!

por RedTuxer (noreply@blogger.com) em 22 de Dezembro, 2009 21:22

21 de Dezembro, 2009

cusco

Gateway com proxy (squid)

Boas.

Venho revelar aqui alguns segredos, já que debian nos tem revelado todo o seu codigo fonte...

temos definido o 192.168.2.10 como gateway, e nele temos:

--

root@gateway:~# crontab -l
# m h dom mon dow command

# MRTG
0-55/5 * * * * env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg >> /var/log/mrtg/mrtg.log 2>&1;
01-56/5 * * * * env LANG=C /usr/bin/mrtg /etc/mrtg/mem.cfg >> /var/log/mrtg/mem.log 2>&1;

# DDCLIENT
*/20 * * * * bash /usr/local/bin/update-ip >> /var/log/ddclient/update-ip.log 2>&1;

# GATEWAY
@reboot /usr/local/bin/gateway >> /var/log/gateway/gateway.log 2>&1;

--

root@gateway:~# cat /usr/local/bin/gateway
#!/bin/sh

PATH=/usr/sbin:/sbin:/bin:/usr/bin

#
# delete all existing rules.
#
iptables -F;
iptables -t nat -F;
iptables -t mangle -F;
iptables -X;

# Always accept loopback traffic
iptables -A INPUT -i lo -j ACCEPT;

# Allow established connections, and those not coming from the outside
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT;
iptables -A INPUT -m state --state NEW -i ! eth1 -j ACCEPT;
iptables -A FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT;

# Allow outgoing connections from the LAN side.
iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT;

# Masquerade.
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE;

# Don't forward from the outside to the inside.
iptables -A FORWARD -i eth1 -o eth1 -j REJECT;

# Enable routing.
echo 1 > /proc/sys/net/ipv4/ip_forward;

###########
## Squid ##
###########
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3129;

###########
## Proxy ##
###########
ip route del 10.100.100.0/24;
ip route add 10.100.100.0/24 dev eth0 via 192.168.2.253;

--

root@gateway:~# cat /usr/local/bin/ARtelecom
#!/bin/sh

PATH=/usr/sbin:/sbin:/bin:/usr/bin

#
# delete all existing rules.
#
iptables -F;
iptables -t nat -F;
iptables -t mangle -F;
iptables -X;

# Always accept loopback traffic
iptables -A INPUT -i lo -j ACCEPT;

# Allow established connections, and those not coming from the outside
#iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
#iptables -A INPUT -m state --state NEW -i ! eth1 -j ACCEPT
#iptables -A FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT

# Allow outgoing connections from the LAN side.
#iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT

# Masquerade.
#iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

# Don't forward from the outside to the inside.
#iptables -A FORWARD -i eth1 -o eth1 -j REJECT

# Enable routing.
echo 1 > /proc/sys/net/ipv4/ip_forward;

route del default;
route add default gw 192.168.2.253;

###########
## Squid ##
###########

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3129;

echo -e "Ligacao alterada para ARtelecom\nVamos testar:\n";
#IP=`curl checkip.dyndns.org |cut -d " " -f 6|cut -d "<" -f 1`;
IP=`lynx --dump checkip.dyndns.org|head -n 1|cut -d " " -f 7`;
echo "IP externo: $IP";

--

root@gateway:~# cat /usr/local/bin/Vodafone
#!/bin/sh

PATH=/usr/sbin:/sbin:/bin:/usr/bin

#
# delete all existing rules.
#
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -X

# Always accept loopback traffic
iptables -A INPUT -i lo -j ACCEPT

# Allow established connections, and those not coming from the outside
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -m state --state NEW -i ! eth1 -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT

# Allow outgoing connections from the LAN side.
iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT

# Masquerade.
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

# Don't forward from the outside to the inside.
iptables -A FORWARD -i eth1 -o eth1 -j REJECT

# Enable routing.
echo 1 > /proc/sys/net/ipv4/ip_forward

# Gateway
route del default;
route add default gw 192.168.1.1;

###########
## Squid ##
###########
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3129

echo -e "Ligacao alterada para VODAFONE\nVamos testar:\n";
#IP=`curl checkip.dyndns.org |cut -d " " -f 6|cut -d "<" -f 1`
IP=`lynx --dump checkip.dyndns.org|head -n 1|cut -d " " -f 7`
echo "IP externo: $IP";

--

root@gateway:~# cat /etc/squid/extra.conf
################
# Apt-Cacher #
################
#redirect_program /usr/lib/squid/jesred
#redirect_children 15

#cache_peer aptcacher parent 3142 7 proxy-only no-query no-netdb-exchange connect-timeout=15
#acl aptget browser #-i apt-get apt-http apt-cacher apt-proxy
#acl deburl urlpath_regex /(Packages|Sources|Release|Translations-.*)\(.(gpg|gz|bz2))?$ /pool/.*/\.deb$ /(Sources|Packages)\.diff/ /dists/[^/]*/[^/]*/(binary-.*|source)/.

#cache_peer_access aptcacher allow aptget
#cache_peer_access aptcacher allow deburl
#cache_peer_access aptcacher deny all

#never_direct allow aptget
#never_direct allow deburl
#never_direct deny all

################
# Interception #
################
http_port 3129 transparent

#################
# Reverse Proxy #
#################

#http_port 192.168.1.51:80 accel defaultsite=pcmedic.pt
#cache_peer 192.168.2.25 parent 80 0 no-query originserver name=pcmedicAccel
#cache_peer 192.168.2.25 parent 80 0 no-query originserver name=pcmedic.ath.cx

#acl our_website dstdomain pcmedic.pt
#http_access allow our_website
#cache_peer_access pcmedicAccel allow our_website
#cache_peer_access pcmedicAccel deny all

#################
# Blocks #
#################
# Media Streams

#rui.ferreira: desbloquiei o mms

## MediaPlayer MMS Protocol
#acl media rep_mime_type mms
#acl mediapr url_regex dvrplayer mediastream ^mms://
## (Squid does not yet handle the URI as a known proto type.)

## Active Stream Format (Windows Media Player)
#acl media rep_mime_type x-ms-asf
#acl mediapr2 urlpath_regex \.(afx|asf)(\?.*)?$

## Flash Video Format
#acl media rep_mime_type video/flv video/x-flv
#acl mediapr3 urlpath_regex \.flv(\?.*)?$

## Others currently unknown
acl media rep_mime_type ms-hdr
acl media rep_mime_type x-fcs

# Bloqueios

#http_access deny mediapr
#http_access deny mediapr2
#http_access deny mediapr3
#http_reply_access deny media

acl blocksites dstdomain -i "/etc/squid/squid-block.acl"
http_reply_access deny blocksites

## Flash General Media Scripts (Animation)
acl blockflash dstdomain -i "/etc/squid/block-flash.acl"
acl blockfl rep_mime_type application/x-shockwave-flash
acl blockedflash urlpath_regex \.swf(\?.*)?$

#http_reply_access deny blockfl blockfl

#################
# Normal Config #
#################
acl pcmedic_intra src 192.168.2.0/24
http_access allow pcmedic_intra

##debug
#debug_options ALL,1 33,2

--

root@gateway:~# cat /usr/local/bin/update-ip
#!/bin/bash

IP=`curl checkip.dyndns.org --interface eth1 2>/dev/null|cut -d " " -f 6|cut -d "<" -f 1`
echo "______________";
date +%F\ -\ %T;
/usr/sbin/ddclient -verbose -use=ip -ip $IP;
echo "--------------";

por cusco em 21 de Dezembro, 2009 21:55

Olá mundo!

Boas,
 
Eu até escreveria algo mais interessante neste quadrado branco, infelizmente não tenho vagar...
Por isso deixo-vos aqui saudações, que demosntra um certo nivel de educação!
 
:-)
 
 
Resto de bom dia!

por cusco em 21 de Dezembro, 2009 21:35

20 de Dezembro, 2009

elmig