Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Connecting o2 Qualcomm icon 210 3g USB dongle

  1. #1
    Join Date
    Dec 2006
    Location
    In a total state of panic
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Connecting o2 Qualcomm icon 210 3g USB dongle

    I am running Ubuntu Hardy with NM 0.6. I am trying to connect my Qualcomm icon 210 that is a prepay 3G USB HSDPA/UMTS/GPRS modem from Germany, also known as the O2-LOOP-Surf-Stick 2. This is a long thread, but I tried to include as much applicable info as possible.

    I put my sim chip in a cell phone and disabled pin requirement, reinstalled sim chip into USB dongle (because some of the chatscripts used for pon require pin disabled)

    <ifconfig prior to connection>
    Code:
    eth0      Link encap:Ethernet  HWaddr 00:1e:37:d0:90:a8  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Base address:0x1840 Memory:fe000000-fe020000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1984 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1984 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:100064 (97.7 KB)  TX bytes:100064 (97.7 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 00:1f:3c:27:fe:1e  
              inet addr:10.5.81.114  Bcast:10.5.81.255  Mask:255.255.255.0
              inet6 addr: fe80::21f:3cff:fe27:fe1e/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:676 errors:0 dropped:0 overruns:0 frame:0
              TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:42955 (41.9 KB)  TX bytes:15674 (15.3 KB)
    
    wmaster0  Link encap:UNSPEC  HWaddr 00-1F-3C-27-FE-1E-00-00-00-00-00-00-00-00-00-00  
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    connected stick to usb port
    icon 210 auto mounts and appears on desktop as usb memory storage device (also noticed a new scsi device that appears to be my modem as a scsi cd-rom... not sure, but i am sure i do not have a scsi cd-rom)

    <lsusb output>
    Code:
    Bus 007 Device 002: ID 1e0e:f000  
    Bus 007 Device 001: ID 0000:0000  
    Bus 006 Device 001: ID 0000:0000  
    Bus 003 Device 001: ID 0000:0000  
    Bus 005 Device 001: ID 0000:0000  
    Bus 004 Device 001: ID 0000:0000  
    Bus 002 Device 002: ID 046d:c521 Logitech, Inc. MX620 Laser Cordless Mouse
    Bus 002 Device 001: ID 0000:0000  
    Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
    Bus 001 Device 003: ID 0a5c:2110 Broadcom Corp. 
    Bus 001 Device 001: ID 0000:0000
    <dmesg output>
    Code:
    [  115.371553] usb 7-2: new high speed USB device using ehci_hcd and address 2
    [  115.508162] usb 7-2: configuration #1 chosen from 1 choice
    [  115.598614] usbcore: registered new interface driver libusual
    [  115.607809] Initializing USB Mass Storage driver...
    [  115.609101] scsi5 : SCSI emulation for USB Mass Storage devices
    [  115.609808] usbcore: registered new interface driver usb-storage
    [  115.609812] USB Mass Storage support registered.
    [  115.609906] usb-storage: device found at 2
    [  115.609908] usb-storage: waiting for device to settle before scanning
    [  116.339567] usb-storage: device scan complete
    [  116.341189] scsi 5:0:0:0: CD-ROM            ZCOPTION HSDPA Modem      2.31 PQ: 0 ANSI: 0
    [  116.353325] sr1: scsi-1 drive
    [  116.353429] sr 5:0:0:0: Attached scsi CD-ROM sr1
    [  116.353508] sr 5:0:0:0: Attached scsi generic sg2 type 5

    I right click and eject memory stick or run "sudo usb_modeswitch" in terminal
    -- device shows as USB Device 1e0e:9000 (USB modem)
    --- If I right click an eject, the icon on the desktop disappears. If i use usb_modeswitch, the icon stays but is empty and will not disappear even after modem is disconnected. Just FYI, not important.

    <lsusb output>
    Code:
    Bus 007 Device 002: ID 1e0e:f000  
    Bus 007 Device 001: ID 0000:0000  
    Bus 006 Device 001: ID 0000:0000  
    Bus 003 Device 001: ID 0000:0000  
    Bus 005 Device 001: ID 0000:0000  
    Bus 004 Device 001: ID 0000:0000  
    Bus 002 Device 002: ID 046d:c521 Logitech, Inc. MX620 Laser Cordless Mouse
    Bus 002 Device 001: ID 0000:0000  
    Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
    Bus 001 Device 003: ID 0a5c:2110 Broadcom Corp. 
    Bus 001 Device 001: ID 0000:0000
    <dmesg output>
    Code:
    [  115.371553] usb 7-2: new high speed USB device using ehci_hcd and address 2
    [  115.508162] usb 7-2: configuration #1 chosen from 1 choice
    [  115.598614] usbcore: registered new interface driver libusual
    [  115.607809] Initializing USB Mass Storage driver...
    [  115.609101] scsi5 : SCSI emulation for USB Mass Storage devices
    [  115.609808] usbcore: registered new interface driver usb-storage
    [  115.609812] USB Mass Storage support registered.
    [  115.609906] usb-storage: device found at 2
    [  115.609908] usb-storage: waiting for device to settle before scanning
    [  116.339567] usb-storage: device scan complete
    [  116.341189] scsi 5:0:0:0: CD-ROM            ZCOPTION HSDPA Modem      2.31 PQ: 0 ANSI: 0
    [  116.353325] sr1: scsi-1 drive
    [  116.353429] sr 5:0:0:0: Attached scsi CD-ROM sr1
    [  116.353508] sr 5:0:0:0: Attached scsi generic sg2 type 5
    [  170.888667] usb 7-2: USB disconnect, address 2
    [  171.035097] usb 7-2: new high speed USB device using ehci_hcd and address 3
    [  171.173893] usb 7-2: configuration #1 chosen from 1 choice
    <ifconfig output>
    is still the same as previous. No change.
    Device now is discovered as a modem (I think)


    I run the command in terminal <sudo modprobe usbserial vendor=0x1e0e product=0x9000>
    this attaches usbserial driver to modem and three new ports are created. ttyUSB0, ttyUSB1, ttyUSB2

    <dmesg output>
    Code:
    [  115.371553] usb 7-2: new high speed USB device using ehci_hcd and address 2
    [  115.508162] usb 7-2: configuration #1 chosen from 1 choice
    [  115.598614] usbcore: registered new interface driver libusual
    [  115.607809] Initializing USB Mass Storage driver...
    [  115.609101] scsi5 : SCSI emulation for USB Mass Storage devices
    [  115.609808] usbcore: registered new interface driver usb-storage
    [  115.609812] USB Mass Storage support registered.
    [  115.609906] usb-storage: device found at 2
    [  115.609908] usb-storage: waiting for device to settle before scanning
    [  116.339567] usb-storage: device scan complete
    [  116.341189] scsi 5:0:0:0: CD-ROM            ZCOPTION HSDPA Modem      2.31 PQ: 0 ANSI: 0
    [  116.353325] sr1: scsi-1 drive
    [  116.353429] sr 5:0:0:0: Attached scsi CD-ROM sr1
    [  116.353508] sr 5:0:0:0: Attached scsi generic sg2 type 5
    [  170.888667] usb 7-2: USB disconnect, address 2
    [  171.035097] usb 7-2: new high speed USB device using ehci_hcd and address 3
    [  171.173893] usb 7-2: configuration #1 chosen from 1 choice
    [  256.990047] usbcore: registered new interface driver usbserial
    [  256.990085] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    [  256.990168] usbserial_generic 7-2:1.0: generic converter detected
    [  256.990386] usb 7-2: generic converter now attached to ttyUSB0
    [  256.990404] usbserial_generic 7-2:1.1: generic converter detected
    [  256.990513] usb 7-2: generic converter now attached to ttyUSB1
    [  256.990528] usbserial_generic 7-2:1.2: generic converter detected
    [  256.990639] usb 7-2: generic converter now attached to ttyUSB2
    [  256.990658] usbcore: registered new interface driver usbserial_generic
    [  256.990663] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial Driver core
    <ifconfig output>
    Code:
    eth0      Link encap:Ethernet  HWaddr 00:1e:37:d0:90:a8  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Base address:0x1840 Memory:fe000000-fe020000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1984 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1984 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:100064 (97.7 KB)  TX bytes:100064 (97.7 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 00:1f:3c:27:fe:1e  
              inet addr:10.5.81.114  Bcast:10.5.81.255  Mask:255.255.255.0
              inet6 addr: fe80::21f:3cff:fe27:fe1e/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1185 errors:0 dropped:0 overruns:0 frame:0
              TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:141620 (138.3 KB)  TX bytes:16970 (16.5 KB)
    
    wmaster0  Link encap:UNSPEC  HWaddr 00-1F-3C-27-FE-1E-00-00-00-00-00-00-00-00-00-00  
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    From here is the problem.

    I have tried <sudo umtsmon -s /dev/ttyUSB2,/dev/ttyUSB2>. Does not get past registering device and does not dial out as far as i can tell.
    <terminal output while running>
    Code:
    umtsmon version 0.9.71 .
    ##P1 t=478: Set suggested AT port to '/dev/ttyUSB2'
    ##P1 t=478: Set suggested PPP port to '/dev/ttyUSB2'
    installing GUI SIGABRT handler
    ##P1 t=481: umtsmon is running as root!!!
    I tried wvdial
    I ran sudo wvdialconf and edited the scripts in /etc/wvdial.conf to include the phone number (*99#) and APN (surfo2) with a couple of other commands.

    <my wvdial.conf contents>
    Code:
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    Stupid Mode = 1
    Baud = 115200
    New PPPD = yes
    Modem = /dev/ttyUSB1
    ISDN = 0
    ; Phone = <Target Phone Number>
    Password = o2
    Username = o2
    
    [Dialer o2]
    Dial Command = ATDT
    Phone = *98#
    Init = AT+CGDCONT=1,"IP","surfo2"

    This is the output from running <wvdial o2>

    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","surfo2"
    AT+CGDCONT=1,"IP","surfo2"
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT*98#
    --> Waiting for carrier.
    ATDT*98#
    --> Disconnecting at Sat Jul 11 07:31:23 2009
    Also after running wvdial, it disconnects my usb dongle and reappears as the usb memory stick.

    <lsusb output>
    Code:
    Bus 007 Device 004: ID 1e0e:f000  
    Bus 007 Device 001: ID 0000:0000  
    Bus 006 Device 001: ID 0000:0000  
    Bus 005 Device 001: ID 0000:0000  
    Bus 004 Device 001: ID 0000:0000  
    Bus 003 Device 001: ID 0000:0000  
    Bus 002 Device 002: ID 046d:c521 Logitech, Inc. MX620 Laser Cordless Mouse
    Bus 002 Device 001: ID 0000:0000  
    Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
    Bus 001 Device 003: ID 0a5c:2110 Broadcom Corp. 
    Bus 001 Device 001: ID 0000:0000

    I have also used <pon> with the scripts as suggested in these two web pages.
    http://cluster.physik.uni-freiburg.d...ck2/index.html
    http://eeegadgets.blogspot.com/2009/...nd-ubuntu.html

    My device did manage to make a successful connection one time. The light switched from red, to steady blue, to blinking blue. I disconnected and reconnected and it was fine. I was able to log on again. ifconfig showed a ppp0 interface assigned to USB2, i was happy and excited. After a reboot, ppp0 never showed up again and all i get is headaches. I even tried my chip in a sony ericson w810i cell phone. It also connected ONE TIME. Again after a reboot, never again. Just for information, both devices work on Windo$e. I went down to the store where i bought the USB dongle and it works there too.

    I am at a loss.

    I must be missing something simple. I must be overlooking SOMETHING.

    I appreciate any guidance.
    Last edited by smellydog; July 12th, 2009 at 12:30 PM.

  2. #2
    Join Date
    Aug 2008
    Location
    Athens Greece
    Beans
    973
    Distro
    Ubuntu Mate

    Re: Connecting o2 Qualcomm icon 210 3g USB dongle

    Hi smellydog,
    looking at your /etc/wvdial.conf you have a wrong dial number (*98#).
    Use sudo gedit /etc/wvdial.conf and edit your file to be:
    Code:
    [Dialer Defaults]
    Modem = /dev/ttyUSB1
    Modem Type = Analog Modem
    ISDN = 0
    Baud = 460800
    Username = o2
    Password = o2
    Phone = *99#
    Stupid Mode = 1
    Init1 = ATZ
    Init2 = AT&F E1 V1 X1 &D2 &C1 S0=0
    Init3 = AT+CGDCONT=1,"IP","surfo2"
    
    [Dialer 0]
    Modem = /dev/ttyUSB0
    
    [Dialer 1]
    Modem = /dev/ttyUSB1
    
    [Dialer 2]
    Modem = /dev/ttyUSB2
    Dial using sudo wvdial and remove "offline mode" from firefox with ALT-F W

    Post here any results to follow up.

    EDIT: I used /dev/ttyUSB1 as your tries, phone=*99# (not *98# as you mistyped) and named Init3 the APN setting line. You can try sudo wvdial 2 to try /dev/ttyUSB2 port.

    Regards,
    George
    Last edited by GeorgeVita; July 11th, 2009 at 01:40 PM.

  3. #3
    Join Date
    Dec 2006
    Location
    In a total state of panic
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Connecting o2 Qualcomm icon 210 3g USB dongle

    This is my new wvdial.conf
    Code:
    [Dialer Defaults]
    Modem = /dev/ttyUSB2
    Modem Type = Analog Modem
    ISDN = 0
    Baud = 460800
    Password = o2
    Username = o2
    Phone = *99#
    Stupid Mode = 1
    Init1 = ATZ
    Init2 = AT&F E1 V1 X1 &D2 &C1 S0=0
    Init = AT+CGDCONT=1,"IP","surfo2"
    I now type "sudo wvdial" in terminal

    Code:
    name@host:~$ sudo wvdial
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","surfo2"
    AT+CGDCONT=1,"IP","surfo2"
    OK
    --> Sending: AT&F E1 V1 X1 &D2 &C1 S0=0
    AT&F E1 V1 X1 &D2 &C1 S0=0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT 115200
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Sat Jul 11 08:50:25 2009
    --> Pid of pppd: 7179
    --> Using interface ppp0
    --> pppd: 0�[06][08]��[06][08]
    --> pppd: 0�[06][08]��[06][08]
    --> pppd: 0�[06][08]��[06][08]
    --> pppd: 0�[06][08]��[06][08]
    --> pppd: 0�[06][08]��[06][08]
    --> pppd: 0�[06][08]��[06][08]
    --> pppd: 0�[06][08]��[06][08]
    --> Disconnecting at Sat Jul 11 08:51:02 2009
    --> 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.
    I can see that it is a step closer! But still no go. Last time I remember from the successful log on, when i used the command "modprobe" to attached the usbserial driver, the USB modem light went from solid red to solid blue (I am assuming that is when ppp0 was created and attached to ttyUSB2)? When I invoked any scripts (with pon or wvdial...) to sign on to the o2 server, it went to a blinking blue and I had the primary and secondary DNS servers listed in the terminal. From this edit to my wvdial.conf, I can see that it at least started PPP, but there was still no ppp0 listed from the command ifconfig. If that makes any sense.

    This is helpful, thanks.
    Last edited by smellydog; July 12th, 2009 at 12:34 PM.

  4. #4
    Join Date
    Dec 2006
    Location
    In a total state of panic
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Connecting o2 Qualcomm icon 210 3g USB dongle

    This is a snapshot of my syslog

    Jul 11 08:41:35 LenovoT61 kernel: [ 72.387913] usbcore: registered new interface driver usbserial
    Jul 11 08:41:35 LenovoT61 kernel: [ 72.387928] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    Jul 11 08:41:35 LenovoT61 kernel: [ 72.387963] usbserial_generic 2-2:1.0: generic converter detected
    Jul 11 08:41:35 LenovoT61 kernel: [ 72.388052] usb 2-2: generic converter now attached to ttyUSB0
    Jul 11 08:41:35 LenovoT61 kernel: [ 72.388059] usbserial_generic 2-2:1.1: generic converter detected
    Jul 11 08:41:35 LenovoT61 kernel: [ 72.388103] usb 2-2: generic converter now attached to ttyUSB1
    Jul 11 08:41:35 LenovoT61 kernel: [ 72.388110] usbserial_generic 2-2:1.2: generic converter detected
    Jul 11 08:41:35 LenovoT61 kernel: [ 72.388153] usb 2-2: generic converter now attached to ttyUSB2
    Jul 11 08:41:35 LenovoT61 kernel: [ 72.388161] usbcore: registered new interface driver usbserial_generic
    Jul 11 08:41:35 LenovoT61 kernel: [ 72.388163] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial Driver core
    Jul 11 08:41:35 LenovoT61 NetworkManager: <debug> [1247316095.510342] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_1e0e_9000_noserial_if0_serial_usb_0').
    Jul 11 08:41:35 LenovoT61 NetworkManager: <debug> [1247316095.513983] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_1e0e_9000_noserial_if1_serial_usb_1').
    Jul 11 08:41:35 LenovoT61 NetworkManager: <debug> [1247316095.515354] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_1e0e_9000_noserial_if2_serial_usb_2').
    Jul 11 08:49:59 LenovoT61 pppd[7124]: pppd 2.4.4 started by saverio, uid 1000
    Jul 11 08:49:59 LenovoT61 kernel: [ 174.337855] PPP generic driver version 2.4.2
    Jul 11 08:49:59 LenovoT61 pppd[7124]: Using interface ppp0
    Jul 11 08:49:59 LenovoT61 pppd[7124]: Connect: ppp0 <--> /dev/ttyUSB2
    Jul 11 08:49:59 LenovoT61 pppd[7124]: PAP authentication succeeded
    Jul 11 08:49:59 LenovoT61 kernel: [ 174.425046] PPP BSD Compression module registered
    Jul 11 08:49:59 LenovoT61 kernel: [ 174.461892] PPP Deflate Compression module registered
    Jul 11 08:50:11 LenovoT61 pppd[7124]: Terminating on signal 15
    Jul 11 08:50:25 LenovoT61 pppd[7179]: pppd 2.4.4 started by root, uid 0
    Jul 11 08:50:25 LenovoT61 pppd[7179]: Using interface ppp0
    Jul 11 08:50:25 LenovoT61 pppd[7179]: Connect: ppp0 <--> /dev/ttyUSB2
    Jul 11 08:50:25 LenovoT61 pppd[7179]: CHAP authentication succeeded
    Jul 11 08:50:25 LenovoT61 pppd[7179]: CHAP authentication succeeded
    Jul 11 08:50:55 LenovoT61 pppd[7179]: IPCP: timeout sending Config-Requests
    Jul 11 08:51:01 LenovoT61 pppd[7179]: Connection terminated.
    Jul 11 08:51:01 LenovoT61 pppd[7179]: Modem hangup
    Jul 11 08:51:01 LenovoT61 pppd[7179]: Exit.
    Jul 11 08:51:07 LenovoT61 pppd[7210]: pppd 2.4.4 started by root, uid 0
    Jul 11 08:51:07 LenovoT61 pppd[7210]: Using interface ppp0
    Jul 11 08:51:07 LenovoT61 pppd[7210]: Connect: ppp0 <--> /dev/ttyUSB2
    Jul 11 08:51:07 LenovoT61 pppd[7210]: CHAP authentication succeeded
    Jul 11 08:51:07 LenovoT61 pppd[7210]: CHAP authentication succeeded
    Jul 11 08:51:37 LenovoT61 pppd[7210]: IPCP: timeout sending Config-Requests
    Jul 11 08:51:43 LenovoT61 pppd[7210]: Connection terminated.
    Jul 11 08:51:43 LenovoT61 pppd[7210]: Modem hangup
    Jul 11 08:51:43 LenovoT61 pppd[7210]: Exit.
    Jul 11 08:51:54 LenovoT61 pppd[7245]: pppd 2.4.4 started by root, uid 0
    Jul 11 08:51:54 LenovoT61 pppd[7245]: Using interface ppp0
    Jul 11 08:51:54 LenovoT61 pppd[7245]: Connect: ppp0 <--> /dev/ttyUSB2
    Jul 11 08:51:54 LenovoT61 pppd[7245]: CHAP authentication succeeded
    Jul 11 08:51:54 LenovoT61 pppd[7245]: CHAP authentication succeeded
    Jul 11 08:52:24 LenovoT61 pppd[7245]: IPCP: timeout sending Config-Requests
    Jul 11 08:52:30 LenovoT61 pppd[7245]: Connection terminated.
    Jul 11 08:52:30 LenovoT61 pppd[7245]: Modem hangup
    Jul 11 08:52:30 LenovoT61 pppd[7245]: Exit.
    Jul 11 08:52:51 LenovoT61 pppd[7308]: pppd 2.4.4 started by root, uid 0
    Jul 11 08:52:51 LenovoT61 pppd[7308]: Using interface ppp0
    Jul 11 08:52:51 LenovoT61 pppd[7308]: Connect: ppp0 <--> /dev/ttyUSB2
    Jul 11 08:52:51 LenovoT61 pppd[7308]: CHAP authentication succeeded
    Jul 11 08:52:51 LenovoT61 pppd[7308]: CHAP authentication succeeded
    Jul 11 08:53:21 LenovoT61 pppd[7308]: IPCP: timeout sending Config-Requests
    Jul 11 08:53:27 LenovoT61 pppd[7308]: Connection terminated.
    Jul 11 08:53:27 LenovoT61 pppd[7308]: Modem hangup
    Jul 11 08:53:27 LenovoT61 pppd[7308]: Exit.

  5. #5
    Join Date
    Aug 2008
    Location
    Athens Greece
    Beans
    973
    Distro
    Ubuntu Mate

    Re: Connecting o2 Qualcomm icon 210 3g USB dongle

    I think your setting are almost correct. i found 2 APNs from network Manager 0.7 (choose appropriate):

    Germany, o2 (pay-by-time): surfo2
    Germany, o2 (pay-by-MB): internet

    Check also with Ethernet disconnected and wireless disabled (just in case of conflicts). Reboot before trying.

    There are many ways to connect, so when you find out the setup parameters you may choose the appropriate to you!

    EDIT: usbserial is just the usb to serial communication port driver. usb_modeswitch turn the device to the actual modem state (which can be usbserial-lised). At this point the problem seems to be just after negotiation with your provider for your account or a conflict from ppp dialler into the system

    Searching to find other parameters needed...
    Last edited by GeorgeVita; July 11th, 2009 at 02:23 PM.

  6. #6
    Join Date
    Aug 2008
    Location
    Athens Greece
    Beans
    973
    Distro
    Ubuntu Mate

    Re: Connecting o2 Qualcomm icon 210 3g USB dongle

    Hi again, I did not found something specific.
    Just check contents of a file regarding pppd and wvdial with the following:
    Code:
    sudo cat /etc/ppp/peers/wvdial
    The contents of my file with working wvdial are:
    Code:
    noauth
    name wvdial
    usepeerdns
    G

  7. #7
    Join Date
    Dec 2006
    Location
    In a total state of panic
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Connecting o2 Qualcomm icon 210 3g USB dongle

    This is what I have in my /etc/usb_modswitch.conf

    Code:
    ########################################################
    # Option iCON 210
    # PROLiNK PHS100 (various looks)
    # Hyundai Mobile MB-810
    #
    # One report of switching with DetachStorageOnly. Needs at least
    # a second to settle before binding to usbserial
    #
    # Contributor: wahlm, Peter Kraker, Pakdhetimin Sekum
    
    DefaultVendor=  0x1e0e
    DefaultProduct= 0xf000
    
    TargetVendor=   0x1e0e
    TargetProduct=  0x9000
    TargetClass=    0xff
    
    # only for reference
    MessageEndpoint=0x01
    
    MessageContent="555342431234567800000000000006bd000000020000000000000000000000"
    
    ResponseEndpoint=0x01
    
    
    #######################################################

    This is what I fixed my /etc/wvdial.conf to look like

    Code:
    [Dialer Defaults]
    Modem = /dev/ttyUSB1
    Modem Type = Analog Modem
    ISDN = 0
    Baud = 460800
    Password = o2
    Username = o2
    Phone = *99#
    Stupid Mode = 1
    Init1 = ATZ
    Init2 = AT&F E1 V1 X1 &D2 &C1 S0=0
    Init3 = AT+CGDCONT=1,"IP","surfo2"
    
    [Dialer 0]
    Modem = /dev/ttyUSB0
    
    [Dialer 1]
    Modem = /dev/ttyUSB1
    
    [Dialer 2]
    Modem = /dev/ttyUSB2
    This is the result of ifconfig after disabling wlan0 and eth0

    Code:
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:2643 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2643 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:119949 (117.1 KB)  TX bytes:119949 (117.1 KB)

    I tried wvdial, wvdial 1 and wvdial 2. The first two disconnected the modem and turned it back into a memory stick. The wvdial 2 is the only one that stayed the same from previous entry with APN "surfo2, and APN "internet". I tried both APN's with wlan0 and eth0 up and down with the wvdial 2 connection script. I am going to try this new script with my phone and see what happens just to see out of curiosity.

    the results of sudo cat /etc/ppp/peers/wvdial are the same as yours
    Last edited by smellydog; July 12th, 2009 at 12:35 PM.

  8. #8
    Join Date
    Dec 2006
    Location
    In a total state of panic
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Connecting o2 Qualcomm icon 210 3g USB dongle

    I tried my o2 chip in my phone. It uses port ttyACM0 and ttyACM1. I just added two more Dialers to the bottom of wvdial.conf as [Dialer 3] and [Dialer 4]

    I used "sudo wvdial 3" so that it used ttyACM0, and it is connected

    This is the output

    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: AT&F E1 V1 X1 &D2 &C1 S0=0
    AT&F E1 V1 X1 &D2 &C1 S0=0
    OK
    --> Sending: AT+CGDCONT=1,"IP","surfo2"
    AT+CGDCONT=1,"IP","surfo2"
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    ~[7f]}#@!}!}!} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&X*}3cD7~
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Sat Jul 11 10:34:20 2009
    --> Pid of pppd: 9924
    --> Using interface ppp0
    --> pppd: ��[06][08]
    --> pppd: ��[06][08]
    --> pppd: ��[06][08]
    --> pppd: ��[06][08]
    --> pppd: ��[06][08]
    --> pppd: ��[06][08]
    --> pppd: ��[06][08]
    --> local  IP address 10.70.130.224
    --> pppd: ��[06][08]
    --> remote IP address 10.64.64.64
    --> pppd: ��[06][08]
    --> primary   DNS address 193.189.244.205
    --> pppd: ��[06][08]
    --> secondary DNS address 193.189.244.197
    --> pppd: ��[06][08]


    This is 'ifconfig'

    Code:
    eth0      Link encap:Ethernet  HWaddr 00:1e:37:d0:90:a8  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Base address:0x1840 Memory:fe000000-fe020000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:2695 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2695 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:123165 (120.2 KB)  TX bytes:123165 (120.2 KB)
    
    ppp0      Link encap:Point-to-Point Protocol  
              inet addr:10.70.130.224  P-t-P:10.64.64.64  Mask:255.255.255.255
              UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
              RX packets:4 errors:0 dropped:0 overruns:0 frame:0
              TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:3 
              RX bytes:58 (58.0 B)  TX bytes:85 (85.0 B)
    
    wlan0     Link encap:Ethernet  HWaddr 00:1f:3c:27:fe:1e  
              inet addr:10.5.81.114  Bcast:10.5.81.255  Mask:255.255.255.0
              inet6 addr: fe80::21f:3cff:fe27:fe1e/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1654 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1279 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:1080602 (1.0 MB)  TX bytes:288367 (281.6 KB)
    
    wmaster0  Link encap:UNSPEC  HWaddr 00-1F-3C-27-FE-1E-00-00-00-00-00-00-00-00-00-00  
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    I have a ppp0.

    I suppose this eliminates the wvdial script. I have to turn off my wlan0 and eth0 to use the phone. the phone is not a 3g phone so it is considerably slower than what i am using at the moment.
    Last edited by smellydog; July 12th, 2009 at 12:37 PM.

  9. #9
    Join Date
    Aug 2008
    Location
    Athens Greece
    Beans
    973
    Distro
    Ubuntu Mate

    Re: Connecting o2 Qualcomm icon 210 3g USB dongle

    Hi again,

    I think that usb_modeswitch and the usbserial driver are OK.
    You should use the /dev/ttyUSB2 once! (I mean only one program will use it).
    Do not try pon/wvdial/... all together. If a program 'stucks' it will hold the port. As you have connected with /dev/ttyUSB2 once keep this.

    The idea is to determine if your provider or the system 'cuts' the connection.

    Be sure by asking 'technical support' of your provider about APN/user/pass (a wrong one may cost you more!).

    Regards,
    George

  10. #10
    Join Date
    Dec 2006
    Location
    In a total state of panic
    Beans
    42
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Connecting o2 Qualcomm icon 210 3g USB dongle

    I am not sure what the init2 string all means, but how come it works and the other one that was in there previously didn't?

    thanks for your help George. I very much appreciate it all

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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