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.
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.
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
Use Sakis3G from http://www.sakis3g.org/
Best of luck!
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.
use it: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";Please reply to this post if you don't come right, will try to help, if i can.Code:sudo wvdial hsdpa
will give it a bash in a moment ... teehee... get it ?
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.
unplug the modem, open a new terminal window type:
Replug the modem, you should be able to determine where the modem gets mounted by looking at the output in the terminal window.Code:sudo tail -f -s 1 /var/log/messages
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
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.
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?
try
sudo modprobe usbserial vendor=0x12d1 product=0x1c05
Bookmarks