Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 1999 14:22:51 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        isdn@FreeBSD.ORG
Subject:   suggestion for i4b startup in FreeBSD ....
Message-ID:  <19990102142251.B34405@klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990102142251.B34405>