_      _            _
         _ __ ___ (_) ___| | __  _ __ | |
        | '_ ` _ \| |/ _ \ |/ / | '_ \| |
        | | | | | | |  __/   < _| | | | |
        |_| |_| |_| |\___|_|\_(_)_| |_|_|
                  | |
                  |_|       Thoughts on (technical) stuff...
You're from: 54.224.79.93

Well, as I'm off to The Hague for the rest of the year, I need some kind of Internet in the evening. So off to KPN to get a umts card (or dongel as they call it). For late night gaming I've also bought a PSP :-)

Well, to make a long story short: this stuff is hard to get working in Ubuntu. When you insert the dongle it is first seen as a cdrom..., only after you successfully install the Windows software it will become a modem. Who comes up with this kind of crap?

Get it working

First of all I needed the info in this bugreport.

I've also had to edit /usr/share/hal/fdi/preprobe/10osvendor/20-broken-usb-sticks according to this comment

In /etc/rc.local I had to include:

modprobe usbserial vendor=0x19d2 product=0x0015

So that the usbserial driver gets loaded. The product id is 0x0015 when it is a modem and 0x2000 when it is a cdrom...

Check with lsusb what the product ID for your card is.

You will also need a APN string/number for you provider. This site is helpful. For KPN it is internet. The (bogus) username and password are also included there: username=KPN, password=gprs.

To finally log in I need umtsmon.

Making the call

Configure umtsmon and set it to use the APN for your provider, in this case internet.

To actual use it: Make sure to usbserial module is loaded! Then:

  • Kill network-manager: /etc/init.d/Network-Manager stop.
  • Insert the dongle into an USB port
  • Wait for some time as the dongle is first seen as a cdrom, and only thereafter as a modem... sigh. In dmesg you should see references to /dev/ttyUSB[012].
  • Start umtsmon: sudo ./umtsmon
  • Click "connect"
  • Wait

Then you should see your ppp0 connection some to life. And I'm online!

Posted in: linux

2 comments

This is also with a 2.6.30-rc6 kernel. So NOT with the default Ubuntu kernel for Jaunty.
Hi Miek,

The real problem is: no one tells you the dongle will act as a CDROM-drive for the first xx seconds. The PCMCIAa/PCExpress dongle acts likewise.

Another thing: the pseudo CDROM contains W*-drivers, and after installing that software on a W*-system and re-inserting the dongle, it's a CDROM for 0 seconds.

Comments are closed

If you really, really want to comment, please mail miek@miek.nl.

0 comments in moderator queue