Hi,
On Sat, 29 Jul 2000, Ishai Parasol wrote:
> and what i need is the script itself (the only way to really learn
> How-To...). btw, if someone knows how to add another channel (add slave
> ippp1 or something like that...) please send it to me too.
This is the script I use -- it dials and connects me to Bezeq-Int on Dual
channel ISDN with both channels connected:
#!/bin/bash
/usr/sbin/isdnctrl addif ippp0
/usr/sbin/isdnctrl addslave ippp0 ippp1
/usr/sbin/isdnctrl secure ippp0 on
/usr/sbin/isdnctrl secure ippp1 on
/usr/sbin/isdnctrl addphone ippp0 out 136014
/usr/sbin/isdnctrl addphone ippp1 out 136014
/usr/sbin/isdnctrl l2_prot ippp0 hdlc
/usr/sbin/isdnctrl l3_prot ippp0 trans
/usr/sbin/isdnctrl encap ippp0 syncppp
/usr/sbin/isdnctrl l2_prot ippp1 hdlc
/usr/sbin/isdnctrl l3_prot ippp1 trans
/usr/sbin/isdnctrl encap ippp1 syncppp
/usr/sbin/isdnctrl huptimeout ippp0 3600
/usr/sbin/isdnctrl huptimeout ippp1 3600
/usr/sbin/ipppd /dev/ippp0 /dev/ippp1
/sbin/ifconfig ippp0 up
#/sbin/ifconfig ippp1 up
sleep 4
/usr/sbin/isdnctrl dial ippp0
/usr/sbin/isdnctrl dial ippp1
sleep 7
route add default ippp0
=---=
Nimrod Simba Carmi,
School Sucks
http://www.schoolsucks.com
http://www.schoolsucks.co.il
Phone: +972-5423-9910
Fax: +972-6651-5473
"... Have you heard the news? The dogs are dead!
You better stay home and do as you're told
Get out of the road if you want to grow old."
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]