Hallo Joerg,
Ich habe Deine script genommen und versucht, über Ortel/e-Plus ins
Internet zu kommen, bekomme aber:
----[ '/var/log/syslog' ]-----------------------------------------------
Jun 29 07:05:50 tp570 pppd[4548]: pppd 2.4.3 started by root, uid 0
Jun 29 07:05:52 tp570 chat[4550]: abort on (BUSY)
Jun 29 07:05:52 tp570 chat[4550]: abort on (NO CARRIER)
Jun 29 07:05:52 tp570 chat[4550]: abort on (VOICE)
Jun 29 07:05:52 tp570 chat[4550]: abort on (NO DIALTONE)
Jun 29 07:05:52 tp570 chat[4550]: abort on (NO DIAL TONE)
Jun 29 07:05:52 tp570 chat[4550]: abort on (NO ANSWER)
Jun 29 07:05:52 tp570 chat[4550]: abort on (DELAYED)
Jun 29 07:05:52 tp570 chat[4550]: send (ATZ^M)
Jun 29 07:05:52 tp570 chat[4550]: expect (OK)
Jun 29 07:05:52 tp570 chat[4550]: ATZ^M^M
Jun 29 07:05:52 tp570 chat[4550]: OK
Jun 29 07:05:52 tp570 chat[4550]: -- got it
Jun 29 07:05:52 tp570 chat[4550]: send (AT+CGDCONT=1,"IP","internet.eplus.de"^M)
Jun 29 07:05:52 tp570 chat[4550]: expect (OK)
Jun 29 07:05:52 tp570 chat[4550]: ^M
Jun 29 07:05:52 tp570 chat[4550]: AT+CGDCONT=1,"IP","internet.eplus.de"^M^M
Jun 29 07:05:52 tp570 chat[4550]: OK
Jun 29 07:05:52 tp570 chat[4550]: -- got it
Jun 29 07:05:52 tp570 chat[4550]: send (ADT*99***1#^M)
Jun 29 07:05:53 tp570 chat[4550]: expect (CONNENCT)