From owner-freebsd-isdn Tue Oct 19 9:49: 5 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from slarti.muc.de (slarti.muc.de [193.149.48.10]) by hub.freebsd.org (Postfix) with SMTP id 136DC173A7 for ; Tue, 19 Oct 1999 09:48:58 -0700 (PDT) (envelope-from jhs@jhs.muc.de) Received: (qmail 6936 invoked from network); 19 Oct 1999 16:51:51 -0000 Received: from jhs.muc.de (193.149.49.84) by slarti.muc.de with SMTP; 19 Oct 1999 16:51:51 -0000 Received: from wall.jhs.no_domain (localhost [127.0.0.1]) by jhs.muc.de (8.9.3/8.9.3) with ESMTP id OAA13479; Tue, 19 Oct 1999 14:48:11 GMT (envelope-from jhs@wall.jhs.no_domain) Message-Id: <199910191448.OAA13479@jhs.muc.de> To: hg@evkk.ndh.com Cc: isdn@FreeBSD.ORG Subject: Re: t-online From: "Julian Stacey" Reply-To: "Julian Stacey" X-Net: jhs@muc.de www.jhs.muc.de www.freebsd.org/~jhs/ bim.bsn.com/~jhs/ Organization: Vector Systems Ltd - Unix & Internet consultancy In-reply-to: Your message of "Tue, 19 Oct 1999 09:54:44 +0200." Date: Tue, 19 Oct 1999 16:48:10 +0200 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, hg@evkk.ndh.com wrote: > hi, > is enybody here rgat use i4b with t-online ? > i installed i4b and at the call he say pap error but with the t-offline > decorder runs the user id and pw well. > i dident found the web site are written i one of the docu files from > i4b 0.70 there are a docu for t-offline. Here's a doc I have lying around; on my file system it's dated Apr 10 1998 However it'll be somewhat older. Hope it helps. ---------------------- Anwahl von T-Offline mittels i4b und FreeBSD

Anwahl von T-Offline mittels i4b und FreeBSD

T-Offline hat neben der dynamischen Host-IP auch eine wechselnde Remote-IP, je nachdem an welchen Knoten man gelangt bei der Einwahl. Der ist nicht fest. Ich habs hier 5 mal probiert und 4 ver- schiedene Adressen erhalten dabei.

Deshalb braucht man den 0.0.0.1-Hack, um mit T-Offline auszukommen.

Das heisst, in der /etc/rc.conf:

network_interfaces="isppp0 undwassonstauchimmer"
ifconfig_isppp0="inet 0.0.0.0 0.0.0.1 link1"

defaultrouter="0.0.0.1"
In der /etc/rc.local:
echo -n 'Configuring ISPPP to T-Offline:'
echo -n ' spppcontrol';
spppcontrol -i isppp0 myauthname="sieheunten" myauthproto=pap \
  myauthsecret="passwort"
echo -n ' up';
ifconfig isppp0 up
echo '.'
Zum myauthname:

Der Authname setzt sich zusammen aus Anschlusskennung (12-stellig), T-Online-Nummer (max. 12-stellig) und Mitbenutzernummer (immer 4-stellig).

Beispiel:
Anschlusskennung:  000987654321
T-Online-Nummer:   07531999999
Mitbenutzernummer: 0001

Dies ergibt als myauthname:
00098765432107531999999#0001
Also "AnschlusskennungTonlinenummer#Mitbenutzer" Ist die T-Online-Nummer genau 12-stellig, dann ist das Doppelkreuz wegzulassen, sonst funktioniert es nicht.

Das Passwort ist das normale T-Online-Passwort.

Der "link1" im ifconfig sorgt dafuer, dass die Verbindung aufgebaut wird, sobald ein Paeckchen ueber den defaultrouter (0.0.0.1) will. Diese IP bleibt im netstat usw immer sichtbar, aber intern ist sie durch das "andere Ende" ersetzt und man muss sich keine Sorgen machen :-)

Damit das funktioniert, muss natuerlich auch dcer isdnd laufen. Am besten auch damit in die rc.local ;-)

Ausschnitt aus der /etc/isdn/isdnd.rc:

--- schnipp --- schnapp ---
system
ratesfile	= /etc/isdn/isdnd.rates	# name & location of rates file
useacctfile	= yes			# generate accouting info to file
acctall		= on			# generate info for everything
acctfile	= /var/log/isdnd.acct	# name & location of accounting file
rtprio		= 25			# modify isdnd's priority
#
# T-Offline
#
entry
name			= T-Offline
usrdevicename		= isppp	
usrdeviceunit		= 0
isdncontroller  	= 0
isdnchannel		= -1
local-phone-incoming	= *	
remote-phone-incoming	= *
local-phone-dialout	= 690313
remote-phone-dialout	= 0191011
remdial-handling	= first
dialin-reaction		= ignore
dialout-type		= normal
b1protocol		= hdlc
idletime-incoming	= 240
idletime-outgoing	= 30
ratetype		= 0  
unitlength		= 90
unitlengthsrc		= aocd
dialretries		= 3
dialrandincr		= on
recoverytime		= 25
usedown			= off
downtries		= 2
downtime		= 30
7. April 1998
Pascal Gienger <p@znet.de>
http://pascal.znet.de/

[FreeBSD Inc., Deutschland] [FreeBSD Inc., International]


© 1995-1998 by FreeBSD Inc. All rights reserved.
URL: http://www.de.FreeBSD.ORG/de/i4b-t-error.html
E-Mail: webmaster@de.FreeBSD.ORG
$Date: 1998/04/07 16:06:59 $
---------------------- Julian Julian H. Stacey http://www.freebsd.org/~jhs/ http://www.jhs.muc.de FreeBSD: Free system software with 2500 free packages, Linux compatible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message