131 lines
4.2 KiB
Plaintext
131 lines
4.2 KiB
Plaintext
Return-Path: POPmail
|
|
Received: from hsun6.wi-inf.uni-essen.de by aixrs1.hrz.uni-essen.de (AIX 4.1/UCB 5.64/4.03)
|
|
id AA657358; Sun, 19 Jan 1997 20:25:57 +0100
|
|
Received: from rachael.franken.de by hsun6.wi-inf.uni-essen.de (SMI-8.6/SMI-SVR4)
|
|
id UAA12262; Sun, 19 Jan 1997 20:26:59 +0100
|
|
Received: from oops.franken.de by rachael.franken.de with smtp
|
|
(Smail3.1.29.1 #8) id m0vm0iB-000oMsa; Sun, 19 Jan 97 18:07 MET
|
|
Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
|
|
id m0vm01Q-001ITHa; Sun, 19 Jan 97 17:23 MET
|
|
Received: from hub-wue.franken.de by oops.franken.de with smtp
|
|
(Linux Smail3.1.29.1 #1) id m0vm01B-001ITFE; Sun, 19 Jan 97 17:22 MET
|
|
Received: from oops.franken.de by hub-wue.franken.de with smtp
|
|
(Smail3.1.29.1 #1) id m0vlzy1-000BikC; Sun, 19 Jan 97 17:19 MET
|
|
Received: by oops.franken.de (Linux Smail3.1.29.1 #1)
|
|
id m0vm00S-001ITFE; Sun, 19 Jan 97 17:22 MET
|
|
To: isdn4linux@hub-wue.franken.de
|
|
Xref: oops de.alt.comm.isdn4linux:856
|
|
From: Rainer Birkenmaier <rainer@kirk.mop.uni-ulm.de>
|
|
Newsgroups: de.alt.comm.isdn4linux
|
|
Subject: Re: MPPP
|
|
Date: 17 Jan 1997 01:11:27 GMT
|
|
Organization: Die Wischmop-WG
|
|
Lines: 90
|
|
Message-Id: <5bmjjv$nt@kirk.mop.uni-ulm.de>
|
|
References: <199701120958.LAA03553@santra.hut.fi>
|
|
Reply-To: rbirkenm@hydra.informatik.uni-ulm.de
|
|
Nntp-Posting-Host: freewayport27.extern.uni-ulm.de
|
|
Mime-Version: 1.0
|
|
Content-Type: text/plain; charset=US-ASCII
|
|
Content-Transfer-Encoding: 8bit
|
|
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961115]
|
|
Sender: owner-isdn4linux@hub-wue.franken.de
|
|
Precedence: bulk
|
|
Status:
|
|
|
|
Hi !
|
|
|
|
Also bei mir funktioniert das "isdnctrl addlink ippp0" mit
|
|
folgendem Skript prima:
|
|
|
|
---------- schnipp ----------
|
|
|
|
#!/bin/sh
|
|
#
|
|
# don't forget to edit the files
|
|
# /etc/ppp/pap-secrets or
|
|
# /etc/ppp/chap-secrets
|
|
#
|
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
|
|
|
|
LOCAL_NUMBER="123345"
|
|
REMOTE_NUMBER="9876543"
|
|
LOCAL_IP="134.60.7.70"
|
|
REMOTE_IP="134.60.7.102"
|
|
DEVICE="ippp0"
|
|
TELES_ID="line0"
|
|
USER="userName"
|
|
|
|
# additional for channel bundling:
|
|
DEVICE1="ippp128"
|
|
|
|
VERSION=`cat /proc/version | awk '{ print $3 }' `
|
|
|
|
# when setting the environment variable MODPATH you
|
|
# can omit the full path.
|
|
SYSPATH="/sbin/"
|
|
|
|
telesctrl $TELES_ID 1 4 # enable verbose '4' mode
|
|
|
|
isdnctrl addif $DEVICE # Create new interface 'DEVICE'
|
|
isdnctrl addphone $DEVICE out $REMOTE_NUMBER # Set outgoung phone-number
|
|
isdnctrl eaz $DEVICE $LOCAL_NUMBER # Set local EAZ ..
|
|
isdnctrl l2_prot $DEVICE hdlc # for sync PPP: set Level 2 to HDLC
|
|
isdnctrl l3_prot $DEVICE trans # not really necessary, 'trans' is default
|
|
isdnctrl encap $DEVICE syncppp # encap the IP Pakets in PPP frames
|
|
isdnctrl huptimeout $DEVICE 300 # Hangup-Timeout is 300 sec. -> 5 min
|
|
isdnctrl chargehup $DEVICE off # Hangup before next Charge-Info
|
|
isdnctrl secure $DEVICE on # Accept only configured phone-number
|
|
|
|
# additional for channel bundling:
|
|
isdnctrl addslave $DEVICE $DEVICE1 # Create new slave interface 'DEVICE1'
|
|
isdnctrl addphone $DEVICE1 out $REMOTE_NUMBER # Set outgoung phone-number
|
|
isdnctrl eaz $DEVICE1 $LOCAL_NUMBER # Set local EAZ ..
|
|
isdnctrl l2_prot $DEVICE1 hdlc # for sync PPP: set Level 2 to HDLC
|
|
isdnctrl l3_prot $DEVICE1 trans # not really necessary, 'trans' is default
|
|
isdnctrl encap $DEVICE1 syncppp # encap the IP Pakets in PPP frames
|
|
isdnctrl huptimeout $DEVICE1 300 # Hangup-Timeout is 300 sec. -> 5 min
|
|
isdnctrl chargehup $DEVICE1 off # Hangup before next Charge-Info
|
|
isdnctrl secure $DEVICE1 on # Accept only configured phone-number
|
|
|
|
|
|
|
|
|
|
ifconfig $DEVICE -arp $LOCAL_IP pointopoint $REMOTE_IP metric 1
|
|
route add default $DEVICE
|
|
route add default gw 134.60.7.98
|
|
|
|
ipppd user $USER \
|
|
/dev/ippp0 /dev/ippp1 /dev/ippp2
|
|
|
|
---------- schnapp ----------
|
|
|
|
Ich hab dabei noch folgendes in /etc/ppp/options stehen:
|
|
|
|
---------- schnipp ----------
|
|
debug
|
|
+mp
|
|
noipdefault
|
|
remotename highway
|
|
mru 1524
|
|
ipcp-accept-local ipcp-accept-remote
|
|
lock
|
|
defaultroute
|
|
-bsdcomp
|
|
-pc
|
|
-ac
|
|
---------- schnapp ----------
|
|
|
|
Ich hoffe ich konnte helfen!
|
|
Bye ... Rainer!
|
|
PS: ich hab hier uebrigens 'ne Teles/S0 16.3
|
|
--
|
|
<< e-mail: rbirkenm@hydra.informatik.uni-ulm.de >>
|
|
|
|
---------------------------------------------------
|
|
To remove yourself from this mailing list send
|
|
email to majordomo@hub-wue.franken.de containing
|
|
"unsubscribe isdn4linux <your_email_address>" in
|
|
the message body [-vg]
|