@everton_arruda
I’ve just created a twitter account. For those of you who would like to follow me: @everton_arruda
I’ve just created a twitter account. For those of you who would like to follow me: @everton_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/
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/
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.
I’ve installed Debian Squeeze 64-bits, the current testing version of Debian, with KDE4 and i wasn’t able to watch YouTube (and similar websites) videos. I’ve noticed that the default SWF decoder library is swfdec[0], and i thought that installing the Flash Player from Adobe would solve the problem. Fortunately i was right, but i found out that Adobe Flash Player does not support 64-bit Linux[1].
Searching about it i ended up in a page, on Debian Wiki, with a workaround that worked for me. Just follow the instructions in http://wiki.debian.org/FlashPlayer
[0] http://swfdec.freedesktop.org/
[1] http://labs.adobe.com/technologies/flashplayer10/64bit.html
I’ve just made available a new version of away++, a python plugin for XChat2 IRC Client i wrote.
New Features:
You can download the latest tarball through http://earruda.eti.br/files/away++_latest.tar.gz . Or accessing the development page: http://earruda.eti.br/blog/development/
E mais um FLISoL[0] foi realizado em Manaus!
O Festival Latino-americano de Instalação de Software Livre de 2010 foi realizado na Uninorte, no dia 24 de Abril. Sendo, este ano, realizado pelo Projeto Software Livre Amazonas[1], em conjunto com a Comunidade Sol Software Livre[2].
A organização deste ano foi mais tranquila que as edições anteriores, onde tivemos que correr atrás de patrocinadores e apoioadores até o ultimo momento, isso se deve graças à Uninorte, à SysV[3], à Amazon Print e ao Projeto Zagaia[4]. Mas o esforço maior foi do pessoal da organização, membros do Projeto Software Livre Amazonas e da Comunidade Sol Software Livre, que viraram a noite anterior ao evento fazendo as preparações finais. Infelizmente não participei do viradão este ano por falta de comunicação.
As palestras possuiam temas bastante interessantes, como: “TI Verde”, “Técnicas de Perícia Forense em Linux para Iniciantes”, “FreeBSD como opção de liberdade”. Se pudesse, teria assistido a todas elas. As palestras que tive a oportunidade de assistir foram: “Projeto Fedora Brasil”, ministrada por Daniel Bruno[5], e “WebKit – Um framework para conteúdo Web”, ministrada por Afonso Costa, ambas excelentes!
Houveram, também, os encontros de grupos de software livre e linguagens livres do amazonas, que conseguiram chamar a atenção de várias pessoas para os grupos de software livre da nossa região. Esperamos que estas pessoas possam estar conosco na organização dos próximos eventos!
Não tivemos o encontro do Debian-AM, mas virão HackFests pela frente.
O evento foi muito bom, mas a falta de noção e de respeito de alguns alunos da Uninorte me tiraram do sério. Talvez o fato de o evento ter sido realizado pela terceira vez na instituição esteja sendo mal-interpretado pelos seus alunos. A Uninorte NÃO organiza o FLISoL, ela é a patrocinadora, e isso não lhes dá o direito de agirem como se a palestra fosse uma aula. O fato que me tirou do sério foi quando 3 ou 4 alunos chegaram atrasados em uma palestra, falando alto e fazendo o palestrante parar por uns instantes, e ficaram conversando no fundo, desrespeitando o palestrante e os outros ouvintes que estavam interessados.
Eu também ministrei uma palestra no evento, a mesma palestra que ministrei na UFAM, no dia 13 de Abril, cujo título é: “Software Livre, Licensas e Comunidades”. Ela está disponível para download no link: http://earruda.eti.br/files/apresentacao-softwarelivre.odp e logo estará no site do evento[0].
Quero parabenizar o pessoal da organização, que conseguiu realizar mais um evento grande, e dizer que é um prazer participar desta família.
Algo que ia esquecendo de dizer: tivemos quase 800 inscritos no evento, superando o número do ano anterior, que foi de quase 700.
Links:
[0] am.softwarelivre.org/flisol
[1] am.softwarelivre.org
[2] comunidadesol.org
[3] sysv.com.br
[4] zagaia.org
[5] danielbruno.eti.br
:wq
No dia 13 de Abril, ministrei uma palestra, na Universidade Federal do Amazonas (UFAM), sobre Software Livre, cujo tema foi: “Software Livre, Licenças e Comunidades”.
Na palestra, expliquei o que é Software Livre, falei sobre licenças e o porque se deve licenciar um software e sobre comunidades de Software Livre, dando ênfase nas comunidades Amazonenses.
A palestra foi feita para divulgar o FLISoL 2010 (http://am.softwarelivre.org/flisol), organizado pelo Projeto Software Livre Amazonas, e o Grupo de Usuários Linux da UFAM (GUL-UFAM), que foi criado com a iniciativa do professor Horácio, do curso de Ciência da Computação da UFAM.
A apresentação está disponível aqui: http://earruda.eti.br/files/apresentacao-softwarelivre.odp .
Para aqueles que quiserem entrar para o Grupo de Usuários Linux – UFAM, basta entrar em contato através da lista de discussões: http://googlegroups.com/group/gul-ufam
Espero que as pessoas que participaram da palestra se interessem em participar de outros grupos de Software Livre da nossa região, em ajudar a difundir o Software Livre e a apoiar projetos maiores.
Quero lembrar, também, que as comunidades e os grupos de Software Livre não são fechados, basta você se interessar e acessar as listas de discussões, entrar em contato através do IRC (#PSL-AM na irc.freenode.net) e participar das reuniões.
:wq
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
Reading Planet Debian (http://planet.debian.org) i’ve seen an interesting post, made by Daniel Stone (http://www.fooishbar.org/blog/tech/), in which he links to Chris Lamb’s blog (http://chris-lamb.co.uk/).
In the post, he answers the following question: ‘Can you get cp to give a progress bar like wget?’. The answer is the name of the post: ‘damn right you can’.
Check it out: http://www.fooishbar.org/blog/tech/cp-progress-bar-2010-03-04-12-15.html
:wq
No dia 24 de Abril de 2010, será realizado, em toda a América-latina, o Festival Latino-Americano de Instalação de Software, FLISoL.
Em Manaus, este evento já virou tradição. O evento é realizado com palestras, oficinas e mini-cursos relacionados ao mundo do Software Livre, visando a difusão de sua filosofia e incentivando o uso de alternativas livres para softwares proprietários.
Se você possui uma palestra (técnica ou filosófica), oficina ou minicurso, relacionado a Software Livre, que gostaria de ministrar no evento, envie um e-mail para brankinhu@gmail.com e danielbrunos@gmail.com no seguinte formato:
Escolhendo entre um dos tipos: Palestra, Minicurso ou Oficina.
O prazo para envio de proposta é até o dia 4 de abril.
Aguardamos a sua proposta!
Links:
Projeto Software Livre Amazonas: http://am.softwarelivre.org
FLISOL 2010 Amazonas: http://am.softwarelivre.org/flisol
Visit the Campaign WebSite: http://fsfe.org/campaigns/valentine-2010/valentine-2010.html
I saw this at Daniel Bruno’s blog.