Archive for February, 2008

Ubuntu 7.10 and Huawei e220

Yesterday, I got a HSDPA/UMTS USB modem. It's a Huawei e220, shipped standard with a KPN (and probably also an xs4all) HSDPA subscription. I hooked it up, but didn't seem to work out of the box with Linux. I run Ubuntu 7.10 (gutsy) on my laptop. After some research I found out that there were more people having problems with using the device in Linux. Some suggested that kernels > 2.6.20 shouldn't have a problem, but that's not what I experienced.
After trying many options, I got it working. First some background. The device holds both a GSM modem and a flash drive. The flash drive contains the installation bloatware for use on windows (and maybe even mac) systems. When you connect the device, the usb-mass-storage driver is loaded and you can mount the thing, but that's not what we want.
For some reason, when connecting the device, one serial port (managed by the usbserial driver) is found at /dev/ttyUSB0. However, for the device to work, you need to have 3 serial interfaces; ttyUSB0, ttyUSB1 and ttyUSB2. If it only gives you the first one (0), it won't work, not even a simple "ATZ" on the serial port. I'm not sure why you need three, because (we'll see that later) you just use ttyUSB0 to dial out.

Anyway, the following steps allowed me to use the device:

1. Download HuwaweiAktBbo tool from http://www.kanoistika.sk/bobovsky/archiv/umts/ and run (or fist compile and then run) it. This tool does some magic with the usb library and will enable the extra 2 ports on the device.

2. rmmod usbserial and then run "modprobe usbserial vendor=0×12d1 product=0×1003″. This will force the driver to get things going well. (Check with lsusb if the product is 0×1003, since I read it could also be 0×1001)

3. Run the tool you just downloaded. You should now find ttyUSB0-2 in you /dev directory.

To execute the tool (I renamed it to e220setup), I put the following in /etc/udev/rules.d/51-mobiledata.rules:

#/etc/udev/rules.d/51-mobiledata.rules
# Rules for HAUWEI e220
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", SYSFS{idProduct}=="1003",
RUN="/usr/local/bin/e220setup"
KERNEL=="ttyUSB0", SYMLINK="modem", GROUP="dialout", MODE="0660"
KERNEL=="ttyUSB1", GROUP="dialout" MODE="0660"
KERNEL=="ttyUSB2", GROUP="dialout" MODE="0660"

Now the device is setup and you can use /dev/ttyUSB0 to setup your connection. I use wvdial and my config looks like this:

[Modem1]
Modem = /dev/ttyUSB0
Baud = 460800
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM0
FlowControl = crtscts

[Dialer kpn]
Username = KPN
Password = KPN
Phone = *99#
Init2 = AT&F
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","fastinternet","",0,0
Stupid Mode = 1
Inherits = Modem1
New PPPD = yes
Dial Command = ATDT
ISDN = 0
Modem Type = Analog Modem

Plugging music

Since a couple of weeks I've been pretty active on Hyves, the biggest Dutch social network site. I found a lot of people I went to primary and high school with and among them are some guys I used to hang out with in the music scene from the place I grew up. Last week, I got an invitation to link with the Hyves page of a new band called Engo. With 3 out of 5 members, I went to school with and even played a couple of times in a studio with their bass player.
Since I really enjoy music in general, I thought this would be a good place and time to put up a plug. So, check them out at http://www.engo.nl!

De-pimp my ride

My new wheels are great. It's a great ride and it's so much fun to drive the car. However, there is one small problem. The car is too low. I'm living in a neighborhood with a lot of speed bumps and most of them are too high so the bottom of the car scratches, even if I drive really really slow. Therefore I decided to have the lowering kit removed and put in the standard springs again. This should lift the car about 4 cm, which is exactly what I need. Since I also think that the rims are a bit over the top, I'm getting other ones. The ones that I now have look like they came from an Opel Calibra. I made an appointment with this tuning shop in Amsterdam to get some work done next Thursday . The owner of the shop has exactly the same car and know everything about it, which is great. He was pretty enthusiastic about my car and really wanted to help me do some things with it. I have xenon lights in the front, but the corner lamps were still standard. I'm getting them replaced as well to fit the head lamps.

21st century digital life

I was 4 when I first touched a PC. It was an 8088 Zenith. I still remember the machine and from that moment, I was hooked. I loved playing games and writing some GW basic programs. During my childhood, I played with computers a lot, at first only games, but later I got more interested in operating systems and such. These were the days of BBS'es and I strolled around on many of them, downloading things, but mainly talking to people that were also logged in. I loved it. Later (I guess it was in '93), I got on the internet. In the meantime, I got my own PC with a 2400 baud modem and used to dial in to a free account I got from a friend. I got myself an email account and spent many hours on web based chat boxes. As a real geek I started looking at the building blocks of the internet and taught myself HTML. Somewhere in 1996 I installed Linux for the first time and it made a big impression. Since I was unfamiliar with unix like systems, it took me a while to grasp some concepts, but I managed and early '97 I completely switched from Windows 3.11 (my pc was too slow for 95) to Linux. While learning Linux I was on IRC a lot and next to email, this was my main way of digital communication. After that, things went fast. I started a web design company and later on started working as a Linux Consulant. The rest is history.
Now 15 years later, some ways of communication have been added to my list. I still use IRC on a daily basis, Email is something I can't live without and I use the following digital technologies to communicate with the outside world (some more often than others): this blog, MSN, Skype, Twitter, Hyves (dutch social network) and Linked-In. And of course my mobile phone with voice and SMS. 10 ways of communicating! (and most of them are accessible 24/7, everywhere) Of course there are people who use much more than me (pound, facebook, myspace, youtube, etc), but I still think that 10 channels is something that I couldn't have foreseen 15 years ago. I'm old enough to remember the time when we only had one phone in the house and wrote people letters or post cards and that you just went to a persons house when you wanted to check if he or she was at home.
Sometimes I wonder what my life would be like if I had lived in the 50's or 60's at my current age. No generally available computers, no digital communication. Of course I wouldn't have known better, but I still wonder. My live revolves around digital stuff. Not only digital communication, but I make a living of it. A gardener or carpenter could have his job 60 or 50 years ago, but my profession and hobbies didn't exist then.
15 years ago I was excited about the Internet and I still am. I really think that I live in an awesome age where exciting stuff happens. The downside however is that I think that interpersonal relationships are more superficial than they would have been in the past. I have a couple of really good friends (yes, in real life) and a couple of 100 online, but most of them are merely acquaintances with whom I have conversations like "how are you? long time no see!". But for me, that's fine, as long as I have real friends to talk to, I'm happy.
What also comforts me is the fact that I'm not scared to grow old being lonely. I know that in 40 years (when I'm almost 70), I still can have the means to communicate with people all over the world. This is in contrast to my grandmother, who spent the last 10 years of here life in a home for the elderly. Apart form the weekly phone calls with some relatives, she could only communicate with the nurses and other people that were living there. Her world became very small. I hope (and think) that this will not happen to me. The other side of the globe is just 15 ms away and I would like to keep it that way.

