Huawei E220 3G and Acer One

[UPDATE] VERY IMPORTANT: The solution I posted below is a bit hackerish and has been refuted by Rui Carmo who makes available a great resource for Acer One owners that want to hack their system a bit without breaking down functionality. For your own sanity, please take a look at his notes.

Today someone asked me if I could try to get the Huawei E220 to run over an Acer One. I agreed. Boy was it hard..

First of all, some background info. Do not skip it 🙂

  1. Acer One brings its own Linux flavor, some distro based on Fedora 8 (Werewolf);
  2. This distro bundles XFCE window manager;
  3. There’s one OSS tool from Vodafone R&D Labs available here (actually this is the tool I use for my connection, even that I’ve a contract with other operator, Kanguru);
  4. Download vodafone-mobile-connect-card-driver-for-linux-2.0.beta2-fedora-installer.run as that was the one I tried successfully;
  5. Be sure to be running the latest version of software on your install;

Got it? OK, let’s go to the terminal. If you don’t know where you can find it, you should quit reading this post. Now:

  1. sudo -s
  2. yum remove linpus-lsb
  3. yum install redhat-lsb python-twisted pyserial pytz gnome-python2-libegg
  4. ./vodafone-mobile-connect-card-driver-for-linux-2.0.beta2-fedora-installer.run
  5. If everything goes right, a dialog will appear asking for you to insert a space-separated list of users who will be able to use this software. Simply put user

This should do the trick. Now just run sudo vodafone-mobile-connect-card-driver-for-linux and it should ask you to edit info regarding your connection. To the Vodafone Portugal clients it should appear a dialog which asks you if you want to load Vodafone Portugal configuration.

Neat!

Any doubts, just comment!

The unwritten rule

While on my quest for more information on .NET oriented ORM solutions, I asked a friend with some years of .NET experience which ORM he uses and if he could provide me some code I could look at. He pointed me to one OSS project he’s involved with, Midgard.

Midgard’s main goal is to become a solid RAD framework for .NET developers. Yet, as you’ve probably noticed, it’s dead since the end of 2006. Why?! – I asked Pedro. He told me that the project failed because there were no contributors. I immediately refuted this fact as being strong enough to stop the development of such project, or even to give up to “open source” it.

Anyway, he’s right! At least from my perspective, .NET developers are generally unaware of the benefits of OSS. I know it’s somewhat dangerous to generalize this kind of behavior, but as a Java developer for some years now, and having knowledge on the .NET area too this is a conclusion I come to. Curiously, I was reading an article about NHibernate Best Practices with ASP.NET where the author, clearly an advanced .NET developer, states the following:

The most common dissenters of ORM technologies, in general, are developers using Microsoft technologies. (As I’ve placed myself squarely into this realm for the past decade or so, I feel quite comfortable bringing us up first!) There seems to be an unwritten rule that “if it wasn’t invented by Microsoft, then wait until Microsoft puts out the right way to do it”.

Well, simply substitute ORM for the technology you see fit and you’ll probably find this to be profoundly true!

Share your experiences, please. Thanks in advance!

Databases and Persistence

One of the things I miss the most is my dear Lazyweb. Even though, I know that many of you, my ocasional or fanatic readers (hi mom!), have more than the necessary skills to help me on my doubts.

So, this time I want to learn from you a couple book titles I should read in order to become a master in what concerns database design. From indexes to partitioning, from transactions to locks and clustering, I’m deeply interested in it all. I have some basic knowledge on some of these issues, but as I said, I want to be a master.

Also, I’d like to know from the .NET developers which persistence mechanism they use and why. I’m looking for something as open and mature as Hibernate for Java! I know there’s NHibernate, still I think it lacks a lot of functionality.. Am I wrong here?!

Cheers and thanks for all the fish!

This is a local shop for local people!

Are you local?

Eheh, jokes aside, I’m getting rid of:

  • Hynix 2GB 667MHz DDR2 Laptop – 2x1GB (2 hours of use on my Macbook)
  • Kingston 2GB 667MHz DDR2 Desktop – 2x1GB (half a year of use on my home desktop)
  • Samsung 160Gb SATA 7200RPM 8MB cache 3Gb/s (half a year of use on my home desktop)
  • Samsung 250Gb SATA 7200RPM 8MB cache 3Gb/s (three months of use on my home desktop)
  • [FOR FREE] IBM 300GL Workstation – this has been with me for some years now and was used as home-gateway, running OpenBSD. Has of now it has something like Pentium 166MHz, 64Mb RAM, or so I believe, Seagate 20GB IDE, Samsung CD-RW 48x16x48 and an external NIC, 100Mbit Realtek. It’s silent, slim and sits nicely in any position. I’ve had it once under my couch and it didn’t complain.

So if you, or someone you know is willing to get one of this just comment this post telling your interest. Don’t forget to specify your e-mail in the comment form.

Tuga.. Diz que é uma espécie de treinador de bancada!

Pouco tenho ligado aos Olímpicos, mas não mais consigo ignorar aquilo que pra mim é mais um sinal da estupidez do povo português: a novela sobre os “cromos” nacionais dos Olímpicos!

Treinadores de bancada, sempre fomos! Sempre nos sentimos melhor a criticar do que a fazer, e oh.. como somos exímios na arte de criticar.. e uns mestres no que toca a não fazer nada, digamos que, melhor! Como somos pequeninos e mesquinhos, tentamos sempre pegar em algo que aqueles que se destacam, no desporto ou noutra coisa qualquer, dizem ou fazem. E isto aconteceu com um pobre atleta de 25 anos, um tal de Marco Fortes, lançador do peso pelos vistos.

Bem, não sei quanto a vocês, outros portugueses, mas eu nunca vi este senhor na TV, e muito menos o desporto que ele pratica. Mas ele lá foi aos JO, e pra nossa “desgraça” não conseguiu medalha nenhuma. No entanto passou de “nada” a “super-besta” só porque, para os treinadores de bancada, surgiu a proferir umas tais sábias palavras, que concerteza todos vocês já proferiram num daqueles dias em que o galo vos despertou mais cedo. Ehpah, poupem-me!

Algum de vós consegue manter o mesmo nível de rendimento em qualquer hora do dia, no vosso trabalho? Bom, tirando aqueles que não fazem nada, desafio qualquer um de vós, super-homens e mulheres a argumentar o contrário! Ritmo circadiano – sabem o que é?! Então aprendam, BURROS!

Neste país onde só ha dois desportos, o futebol e o “levantamento do copo”, ainda quero ver um Porto – Benfica, ás 9 da manhã! Já agora, na China se faz favor! Ia ser giro, ai ia ia..