Mar 29 2011

Iceweasel 4 on Debian Squeeze/Wheezy

Éverton Arruda

For those of you who don’t know what Iceweasel is, it’s written in Debian’s Wiki[0]:

Iceweasel is a fork Mozilla Firefox[1] with the following purpose :
1. backporting of security fixes to declared Debian stable version.
2. no inclusion of trademarked Mozilla artwork (because of #1 above)
Beyond that, they will be basically identical. (quoting Roberto C. Sanchez post in debian-devel mailing list)

Iceweasel’s (and Firefox’s) latest version, 4.0, was recently released[2], on Mach 22nd, and i’ve just upgraded Iceweasel 3.6 to Iceweasel 4.0 on my Debian Wheezy.

If you’d like to upgrade yours, follow the steps bellow.

1. Add Mozilla’s repository to sources.list
Edit the /etc/apt/sources.list file and add the repository’s address:

1
deb http://mozilla.debian.net/ squeeze-backports iceweasel-4.0

Even though it’s Squeeze’s repository, it worked fine on my Wheezy.
You can type the following command to add it:

1
# echo "deb http://mozilla.debian.net/ squeeze-backports iceweasel-4.0" >> /etc/apt/sources.list

2. Update packages list

1
# aptitude update

3. Install Iceweasel 4
You can check the version of iceweasel with the command bellow:

1
# aptitude show iceweasel

Install it with the following command:

1
# aptitude install iceweasel

Wait for it to finish and happy surfing!

Links/Sources:
[0] http://wiki.debian.org/Iceweasel
[1] http://mozilla.com/firefox
[2] http://blog.mozilla.com/blog/2011/03/22/mozilla-launches-firefox-4-and-delivers-a-fast-sleek-and-customizable-browsing-experience-to-more-than-400-million-users-worldwide-2/
[3] http://mozilla.debian.net/


Sep 10 2010

#debian-l10n-br @ irc.oftc.net

Éverton Arruda

Marcelo Santana[0] enviou um e-mail para a lista de tradução para o idioma português[1] do Debian informando que foi criado um novo canal na rede de IRC OFTC[2]. O canal é #debian-l10n-br, abaixo segue a mensagem contida no e-mail:

Olá colegas,

Divulgo que passamos a contar com mais um meio de comunicação entre os
colaboradores do time Brasileiro de tradução do Debian, o canal de IRC
#debian-l10n-br na rede OFTC.

Espero que esta seja mais uma ferramenta que facilite o intercâmbio, para
troca de experiências e solução de dúvidas de maneira mais ágil. Mas vale
salientar que o processo de tradução/revisão continuará da mesma forma,
através da lista e com utilização das pseudo-urls.

Qualquer dúvida com relação à configuração e utilização do cliente IRC,
basta perguntar.

Atenciosamente,

Para acessar o canal você deve utilizar um cliente de IRC, como o XChat[3] ou Mibbit[4], o último é um cliente de IRC para web. Acessar a rede OFTC, via irc.oftc.net ou irc.debian.org, e entrar no canal #debian-l10n-br. Aproveite para entrar nos canais #debian e #debian-br .

[0] http://marcelosantana.wordpress.com/
[1] http://lists.debian.org/debian-l10n-portuguese/
[2] http://www.oftc.net/
[3] http://www.xchat.org/
[4] http://mibbit.com/


Sep 1 2010

echo “Olá, Debian Brasil!”

Éverton Arruda

Agora estou no Planeta Debian Brasil! Valeu, faw[0] !

Como sou novo por aqui, devo me apresentar:
Me chamo Éverton Arruda, nickname: notrev, nascido em 12 de Abril de 1988, estudante de Ciência da Computação da Universidade Federal do Amazonas.

Meu primeiro contato com Linux foi aos 15 anos, com a distro Conectiva. Após isso passei muito tempo sem usá-lo, até que em 2006 conheci o Rodrigo Belém[1], que foi quem me resgatou do lado negro da força. Então eu comecei a utilizar o Ubuntu, uma distro que parecia ser promissora e que possuía uma comunidade crescente.

O Rodrigo me apresentou ao Debian-AM[2], Grupo de Usuários Debian do Amazonas, onde conheci outros nerdões que hoje são grandes amigos meus. Passei a me envolver mais com a comunidade de Software Livre local e hoje, além do Debian-AM, sou membro da Comunidade Sol Software Livre[3] e membro fundador do Projeto Software Livre Amazonas[4].

Após um ano de Ubuntu decidi testar o Debian, por me dizerem que era um sistema bastante estável e confiável. Depois desse dia a minha paixão pelo Debian só cresceu e hoje estou aqui, postando no Planeta Debian Brasil.

[0] http://faw.sh
[1] http://rbelem.blogspot.com
[2] http://am.debianbrasil.org
[3] http://comunidadesol.org
[4] http://am.softwarelivre.org


Aug 16 2010

Feliz Aniversário Debian!

Éverton Arruda

Image made by Valessio Brito (sources), with some elements taken from the Open Clip Art Library.

Hoje, dia 17 de Agosto de 2010, a distribuição Debian GNU/Linux completa 17 anos e este post é em homenagem a esta distribuição que serviu como base a tantas outras que surgiram, como o Ubuntu, e a outras que ainda surgirão.

Parabéns Debian GNU/Linux!

Aproveito o tópico sobre Debian GNU/Linux e deixo aqui minha impressões sobre o DebianDay 2010 Amazonas, ocorrido no dia 14 de Agosto de 2010, na Universidade Federal do Amazonas.

O evento deste ano foi voltado para realizar contribuições para os projetos Debian e Debian Brasil. Disponibilizei minha apresentação sobre Tradução de Pacotes po-debconf[0] e tivemos um treinamento sobre Tradução de Descrição de Pacotes (DDTP) através do DDTSS[1], ministrado pelo Antônio Júnior.

Minhas estatísticas de tradução e revisão de DDTP durante o evento:
Revisões:
* collatinus
* cairo-dock-illusion-plugin
* ccache
* ppp
* convlit
* cream
* crip
* cronolog
* colrdx
* crosshurd
* copyfs
* unp
* amora-cli

Traduções:
* cruft
* cstream

Agradeço aos professores Horácio e Ruiter, do Departamento de Ciência da Computação da UFAM, por terem disponibilizado o espaço para a realização do evento, e aos que participaram do evento, em especial a:
* Antônio Júnior  (brankinhu) http://brankinhu.eti.br
* Davyd Smelk (dsmelk) http://dsmelk.eti.br
* Marcelo Mendes (marcelomendes) http://marcelomendes.eti.br
* Fred Maranhão (fred_maranhao)
* Rodrigo Avelino (roda)

[0] http://earruda.eti.br/blog/2010/08/traducao-de-arquivos-po-debconf-debianday-2010-amazonas/
[1] link ainda não disponível.


Aug 11 2010

DebianDay 2010 Amazonas

Éverton Arruda

Mais um vez estaremos realizando o DebianDay em Manaus.

Este ano estamos planejando realizar um hackfest para comemorar os 17
anos da distro Debian GNU/Linux. Neste hackfest iremos ajudar o
projeto Debian Brasil com traduções de vários tipos, como:
* tradução de descrição de pacotes;
* tradução de páginas web;
* localização de pacotes (tradução de pacotes);
* etc…

O evento é aberto a todos que quiserem contribuir com o Projeto Debian.

Local: Laboratório de Graduação do Departamento de Ciência da Computação, UFAM.
Data: 14 de Agosto de 2010
Hora: 10h ~ 16h

Pretendemos manter um grupo de tradutores no Amazonas para estar
contribuindo semanalmente, ou quinzenalmente, com o Projeto Debian. Se
você se interessar, entre em contato conosco pela lista de discussões.

Maiores informações:
* http://am.diadebian.org
* http://am.debianbrasil.org


Jul 8 2010

Getting Broadcom wireless to work on Debian

Éverton Arruda

Debian-like distributions come with b43, or b43legacy, and ssb modules for broadcom wireless cards, but they never worked for me. Searching over the internet i found out that broadcom provides the driver for BCM4311-, BCM4312-, BCM4313-, BCM4321-, and BCM4322-based hardware, all we need to do is compile it and install the module. This is how we do it:

1 – Check your wireless card:
First of all we need to be sure that your wireless card is one of the BCMXXXX-based hardware:

1
$ lspci | grep Network

The return should be something like this:
08:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)

