Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [DE] UMTS -Stick installieren?  (Read 19909 times)

deeprybka

  • Guest
[DE] UMTS -Stick installieren?
« on: 2011/04/17, 20:51:16 »
Hallo!
Als Linuxneuling bin ich mittlerweile bei Geras gelandet.
Nachdem ich sowohl unter Knoppix als auch unter ubuntu gute Erfahrungen mit UMTS-Sticks gemacht habe, wollte ich meinen aptosid-laptop auch damit verbinden. Leider funktioniert es nicht und ich habe auch keine Ahnung wie es gehen soll!?
Habe einen Huwaei E172 Stick mit Vodafone-Karte.

Hat irgendjemand eine Anleitung oder ein Tut? Wäre sehr dankbar!

Gruß

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.842
UMTS -Stick installieren?
« Reply #1 on: 2011/04/17, 22:55:44 »
du kannst mal links aufs wiki klicken und da in der suche rechts oben umts reinschreiben

greetz
devil

Offline solo

  • future comes
  • User
  • Posts: 239
Re: UMTS -Stick installieren?
« Reply #2 on: 2011/05/01, 22:50:13 »
Quote from: "devil"
du kannst mal links aufs wiki klicken und da in der suche rechts oben umts reinschreiben
greetz
devil

Hi,
habe es probiert . . . dann diese Nachricht:
Code: [Select]

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys A79F93C3 && apt-key add /root/.gnupg/pubring.gpg
gpg: fordere Schlüssel A79F93C3 von hkp-Server wwwkeys.eu.pgp.net an
gpg: Schlüsselserver-Zeitüberschreitung
gpg: Empfangen vom Schlüsselserver fehlgeschlagen: Schlüsselserverfehler

Ist mir ein Fehler unterlaufen?
gruß solo
The best thing about the future is
that it comes one day at a time.
(Abraham Lincoln)

Offline ab

  • User
  • Posts: 117
Re: UMTS -Stick installieren?
« Reply #3 on: 2011/05/01, 23:12:34 »
@all

ich mach das (für Vodafone) so:

1. PIN der Sim-Card mittels Mobiltelefon entfernen (PIN-Abfrage "aus")

2. eine Konfigurationsdatei erstellen lassen
Code: [Select]
wvdialconf

3. Mit Folgendem die entstandene /etc/wvdial.conf überschreiben:
Code: [Select]
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0

[Dialer vodafone]
Dial Command = ATD
Carrier Check = no
Phone = *99#
Password = vodafone
Username = vodafone
Stupid Mode = 1
Init4 = AT+CGDCONT=1, "IP", "web.vodafone.de"
Dial Attempts = 2

Bei dem Eintrag "Modem = /dev/xxxyyy" auf das richtige Device achten!

4. mittels einfachem
Code: [Select]
wvdial vodafonedie Verbindung aufbauen

5. Freude zeigen, weil es so einfach funktioniert

Gruß ab

Offline ayla

  • User
  • Posts: 1.744
UMTS -Stick installieren?
« Reply #4 on: 2011/05/01, 23:18:50 »
Oder umtspanel2 (das .deb) über den Link im wiki zu wvdial holen, mit dpkg -i installieren, starten, Modem suchen, Anbieter aussuchen, mittels Klick auf den Stecker in der Kontrolleiste Verbindung aufbauen und ebenfalls Freude zeigen daß es so einfach funktioniert.
 :D

Gruß
ayla

Offline solo

  • future comes
  • User
  • Posts: 239
UMTS-Stick HUAWEI 182E in Österreich installieren?
« Reply #5 on: 2011/05/05, 15:23:21 »
Quote from: "devil"
du kannst mal links aufs wiki klicken und da in der suche rechts oben umts reinschreiben
greetz
devil

Hi,
habe es probiert mit
Code: [Select]

#/etc/wvdial.conf
#[Dialer Defaults]
 Init1 = ATZ
 Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
 Modem Type = Digital Modem Huawei 182E
 Baud = 460800
 New PPPD = yes
 Modem = /dev/ttyUSB0
#ISDN = 0

#[Dialer a1plus.at]
 Dial Command = ATD
 Carrier Check = no
 Phone = *99#
 Password = ppp
 Username = ppp@a1plus.at
 Stupid Mode = 1
 Init4 = AT+CGDCONT=1, "194.48.124.200 194.48.139.254", "a1plus.at"
 Dial Attempts = 3

