I am using only 1 (64k) channel and, furthermore, I did not understand what
the problem is. But if it helps, I am using the following script on the
default run level (2 in debian):
[02:27:38 /tmp]$ cat /etc/rc2.d/S20isdnutils
#!/bin/sh
#
# You don't need to change this file!
#
# Please read /usr/share/doc/isdnutils/README.debian
# and /usr/share/doc/isdnutils/CONFIG.gz .
#
# This script stops/starts ALL ISDN stuff (including isdnlog, if installed).
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/sbin/isdnctrl
NAME=isdnutils
DESC='ISDN services'
FLAGS="defaults"
test -f $DAEMON || exit 0 # sanity check
set -e
# source the function definitions for stopping / starting the various parts
# (also used in /etc/init.d/isdnlog)
/etc/isdn/init.d.functions
# isdn_verbose=true # default is set by VERBOSE in /etc/default/rcS
case "$1" in
start)
if [ ! -z "$2" ]; then
echo -n "Starting $2 :"
case "$2" in
ipppd) if [ -s /usr/sbin/ipppd ]; then start_ipppd; fi;;
isdnlog) if [ -s /usr/sbin/isdnlog ]; then start_isdnlog; fi;;
*) echo " unknown service to start: $1"; exit 1;;
esac
echo .
exit 0
fi
echo -n "Starting $DESC :"
start_devices
if [ -s /usr/sbin/ipppd ]; then start_ipppd; fi
start_iprofd
if [ -s /usr/sbin/isdnlog ]; then start_isdnlog; fi
sleep 5 && isdnctrl dial ippp0
;;
stop)
isdnctrl hangup ippp0
if [ ! -z "$2" ]; then
echo -n "Stopping $2 :"
case "$2" in
ipppd) if [ -s /usr/sbin/ipppd ]; then stop_ipppd; fi;;
isdnlog) if [ -s /usr/sbin/isdnlog ]; then stop_isdnlog; fi;;
*) echo " unknown service to stop: $1"; exit 1;;
esac
echo .
exit 0
fi
echo -n "Stopping $DESC :"
stop_iprofd
if [ -s /usr/sbin/ipppd ]; then stop_ipppd; fi
stop_devices
if [ -s /usr/sbin/isdnlog ]; then stop_isdnlog; fi
;;
reload)
if [ ! -z "$2" ]; then
echo -n "Restarting $2 :"
case "$2" in
ipppd)
if [ -s /usr/sbin/ipppd ]; then
reload_ipppd || ( stop_ipppd; start_ipppd )
fi;;
isdnlog)
if [ -s /usr/sbin/isdnlog ]; then
reload_isdnlog || ( stop_isdnlog; start_isdnlog )
fi;;
*) echo " unknown service to stop: $1"; exit 1;;
esac
echo .
exit 0
fi
echo "Sorry, reload can only be done explicitly for ipppd and isdnlog."
echo 'Run "/etc/init.d/isdnutils reload ipppd" for example.'
exit 1
;;
restart|force-reload)
# reload doesn't really work for some daemons...
echo -n "Restarting $DESC :"
isdn_verbose=false
stop_iprofd
if [ -s /usr/sbin/ipppd ]; then stop_ipppd; fi
if [ -s /usr/sbin/isdnlog ]; then stop_isdnlog; start_isdnlog; fi
stop_devices; start_devices
if [ -s /usr/sbin/ipppd ]; then start_ipppd; fi
start_iprofd
sleep 5 && isdnctrl dial ippp0
;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload}"
exit 1
;;
esac
echo .
list_unconfigured
exit 0
# vim:set ts=8 sw=4:
> Hi Oded
>
> I'm loading the modules during the booting process and dial (maually) after
> it finishes the reboot. That's make two parts: one (modules) in a situation
> that looks like runlevel 1 (before all the processes starts) and two
> (dialing) after all the processes run already (after reboot) which is
> runlevel 5 if i'm not wrong.
> Anyway, it's working for me.
>
> Good Luck
> Ishai.
> ----- Original Message -----
> From: "Oded Arbel" <[EMAIL PROTECTED]>
> To: "Linux-IL Mailing list" <[EMAIL PROTECTED]>
> Sent: Wednesday, February 28, 2001 4:04 AM
> Subject: Again - ISDN problems.
>
>
> > Hi list !
> >
> > Its me with my ISDN problems again :-)
> >
> > So,I ditched the winbond based Multitech cards and got me a Fritz!PCI
> > instead. works like a charm - all I had to do was to change the modprobe
> > line in my script to load hisax with type=27, and I got two stable
> > B channels. it looks to be working ok so far, and I hope I won't have any
> > disconnects - but...
> > I can only connect while I'm in runlevel 1 - then I can load the modules,
> > start ipppd and dial. when I try to do that in runlevel 3 or 5, it looks
> > like its loading everything ok, but whne it starts to dial, it doesnt
> > connect - after 3 tries it gives up, with no error code and the message
> > 'isdn_local_hangup'.
> > trying to connect using the modem emulation I get BUSY everytime.
> > Note - if I connect with the primary channel on runlevel 1, I can then
> > load the system and connect the second channel after that.
> >
> > I would like to hear anything that you may think about this wierd stuff.
> >
> > one more thing - can you please point me to a good Masquarading tutorial
> > with NetFilter ? or more to the point - how to enable active FTP from
> > behind a kernel 2.4 NAT ?
> >
> > TIA
> >
> > Oded
> >
> >
> >
> > =================================================================
> > 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]
> >
> >
> >
>
>
> =================================================================
> 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]
>
--
Shaul Karl <[EMAIL PROTECTED]>
=================================================================
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]