Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Results 1 to 14 of 14

Thread: k3770 Modem on Natty , How ?

  1. #1

    Default k3770 Modem on Natty , How ?

    Ok, The Vodacom K3770 modem from Vodacom.

    I googled around, saw some references to modeswitch over here and I still do not understand.

    Please help.

  2. #2
    Super Grandmaster cbrunsdonza's Avatar
    Join Date
    Jun 2008
    Location
    Somerset West
    Posts
    9,809

    Default

    Modeswitch is already installed by default on Natty and if its not being picked up then the UDEV rules are not available for the modem - in other words, don't prick around and just a while for an update to come in to support the modem.
    Overflow error in /dev/null

  3. #3

  4. #4

    Default

    hi qdot, i'm running lucid with my vodacom and mtn modem using wvdial. i can interchange between the two modems without changing anything. below is my /etc/wvdial.conf file.
    Code:
    # wvdial for Vodacom Data. Created by Tazz_tux
    # Version 1.0
    
    # Change Log:
    #
    # Added support for HSDPA.
    # Added Headers and version control.
    
    [Dialer Defaults]
    Phone = *99***1#
    Username = username
    Password = password
    Stupid Mode = 1
    Dial Command = ATDT
    
    [Dialer hsdpa]
    Phone = *99***1#
    Username = vodafone
    Password = vodafone
    Stupid Mode = 1
    Dial Command = ATDT
    Modem = /dev/ttyUSB0
    Baud = 460800
    Init2 = ATZ
    Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
    ISDN = 0
    Modem Type = Analog Modem
    Init5 = AT+CGDCONT=1,"IP","internet";
    use it:
    Code:
    sudo wvdial hsdpa
    Please reply to this post if you don't come right, will try to help, if i can.

  5. #5

  6. #6

    Default

    will give it a bash in a moment ... teehee... get it ?

  7. #7

    Default

    no joy:-(

    could not find the device..

    I will try USB1 2 3 4 etc

  8. #8
    Super Grandmaster ginggs's Avatar
    Join Date
    Jun 2006
    Location
    Good-w00t! Cape Town
    Posts
    7,692

    Default

    Quote Originally Posted by qDot View Post
    will give it a bash in a moment ... teehee... get it ?

    Quote Originally Posted by qDot View Post
    no joy:-(

    could not find the device..

    I will try USB1 2 3 4 etc
    Check out the USB_ModeSwitch forum, Josh is very helpful.

  9. #9

    Default

    unplug the modem, open a new terminal window type:

    Code:
    sudo tail -f -s 1  /var/log/messages
    Replug the modem, you should be able to determine where the modem gets mounted by looking at the output in the terminal window.

  10. #10

    Default

    my output to tail:

    Code:
    Jun 16 09:55:26 ####### kernel: [ 3449.603155] option 2-2:1.1: device disconnected
    Jun 16 09:55:49 ####### kernel: [ 3472.692101] usb 2-1: new full speed USB device using uhci_hcd and address 6
    Jun 16 09:55:49 ####### kernel: [ 3472.854476] usb 2-1: configuration #1 chosen from 1 choice
    Jun 16 09:55:49 ####### kernel: [ 3472.859251] scsi12 : SCSI emulation for USB Mass Storage devices
    Jun 16 09:55:49 ####### kernel: [ 3472.912697] usb 2-1: USB disconnect, address 6
    Jun 16 09:55:51 ####### kernel: [ 3474.392085] usb 2-1: new full speed USB device using uhci_hcd and address 7
    Jun 16 09:55:51 ####### kernel: [ 3474.553484] usb 2-1: configuration #1 chosen from 1 choice
    Jun 16 09:55:51 ####### kernel: [ 3474.559777] option 2-1:1.0: GSM modem (1-port) converter detected
    Jun 16 09:55:51 ####### kernel: [ 3474.560219] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
    Jun 16 09:55:51 ####### kernel: [ 3474.562825] option 2-1:1.1: GSM modem (1-port) converter detected
    Jun 16 09:55:51 ####### kernel: [ 3474.563195] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
    Jun 16 09:55:51 ####### kernel: [ 3474.565635] scsi15 : SCSI emulation for USB Mass Storage devices
    Jun 16 09:55:56 ####### kernel: [ 3479.568312] scsi 15:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2

  11. #11

    Default K3770 working on linux

    Quote Originally Posted by qDot View Post
    Ok, The Vodacom K3770 modem from Vodacom.

    I googled around, saw some references to modeswitch over here and I still do not understand.

    Please help.
    I finally got it working, took me a lot of research but once I figured it out it was really easy. I have installed it now on 3 different machines and different versions of Ubuntu.

  12. #12

    Default

    So the solution
    You have to trick linux into thinking it is a different modem, this involves installing usb_modeswitch and editing 3 files
    The first file sudo gedit /etc/usb_modeswitch.conf
    add the following lines
    DefaultVendor= 0x12d1
    DefaultProduct=0x14d1
    TargetVendor= 0x12d1
    TargetProduct= 0x1c05
    CheckSuccess=20
    MessageContent="5553424312345678000000000000001106 0000000000000000000000000000"


    The second file you will need to create
    sudo gedit /etc/usb_modeswitch.d/12d1:14d1

    Then add the following lines - yes almost the same as above
    ################################################## ######
    # Huawei K3770

    DefaultVendor= 0x12d1
    DefaultProduct=0x14d1

    TargetVendor= 0x12d1
    TargetProduct= 0x1c05
    CheckSuccess=20
    MessageContent="5553424312345678000000000000001106 0000000000000000000000000000"

    And finally the last file
    sudo gedit /lib/udev/rules.d/40-usb_modeswitch.rules
    Add the line


    # Huawei Ek3770
    ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14d1", RUN+="usb_modeswitch '%b/%k'

    I rebooted after this and it works.
    I did notice that if you startup with the modem it sometimes does not find it, just pull it out and put it back in.
    It works with network manager
    Last edited by cre8or; 02-07-2011 at 07:32 PM.

  13. #13

    Default

    Thanks cre8tor

    Mine now switches, but unfortunately never gets to the point of asking for the SIM pin.
    lsusb shows up: Bus 001 Device 008: ID 12d1:14d1 Huawei Technologies Co., Ltd.

    Pop-up has changed to:
    "CD-Drive Connected" followed by
    10.103.blah blah RC1 Successfully Unmounted

    Which is similar to what the older ZTE modem I'm borrowing says (sans the "CD-Drive" bit) before it asks for the pin code.

    2 reboots later, and the Huawei still just sits there with a double green led flash every 3 seconds or so.

    Any ideas?

  14. #14

    Default

    try
    sudo modprobe usbserial vendor=0x12d1 product=0x1c05

Tags for this Thread

Bookmarks

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
  •