Voiture

Well.. I guess I can't help it. Apparently I like "wrong" cars. Since I've been working (starting somewhere in 1999), I've always driven company cars, from a crappy Renault Clio to a nice and luxurious Audi a3. I think something like 6 in total. Somewhere along the line I drove a Honda CRX. Such a very wrong car, but nice in a way because it's so wrong. I remember a good friend telling me "dude?! that's sooooo not a car for you!" and I guess he was right. But then again, I sometimes like not doing the obvious. The a3 was definitely the best car I had, but in the IT business pretty common. The CRX (which I chose myself) was something totally different and unexpected which made it fun.

Yesterday, I did it again.. I bought a very wrong car. Since I started my own company, I needed a nice pair of wheels. The last few months I traveled by public transport and sometimes rented a car when taking the bus or train was not an option. Since I scored a very large deal last week and need to travel all across the country a lot, I decided that I really needed a car. First I figured that an old timer would be nice, since it's cheap to drive, but after looking for a good one, I realized that to get a nice old timer, you need to be patient and take your time to compare and such. I didn't have much time though. So I figured that I wanted a cool car to drive in and since my childhood dream is to drive a convertible, I decided to look for that. Since convertible cars are quite small in general (given some budget constraints), I looked for bigger convertibles. Last year I started doing some volunteer work, where I drive blind people to a swimming pool, swim with them and then drive them back home. I really wanted to continue this work and needed a car that would fit at least 4 people. So, I started looking at BMW's and after looking at 5, I finally found a nice one:

