Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 1998 23:23:20 -0700
From:      Arve Ronning <arve.ronning@ah.telia.no>
To:        Eric Feillant <Eric.Feillant@EUnet-Bretagne.fr>
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: I4B & NAT
Message-ID:  <352F0C58.24E6@ah.telia.no>

next in thread | raw e-mail | index | archive | help
> 
> Can u send me u'r config file ? ( Natd.cf, ipfw.cf or rc.firewall, etc...)
> 

Argh... I forgot to include this file, which I'm using
to start/stop the ISDN line:

---------------------------------
#!/bin/sh

if [ -f /var/run/isdnd.pid ]
then
	echo 'Stopping ISDN line'
	kill `cat /var/run/isdnd.pid`
	ifconfig isppp0 down
	route delete default
	echo 'ISDN line Stopped'
else
	echo 'Starting ISDN line'
        spppcontrol isppp0 myauthproto=pap myauthname=<<>>\
                           myauthkey=<<>> hisauthproto=none callin
	/usr/local/bin/isdnd -d0xf9
	ifconfig isppp0 up
	route add default -interface isppp0
	echo 'ISDN line Started'
fi
---------------------------------

  -Arve


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?352F0C58.24E6>