wählversuche mit wvdial a1plus.at schlugen fehl.
Code: [Select]

root@aptosidbox:/home/ich# wvdial a1plus.at
--> WvDial: Internet dialer version 1.61
--> Warning: section [Dialer a1plus.at] does not exist in wvdial.conf.
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

Obwohl Modem dev 0 oder 1 gesetzt, zur Zeit keine Aussicht auf Erfolg  :( . A1.net ist das Netz von Mobilkom Austria, gehörte früher zur Österreichischen Post, bei der es bekanntermaßen nicht so schnell geht - Steinzeit mit M$ bevorzugt . . .
gruß solo
The best thing about the future is
that it comes one day at a time.
(Abraham Lincoln)

Offline horo

  • User
  • Posts: 199
UMTS-Stick HUAWEI 182E in Österreich installieren?
« Reply #6 on: 2011/05/05, 19:35:22 »
Quote from: "wvdial"

Warning: section [Dialer a1plus.at] does not exist in wvdial.conf.

Du musst die Gartenzäune vor
Code: [Select]
#[Dialer Defaults] und
Code: [Select]
#[Dialer a1plus.at] entfernen, da sonst das (offenbar nicht vorhandene) /dev/modem benutzt wird.

Ciao, Martin
omnia vincit pecunia :(

Offline ab

  • User
  • Posts: 117
UMTS -Stick installieren?
« Reply #7 on: 2011/05/05, 19:49:14 »
@solo

Probier mal folgende wvdial.conf:
Code: [Select]
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0

[Dialer austria]
Dial Command = ATD
Carrier Check = no
Phone = *99#
Password = ppp
Username = ppp@a1plus.at
Stupid Mode = 1
Init4 = AT+CGDCONT=1, "IP", "A1.net"
Dial Attempts = 2


- keine Kommentarzeichen
- kein Punkt im Sections-Namen
- einfach so reinkopieren und mit
Code: [Select]
wvdial austriaaufrufen.

Gruß ab

Offline solo

  • future comes
  • User
  • Posts: 239
Suche Weg ins Internet mit HUAWEI 182E
« Reply #8 on: 2011/05/05, 22:52:09 »
@ab - So sieht danach meine Ausbeute aus:
Code: [Select]

# wvdial austria
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ERROR
--> Bad init string.

Gruß solo
The best thing about the future is
that it comes one day at a time.
(Abraham Lincoln)

Offline solo

  • future comes
  • User
  • Posts: 239
Re: Suche Weg ins Internet mit HUAWEI 182E
« Reply #9 on: 2011/05/05, 23:27:54 »
Hi,so sieht es zur Zeit bei mir aus:
Code: [Select]

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 002 Device 003: ID 06f2:0011 Emine Technology Co. KVM Switch Keyboard
Bus 002 Device 004: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 002 Device 005: ID 2101:2401 ActionStar
Bus 002 Device 006: ID 04b8:012d Seiko Epson Corp. Perfection V10/V100 (GT-S600/F650)
Bus 002 Device 007: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 008: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 009: ID 13fe:1e00 Kingston Technology Company Inc.
Bus 002 Device 011: ID 12d1:14ac Huawei Technologies Co., Ltd.

Anmerkung:
Ich habe herausbekommen, dass das USB-Modem Huawei 182E unter M$ automatisch installiert wird und eine MicroSD-Speicherkarte von ca 2GB als eigenes Laufwerk besitzt. Die Speicherkarte ist leer. Könnte es sein, dass das spezielle Programm von A1 stört?
Gruß solo
The best thing about the future is
that it comes one day at a time.
(Abraham Lincoln)

Offline horo

  • User
  • Posts: 199
Suche Weg ins Internet mit HUAWEI 182E
« Reply #10 on: 2011/05/05, 23:32:39 »
Hi,

lass "&D2" im Init2 weg, das gab bei mir auch 'ne Fehlermeldung:
http://www.aptosid.de/index.php?name=PNphpBB2&file=viewtopic&t=580&start=1

Rausgefunden habe ich's für meinen Stick (siehe Link), indem ich der Reihe nach die Kommandos der Init-Strings per minicom abgesetzt habe, statt
Code: [Select]
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
probierst Du z.B. nacheinander
Code: [Select]
ATQ0
ATV1
ATE1
ATS0=0
AT&C1
AT&D2
AT+FCLASS=0

bis eins der Kommandos eine Fehlermeldung liefert.

Ciao, Martin
omnia vincit pecunia :(

hhl

  • Guest
Suche Weg ins Internet mit HUAWEI 182E
« Reply #11 on: 2011/05/07, 08:59:36 »
http://wiki.aptosid.de/index.php?title=UMTS/GPRS_Internet_Zugang_erstellen_mit_Hilfe_von_%22wvdial%22

moin, habe diese anweisung und dat script genau für jenen provider und umts-stick geschrieben, funzt hier.

als kleiner tip. ich starte als root ne screen session und schiebe so alles in den hintergrund.
das heisst ich habe kein offnes konsolenfenster welches nervt und kann zwischen den run leveln springen, ohne das es mich auslogt.

greetz hendrik

Offline solo

  • future comes
  • User
  • Posts: 239
Re: Suche Weg ins Internet mit HUAWEI 182E
« Reply #12 on: 2011/05/07, 16:56:27 »
Quote from: solo
Hi,so sieht es zur Zeit bei mir aus:
Code: [Select]

# lsusb
Bus 002 Device 011: ID 12d1:14ac Huawei Technologies Co., Ltd.

Hi !
Ich habe herausbekommen, dass das USB-Modem Huawei 182E unter M$ automatisch installiert wird und eine MicroSD-Speicherkarte als eigenes Laufwerk besitzt. Die Speicherkarte ist leer. Könnte es sein, dass das spezielle Programm von A1 stört? die letzen drei Zeilen machen mich immer noch relativ sprachlos :shock:
Einwahlversuch:
Code: [Select]

$ dialumts
 Bitte die PIN eingeben /
 Please insert PIN:
------------------------------------------------------------
 
 PIN eingetragen | PIN filled out
 
------------------------------------------------------------
------------------------------------------------------------
 In der /etc/wvdial.conf ist folgendes Modem eingetragen:
 the /etc/wvdial.conf point to following modem :
 
  /dev/ttyUSB0
 
 Ist dies (/dev/ttyUSB0) die richtige Schnittstelle? |
 Is that (/dev/ttyUSB0) the correct device?
 
-------------------------------------------------------------
 Bitte entsprechenden Buchstaben (y/n) eingeben und bestätigen.
 Please type the appropriate character (y/n) and hit enter
 
 y - (yes|ja) /dev/ttyUSB0
 n - (no|nein) change the device
 
y
-------------------------------------------------------------
 
 Sende PIN an das Modem (/dev/ttyUSB0) |
 sending the PIN to the modem (/dev/ttyUSB0)
 
-------------------------------------------------------------
 
 Ok, hope we CONNECT the world in 9 sec.
 
 To disconnect, press [ctrl]+[c].
 Zum abrechen der Verbindung [strg]+[c] drücken.
 
-------------------------------------------------------------
-------------------------------------------------------------
 Starte | starting wvdial umts
-------------------------------------------------------------
-------------------------------------------------------------
 
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyUSB0: Inappropriate ioctl for device
--> Cannot open /dev/ttyUSB0: Inappropriate ioctl for device
--> Cannot open /dev/ttyUSB0: Inappropriate ioctl for device

Gruß solo
The best thing about the future is
that it comes one day at a time.
(Abraham Lincoln)

Offline ab

  • User
  • Posts: 117
Re: Suche Weg ins Internet mit HUAWEI 182E
« Reply #13 on: 2011/05/07, 18:24:14 »
@solo

so schlecht sah die "Ausbeute" gar nicht aus; da kann man sich heranarbeiten...

Quote
# lsusb
Bus 002 Device 011: ID 12d1:14ac Huawei Technologies Co., Ltd.
deutet für mich daraufhin, daß der Stick bereits im Modem-Modus ist.

gib trotzdem bitte mal:
Code: [Select]
lsmod | grep usbaus,

und die relevanten Informationen
Code: [Select]
tail -f /var/log/messagesbeim Aufruf von
Code: [Select]
wvdial austria

Gruß ab

Offline solo

  • future comes
  • User
  • Posts: 239
Re: Suche Weg ins Internet mit HUAWEI 182E
« Reply #14 on: 2011/05/07, 23:19:39 »
Quote from: "ab"
@solo
so schlecht sah die "Ausbeute" gar nicht aus; da kann man sich heranarbeiten...
Quote

$ lsusb
Bus 002 Device 011: ID 12d1:14ac Huawei Technologies Co., Ltd.

deutet für mich daraufhin, daß der Stick bereits im Modem-Modus ist.
gib trotzdem bitte mal:
Code: [Select]
lsmod | grep usbaus,
und die relevanten Informationen
Code: [Select]
tail -f /var/log/messagesbeim Aufruf von
Code: [Select]
wvdial austria
Gruß ab


Hier meine Ausgaben:

$ lsmod | grep usb
Code: [Select]

usb_wwan                7547  1 option
usbserial              25395  2 option,usb_wwan
usb_storage            34236  1
usbhid                 30693  1 hid_logitech
hid                    61857  2 hid_logitech,usbhid
usbcore               115788  9 option,usb_wwan,usbserial,usb_storage,uas,usbhid,uhci_hcd,ehci_hcd
scsi_mod              117680  6 usb_storage,uas,sg,sr_mod,sd_mod,libata
nls_base                5009  2 isofs,usbcore

$ tail -f /var/log/messages
Code: [Select]

May  7 21:05:34 aptosidbox kernel: [  456.343758] sr 6:0:0:0: Attached scsi generic sg4 type 5
May  7 21:05:34 aptosidbox kernel: [  456.345225] sd 7:0:0:0: Attached scsi generic sg5 type 0
May  7 21:05:34 aptosidbox kernel: [  456.355642] sd 7:0:0:0: [sdc] Attached SCSI removable disk
May  7 21:05:35 aptosidbox kernel: [  457.689380] sd 7:0:0:0: [sdc] 7744512 512-byte logical blocks: (3.96 GB/3.69 GiB)
May  7 21:05:35 aptosidbox kernel: [  457.747392]  sdc: sdc1
May  7 21:49:06 aptosidbox kernel: [ 3068.258012] [drm] nouveau 0000:01:00.0: Setting dpms mode 1 on vga encoder (output 0)
May  7 21:49:06 aptosidbox kernel: [ 3068.295713] [drm] nouveau 0000:01:00.0: Setting dpms mode 2 on vga encoder (output 0)
May  7 21:59:06 aptosidbox kernel: [ 3668.296326] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
May  7 21:59:06 aptosidbox kernel: [ 3668.296419] [drm] nouveau 0000:01:00.0: Setting dpms mode 1 on vga encoder (output 0)
May  7 22:23:18 aptosidbox kernel: [ 5120.466428] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)

{gerät hat keine weitere aktion, nicht abgeschlossen,ist das so richtig?}

$ /etc/wvdial.conf
Code: [Select]

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 ATV1 ATE1 ATS==0 AT&C1 AT&D2
Init3 = V1
Init4 = E1
Init5 = S0=0
Init6 = &C1
Init7 = &D2
Init8 =  +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Modem = /dev/ttyUSB0
Baud = 921600

[Dialer umts]
Carrier Check = no
Init9 = AT+CGDCONT=1,"IP","a1plus.at"
Stupid Mode = 1
Phone = *99#
Dialer Command = ATD
Dial Attemps = 3
Username = ppp@a1plus.at
Password = ppp


$ dialumts
Vorgang wie üblich
PIN eintragen . . .
/dev/ttyUSB0  . . .
etc, dann:
Code: [Select]

Starte wvdial umts
--> WVDial: Internet dialer version 1.61
--> Initializing modem
--> Sendung: ATZ
ATZ
ERROR
--> Bad init String
--> Initializing modem
--> Sendung: ATZ
ATZ
OK
--> Sending: ATQ0 ATV1 ATE1 ATS==0 AT&C1 AT&D2
ATQ0 ATV1 ATE1 ATS==0 AT&C1 AT&D2
NO CARRIER
--> Sendig: ATQ0
ATQ0
OK
--> Re-Sending: ATQ0 ATV1 ATE1 ATS==0 AT&C1 AT&D2
ATQ0 ATV1 ATE1 ATS==0 AT&C1 AT&D2
NO CARRIER
--> Modem not responding.

Gruß solo
The best thing about the future is
that it comes one day at a time.
(Abraham Lincoln)