ubuntuusers.de

Internetzugang mit Globetrotter GPRS-PCMCIA-Karte über o2

Status: Gelöst | Ubuntu-Version: Ubuntu 6.10 (Edgy Eft)
Antworten |

schlauf

Anmeldungsdatum:
24. Dezember 2006

Beiträge: 97

Hallo Leute,

meine Option Globetrotter PCMCIA-Karte wird einwandfrei erkannt und ich kann über minicom auch mit ihr kommunizieren. Beim Einwählen über wvdial kommt allerdings folgender Schmu bei raus:

--> WvDial: Internet dialer version 1.56
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","surfo2"
AT+CGDCONT=1,"IP","surfo2"
OK
--> Modem initialized.
--> Sending: ATD*99#
--> Waiting for carrier.
ATD*99#
CONNECT
~[7f]}#@!}!}!} }<}!}$}&@}#}$@#}%}&_8^G}"}&} } } } }'}"}(}"e9~~~
--> Carrier detected.  Waiting for prompt.
~[7f]}#@!}!}"} }<}!}$}&@}#}$@#}%}&_8^G}"}&} } } } }'}"}(}"=O~
--> PPP negotiation detected.
--> Starting pppd at Thu Feb 22 20:00:02 2007
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 7251
--> Using interface ppp0
--> pppd: �[08][06][08][18][0c][06][08]@ [06][08]
--> pppd: �[08][06][08][18][0c][06][08]@ [06][08]
--> pppd: �[08][06][08][18][0c][06][08]@ [06][08]
--> pppd: �[08][06][08][18][0c][06][08]@ [06][08]
--> pppd: �[08][06][08][18][0c][06][08]@ [06][08]
--> pppd: �[08][06][08][18][0c][06][08]@ [06][08]
--> pppd: �[08][06][08][18][0c][06][08]@ [06][08]
--> Disconnecting at Thu Feb 22 20:00:06 2007
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Initializing modem.
--> Sending: ATZ

Meine wvdial.conf sieht so aus:

[Dialer Defaults]
Modem = /dev/ttyS3
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","surfo2"
Phone = *99#
Username = none
Password = nopasswd
Dial Command = ATD
ISDN = 0

und meine /etc/ppp/peers/wvdial so:

plugin passwordfd.so
noauth
name wvdial
defaultroute
replacedefaultroute
noipdefault
usepeerdns
novj

Was läuft hier falsch? Sieht so aus, dass nach Verbindungsaufbau nur Müll rübergeschoben wird ... aber wieso und warum, und was muss ich ändern?

Danke!

schlauf

(Themenstarter)

Anmeldungsdatum:
24. Dezember 2006

Beiträge: 97

Update: habe jetzt die Konfiguration - wie im Wiki für UMTS-Karten angegeben - durchgeführt, selbstverständlich für die GPRS-Verbindung abgeändert.

Ergebnis des Aufrufs "pon o2online":