It's red, it's wrong and it makes noise, but it's so lovely to drive :)

p1010359.JPG

It's a BMW 320i M3 2.0l V6 with 150 bhp. It has all sorts of stuff in it, like a 1200W amp and a DVD player (no sat nav yet). I think I'll replace the rims in time, and I want to buy a hardtop as well.

Anyway, it fits in the neighborhood I live :)

The end of an era

A couple of weeks ago, Amber and I decided to break up (again). This time for real. Nothing particular happened, but it just didn't work out and we really grew apart too much for a relationship to sustain. I waited with this public announcement until it was absolutely clear that this was the end. I must say that I feel very good. I guess this time I'm just being realistic and really see that this wasn't the way I wanted to live my life. Anyway, I stay to live here with our cats, Amber already moved out. We had a good 6.5 years together, but apparently all good things end. Time for the next phase!

EURUKO 2008

I just booked a trip to the EURUKO 2008 Ruby conference in Prague, March 29th and 30th! Apparently, I was the first attendee to register and even submitted a proposal for a talk. If it's accepted, more on this later.
I've been to Prague before and I really liked the city. Being there with fellow Rubyists, will probably be even better.

Hacker community and politics

Last weekend I went to Amsterdam. There I met some friends of a good friend of mine and noticed that those people know a lot of people I also know. Here in the Netherlands, the group of nerds and hackers isn't very big, I would guess a couple of hundred people and a lot of those people know each other. A lot of these people work at ISPs or know people that work at ISPs.
Some years ago I visited the hacker festival "What the Hack" and also saw a lot of people from the Dutch scene. At the festival, next to all the tech talk, there were a lot of lectures on social and political topics.
What wonders me sometimes is that there isn't some hacker union or something like that, that is able to put pressure in politics. Big corporations have big lobby groups and those are well used, but why isn't this done by hackers? Money equals power, but nowadays, in our online-centered society, bandwith, connectivity and uptime also equal power. I'm not in favor of abusing power to get things done, but its interesting to see that apparently cooperations use certain methods to get things done or to put pressure in the right places, but that these methods aren't used by hackers with power.

The return of the Suit

When I was working at McNolia, suits were part of the business culture. When I started there as techie, I went to work wearing jeans, a hooded sweater and Vans and often unshaved. After a while I started doing some project management in more corporate environments and it was expected that I wore a suit. For a friends wedding I once bought a suit, but it soon turned out that one suit wasn't enough, so I bought several. At the time, still trying to fight the corporate image, I didn't wear a tie. Since I had to deal with increasingly "important" people, the necktie came into my life and I learned how to make a good knot. On one hand, I didn't really like it, since the whole suit and tie thing seemed very hypocrite, but on the other hand, I made the suit look good. I started to understand that some people only take you seriously if you have the corporate image. Sad, but true. Business just works this way sometimes and I was in that particular business.

When I left McNolia, I started at NoXa as a Ruby on Rails developer. Since NoXa was part of a bigger recruitment company that had a very hip and young image, the suit went back into the closet. Since the average age was around 24 or so, the suit didn't really fit in, especially not for technical staff. Although I'm not really the fashion type, I did go to the hairdresser to get a funky haircut, to blend in a bit. The jeans and Vans were back.

A couple of months ago, I started my own business and to me, image is something to take care of, just like a logo, website and letterhead. I decided that I would continue the jeans and Vans image, combined with the funky haircut, and not to wear a suit, unless there was no other option. Last week, I signed a contract for a project at a big Dutch bank (obviously suit material) and took the suit out of the closet again. The company's image who hired me is somewhere in between the jeans and the suit (casual is the term, I guess), but when visiting our mutual customer, it's expected to dress in a representative way. The first meeting, I wore the suit with tie and all, but apparently this was a bit overdone, so today, the tie stayed home. Combined with the haircut and my designer-like glasses, I felt pretty good wearing the suit again. When visiting my customer, the jeans-vans-combo is used, when it's the bank, it's the suit-no-tie-thing. At home, it's jeans-vans all the way. But I guess the suit has returned.

I’m being published!

Somewhere in July, I wrote an article for the 2600 Hackers Quarterly magazine about my April Fools prank I did a couple of years ago. Last week, I got an email from the chief editor that my article will be published in the next issue!