In that line you can see that my wireless card hardware is BCM4312, so it is supported.

2 – Download the Driver:
You can access Broadcom’s website[0] and download it or use wget to download it through shell.
For 32-bits CPUs:

1
$ wget -c http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_32-v5.60.48.36.tar.gz

For 64-bits CPUs:

1
$ wget -c http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_64-v5.60.48.36.tar.gz

3 – Remove the other modules:
Check if b43, b43legacy, ssb and/or an older version of wl modules exist:

1
$ lsmod  | grep "b43\|ssb\|wl"

Remove them, if they exist:

1
# rmmod b43 ; rmmod b43legacy ; rmmod ssb ; rmmod wl

Add b43, b43legacy and ssb to the blacklist, preventing them to be probed in initialization:

1
2
3
# echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
# echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
# echo "blacklist b43legacy" >> /etc/modprobe.d/blacklist.conf

4 – Install the wl module:
Extract the tarball you downloaded and compile it, you’ll need to install the build-essential package to compile it:

1
2
3
4
5
# aptitude install build-essential -y
$ mkdir broadcom
$ cd broadcom
$ tar xvzf ../hybrid-portsrc-x86_<32/64>-<version>
$ make

If you have an older version of wl, which is usually in /lib/modules//kernel/net/wireless, you should rename or remove it, to avoid conflicts:

