Find the answer to your Linux question:
Results 1 to 3 of 3
Hello. This is my first post on this forum. I have a Nokia 1508i, and I want to use it as a modem. But I've tried many times, many configurations ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! GutierrezPS's Avatar
    Join Date
    Jan 2010
    Location
    Brazil
    Posts
    2

    Unhappy Configure Nokia 1508i as a modem


    Hello. This is my first post on this forum.

    I have a Nokia 1508i, and I want to use it as a modem. But I've tried many times, many configurations and it didn't worked. Please help me!

    When I connect it via USB to the computer, it's recognized as /dev/ttyUSB0 and /dev/ttyUSB1. When I try to connect using the
    Code:
    wvdial
    , I get the following message:

    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    --> Sending: ATQ0
    --> Re-Sending: ATZ
    --> Modem not responding.
    This is my /etc/wvdial.conf:

    Code:
    [Dialer giro]
    Phone = #777
    Username = xxxxxx
    Password = xxxxx
    Stupid mode = 1
    Auto Reconnect = on
    
    [Dialer Defaults]
    Modem = /dev/ttyUSB0
    Baud = 230400
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = USB Modem
    This is the log of Windows when I connect:

    Code:
    01-13-2010 00:27:26.578 - File: C:\WINDOWS\system32\tapisrv.dll, Version 5.1.2600
    01-13-2010 00:27:26.578 - File: C:\WINDOWS\system32\unimdm.tsp, Version 5.1.2600
    01-13-2010 00:27:26.578 - File: C:\WINDOWS\system32\unimdmat.dll, Version 5.1.2600
    01-13-2010 00:27:26.578 - File: C:\WINDOWS\system32\uniplat.dll, Version 5.1.2600
    01-13-2010 00:27:26.578 - File: C:\WINDOWS\system32\drivers\modem.sys, Version 5.1.2600
    01-13-2010 00:27:26.578 - File: C:\WINDOWS\system32\modemui.dll, Version 5.1.2600
    01-13-2010 00:27:26.578 - File: C:\WINDOWS\system32\mdminst.dll, Version 5.1.2600
    01-13-2010 00:27:26.578 - Modem type: Nokia 1508i Modem
    01-13-2010 00:27:26.578 - Modem inf path: oem6.inf
    01-13-2010 00:27:26.578 - Modem inf section: ViaUsbModem
    01-13-2010 00:27:26.578 - Hardware identification: usb\vid_0421&pid_018f&mi_00
    01-13-2010 00:27:27.000 - 115200,8,N,1, ctsfl=0, rtsctl=1
    01-13-2010 00:27:27.203 - Starting modem.
    01-13-2010 00:27:27.203 - CD high while starting modem.
    01-13-2010 00:27:27.218 - Sending: ATZE0Q0V1<cr>
    01-13-2010 00:27:27.234 - Received: <cr><lf>OK<cr><lf>
    01-13-2010 00:27:27.234 - Answer: OK
    01-13-2010 00:27:27.250 - Sending: ATE0Q0V1&F&D2&C1S0=0<cr>
    01-13-2010 00:27:27.265 - Received: <cr><lf>OK<cr><lf>
    01-13-2010 00:27:27.265 - Answer: OK
    01-13-2010 00:27:27.281 - Sending: ATS7=60 X4<cr>
    01-13-2010 00:27:27.296 - Received: ATS7=60 X4<cr>
    01-13-2010 00:27:27.296 - Command echo.
    01-13-2010 00:27:27.296 - Received: <cr><lf>OK<cr><lf>
    01-13-2010 00:27:27.296 - Answer: OK
    01-13-2010 00:27:27.296 - Waiting call.
    01-13-2010 00:27:27.296 - Sending: ATS0=0<cr>
    01-13-2010 00:27:27.312 - Received: ATS0=0<cr>
    01-13-2010 00:27:27.312 - Command echo.
    01-13-2010 00:27:27.312 - Received: <cr><lf>OK<cr><lf>
    01-13-2010 00:27:27.312 - Answer: OK
    01-13-2010 00:27:27.312 - 115200,8,N,1, ctsfl=0, rtsctl=1
    01-13-2010 00:27:27.531 - Starting Modem.
    01-13-2010 00:27:27.531 - CD high while starting modem.
    01-13-2010 00:27:27.546 - Sending: ATZE0Q0V1<cr>
    01-13-2010 00:27:27.546 - Received: ATZE0Q0V1<cr>
    01-13-2010 00:27:27.546 - Command echo.
    01-13-2010 00:27:27.562 - Received: <cr><lf>OK<cr><lf>
    01-13-2010 00:27:27.562 - Answer: OK
    01-13-2010 00:27:27.562 - Sending: ATE0Q0V1&F&D2&C1S0=0<cr>
    01-13-2010 00:27:27.593 - Received: <cr><lf>OK<cr><lf>
    01-13-2010 00:27:27.593 - Answer: OK
    01-13-2010 00:27:27.593 - Sending: ATS7=60 X4<cr>
    01-13-2010 00:27:27.609 - Received: ATS7=60 X4<cr>
    01-13-2010 00:27:27.609 - Command echo
    01-13-2010 00:27:27.609 - Received: <cr><lf>OK<cr><lf>
    01-13-2010 00:27:27.609 - Answer: OK
    01-13-2010 00:27:27.609 - Dialing.
    01-13-2010 00:27:27.609 - Sending: ATDT####<cr>
    01-13-2010 00:27:27.640 - Received: ATDT#777<cr>
    01-13-2010 00:27:27.640 - Command echo.
    01-13-2010 00:27:29.890 - Received: <cr><lf>CONNECT<cr><lf>
    01-13-2010 00:27:29.890 - Answer: connect
    01-13-2010 00:27:29.890 - Connection stablished.
    01-13-2010 00:27:29.890 - Data compression turned off or unknown.
    01-13-2010 00:27:59.890 - Read: Total: 338, Per/S: 11, Write: Total: 3887, Per/S: 127
    This is what I get when I execute
    Code:
    wvdialconf
    Code:
    Editing `/etc/wvdial.conf'.
    
    Scanning your serial ports for a modem.
    
    ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
    ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
    ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
    Modem Port Scan<*1>: S1 S2 S3
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
    ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
    ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
    WvModem<*1>: Cannot get information for serial port.
    ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
    ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
    ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
    
    
    Sorry, no modem was detected! Is it in use by another program?
    Did you configure it properly with setserial?
    Please, help me!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,533
    What distribution+version of Linux are you using, and what is your GUI desktop manager (Gnome, KDE, etc)? You need to go to the network manager and add a PPP connection most likely. You will then likely need to add the connection strings to the configuration so it can connect properly.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined! GutierrezPS's Avatar
    Join Date
    Jan 2010
    Location
    Brazil
    Posts
    2
    I'm sorry for the long time without answer.

    Now I'm using Ubuntu 10.10.

    I run
    Code:
    modprobe usbserial vendor=0x0421 product=0x018f
    to create the files /dev/ttyUSB0 and /dev/ttyUSB1.

    I just get an answer form the modem when I run
    Code:
    echo -e "ATDT#777" >> /dev/ttyUSB0
    And I just get connected with wvdial when I use the modem first at Windows.

    Can somebody hep me?

Posting Permissions

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