Feb 23 13:51:06 computer pppd[6729]: pppd 2.4.4 started by schlauf, uid 1000
Feb 23 13:51:07 computer chat[6731]: abort on (BUSY)
Feb 23 13:51:07 computer chat[6731]: abort on (NO CARRIER)
Feb 23 13:51:07 computer chat[6731]: abort on (VOICE)
Feb 23 13:51:07 computer chat[6731]: abort on (NO DIALTONE)
Feb 23 13:51:07 computer chat[6731]: abort on (NO DIAL TONE)
Feb 23 13:51:07 computer chat[6731]: abort on (NO ANSWER)
Feb 23 13:51:07 computer chat[6731]: abort on (DELAYED)
Feb 23 13:51:07 computer chat[6731]: send (ATZ^M)
Feb 23 13:51:07 computer chat[6731]: expect (OK)
Feb 23 13:51:07 computer chat[6731]: ATZ^M^M
Feb 23 13:51:07 computer chat[6731]: OK
Feb 23 13:51:07 computer chat[6731]:  -- got it 
Feb 23 13:51:07 computer chat[6731]: send (AT+CGDCONT=1,"IP","surfo2"^M)
Feb 23 13:51:07 computer chat[6731]: expect (OK)
Feb 23 13:51:07 computer chat[6731]: ^M
Feb 23 13:51:07 computer chat[6731]: AT+CGDCONT=1,"IP","surfo2"^M^M
Feb 23 13:51:07 computer chat[6731]: OK
Feb 23 13:51:07 computer chat[6731]:  -- got it 
Feb 23 13:51:07 computer chat[6731]: send (ATDT*99#^M)
Feb 23 13:51:07 computer chat[6731]: expect (CONNECT)
Feb 23 13:51:07 computer chat[6731]: ^M
Feb 23 13:51:07 computer chat[6731]: ATDT*99#^M^M
Feb 23 13:51:07 computer chat[6731]: CONNECT
Feb 23 13:51:07 computer chat[6731]:  -- got it 
Feb 23 13:51:07 computer chat[6731]: send (\d)
Feb 23 13:51:08 computer pppd[6729]: Serial connection established.
Feb 23 13:51:08 computer pppd[6729]: Using interface ppp0
Feb 23 13:51:08 computer pppd[6729]: Connect: ppp0 <--> /dev/ttyS3
Feb 23 13:51:10 computer pppd[6729]: appear to have received our own echo-reply!
Feb 23 13:51:10 computer pppd[6729]: Remote message: TTP Com PPP - Password Verified OK
Feb 23 13:51:10 computer pppd[6729]: PAP authentication succeeded
Feb 23 13:51:11 computer pppd[6729]: Hangup (SIGHUP)
Feb 23 13:51:11 computer pppd[6729]: Modem hangup
Feb 23 13:51:11 computer pppd[6729]: Connection terminated.
Feb 23 13:51:12 computer pppd[6729]: Exit.

Auch hier hängt das Modem direkt nach der Authentifizierung direkt wieder auf. Konfigurationsdateien:

/etc/ppp/peers/o2online

hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/o2online"
debug
/dev/ttyS3
115200
defaultroute
noipdefault
user "user"
remotename o2online
ipparam o2online
usepeerdns

/etc/chatscripts/o2online

# This chatfile was generated by pppconfig 2.3.11.
# Please do not delete any of the comments.  Pppconfig needs them.
#
# ispauth PAP
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TO
# modeminit
'' ATZ
OK-AT-OK AT+CGDCONT=1,"IP","surfo2"
# ispnumber
OK-AT-OK "ATDT*99#"
# ispconnect
CONNECT \d\c
# prelogin

# ispname
# isppassword
# postlogin

# end of pppconfig stuff

Any ideas?

nisita

Anmeldungsdatum:
11. Februar 2006

Beiträge: 259

ist das denn bei dir immer so? bei mir gibt es nur manchmal probleme, bin mir dabei halt nur nicht sicher, ob es an o2 liegt, oder an meiner modem einstellung. seltsamerweise passiert das sehr unregelmäßig...

ich gehe einmal so ins netz:
/etc/chatscripts/o2

TIMEOUT 5
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
# modeminit
TIMEOUT 12
OK ATZ
OK 'AT+CGDCONT=1,"IP","surfo2"'
# ispnumber
OK ATD*99#
# ispconnect
#CONNECT \d\c


/etc/ppp/peers/o2

connect "/usr/sbin/chat -v -f /etc/chatscripts/o2"
/dev/ttyACM0 460800
novj
crtscts
noauth
defaultroute
debug
nodeflate
noccp
noipdefault
noaccomp
usepeerdns

oder halt mittels wvdial..
.wvdial.conf

[Dialer Defaults]
Modem = /dev/ttyACM0
ISDN = off
Modem Type = Analog Modem
Baud = 460800
Init = ATZ
Init2 = AT+CSQ
Init3 = AT+CGDCONT=1,"IP","surfo2"
Init4 = 
Init5 = 
Init6 = 
Init7 = 
Init8 = 
Init9 = 
Phone = *99#
Phone1 = *99#
Phone2 = 
Phone3 = 
Phone4 = 
Dial Prefix = 
Dial Attempts = 1
Dial Command = ATM1L3DT
Ask Password = off
Password = 123
Username = 123
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = on
Stupid Mode = off
Idle Seconds = 0
Auto DNS = on

aber letzteres hat mich noch nicht so begeistert.. aber das tolle ist ja an wvdial, dass immerhin ne fehlermeldung ausgegeben wird..

schlauf

(Themenstarter)

Anmeldungsdatum:
24. Dezember 2006

Beiträge: 97

Leider tritt das Problem immer auf, bisher konnte ich noch kein einziges Mal einen erfolgreich abgeschlossenen Verbindungsaufbau feststellen. Max. 1 Sekunde nach der CONNECT-Meldung kommt SIGHUP vom Modem der Gegenseite, und das war's dann wieder.

Werde ggf. deine Config-Datei mal einbauen - hat jemand noch weitere Ideen?

Danke

nisita

Anmeldungsdatum:
11. Februar 2006

Beiträge: 259

ja, probier es mal nur mit nem einfach pon xyz befehl ...
vielleicht findest ansonsten hier was: http://mybroadband.co.za/vb/showthread.php?s=3915edf7d98ffb8f526b98aa87ae3423&t=21726 sind aber ein "paar" seiten.. bin auch gerade dabei, zu suchen, ob ich was passendes für mich (u dich) finde\,,

nisita

Anmeldungsdatum:
11. Februar 2006

Beiträge: 259

also bei mir läufts gerade super schnell und auch ohne verbindugnsabbrüche... probier mal bitte ob folgendes funktioniert (.wvdial.conf):

[Dialer Defaults]
Phone = *99#
Ask Password = off
Username = username
Password = password
Stupid Mode = 1
Dial Command = ATDT

Modem = /dev/ttyACM0
Baud = 460800
Init2 = ATZ

Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
;Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 welches ist besser?


;[Dialer 3gonly]
;Init4 = AT+COPS=0,0,"Vodacom-SA",2
;sowieso nur umts zurzeit aktiv

Init5 = AT+CGDCONT=1,"IP","surfo2"

Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384

ISDN = 0
Modem Type = Analog Modem[code]

falls nicht, dann such ich nochmal mit genauer zu deinem problem.. :)

