hello everybody,

i have problems with configuring diald for use with isdn. i would like
to use diald to filter out some internet-requests and let others
through.

i configured my system almost as cliff steele recommends on his homepage
(http://www.ursusmaj.demon.co.uk/ur05000.htm). IMHO that is the most
complete documentation for diald and isdn available, but unfortunately
it does not work for me (or i am just to stupid to get it working).

here's a short description: after the start of diald the first dial-in
works great, as also the automatic hangup.
any more tries will fail with this message in my system log:

diald[1199]: failed to get local address from device ippp0: Cannot
assign requested address 
diald[1199]: failed to get remote address from device ippp0: Cannot
assign requested address

for a more complete description see below.

to find out what's wrong i added debug-information to all scripts that
are called by diald (routing table, pstree etc).
the following list represents the output in /var/log/messages, the
additional debug-info i added to the scripts and some other explanations
in the same order as it happens.

i'm sorry for the much to long failure description, but as i am
relatively new to linux and totally new to diald it is hard for me to
sort out the information that is really necessary for you experts.

thanks for your patience, i hope somebody has a hint for me?


0. some system information
-------------------

Distru: SuSE 6.3
Kernel: 2.2.13
ipppd i2.2.9 (? not sure, but help-file says so) 
diald 0.99 (? not sure, but help file says so)

Kernel IP routing table
Destination  Gateway    Genmask         Flags Metric Ref    Use Iface
192.168.0.0  0.0.0.0    255.255.0.0     U     0      0        0 eth0
127.0.0.0    0.0.0.0    255.0.0.0       U     0      0        0 lo

init(1)-+-atd(184)
        |-ipppd(92)
        |-isdnlog(63)
        `-syslogd(124)

i wrote a config-script, that is called by other diald-scripts several
times:
        
        # !/bin/sh
        logger "config diald"
        MYIP=192.168.202.50
        ISPIP=192.168.0.255
        MYNAME=iwonttell
        ISPNAME=t-online
        INTERFACE=/dev/ippp0
        MYMSN=iwonttellalso
        ISPMSN=0191011

        

1. start diald 
---------------

        #!/bin/sh
        . /etc/diald/config
        /sbin/isdnctrl verbose 1
        /sbin/isdnctrl system on
        /sbin/isdnctrl addif ippp0
        /sbin/isdnctrl eaz ippp0 $MYMSN
        /sbin/isdnctrl addphone ippp0 out $ISPMSN
        /sbin/isdnctrl huptimeout ippp0 600
        /sbin/isdnctrl l2_prot ippp0 hdlc
        /sbin/isdnctrl l3_prot ippp0 trans
        /sbin/isdnctrl encap ippp0 syncppp
        /sbin/ifconfig ippp0 $MYIP pointopoint $ISPIP
        /sbin/route add $ISPIP ippp0
        /sbin/route add default gw $ISPIP metric 1
        /sbin/ifconfig ippp0 -arp -broadcast
        diald local $MYIP remote $ISPIP


Kernel IP routing table
Destination    Gateway         Genmask         Flags Metric Ref Use
Iface
192.168.0.255  0.0.0.0        255.255.255.255 UH    0      0    0 ippp0
192.168.0.255  0.0.0.0        255.255.255.255 UH    0      0    0 ippp0
192.168.0.0    0.0.0.0        255.255.0.0     U     0      0    0 eth0
127.0.0.0      0.0.0.0        255.0.0.0       U     0      0    0 lo
0.0.0.0        192.168.0.255  0.0.0.0         UG    1      0    0 ippp0

init(1)-+-atd(184)
        |-diald(1199)---modprobe(1201)
        |-ipppd(92)
        |-isdnlog(63)
        |-login(299)---bash(447)---isdn.diald(1181)---pstree(1200)
        `-syslogd(124)

diald calls at startup the script

        addroute  sl0 default 192.168.202.50 192.168.0.255 1 0

        #!/bin/sh
        /usr/bin/logger -p local1.info $0 $*
        /sbin/route add default $1
        /sbin/route add $4 $1


here's my routing table after diald came up:

Kernel IP routing table
Destination   Gateway         Genmask         Flags Metric Ref Use Iface
192.168.0.255 0.0.0.0        255.255.255.255 UH    0      0    0 sl0
192.168.0.255 0.0.0.0        255.255.255.255 UH    0      0    0 ippp0
192.168.0.255 0.0.0.0        255.255.255.255 UH    0      0    0 ippp0
192.168.0.255 0.0.0.0        255.255.255.255 UH    0      0    0 sl0
192.168.0.0   0.0.0.0        255.255.0.0     U     0      0    0 eth0
127.0.0.0     0.0.0.0        255.0.0.0       U     0      0    0 lo
0.0.0.0       0.0.0.0        0.0.0.0         U     0      0    0 sl0
0.0.0.0       192.168.0.255  0.0.0.0         UG    1      0    0 ippp0


that's what /var/log/messages tells about the start of diald:

Jul 10 00:30:37 molly kernel: isdn: Verbose-Level is 1
Jul 10 00:30:37 molly kernel: isdn: Global Mode running
Jul 10 00:30:37 molly kernel: isdn_net: interface ippp0 already exists
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap0
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap1
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap2
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap3
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap4
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap5
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap6
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap7
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap8
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap9
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap10
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap11
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap12
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap13
Jul 10 00:30:37 molly modprobe: modprobe: Can't locate module tap14
Jul 10 00:30:38 molly modprobe: modprobe: Can't locate module tap15
Jul 10 00:30:38 molly kernel: SLIP: version
         0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256) 
        (6 bit encapsulation enabled).