1
# mv /lib/modules/`uname -r`/kernel/net/wireless/wl.ko /lib/modules/`uname -r`/kernel/net/wireless/wl.ko.old

Copy the new wl.ko to /lib/modules//kernel/net/wireless and install it:

1
2
# cp wl.ko /lib/modules/`uname -r`/kernel/net/wireless/
# insmod wl.ko

Add it to /etc/modules to load it at boot time:

1
2
# echo "lib80211" /etc/modules
# echo "wl" /etc/modules

After these steps your wireless network should be working.

Troubleshooting
I had another problem: after rebooting, ssb module was being loaded even after being blacklisted, and the recently added wl module wasn’t.

To check if this is happening to you run the command below:

1
$ lsmod | grep ssb

If the command returns something, it means that the ssb module is being loaded, then you’ll have to:

1 – Remove ssb and wl modules:

1
# rmmod ssb; rmmod wl

2 – Back up the current boot ramfs, generate a new one and reboot system:

1
2
3
# cp /boot/initrd.img-`uname -r`  somewheresafe
# update-initramfs -u
# reboot

3 – Reinstall wl module:

1
2
3
# cp wl.ko /lib/modules/`uname -r`/kernel/net/wireless/
# insmod wl.ko
# depmode -a

And wl module will be loaded at boot time.

[0] http://www.broadcom.com/support/802.11/linux_sta.php


Mar 29 2010

Why aptitude?

Éverton Arruda

Are you one of those people who use aptitude instead of apt-get and don’t know why? Well, i have a confession to make: until today, i was one of those people…

