Differences

This shows you the differences between two versions of the page.

doc:recipes:3gdongle [2012/12/08 22:49]
ajo
doc:recipes:3gdongle [2013/04/11 03:44] (current)
chr
Line 14: Line 14:
:!: If you have the Leadtek FlashOFDM card (Flarion) from T-Mobile in Slovakia and the Asus WL-500g Premium, you may use the image on [[http://www.accalio.com/index.php?id=301]]. If you wish to get more information, or another distribution with the driver, please contact Accalio [[http://www.accalio.com]] :!: If you have the Leadtek FlashOFDM card (Flarion) from T-Mobile in Slovakia and the Asus WL-500g Premium, you may use the image on [[http://www.accalio.com/index.php?id=301]]. If you wish to get more information, or another distribution with the driver, please contact Accalio [[http://www.accalio.com]]
 +
 +:!: You must not install **usb-modeswitch** onto your wrt device if you cure your 3g-usb modem from the so called **'NO-CD'** feature. Plug it into a desktop PC with usb-modeswitch and have a look at [[http://3g-modem.wetpaint.com/page/Huawei+AT-commands]]. I was able to fix 3 modems with **a simple AT-command**. Plugged in, they just show up the serial lines (ttyUSB0-2) and the sd-card reader. Very nice!
===== Preparations ===== ===== Preparations =====
Line 99: Line 101:
Now your USB Dongle should create logs in dmesg. If it doesn't, try <code>usb_modeswitch -c /etc/usb_modeswitch.d/<file></code> where ''<file>'' represents the modem's combined vendor/product id, e.g. 19d2:0083 for a ZTE MF190. Obviously, that file must exist in the forementioned directory. Now your USB Dongle should create logs in dmesg. If it doesn't, try <code>usb_modeswitch -c /etc/usb_modeswitch.d/<file></code> where ''<file>'' represents the modem's combined vendor/product id, e.g. 19d2:0083 for a ZTE MF190. Obviously, that file must exist in the forementioned directory.
 +
 +For instance, with the DX 7.2M HSDPA 3G SIM Card USB Item# 80032, the reported scsi ID is 12d1:1001; running "usb_modeswitch  -v 12d1 -p 1001" results in 4 ttyUSB devices:
 +<code>
 +[426955.836000] option 1-1.2:1.0: GSM modem (1-port) converter detected
 +[426955.844000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
 +[426955.860000] option 1-1.2:1.1: GSM modem (1-port) converter detected
 +[426955.868000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
 +[426955.884000] option 1-1.2:1.2: GSM modem (1-port) converter detected
 +[426955.892000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
 +[426955.908000] option 1-1.2:1.3: GSM modem (1-port) converter detected
 +[426955.916000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
 +[426955.936000] scsi17 : usb-storage 1-1.2:1.4
 +[426956.940000] scsi 17:0:0:0: CD-ROM            HSDPA    CDROM Storage    2.31PQ: 0 ANSI: 2
 +[426956.948000] scsi 17:0:0:0: Attached scsi generic sg0 type 5
 +[426956.960000] scsi 17:0:0:1: Direct-Access    HSDPA    MMC Storage      2.31PQ: 0 ANSI: 2
 +[426956.968000] sd 17:0:0:1: Attached scsi generic sg1 type 0
 +[426956.992000] sd 17:0:0:1: [sda] Attached SCSI removable disk
 +</code>
If your device doesn't work with usb_modeswitch, try the sdparm method. If your device doesn't work with usb_modeswitch, try the sdparm method.

Back to top

doc/recipes/3gdongle.1355003343.txt.bz2 · Last modified: 2012/12/08 22:49 by ajo