May 15 2012

Household appliances running Linux

Éverton Arruda

Last weekend, my girlfriend was looking some household appliances through the internet when she showed me this one specific page that caught my attention: Electrolux’s iKitchen line[0].

It’s a household appliances line that comes with a touch screen in all products, and the Operating System it runs is Linux.

The best part is that the source code is available[1] for everyone to download and play with it. Check the image below:

The link takes us to a repository page[1] that contains the packages and patches used in the development of the system that runs on the household appliances. Among the packages are the Busybox[2], the Enlightenment Foundation Libraries(EFL)[3] and Linux Kernel 2.6.31 [4].

After this, i think i found my household appliances :D

Links:
[0] http://www2.electrolux.com.br/linhaikitchen/
[1] http://www.ikitchen.com.br/repositorios/
[2] http://www.busybox.net
[3] http://www.enlightenment.org/
[4] http://www.kernel.org/


May 11 2012

The Debian Administrator’s HandBook is out

Éverton Arruda

Yesterday, Raphaël Hertzog[0], announced that The Debian Administrator’s HandBook[1] is available.

The Debian Administrator’s HandBook is a book written by Raphaël Hertzog and Roland Mas, two Debian Developers. It was originally  written in french, and now it has been translated into english.

You can browse the online version for free, or you can pay for it and get the paperback, or e-book version (in 3 formats: PDF, EPUB, Mobipocket)[2]

The book source is also available[3] for anyone who wants to contribute to the project.

With the book source available, we can expect a brazilian portuguese translation someday (as some people already commented on Raphaël’s announcement). As well as translations to other languages.

Links:
[0] http://raphaelhertzog.com/2012/05/10/the-debian-administrators-handbook-is-available/
[1] http://debian-handbook.info/
[2] http://debian-handbook.info/get/
[3] http://debian-handbook.info/contribute/


May 10 2012

How Linux is built

Éverton Arruda

The Linux Foundation[0] released on their YouTube Channel[1] a video explaining in a easy-to-understand way how Linux is built.

After watching it, people who don’t know what Linux is will have an idea of how it is done and what it can do.

I must confess that it makes me proud to be part of this huge community :D

Links:
[0] http://www.linuxfoundation.org/
[1] http://www.youtube.com/user/TheLinuxFoundation


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 12 2010

cron/USER: Permission denied

Éverton Arruda

I was trying to run crontab -e command and got this error message:

[git@pandora gitorious]$ crontab -e
cron/git: Permission denied

As the message says: it’s a permission problem. To solve this you’ll have to change /usr/bin/crontab‘s permissions:

1
# chmod 4755 /usr/bin/crontab

And if that does not solve your problem, check /var/spool/cron/‘s permissions, they should match: drwxr-xr-x (755).

Sources:
* http://www.webhostingtalk.com/archive/index.php/t-638933.html
* http://linux.derkeiler.com/Mailing-Lists/Debian/2003-09/3613.html


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