mfg
nisita

schlauf

(Themenstarter)

Anmeldungsdatum:
24. Dezember 2006

Beiträge: 97

Soo ... bin leider jetzt erst dazu gekommen, mich diesem Problem erneut zu widmen.

Also, nachdem ich deine wvdial.conf geringfügig umgeschrieben hatte (Modem-Schnittstelle geändert, Init-String 6+7 rausgeschmissen), kommt folgende Ausgabe:

--> Ignoring malformed input line: ";[Dialer 3gonly]"
--> Ignoring malformed input line: ";sowieso nur umts zurzeit aktiv"
--> WvDial: Internet dialer version 1.56
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
OK
--> Sending: AT+CGDCONT=1,"IP","surfo2"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT
~[7f]}#@!}!}!} }<}!}$}&@}#}$@#}%}&_8^G}"}&} } } } }'}"}(}"e9~~~
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sun Mar  4 18:52:19 2007
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 5806
--> Using interface ppp0
--> pppd: ȹ�06][06][08]P
--> [06][08]
--> pppd: ȹ�06][06][08]P
--> [06][08]
--> pppd: ȹ�06][06][08]P
--> [06][08]
--> pppd: ȹ�06][06][08]P
--> [06][08]
--> pppd: ȹ�06][06][08]P
--> [06][08]
--> pppd: ȹ�06][06][08]P
--> [06][08]
--> pppd: ȹ�06][06][08]P
--> [06][08]
--> Disconnecting at Sun Mar  4 18:52:23 2007
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds

Irgendwie ist das nicht so recht beruhigend, vor allem die komischen Sonderzeichen .... und schlauer werde ich hieraus auch nicht ...

Hoffe, die Fehlerbeschreibung hilft ...

Grüße

schlauf

(Themenstarter)

Anmeldungsdatum:
24. Dezember 2006

Beiträge: 97

Problem gelöst. APN war falsch: statt surfo2 muss es bei LOOP heißen: pinternet.interkom.de ... und das, nachdem der Laden seit über 5 Jahren nicht mehr VIAG Interkom heißt ... traurig.

Antworten |