Jul 10 00:30:38 molly kernel: SLIP linefill/keepalive option.
Jul 10 00:30:38 molly diald[1199]: start sl0: RTNETLINK answers: File 
        exists
Jul 10 00:30:38 molly logger: /etc/diald/addroute sl0 default
192.168.202.50 192.168.0.255 1 0



2. the first dial-in
--------------

some lines from /var/log/messages:

Jul 10 00:32:05 molly diald[1199]: Trigger: tcp   
192.168.202.50/61573      
        62.52.24.66/110 
Jul 10 00:32:05 molly diald[1199]: Calling site 192.168.0.255
Jul 10 00:32:05 molly logger: /etc/diald/connect.isdn started
Jul 10 00:32:06 molly ipppd: info: no CHAP secret entry for this user!
Jul 10 00:32:06 molly ipppd[1233]: Found 1 device: /dev/ippp0
Jul 10 00:32:06 molly diald[1199]: Connected to site 192.168.0.255
Jul 10 00:32:06 molly diald[1199]: Open device ippp0
Jul 10 00:32:06 molly ipppd[1236]: ipppd i2.2.10 (isdn4linux version of
        pppd by MH) started
Jul 10 00:32:06 molly ipppd[1236]: init_unit: 0
Jul 10 00:32:06 molly kernel: ippp, open, slot: 1, minor: 0, state: 0000
Jul 10 00:32:06 molly kernel: ippp_ccp: allocating reset data structure
Jul 10 00:32:06 molly ipppd[1236]: Connect[0]: /dev/ippp0, fd: 9
Jul 10 00:32:06 molly diald[1199]: New addresses: local 192.168.202.50, 
        remote 192.168.0.255, broadcast 0.0.0.0
Jul 10 00:32:06 molly diald[1199]: start ippp0: RTNETLINK answers: File 
        exists
Jul 10 00:32:06 molly logger: /etc/diald/addroute ippp0 default 
        192.168.202.50 192.168.0.255 0 0
Jul 10 00:32:06 molly diald[1199]: start ippp0: SIOCADDRT: File exists
Jul 10 00:32:06 molly logger: /etc/diald/delroute sl0 default 
        192.168.202.50 192.168.0.255 1
Jul 10 00:32:06 molly diald[1199]: stop sl0: RTNETLINK answers: No such 
        process
Jul 10 00:32:06 molly logger: /etc/diald/ip-up ippp0 255.255.255.255
192.168.202.50 192.168.0.255
Jul 10 00:32:06 molly kernel: ippp0: dialing 0 0191011...
Jul 10 00:32:06 molly diald[1199]: ip-up: Dialing of ippp0 triggered
Jul 10 00:32:06 molly diald[1199]: ip-up: SIOCADDRT: File exists
Jul 10 00:32:07 molly ipppd[92]: Local number: 39903745, Remote number: 
        0191011, Type: outgoing
Jul 10 00:32:07 molly ipppd[92]: PHASE_WAIT -> PHASE_ESTABLISHED, 
        ifunit: 0, linkunit: 0, fd: 7
