September 07, 2010, 02:31:40
News: Thunderbird 3.1.1 > 3.1.2
Seiten: [1] |   Nach unten
Drucken
Autor Thema: How to connect UMTS modem?  (Gelesen 85 mal)
0 Benutzer und 1 Gast betrachten dieses Thema.
NotExcessive
Mitglied
*
Offline

Beiträge: 13


« am: Juli 22, 2010, 11:22:05 »

I've plugged in a USB modem from my phone carrier, but when I run "UMTS connection via modem" from the menu, all I get is the error message "No UMTS modem is available" even though the modem shows up as a USB drive on the system and I can access the directories. Any ideas?
Gespeichert
kgha
Senior-Mitglied
***
Offline

Beiträge: 182


« Antworten #1 am: Juli 22, 2010, 15:07:18 »

Hmm... it shouldn't show up as a storage medium, I guess that's the problem: recognised but not as a modem.
Which modem is it (make, model)? Which version of fluxflux?
Gespeichert
NotExcessive
Mitglied
*
Offline

Beiträge: 13


« Antworten #2 am: Juli 22, 2010, 15:40:37 »

I'm running fluxflux-sl-en_US-2009.3 on an ASUS EeePC 701SD. By contrast, if I plug the exact same modem into my partner's identical netbook (with the exception that it's still running the original Xandros OS the netbook shipped with) then it fires right up in the connection manager and gets an internet connection.

The modem is supplied by "3" and is branded "HUAWEI Model E122 HSPA USB Stick."
Gespeichert
kgha
Senior-Mitglied
***
Offline

Beiträge: 182


« Antworten #3 am: Juli 22, 2010, 17:04:19 »

Do you have 'usb_modeswitch' installed? If not, install via gslapt or slapt-get.

The penultimate post in this thread

http://support.t-mobile.co.uk/discussions/index?page=forums&topic=801038bfcfff101252424493a007696

suggests editing the file 'usb_modeswitch.conf'

Why not make a try? (might be a good idea to make a backup copy of the .conf file first)
Gespeichert
flux
Administrator
Urgestein
*
Offline

Beiträge: 1551


WWW
« Antworten #4 am: Juli 22, 2010, 17:30:26 »

What is the output of

Code:
lsusb

after connecting the HUAWEI UMTS modem to one of the USB ports?

flux.
Gespeichert

"Et semel emissum volat irrevocabile verbum."
Und einmal entsandt fliegt unwiderruflich das Wort.
(Horaz)
NotExcessive
Mitglied
*
Offline

Beiträge: 13


« Antworten #5 am: Juli 28, 2010, 09:46:38 »

Solved it - the config file didn't have anything for the E122. In case anyone wants it, here's the configuration entry I created for it:

[usb_modeswitch,conf]
########################################################
# Huawei E122  (HSPA+ modem)
#

DefaultVendor=  0x12d1
DefaultProduct= 0x1446

TargetVendor=   0x12d1
TargetProduct=  0x1001

MessageContent="55534243123456780000000000000011060000000000000000000000000000"

CheckSuccess=5



And to get everything happening, I invoke this script file as root:
[/root/3g_connect]
#! /bin/sh
usb_modeswitch
wait 3
wvdial
cp /etc/ppp/resolv.conf /etc/resolv.conf



Where wvdial.conf has the following:
[wvdial,conf]
[Dialer Defaults]
Stupid Mode = 1
init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","3netaccess"
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Dial Command = ATD
Auto Reconnect = on
Carrier Check = yes
Username = three
Password = three
Modem = /dev/ttyUSB0
Baud = 460800
Gespeichert
Quax
Administrator
Urgestein
*
Offline

Beiträge: 645



WWW
« Antworten #6 am: Juli 28, 2010, 09:56:14 »

Solved it...

Good to hear that it is working now Cheesy

Zitat
[usb_modeswitch,conf]
########################################################
# Huawei E122  (HSPA+ modem)
#

DefaultVendor=  0x12d1
DefaultProduct= 0x1446

TargetVendor=   0x12d1
TargetProduct=  0x1001

MessageContent="55534243123456780000000000000011060000000000000000000000000000"

CheckSuccess=5


But I think it is identical with the already available entry for the Huawei E1550 Wink:

Code:
########################################################
# Huawei E1550
#
# Contributor: Anders Blomdell, Ahmed Soliman

;DefaultVendor=  0x12d1
;DefaultProduct= 0x1446

;TargetVendor=   0x12d1
;TargetProduct=  0x1001

# only for reference and 0.x versions
# MessageEndpoint=0x01

;MessageContent="55534243123456780000000000000011060000000000000000000000000000"


Regards, Quax
Gespeichert

Hole Deine Benutzer da ab, wo sie stehen,
nicht da, wo Du sie gerne stehen hättest...
-------------------------------------------------------
Pick up the users where they really are
and not where you expect them to be...
NotExcessive
Mitglied
*
Offline

Beiträge: 13


« Antworten #7 am: Juli 28, 2010, 15:18:29 »

True - it's just so hard getting specific information on this stuff. For example I read somewhere that there's a command string you can send to the modem to permanently switch off mass storage mode, but I can't find it if it's true.
Gespeichert
Seiten: [1] |   Nach oben
Drucken
Gehe zu: