Kubuntu, telenor, 3G card and kppp

So this is time to get the backup 3G network card to work now. I have an extra 3G network card as a backup if I get stranded somewhere without a network. This is also god when he broadband connection fails or so. So i need to get that working on my new acer aspire 8920g. The OS is kubuntu 8.04 Hardy Heron and my card is a telenor 3G card, made by Opteon and the model is ICON 7.2.

This is one of the new #G modems that behaves like a USB stick at first when you enter it as it has the drivers and stuff for windows on that. The driver the sends a command to the device to switch to Modem moden and can then use it for the connection.

This is ofcuase a small problem for us LInux users as linux will se the device as a USB stick and the drives there is ofcuase not any use to us linux users.

Fortunately a program for handling this as been developed by Josua Dietze at http://www.draisberghof.de/usb_modeswitch/

This little program has a config file for different cards and will be used tgether with some config of the udev system to get all of this to work. I am using version 0.9.3 of the software.

So you start with downloading the software, and unpack it into a directory. Then compile it for your machine (a simple shellscript – compile.sh) is included. You need to have libusb installed as its using that so if your minssing that you need to do a:

I then copied the config file to /etc/usb_modemswitch.conf and the binary to /sbin/usb_modemswitch.

In the config file you make shure that (and this if ofcuase for my card) the following lines are uncommented and all other lines are commted out:

This setup will switch my card over.


So the next part is to configure udev so that it will run usb_modemswitch when the device is plugged in.

I created a small udev rule file called 99-opteon.rules in /etc/udev/rules.d with the content:

The idVendor and idProduct values has ofcuase to be changed if you have another card.

So when i now plug in the device, udev sees it, and runs usb_modemswitch and switched it over to modem mode.


Next step is to get kpp working.

I created one modem called “Card” and one account called “Telenor”.

For most of the time you don’t need any user name and password for the things so only fill it in with some dummy values.

The Card is configures as follows:

And you have to go into the Modem tab and change some settings:

All the important settings is under the Modem Commands one:

The important settings here is:

The services.vodafone.net part is the APN and that is different depending on what service and ISP you are using.

A list of a lot of APN can be found here: http://franson.com/forum/topic.asp?TOPIC_ID=6669, http://www.vysoo.com/apn.php#416 or here: http://www.modmyifone.com/wiki/index.php/Carrier_APN_Settings.

The last thing is the Account setting:

This took care of everyting for me and I can now use the telnor services to connect over #G and get internet even if I dont have any other connectivity.

One thought on “Kubuntu, telenor, 3G card and kppp

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.