Jul 10 00:32:07 molly kernel: isdn_net: ippp0 connected
Jul 10 00:32:07 molly kernel: isdn_net: chargetime of ippp0 now 607011
Jul 10 00:32:07 molly ipppd[92]: Remote message:
Jul 10 00:32:07 molly ipppd[92]: MPPP negotiation, He: No We: No
Jul 10 00:32:07 molly ipppd[92]: CCP enabled! Trying CCP.
Jul 10 00:32:07 molly ipppd[92]: CCP: got ccp-unit 0 for link 0 
        (protocol: 0x80fd)
Jul 10 00:32:07 molly ipppd[92]: ccp_resetci!
Jul 10 00:32:07 molly ipppd[92]: local  IP address 62.153.27.192
Jul 10 00:32:07 molly ipppd[92]: remote IP address 193.158.131.53


--------------------
connect.isdn

        #!/bin/sh
        /usr/bin/logger -p local1.info $0 started
        . /etc/diald/config
        exec /sbin/ipppd user $MYNAME $MYIP:$ISPIP remotename \ 
         $ISPNAME name $MYNAME  -vj -vjccomp -ac -pc mru 1500 mtu 1500 \
         -bsdcomp nopredictor1 $INTERFACE

--------------------

adroute  ippp0 default 192.168.202.50 192.168.0.255 0 0

        /sbin/route add default $1
        /sbin/route add $4 $1

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0   0 sl0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0   0 ippp0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0   0 ippp0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0   0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0   0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0   0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0   0 ippp0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0   0 sl0
0.0.0.0         192.168.0.255   0.0.0.0         UG    1      0   0 ippp0

--------------------

delroute   sl0 default 192.168.202.50 192.168.0.255 1

        route del default
        route del $4

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0   0 ippp0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0   0 ippp0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0   0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0   0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0   0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0   0 sl0
0.0.0.0         192.168.0.255   0.0.0.0         UG    1      0   0 ippp0

--------------------

ip-up   ippp0 255.255.255.255 192.168.202.50 192.168.0.255

        route add default $1
        route add $4 $1

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 ippp0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 ippp0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0  0 ippp0
0.0.0.0         192.168.0.255   0.0.0.0         UG    1      0  0 ippp0

init(1)-+-atd(184)
        |-diald(1199)---ip-up(1257)---pstree(1264)
        |-ipppd(92)
        |-ipppd(1236)
        |-isdnlog(63)
        `-syslogd(124)


3. now online
--------------

everything worked fine by now. i can surf, and ip-masquerading's doing
fine also.

init(1)-+-atd(184)
        |-diald(1199)
        |-ipppd(92)
        |-ipppd(1236)
        |-isdnlog(63)
        `-syslogd(124)

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
193.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 ippp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         193.158.131.53  0.0.0.0         UG    0      0  0 ippp0

/var/run/ipppd.ippp0.pid = 1236


after some moments of inactivity, diald hangs up:


4. hangup after timeout
-----------------------

Jul 10 00:34:56 molly diald[1199]: Closing down idle link.
Jul 10 00:34:56 molly logger: /etc/diald/addroute sl0 default 
        192.168.202.50 192.168.0.255 1 0
Jul 10 00:34:56 molly logger: /etc/diald/delroute ippp0 default 
        192.168.202.50 192.168.0.255 0
Jul 10 00:34:56 molly diald[1199]: stop ippp0: RTNETLINK answers: No 
        such process
Jul 10 00:34:56 molly diald[1199]: start sl0: RTNETLINK answers: File 
        exists
Jul 10 00:34:56 molly logger: /etc/diald/addroute sl0 default 
        192.168.202.50 192.168.0.255 1 0
Jul 10 00:34:56 molly logger: /etc/diald/disconnect.isdn started.
Jul 10 00:34:56 molly logger: config diald
Jul 10 00:34:56 molly ipppd[1236]: Terminating on signal 15.
Jul 10 00:34:56 molly ipppd[1236]: closing fd 9 from unit 0
Jul 10 00:34:56 molly ipppd[1236]: link 0 closed , linkunit: 0
Jul 10 00:34:56 molly ipppd[1236]: Exit.
Jul 10 00:34:56 molly diald[1199]: disconnector: cat: 
        /var/run/ipppd.ippp0.pid: No such file or directory
