Nokia CS-15 and Linux

First of all if you have “PIN code request” enabled then you have to disable it (I used my Nokia E90 for that).

Then install usb-modeswitch and wvdial if you haven’t already installed them.

Attach your Nokia CS-15 to your computer USB port and run lsusb (so we can be sure that your computer notice your dongle).

When you run lsusb you should see something like this:

Bus 001 Device 004: ID 0421:0610 Nokia Mobile Phones

Now you have to run usb_modeswitch command with these parameters:

usb_modeswitch -v 0x0421 -p 0x0610 -m 0x01 -M "5553424312345678000000000000061b000000020000000000000000000000"

This will change that 0610 to 0612 and after that command we can run lsusb again and see if that worked and you should see
something like this:

Bus 001 Device 005: ID 0421:0612 Nokia Mobile Phones

If everything looks ok now we can continue with wvdial.

Edit /etc/wvdial.conf file and make it look like this (Works OK in Finland with DNA):

[Dialer defaults]
Modem = /dev/ttyACM0
Init = AT+CGDCONT=1,"IP","internet"
Phone = *99#
Stupid Mode = 1
Username = " "
Password = " "

If everything went right you should get connected to internet simply with command wvdial and see something like this:

root@ubuntu:/# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet"
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Wed Jan 20 09:43:23 2010
--> Pid of pppd: 4059
--> Using interface ppp0
--> local  IP address
--> remote IP address
--> primary   DNS address
--> secondary DNS address

And when you disconnect (I did it with ctrl-c:)

^CCaught signal 2:  Attempting to exit gracefully...
--> Terminating on signal 15
--> Connect time 8.4 minutes.
--> Disconnecting at Wed Jan 20 09:51:56 2010

Thanks to anttu-t about that usb_modeswitch command and parameters.

If you are using Ubuntu 10.04 / Lucid Lynx you should first try just:

eject /dev/sr1

and then create a new connecting profile (or what ever it’s called).

8 comments to Nokia CS-15 and Linux

  • รับซื้อ rolex

    Magnificent beat ! I would like to apprentice while you amend your site, how
    could i subscribe for a blog website? The account helped me
    a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright
    clear concept

  • autodialer

    Great article, thanks for taking the time to write this article. I will contine to read your blog regularly from now on.

  • achim_59

    Hi all,

    I tried under Ubuntu 10.04. The result was that the device did not identify itself as a CD at all! Note that I bought it as a new device from Amazon (direct). I then tried downloading the required “.deb” from the nokia website and installing it with the debian package installer, thinking that all necessary packages would be installed. This failed and it “fragged” my packages to the extent that I could start neither the Synaptic Package Panager nor the Update Manager.Both gave a response of “cannot find the dependent packages”. Swhat now? along the lines of:

  • Petri

    Jos et ihan välttämättä halua vanhempien Linuxien kanssa touhuta niin suosittelen kokeilemaan Ubuntu 10.10:ä jossa CS-15 toimii huomattavasti helpommin:

    Tämän esimerkin punaiset luvut (eivät muuten tarkoituksella ole punaisia) täytyy myös syöttää jos usb_modeswitchiä joutuu käyttämään.

  • Pasi

    Oon aika keltanokka näissä asioissa, enkä saa tuon ohjeen mukaista usb_modeswitch komentoa toimimaan. Mitä sen komennon loppuosan punaiset luvut ovat, pitääkö ne syöttää vai?

  • Sarita Siltanen-Lehtovaara

    Now you have to run usb_modeswitch command with these parameters:

    En saa parametririviä näkymään, on n. 2mm korkea.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



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