I knew that aptitude was an upgraded version of apt-get and i’m used to use it, but a i never knew what makes it better than apt-get and never needed to know why, but today, while reading Planet Debian (http://planet.debian.org), i saw Jan Hauke Rahm chatting with dpkg bot (http://jhr-online.de/54), in #debian on irc.debian.org, and at some point of the chat he asks to dpkg: “why aptitude?”,  and it answers:

dpkg > aptitude has more advanced conflict/dependency resolution and will often find a solution where apt-get gives up.  It can be used from the command line like apt-get plus an interactive resolver makes it much easier to recover from broken dependencies.  It has advanced search capabilities (see <aptitude search>.

Thanks to that chat, and the consequent blog post, now i’m enlightened =D.

I chatted a little with dpkg, too, but he wasn’t such a nice bot to me, he asked if i was smoking crack =/.

:wq


Oct 13 2009

IpForward from Computer with Linux to PS3

Éverton Arruda

I’ve recently bought my PlayStation 3 (FInaly!!!!!) and was thinking of a way to connect my PS3 to the internet using my 3G BroadBand internet connection, which is provided by the brazilian Phone Company Claro. The only thing that came to me was: IpForward.

So i did this:
1 – Connected my Notebook to the 3G Broadband:
Just connected as I normally do.

2 – Connected my PS3 to my Notebook:
Created a LAN between them, through my notebook’s interface eth0.
I configured my PS3′s network connection as follows:
In the PS3′s main menu go to Settings > Network Settings > Internet Connection Settings, then, go through this sequence of choices: custom, wired connection, auto-detect, manual (the ip settings are shown bellow), automatic, do not use (in my case i don’t use any proxy), enable.

The Ip Settings are:
Ip address: 192.168.0.2
Subnet mask: 255.255.255.0
Default Router: 192.168.0.1 (This is my Notebook’s Ip)
Primary DNS: 208.67.222.222 (This is Claro’s primary DNS Server)
Secondary DNS:
208.67.220.220 (This is Claro’s secondary DNS Server)

3 – Set Notebook to IpForward
I found a Script in the internet that does everything it needs to ipforward, all i did was add the final line, which sets a fixed ip to the interface that is connected to the LAN. I don’t remeber who wrote the script, but the credits are his/hers.
All you have to do now is save the script bellow and run it everytime you want to connect your PS3:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Basic firewall and forward/masquerade setup

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

# Delete/Flush old iptables rules
iptables -F
iptables -t nat -F
iptables -X

# Set up IP FORWARDing and Masquerading
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE

echo "1" > /proc/sys/net/ipv4/ip_forward

ifconfig eth0 192.168.0.1 netmask 255.255.255.0

If you did as it is described in here, then it should work just fine.

Just for the record, I’m sing BrDesktop Lenny Linux as Operating System (a Debian Pure Blend).

Note: Everytime I try to test the connect through PS3, my notebook loses the ip 192.168.0.1 and starts o search for another one, breaking the connection between them. So i recommend you not to use that feature when using the connection method described in here.

:wq


Aug 25 2009

DebianDay2009 Amazonas realizado!

Éverton Arruda



No último Sábado foi realizado o Debian Day 2009 Amazonas, evento que, como comentei em um post anterior, comemora o aniversário da distribuição Debian GNU/Linux.

O evento, na minha opinião, foi muito bom. As pessoas que compareceram ao evento se mostraram bastante interessadas nos assuntos das palestras ministradas, muitas delas me procuraram apóas as palestras para perguntar mais sobre o Debian-AM e sobre o Software Livre em manaus.

Um dos pontos maiores do evento foi a participação do criador e mantenedor do portal Viva o Linux (http://vivaolinux.com.br), Fábio Berbet, que fez duas palestras muito interessantes: “Como gerenciar um site com 8 milhões de acessos” e “Como ingressar no mercado com Software Livre”. Gostaria de deixar aqui meu agradecimento ao Fábio, desejar que o Viva o Linux continue crescendo e que possa leválo até a Espanha! hehehe, Quem estava no evento sabe do que eu estou falando.

Gostaria de parabenizar toda a equipe do Debian-AM, pela realização do evento, e a galera de manaus do Projeto Fedora e o representante do BrOffice em manaus, Carlos Lucoli, e a todos os patrocinadores e apoiadores, que nos ajudaram muito.

Como prometi, está aqui o slide da minha palestra sobre o Projeto BrDesktop:
projeto-brdesktop-pres.pdf

:wq


Aug 17 2009

Happy Birthday, Debian!

Éverton Arruda

Yesterday was Debian’s birthday, and I’d like to say:


Happy Birthday, Debian!