Autor Thema: How to connect UMTS modem?  (Gelesen 1146 mal)

0 Nutzer und 2 Gäste betrachten dieses Thema.

Offline NotExcessive

  • Mitglied
  • *
  • Beiträge: 13
How to connect UMTS modem?
« am: 22.07.2010, 12: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?

Offline kgha

  • Vollprofi
  • *
  • Beiträge: 432
Re: How to connect UMTS modem?
« Antwort #1 am: 22.07.2010, 16: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?
"Ubuntu": an African word, meaning "Slackware is soooo difficult"
------------------------------------------------------------------------------------------
„Ubuntu”: ein afrikanisches Wort, das bedeutet „Slackware ist soooo schwer”

Offline NotExcessive

  • Mitglied
  • *
  • Beiträge: 13
Re: How to connect UMTS modem?
« Antwort #2 am: 22.07.2010, 16: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."
« Letzte Änderung: 22.07.2010, 17:02:31 von NotExcessive »

Offline kgha

  • Vollprofi
  • *
  • Beiträge: 432
Re: How to connect UMTS modem?
« Antwort #3 am: 22.07.2010, 18: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)
"Ubuntu": an African word, meaning "Slackware is soooo difficult"
------------------------------------------------------------------------------------------
„Ubuntu”: ein afrikanisches Wort, das bedeutet „Slackware ist soooo schwer”

Offline flux

  • Administrator
  • *
  • Beiträge: 1.891
Re: How to connect UMTS modem?
« Antwort #4 am: 22.07.2010, 18:30:26 »
What is the output of

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

flux.
"Et semel emissum volat irrevocabile verbum."
Und einmal entsandt fliegt unwiderruflich das Wort.
(Horaz)

Offline NotExcessive

  • Mitglied
  • *
  • Beiträge: 13
Re: How to connect UMTS modem?
« Antwort #5 am: 28.07.2010, 10: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

Offline Manfred

  • Administrator
  • *
  • Beiträge: 1.077
    • NASS e.K.
Re: How to connect UMTS modem?
« Antwort #6 am: 28.07.2010, 10:56:14 »
Solved it...

Good to hear that it is working now :D

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 ;):

########################################################
# 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
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...

Offline NotExcessive

  • Mitglied
  • *
  • Beiträge: 13
Re: How to connect UMTS modem?
« Antwort #7 am: 28.07.2010, 16: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.