[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian]: Dial on Demand einschalten



M. Senger wrote:
> 
> Hallo Liste
> 
> Ich habe eine Frage zu folgendem Problem:
> 
> Habe mir dir isdnutils eingerichtet. klappt prima wenn ich
> 
> isdnctrl dial ippp0

braucht V 3.x from isdnutils, wahrscheinlich auch kernel > 3.0.25
aber dann tut
iscnctrl dialmode ippp0 auto

Achtung hast Du eine dynamische IP muß die Route in /etc/ppp/ip-down.d
und ip-up.d etwa folgendes zu finden sein:
#!/bin/sh

# example /etc/ppp/ip-up.d script for use with ipppd and dynamic IP
numbers.
# Edit / add to the entries to suit the requirements of the interface.

case "$PPP_IFACE" in
        ippp*)  route add default $PPP_IFACE    # usually necessary
                # The next lines are for masquerading over ippp link.
                # hostname -i should give ip address of local network
interface.
                # See comments in /etc/isdn/device.* about firewalling!
                # ipfwadm -I -a accept -W $PPP_IFACE -P tcp -D
$PPP_LOCAL smtp ident 1024:65535
                # ipfwadm -I -a accept -W $PPP_IFACE -P udp -D
$PPP_LOCAL 1024:65535
                # masquerading rules, for transparently connecting local
net to internet
                # ETH_IP=`hostname -i | tr -d ' '`
                # ipfwadm -F -a accept -m -P tcp -S $ETH_IP/24
                # ipfwadm -F -a accept -m -P udp -S $ETH_IP/24
                ;;
esac
~
~         
Das kanns Du aber in der Doku von isdnutils nachlesen

Hoffe geholfen zu haben
Friedrich
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     655


Reply to: