Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi All, I've been struggling with linux mobile communication for a long time. Imagine my surprise when a card turns up promising linux compatibility "out of the box", Jacded, aging ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Location
    Huenfeld, Germany
    Posts
    30

    [SOLVED] Nokia cs-15 Ubuntu 10.10 problem:cannot connect


    Hi All,

    I've been struggling with linux mobile communication for a long time. Imagine my surprise when a card turns up promising linux compatibility "out of the box", Jacded, aging linux hacker that I am, I grabbed at the opportunity.

    Under Ubuntu 10.04 I inserted the CS15 and got no responese. The device did not advertise itself as a CD-ROM as expected. I tried downloading the necessary packages from the Nokia website and installing... that was a BIG mistake!!

    There were a few error messages from the package installer about not finding the appropriate packages. None-the-less, I tried to configure kppp, anyway. (Note: I'm still new to this site so I cannot post links.) You can see the result in another post on this forum entitled:

    Acer Aspire One 3G not connecting to Vodafone UK
    The package install mentioned earlier fragged my system to the point where I couldn't start Synaptic or even the Update Manager systems. Both gave an error message complaining about missing packages.

    With much ado I backed up the system (including all the things I needed for JBoss server, Java, Eclipse, etc...) and re-instsalled to Ubuntu 10.10.

    My efforts were rewarded with a a non-recognition of the card. I cnnot give furthe information because every slash seems to be interpreted as a URL. Until I have made 15 posts or more, I cannot give further information (e.g output frm logs and such). I think this is a major bug with this forum

    Please, can anybody help? I am at my wits end! I have tried different cards (AC850 & CS.15) Upgrading software (ubuntu 7.04,,,,,,, 10.10) changing PCs (Aspire <something or other>, HP nx6325, and an IBM T43) and nothing has worked to this point!! Ummm... everything is fine when I use windoze. But unless I'm developing .NET stuff, this is not the O/S of choice!

    Pleeeeeeeze. Somebody out there must have an idea what I'm doing wrong.

    Achim.

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,763

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Location
    Huenfeld, Germany
    Posts
    30
    Thanks for the response but I tried both of those links. That is the unfortunate side of not being able to post U-R-Ls. I could have saved you some trouble by indicating what sites I had already tried.

    The second of those sites is the reason I decided to upgrade to ubuntu 10.10 rather than repair the 10.04 installation I had. As mentioned above, the CS-15 did not identify itself as a CD.

    This left me with no option but to try wvdial as described on the first of those sites. This did not work either and I couldn't post the output because this forum seems to interpret the content from var-log-syslog as a U-R-L. (I'm wondering if what I just wrote will get through... nope, it didn't.)

    I will make another attempt this evening to make sure that I didn't make a mistake... that is easy to do at 2am, especially if you've been up since 5am the previous day. I will try to post the results of my efforts tonight.

    Achim

    P.S. 3rd attempt. I keep getting the message: "You are only allowed to post U-R-Ls to other sites after you have made 15 posts or more." That means I can't quote the reply either!

  4. $spacer_open
    $spacer_close
  5. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by achim_59 View Post
    I keep getting the message: "You are only allowed to post U-R-Ls to other sites after you have made 15 posts or more."
    Hello and welcome!

    You can check the following thread for some workarounds to the 15-posts requirement:

    http://www.linuxforums.org/forum/fee...ng-forums.html
    oz

  6. #5
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,763
    A) You have provided NO information on what you have done and what messages/errors resulted. Please see the first link for the lsusb command which will show if the device is "detected." If it doesn't show up via lsusb, there is a problem with the device or your USB port.

    B) Why would a USB cell-modem show up as a CD? I see *nothing* in that 2ND link that suggests anything about a CD. The only mention of a CD is the Ubuntu LiveCD.

    C) See Ozar's link about encompassing any commands/errors in code tags.

  7. #6
    Just Joined!
    Join Date
    Jan 2011
    Location
    Huenfeld, Germany
    Posts
    30

    Resources now limited...

    A)
    A) You have provided NO information on what you have done and what messages/errors resulted. Please see the first link for the lsusb command which will show if the device is "detected." If it doesn't show up via lsusb, there is a problem with the device or your USB port.
    I did try to give the required info when responding to the following post:
    www linuxforums org
    forum
    networking
    142216-acer-aspire-one-3g-not-connecting-vodafone-uk. html
    That is what the "search" business was all about.

    The fact that I was able to get kppp to use the modem suggests that the output from lsusb is superfluous. However, I did try it earlier. To see the result just go to the following post and go to the entry dated 9th of Jan. 2011. That's the point at which I changed from an AC850 to the CS-15.
    www linuxquestions org
    questions
    linux-networking-3
    problem-with-sierra-wirelss-ac850-under-ubuntu-10-04-addendum-850017
    The actual output of lsusb is not on that post so I've just done it again. Here's what I get
    Code:
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 062a:0000 Creative Labs Optical mouse
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 004: ID 0421:0612 Nokia Mobile Phones 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    the output in /var/log/syslog is
    Code:
    Jan 18 20:46:35 achim-T43 kernel: [  917.532057] usb 1-4: new high speed USB device using ehci_hcd and address 3
    Jan 18 20:46:35 achim-T43 kernel: [  917.767049] Initializing USB Mass Storage driver...
    Jan 18 20:46:35 achim-T43 kernel: [  917.767354] scsi2 : usb-storage 1-4:1.0
    Jan 18 20:46:35 achim-T43 kernel: [  917.767509] usbcore: registered new interface driver usb-storage
    Jan 18 20:46:35 achim-T43 kernel: [  917.767512] USB Mass Storage support registered.
    Jan 18 20:46:36 achim-T43 usb_modeswitch: switching 0421:0610 (Nokia: Nokia Datacard)
    Jan 18 20:46:36 achim-T43 kernel: [  918.621856] usb 1-4: USB disconnect, address 3
    Jan 18 20:46:41 achim-T43 kernel: [  923.220060] usb 1-4: new high speed USB device using ehci_hcd and address 4
    Jan 18 20:46:41 achim-T43 kernel: [  923.497904] cdc_acm 1-4:1.1: ttyACM0: USB ACM device
    Jan 18 20:46:41 achim-T43 kernel: [  923.499458] cdc_acm 1-4:1.3: ttyACM1: USB ACM device
    Jan 18 20:46:41 achim-T43 kernel: [  923.501105] usbcore: registered new interface driver cdc_acm
    Jan 18 20:46:41 achim-T43 kernel: [  923.501109] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    Jan 18 20:46:41 achim-T43 modem-manager: (ttyACM0) opening serial device...
    Jan 18 20:46:41 achim-T43 modem-manager: (ttyACM0): probe requested by plugin 'Nokia'
    Jan 18 20:46:41 achim-T43 modem-manager: (ttyACM1) opening serial device...
    Jan 18 20:46:41 achim-T43 modem-manager: (ttyACM1): probe requested by plugin 'Nokia'
    Jan 18 20:46:41 achim-T43 usb_modeswitch: switched to 0421:0612 (Nokia: Nokia Datacard)
    Jan 18 20:46:42 achim-T43 modem-manager: Got failure code 100: Unknown error
    Jan 18 20:46:44 achim-T43 modem-manager: (ttyACM1) closing serial device...
    Jan 18 20:46:44 achim-T43 modem-manager: (ttyACM1) opening serial device...
    Jan 18 20:46:44 achim-T43 modem-manager: (Nokia): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4 claimed port ttyACM1
    Jan 18 20:46:44 achim-T43 modem-manager: Added modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4
    Jan 18 20:46:44 achim-T43 modem-manager: (tty/ttyACM0): outstanding support task prevents export of /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4
    Jan 18 20:46:44 achim-T43 modem-manager: (tty/ttyACM0): outstanding support task prevents export of /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4
    Jan 18 20:46:44 achim-T43 modem-manager: (ttyACM0) closing serial device...
    Jan 18 20:46:44 achim-T43 modem-manager: (Nokia): GSM modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4 claimed port ttyACM0
    Jan 18 20:46:44 achim-T43 modem-manager: Got failure code 100: Unknown error
    Jan 18 20:46:46 achim-T43 modem-manager: (ttyACM1) closing serial device...
    Jan 18 20:46:46 achim-T43 modem-manager: Exported modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4 as /org/freedesktop/ModemManager/Modems/0
    Jan 18 20:46:46 achim-T43 modem-manager: (/org/freedesktop/ModemManager/Modems/0): data port is ttyACM1
    Jan 18 20:46:46 achim-T43 NetworkManager[800]: <warn> (ttyACM1): failed to look up interface index
    Jan 18 20:46:46 achim-T43 NetworkManager[800]: <info> (ttyACM1): new GSM device (driver: 'cdc_acm' ifindex: -1)
    Jan 18 20:46:46 achim-T43 NetworkManager[800]: <info> (ttyACM1): exported as /org/freedesktop/NetworkManager/Devices/2
    Jan 18 20:46:46 achim-T43 NetworkManager[800]: <info> (ttyACM1): now managed
    Jan 18 20:46:46 achim-T43 NetworkManager[800]: <info> (ttyACM1): device state change: 1 -> 2 (reason 2)
    Jan 18 20:46:46 achim-T43 NetworkManager[800]: <info> (ttyACM1): deactivating device (reason: 2).
    Jan 18 20:46:46 achim-T43 NetworkManager[800]: <info> (ttyACM1): device state change: 2 -> 3 (reason 0)
    when I run wvdial I get
    Code:
    root@achim-T43:/home/achim# wvdial
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    ~[7f]}#@!}!}!} }<}!}$}&@}#}$@#}%}&cV]%}"}&} } } } }'}"}(}"_]~
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Tue Jan 18 20:53:44 2011
    --> Pid of pppd: 1719
    --> Using interface ppp0
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> Disconnecting at Tue Jan 18 20:53:58 2011
    --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
    --> man pppd explains pppd error codes in more detail.
    --> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
    --> Auto Reconnect will be attempted in 5 seconds
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    OK
    --> Modem initialized.
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Tue Jan 18 20:54:03 2011
    --> Pid of pppd: 1730
    --> Using interface ppp0
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> pppd: 0D[16]
    --> Disconnecting at Tue Jan 18 20:54:04 2011
    --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
    --> man pppd explains pppd error codes in more detail.
    --> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
    --> Auto Reconnect will be attempted in 10 seconds
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    OK
    --> Modem initialized.
    ^CCaught signal 2:  Attempting to exit gracefully...
    --> Disconnecting at Tue Jan 18 20:54:09 2011
    root@achim-T43:/home/achim# BB
    Again, output from /var/log/syslog in response to wvdial (one iteration):
    Code:
    Jan 18 20:53:44 achim-T43 NetworkManager[800]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
    Jan 18 20:53:44 achim-T43 pppd[1719]: Using interface ppp0
    Jan 18 20:53:44 achim-T43 pppd[1719]: Connect: ppp0 <--> /dev/ttyACM0
    Jan 18 20:53:44 achim-T43 pppd[1719]: Remote message: TTP Com PPP - Password Verified OK
    Jan 18 20:53:44 achim-T43 pppd[1719]: PAP authentication succeeded
    Jan 18 20:53:44 achim-T43 kernel: [ 1347.025738] PPP BSD Compression module registered
    Jan 18 20:53:45 achim-T43 kernel: [ 1347.071448] PPP Deflate Compression module registered
    Jan 18 20:53:51 achim-T43 pppd[1719]: Received bad configure-nak:  02 06 00 2d 0f 01 81 06 00 00 00 00 83 06 00 00 00 00
    Jan 18 20:53:57 achim-T43 pppd[1719]: last message repeated 2 times
    Jan 18 20:53:57 achim-T43 pppd[1719]: LCP terminated by peer (0022: Normal Termination by NCP)
    Jan 18 20:53:57 achim-T43 pppd[1719]: Modem hangup
    Jan 18 20:53:57 achim-T43 pppd[1719]: Connection terminated.
    Jan 18 20:53:57 achim-T43 avahi-daemon[803]: Withdrawing workstation service for ppp0.
    Jan 18 20:53:57 achim-T43 NetworkManager[800]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
    Jan 18 20:53:58 achim-T43 pppd[1719]: Exit.
    Jan 18 20:54:03 achim-T43 pppd[1730]: pppd 2.4.5 started by root, uid 0
    Jan 18 20:54:03 achim-T43 modem-manager: (net/ppp0): could not get port's parent device
    Jan 18 20:54:03 achim-T43 NetworkManager[800]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
    Jan 18 20:54:03 achim-T43 NetworkManager[800]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
    Jan 18 20:54:03 achim-T43 pppd[1730]: Using interface ppp0
    Jan 18 20:54:03 achim-T43 pppd[1730]: Connect: ppp0 <--> /dev/ttyACM0
    Jan 18 20:54:03 achim-T43 pppd[1730]: Modem hangup
    Jan 18 20:54:03 achim-T43 pppd[1730]: Connection terminated.
    Jan 18 20:54:03 achim-T43 avahi-daemon[803]: Withdrawing workstation service for ppp0.
    Jan 18 20:54:03 achim-T43 NetworkManager[800]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
    Jan 18 20:54:03 achim-T43 pppd[1730]: Exit.
    The wvdial.conf looks like this:
    Code:
    [Dialer defaults]
    Modem = /dev/ttyACM0
    #Init = AT+CGDCONT=1,"IP","internet"
    Init = AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    Phone = *99#
    Stupid Mode = 1
    Username = "eplus"
    Password = "eplus"
    I'm not sure if those messages in /var/log/syslog indicate what the problem is. Certainly the bit about "bad configure NAK" in /var/log/syslog suggests a problem with the configuration of something but just what is not clear. The wvdial.conf? The CS-15 iself?

    I hope that satisfies the request for information. If anyone has the patience to go through that lot and give me a hint as to what I could try next, I'd be very grateful.

    Achim.

    P.S.
    B)
    B) Why would a USB cell-modem show up as a CD? I see *nothing* in that 2ND link that suggests anything about a CD. The only mention of a CD is the Ubuntu LiveCD.
    According to the documentation form Nokia on this device it initially registers itself with the OS as a CD drive.
    In Linux, double-click the CD
    drive and then the
    nokiaInternetmodem.deb
    icon. Select Install Package.
    Do a search on "Nokia_CS-15_apac_en" in Google and you'll find the relevant manual.

  8. #7
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,763
    The modem is registering two ACM devices.

    Code:
    ttyACM0
    ttyACM1
    Code:
    (/org/freedesktop/ModemManager/Modems/0): data port is ttyACM1
    Try changing the wvdial config (or the Network Manager config) to use the other. You can also have "control" conflicts between applications - for example, Network Manager may be trying to control the device when you're running command-line apps that do not communicate with Network Manager.

    Another option would be to download the Linux software package.

    From the Nokia support website:

    Instruction for installing the Linux driver for CS-15

    This Linux driver packages is for RPM, Debian and Ubuntu. You can download the package to your Linux machine, then right click the file to extract the content to your local folder. After that, please open the Readme.html file for more detailed installation guide.

  9. #8
    Just Joined!
    Join Date
    Jan 2011
    Location
    Huenfeld, Germany
    Posts
    30
    The linux software package you recommend is precisely the one that I downloaded earlier. Installing it does not work. There appears to be a package dependency problem. Afterwards, I could not start Synaptic or the update manager. That was part of the reason I re-installed to Ubuntu 10.10.

    Others have had the same problem. For example see this interesting post:
    forums linuxmint com
    viewtopic php?f=49&t=44229
    I will try your other suggestion tonight. I am reduced to trying to solve this at work after hours because my Windoze laptop is dying, possibly already dead. I can't connect my T43 to the internet at work (not allowed), but I am allowed to use my work computer to access the net (or at least there are no specific rules against it).

    Achim

  10. #9
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,763
    After downloading the software and reading the ReadMe.html, I can see that the package does nothing more than add a udev rule so that the "CD" emulation portion of the USB device is ignored. That portion of your device is not being picked up as a CD drive - if there is no udev rule to disable this, I'd guess the device is not working properly.

    I also installed the .deb package on Ubuntu 10.10 and can see that the "unercognized command" error thrown by the dpkg installer is due to the command in the postinst script. The .tar.gz file contains the source of the .deb package.

    postinst:

    Code:
    udevadm control reload-rules
    Needs to be:

    Code:
    udevadm control --reload-rules
    The only other file in the software is a .fdi file intended to provide Network Manager with details on how to interact with the modem. Other OS .fdi files can be found under /usr/share/hal/fdi.

    The ReadMe.html also states that 2 ACM devices should be created and that ACM0 is the serial modem. OK, I'm done reading the readme file.

    My guess is that the Network Manager in the newer 10.X Ubuntu already knows how to recognize/talk to the CS-15 (based on the previous link showing it working out of the box.) Unless you have verified on another system that the CS-15 and settings work, I would think the device is non-functional.

  11. #10
    Just Joined!
    Join Date
    Jan 2011
    Location
    Huenfeld, Germany
    Posts
    30

    Solved... I guess

    [Forget the previous uncertainties, somehow it all seems to work now. Here's what I did.

    Changing the wvdial.conf to use ttyACM1 gave the response:
    root@achim-T43:/home/achim# wvdial
    --> WvDial: Internet dialer version 1.60
    --> Cannot open /dev/ttyACM1^M: No such file or directory
    --> Cannot open /dev/ttyACM1^M: No such file or directory
    --> Cannot open /dev/ttyACM1^M: No such file or directory
    So I changed back to ttyACM0 and wvdial responded witrh:
    Code:
    root@achim-T43:/home/achim# wvdial
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    ~[7f]}#@!}!}!} }<}!}$}&@}#}$@#}%}&cV]%}"}&} } } } }'}"}(}"_]~
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Wed Jan 19 23:59:06 2011
    --> Pid of pppd: 1823
    --> Using interface ppp0
    --> pppd: 0
    --> pppd: 0
    --> pppd: 0
    --> pppd: 0
    --> pppd: 0
    --> local  IP address 10.138.122.64
    --> pppd: 0
    --> remote IP address 10.0.0.1
    --> pppd: 0
    --> primary   DNS address 212.23.97.3
    --> pppd: 0
    --> secondary DNS address 212.23.97.2
    --> pppd: 0
    I an using this connection to write this response. So How do I mark this thread as solved?

    ****! I hate this touch pad! I keep having to type things in again... and I hate typing, because I'm no typist!!!!

    OK, the expletive is blanked out. No matter, the end effect is that I have a working Internet connection. I still have problems with my e-mail, but that is probably due to the backup. If cannot solve the problem, il'll start a new post.

    Achim

    How can I turn off this damned touch pad ?!!?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •