On Tue, Feb 25, 2003 at 04:04:27AM -0800, Vladislav Malicevic wrote:
Hello Karsten, Thanks for such a fast response. I invoke the following script (/etc/ppp/dialin) from inittab (ppp:3:respawn:/etc/ppp/dialin):
#!/bin/bash
clear echo "Setting up ippp0 as a master" isdnctrl addif ippp0 isdnctrl dialmode ippp0 manual isdnctrl secure ippp0 off isdnctrl callback ippp0 off isdnctrl encap ippp0 syncppp isdnctrl huptimeout ippp0 3000 isdnctrl cbdelay ippp0 2 isdnctrl dialmax ippp0 1 isdnctrl ihup ippp0 on isdnctrl chargehup ippp0 on isdnctrl l2_prot ippp0 hdlc isdnctrl l3_prot ippp0 trans isdnctrl sdelay ippp0 1 isdnctrl trigger ippp0 0 isdnctrl eaz ippp0 570
echo "Setting up ippp1 as a slave" isdnctrl addslave ippp0 ippp1 isdnctrl dialmode ippp1 auto isdnctrl secure ippp1 off isdnctrl callback ippp1 off isdnctrl encap ippp1 syncppp isdnctrl cbdelay ippp1 2 isdnctrl dialmax ippp1 1 isdnctrl ihup ippp1 on isdnctrl chargehup ippp1 on isdnctrl l2_prot ippp1 hdlc isdnctrl l3_prot ippp1 trans isdnctrl eaz ippp1 570
ifconfig ippp0 10.0.1.1 up pointopoint ETH netmask 255.255.255.255 -arp mtu 1500 txqueuelen 30
echo "done" clear ipppd 10.0.1.1:10.0.1.5 auth login -chap +pap +mp mru 1524 defaultroute ippp0
Here is ippp1 missing the line should be: ipppd 10.0.1.1:10.0.1.5 auth login -chap +pap +mp mru ippp0 ippp1
my /etc/ppp/ip-up file looks like this:
#!/bin/bash isdnctrl addlink ippp0
Not nessesary this means the second channel will established from this side and it will conflict with the incomming call. ...
Feb 25 13:02:12 camserver kernel: ippp0: call from 527 -> 570 accepted Feb 25 13:02:12 camserver kernel: isdn_ppp_bind: Can't find a (free) connection to the ipppd daemon.
This comes from the missing ippp1, so ipppd don't know about a second channel. -- Karsten Keil SuSE Labs ISDN development