Jul 10 00:34:56 molly last message repeated 2 times
Jul 10 00:34:56 molly diald[1199]: Disconnect script failed
Jul 10 00:34:56 molly diald[1199]: Disconnected. Call duration 170 
        seconds.
Jul 10 00:34:56 molly diald[1199]: IP transmitted 1820 bytes and 
        received 2660 bytes.
Jul 10 00:34:56 molly diald[1199]: Delaying 1 seconds before clear to 
        dial.
Jul 10 00:34:56 molly logger: /etc/diald/ip-down sl0 255.255.255.255 
        192.168.202.50 192.168.0.255
Jul 10 00:34:56 molly diald[1199]: ip-down: SIOCADDRT: File exists
Jul 10 00:34:56 molly diald[1199]: ip-down: SIOCADDRT: File exists
Jul 10 00:34:56 molly diald[1199]: ip-down: sl0: No such device
Jul 10 00:34:57 molly diald[1199]: ip-down: cat: 
        /var/run/ipppd.ippp0.pid: No such file or directory


--------------------

adroute   sl0 default 192.168.202.50 192.168.0.255 1 0

        route add default sl0
        route add  192.168.0.255  sl0

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0   0 sl0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0   0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0   0 eth0
193.0.0.0       0.0.0.0         255.0.0.0       U     0      0   0 ippp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0   0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0   0 sl0
0.0.0.0         193.158.131.53  0.0.0.0         UG    0      0   0 ippp0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0   0 sl0

--------------------
delroute   ippp0 default 192.168.202.50 192.168.0.255 0

        route del default
        route del 192.168.0.255

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
193.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 ippp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         193.158.131.53  0.0.0.0         UG    0      0  0 ippp0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0  0 sl0

--------------------
adroute   sl0 default 192.168.202.50 192.168.0.255 1 0

        route add default sl0
        route add  192.168.0.255   sl0

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0  0 sl0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0  0 sl0

--------------------
disconnect.isdn   

        kill `cat /var/run/ipppd.ippp0.pid`

/var/run/ipppd.ippp0.pid = 1236

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0  0 sl0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0  0 sl0

--------------------
ip-down   sl0 255.255.255.255 192.168.202.50 192.168.0.255

        route add default sl0
        route add 192.168.0.255 sl0

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0  0 sl0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0  0 sl0

init(1)-+-atd(184)
        |-diald(1199)---ip-down(1321)---pstree(1328)
        |-ipppd(92)
        |-isdnlog(63)
        `-syslogd(124)


5. now offline 
--------------

well down, the line is down.

init(1)-+-atd(184)
        |-diald(1199)
        |-ipppd(92)
        |-isdnlog(63)
        `-syslogd(124)

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0  0 sl0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0  0 sl0


the next dial-in will fail:


6. dial-in again: 
----------------

Jul 10 00:37:05 molly diald[1199]: Trigger: tcp   
192.168.202.50/61577      
        62.52.24.66/110
Jul 10 00:37:05 molly diald[1199]: Calling site 192.168.0.255
Jul 10 00:37:05 molly logger: /etc/diald/connect.isdn started
Jul 10 00:37:05 molly logger: config diald
Jul 10 00:37:05 molly ipppd: info: no CHAP secret entry for this user!
Jul 10 00:37:05 molly ipppd[1334]: Found 1 device: /dev/ippp0
Jul 10 00:37:05 molly diald[1199]: Connected to site 192.168.0.255
Jul 10 00:37:05 molly diald[1199]: Open device ippp0
Jul 10 00:37:05 molly ipppd[1337]: ipppd i2.2.10 (isdn4linux version of 
        pppd by MH) started
Jul 10 00:37:05 molly ipppd[1337]: init_unit: 0
Jul 10 00:37:05 molly kernel: ippp, open, slot: 1, minor: 0, state: 0000
Jul 10 00:37:05 molly kernel: ippp_ccp: allocating reset data structure
Jul 10 00:37:05 molly ipppd[1337]: Connect[0]: /dev/ippp0, fd: 10

Jul 10 00:37:05 molly diald[1199]: failed to get local address from 
        device ippp0: Cannot assign requested address 
Jul 10 00:37:05 molly diald[1199]: failed to get remote address from 
        device ippp0: Cannot assign requested address

the last two lines will be repeated a zillion times...
quite annoying...

Jul 10 00:38:04 molly diald[1199]: pppd startup timed out. Check your 
        pppd options. Killing pppd.
