SuSE Support-Datenbank
Titel: Compuserve-PPP-Zugang über T-Online-Nummer

Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel
Compuserve-PPP-Zugang über T-Online-Nummer
Bezieht sich auf
SuSE Linux: Versionen 4.2 bis 5.0
Symptom:
Wie kann man den Compuserve-PPP-Zugang über T-Online zum bundesweiten
Ortstarif nutzen?
Lösung:
Als Benutzerkennung wird die spezielle ID 000327278259
gesendet. Daraufhin kommt man zum Compuserve-Rechner und kann sich dort
einloggen.
Joachim Vorrath (JVorrath@compuserve.com) hat einige
Scripts zusammengestellt, die allerdings auf dem Programm
dcon
, das (bisher) nicht im S.u.S.E. Linux enthalten
ist. Die untere Beschreibung kann aber als Ausgangsbasis
genommen werden, um das mitgelieferte T-Online dip-Script anzupassen.
Feedback erwünscht.
- /etc/ppp/ppp-cis
#!/bin/bash
#
# file: /etc/ppp/ppp-cis
#
# This script is based on the script "ppp-on" found at
# ftp://sunsite.unc.edu/pub/Linux/system/Network/serial/ppp/ppp-2.2.0f.tar.gz
#
# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command. However, it is simple.
#
# These are the parameters. Change as needed.
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
DEVICE=/dev/modem
NETMASK=255.255.255.0 # The proper netmask if needed
#
# export current tty to enable output in dialer script
#
export TERMINAL=``
#
# This is the location of the script which dials the phone and logs
# in. Please use the absolute file name as the $PATH variable is not
# used on the connect option. (To do so on a 'root' account would be
# a security hole so don't ask.)
#
# DIALER_SCRIPT=/etc/ppp/dcon -e btx
#
# Initiate the connection
#
# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.
#
#
PPP_FLAGS="38400 mru 1500 modem debug kdebug 0 defaultroute crtscts
noipdefault
asyncmap 20A0000 escape FF"
#
***************************************************************************
***
#
# use the program 'dcon' as chat replacement
#
# you will found it on
# ftp://sunsite.unc.edu /pub/Linux/system/Serial/ dcon0.97.tgz
#
#
***************************************************************************
***
#
/usr/sbin/pppd lock connect 'dcon -e /etc/ppp/cisdatex' $DEVICE $PPP_FLAGS
$LOCAL_IP:$REMOTE_IP
- /etc/ppp/cisdatex
#!scriptfile for dcon
#
# file: /etc/ppp/cisdatex
#
# Simple Compuserve DATEXJ login
# for use with 'dcon'
#
# Joachim Vorrath Poggensee Germany
# 76141.3524@compuserve.com
#
# please change to your own !!!!!!!!
#
open com "/dev/modem"
set com 38400n81
set senddelay 0.05
print "\r\nDialing 01910.......\r\n"
waitfor 2""
send "ATZDP01910^m" waitfor 50 "CONNECT" if % != 0 goto error
waitfor 10 "" if % != 0 goto error
send ".^m" waitfor 10 "000000" if % != 0 goto error
send "000327278259^m" waitfor 10 "seite" if % != 0 goto error
send "11" waitfor 10 "#" if % != 0 goto error
send "#" waitfor 10 "ame:" if % != 0 goto error
send "CIS^m" waitfor 10 "ID:" if % != 0 goto error
send "<cislogin>GO:PPPCONNECT^m" waitfor 20 "ord:" if % != 0 goto error
send "<cispassword>m"
print "Verbindung hergestellt"
exit
:error
print "Error......."
sleep 2
exit 1

Siehe auch:

Stichwörter: COMPUSERVE, CIS, TONLINE, 0190, DCON

Kategorien:
Provider

Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel
SDB-cis_tonline, Copyright SuSE GmbH, Nuremberg, Germany
- Version:
Impressum - Zuletzt generiert: 24. Feb 1999 10:57:41
by maddin
with sdb_gen 1.00.0