Hallo,
ich versuche gerade eine Umts Karte von mobilcom debitel vodafone mittels ppp in Betrieb zu nehmen. Leider schlagen meine bisherigen Skripte fehl. Die
APN-Einstellungen sind dabei wiefolgt:
* APN: web.vodafone.de
* User: Keins
* Password: Keins
* Authentication: chap
Meine Skripte sehen wiefolgt aus:
cat /etc/ppp/peers/modem0
# state 'enabled'
nodetach
/dev/ttyModem0_data
115200
#user 'vodafone'
#password 'vodafone'
connect '/usr/sbin/chat -v -s -f /etc/ppp/scripts/modem0-connect'
disconnect '/usr/sbin/chat -v -s -f /etc/ppp/scripts/modem0-disconnect'
hide-password
noauth
debug
defaultroute
replacedefaultroute
noipdefault
cat /etc/ppp/scripts/modem0-connect
ABORT BUSY
ABORT DELAYED
ABORT "NO ANSWER"
ABORT "NO DIALTONE"
ABORT VOIC
ABORT ERRO
ABORT RINGING
TIMEOUT 30
'' ATZ
OK ATE0
OK ATD*99#
CONNECT ''
Die Ausgabe bei der Einwahl sieht dann wiefolgt aus:
pon modem0
abort on (BUSY)
abort on (DELAYED)
abort on (NO ANSWER)
abort on (NO DIALTONE)
abort on (VOIC)
abort on (ERRO)
abort on (RINGING)
timeout set to 30 seconds
send (ATZ^M)
expect (OK)
^M
OK
-- got it
send (ATE0^M)
expect (OK)
^M
ATE0^M^M
OK
-- got it
send (AT+CGDCONT=1,"IP","web.vodafone.de",,0,0^M)
expect (OK)
^M
^M
OK
-- got it
send (ATD*99#^M)
expect (CONNECT)
^M
^M
CONNECT
-- got it
send (^M)
Script /usr/sbin/chat -v -s -f /etc/ppp/scripts/modem0-connect finished (pid 13598), status = 0x0
Serial connection established.
using channel 55
Using interface ppp0
Connect: ppp0 <--> /dev/ttyModem0_data
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xc0ca780b> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x44 <asyncmap 0x0> <auth chap MD5> <magic 0xfd8d9bf2> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x44 <auth chap MD5>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xc0ca780b> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x45 <asyncmap 0x0> <magic 0xfd8d9bf2> <pcomp> <accomp>]
sent [LCP ConfAck id=0x45 <asyncmap 0x0> <magic 0xfd8d9bf2> <pcomp> <accomp>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [LCP DiscReq id=0x46 magic=0xfd8d9bf2]
Modem hangup
Connection terminated.
Wegen des "No auth is possible", habe ich darauf hin die chap Authentifzierung aktiviert: (Zuvor den User in der peers/modem0 aktiviert)
cat /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
vodafone * vodafone *
Die Ausgabe bricht darauf hin wiefolgt ab:
pon modem0
abort on (BUSY)
abort on (DELAYED)
abort on (NO ANSWER)
abort on (NO DIALTONE)
abort on (VOIC)
abort on (ERRO)
abort on (RINGING)
timeout set to 30 seconds
send (ATZ^M)
expect (OK)
^M
OK
-- got it
send (ATE0^M)
expect (OK)
^M
ATE0^M^M
OK
-- got it
send (AT+CGDCONT=1,"IP","web.vodafone.de",,0,0^M)
expect (OK)
^M
^M
OK
-- got it
send (ATD*99#^M)
expect (CONNECT)
^M
^M
CONNECT
-- got it
send (^M)
Script /usr/sbin/chat -v -s -f /etc/ppp/scripts/modem0-connect finished (pid 14437), status = 0x0
Serial connection established.
using channel 57
Using interface ppp0
Connect: ppp0 <--> /dev/ttyModem0_data
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9a7026e8> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x47 <asyncmap 0x0> <auth chap MD5> <magic 0xfd93b746> <pcomp> <accomp>]
sent [LCP ConfAck id=0x47 <asyncmap 0x0> <auth chap MD5> <magic 0xfd93b746> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x9a7026e8> <pcomp> <accomp>]
rcvd [LCP DiscReq id=0x48 magic=0xfd93b746]
rcvd [CHAP Challenge id=0x1 <7443e728a3376fcbc08017df40d1d8f3>, name = "UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 <397e50fde2664f429b7ee10112ebfefb>, name = "vodafone"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
Modem hangup
Connection terminated.
Ich bin mir nicht sicher, ob das ganze nun wegen des CHAP fehlschlägt (was ja laut Aussage funktioniert hat), oder auf Grund des anschließenden Befehls.
In der Vergangenheitheit hatte ich schonmal eine LIDL-Connect (auch Vodafone) Karte am laufen. Diese meldete ebenfalls das ""No auth is possible" Problem, lief jedoch weiter.
Script /usr/sbin/chat -v -s -f /etc/ppp/scripts/lidl-connect finished (pid 1124), status = 0x0
Serial connection established.
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3f8fe28a> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <auth chap MD5> <magic 0xd2b87f8d> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x9 <auth chap MD5>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3f8fe28a> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0xd2b87f8d> <pcomp> <accomp>]
sent [LCP ConfAck id=0xa <asyncmap 0x0> <magic 0xd2b87f8d> <pcomp> <accomp>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [LCP DiscReq id=0xb magic=0xd2b87f8d]
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
rcvd [IPCP ConfReq id=0x6]
sent [IPCP ConfNak id=0x6 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x3 <compress VJ 0f 01> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
rcvd [IPCP ConfReq id=0x7]
sent [IPCP ConfAck id=0x7]
rcvd [IPCP ConfNak id=0x4 <addr 100.104.102.62> <ms-dns1 139.7.30.126> <ms-dns2 139.7.30.125>]
sent [IPCP ConfReq id=0x5 <addr 100.104.102.62> <ms-dns1 139.7.30.126> <ms-dns2 139.7.30.125>]
rcvd [IPCP ConfAck id=0x5 <addr 100.104.102.62> <ms-dns1 139.7.30.126> <ms-dns2 139.7.30.125>]
Could not determine remote IP address: defaulting to 10.64.64.64
not replacing default route to eth0 [192.168.2.1]
local IP address 100.104.102.62
remote IP address 10.64.64.64
primary DNS address 139.7.30.126
secondary DNS address 139.7.30.125
Script /etc/ppp/ip-up started (pid 1139)
Script /etc/ppp/ip-up finished (pid 1139), status = 0x0
Die Karte habe ich natürlich nicht vor Ort, sondern liegt bei meinem alten Herrn auf dem Schreibtisch. Weiß da wer weiter, wie ich das Problem genauer Einschränken kann? Liegt an meiner Konfiguration oder an der Karte/Provider?
gruß Marcel