Jul 10 00:38:04 molly diald[1199]: start sl0: RTNETLINK answers: File 
        exists
Jul 10 00:38:04 molly logger: /etc/diald/addroute sl0 default 
        192.168.202.50 192.168.0.255 1 0
Jul 10 00:38:04 molly diald[1199]: start sl0: SIOCADDRT: File exists
Jul 10 00:38:04 molly diald[1199]: start sl0: SIOCADDRT: File exists
Jul 10 00:38:04 molly logger: /etc/diald/delroute ippp0 default 
        192.168.202.50 168.0.255 1 0
Jul 10 00:38:04 molly diald[1199]: stop ippp0: RTNETLINK answers: No 
        such process
Jul 10 00:38:04 molly diald[1199]: start sl0: RTNETLINK answers: File 
        exists
Jul 10 00:38:04 molly logger: /etc/diald/addroute sl0 default 
        192.168.202.50 192.168.0.255 1 0
Jul 10 00:38:04 molly logger: /etc/diald/disconnect.isdn started.
Jul 10 00:38:04 molly logger: config diald
Jul 10 00:38:04 molly ipppd[1337]: Terminating on signal 15.
Jul 10 00:38:04 molly ipppd[1337]: closing fd 10 from unit 0
Jul 10 00:38:04 molly ipppd[1337]: link 0 closed , linkunit: 0
Jul 10 00:38:04 molly ipppd[1337]: Exit.
Jul 10 00:38:04 molly diald[1199]: disconnector: cat: 
        /var/run/ipppd.ippp0.pid: No such file or directory
Jul 10 00:38:04 molly last message repeated 2 times
Jul 10 00:38:04 molly diald[1199]: Disconnect script failed
Jul 10 00:38:04 molly diald[1199]: Disconnected. Call duration 59 
        seconds.
Jul 10 00:38:04 molly diald[1199]: IP transmitted 132 bytes and received 
        42 bytes.
Jul 10 00:38:04 molly diald[1199]: Delaying 1 seconds before clear to 
        dial.
Jul 10 00:40:56 molly ipppd[92]: Modem hangup
Jul 10 00:40:56 molly ipppd[92]: Connection terminated.
Jul 10 00:40:56 molly ipppd[92]: taking down PHASE_DEAD link 0, 
        linkunit: 0
Jul 10 00:40:56 molly ipppd[92]: closing fd 7 from unit 0
Jul 10 00:40:56 molly ipppd[92]: link 0 closed , linkunit: 0
Jul 10 00:40:56 molly ipppd[92]: reinit_unit: 0
Jul 10 00:40:56 molly ipppd[92]: Connect[0]: /dev/ippp0, fd: 7
Jul 10 00:40:56 molly kernel: isdn_net: local hangup ippp0
Jul 10 00:40:56 molly kernel: ippp0: Chargesum is 0
Jul 10 00:40:56 molly kernel: ippp, open, slot: 1, minor: 0, state: 0000
Jul 10 00:40:56 molly kernel: ippp_ccp: allocating reset data structure



--------------------
adroute   sl0 default 192.168.202.50 192.168.0.255 1 0
        route add default sl0
        route add  192.168.0.255   sl0

Kernel IP routing table
Destination     Gateway         Genmask      Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0  0 sl0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0  0 sl0


--------------------

delroute   ippp0 default 192.168.202.50 192.168.0.255 0
        route del default
        route del 192.168.0.255

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0  0 sl0

--------------------

adroute   sl0 default 192.168.202.50 192.168.0.255 1 0

        route add default sl0
        route add  192.168.0.255   sl0

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0  0 sl0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0  0 sl0

--------------------

disconnect.isdn  

        kill `cat /var/run/ipppd.ippp0.pid`

/var/run/ipppd.ippp0.pid = <exisitiert nicht>

Kernel IP routing table
Destination     Gateway         Genmask       Flags Metric Ref Use Iface
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.255   0.0.0.0         255.255.255.255 UH    0      0  0 sl0
192.168.0.0     0.0.0.0         255.255.0.0     U     0      0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0  0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0  0 sl0
0.0.0.0         0.0.0.0         0.0.0.0         U     1      0  0 sl0

-----------failed ----------


i should mention that conventional connections with i4l work fine (but
unfortunately without the desired features...).

thanks a lot for any hints, and sorry for this extra-long posting.

thomas

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to