From owner-freebsd-isdn Sat Jan 2 05:52:13 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA19397 for freebsd-isdn-outgoing; Sat, 2 Jan 1999 05:52:13 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from mail.gtn.com (mail.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA19371 for ; Sat, 2 Jan 1999 05:52:09 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by mail.gtn.com (8.8.6/8.8.6) with UUCP id OAA03764 for isdn@FreeBSD.ORG; Sat, 2 Jan 1999 14:45:18 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.9.1/8.9.1) id OAA34717 for isdn@FreeBSD.ORG; Sat, 2 Jan 1999 14:22:51 +0100 (CET) (envelope-from andreas) Message-ID: <19990102142251.B34405@klemm.gtn.com> Date: Sat, 2 Jan 1999 14:22:51 +0100 From: Andreas Klemm To: isdn@FreeBSD.ORG Subject: suggestion for i4b startup in FreeBSD .... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi ! I'm currently using Hellmuth's rc.isdn as is. In /etc/rc.conf I have an environment variable i4b="NO" # Suppress Startup of I4B i4b="DPN" # Start i4b and feed the argument DPN # to the rc.isdn script rc.network looks like this, from here rc.isdn is fired up. I put it in after interface initialization and just before setting defaultrouter. --- /usr/src/etc/rc.network Fri Nov 27 08:06:11 1998 +++ rc.network Tue Dec 29 01:26:52 1998 @@ -100,6 +100,11 @@ atm_pass2 fi + # i4b + if [ "x$i4b" != "xNO" ]; then + /bin/sh /etc/rc.isdn $i4b + fi + # Configure routing if [ "x$defaultrouter" != "xNO" ] ; then Additionally one virtual console has to be turned off for the i4b daemon which I started on vty2. --- /usr/src/etc/etc.i386/ttys Wed Sep 2 03:34:57 1998 +++ ttys Sat Jan 2 14:21:45 1999 @@ -11,7 +11,7 @@ ttyv0 "/usr/libexec/getty Pc" cons25 on secure # Virtual terminals ttyv1 "/usr/libexec/getty Pc" cons25 on secure -ttyv2 "/usr/libexec/getty Pc" cons25 on secure +ttyv2 "/usr/libexec/getty Pc" cons25 off secure ttyv3 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure # Serial terminals # The 'dialup' keyword identifies dialin lines to login, fingerd etc. What do you think of that ? -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message