/etc/rc.d/rc.3/S99local is a symlink for rc.local. I just got in the
habit of
doing it that way.
Bill
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul
Sent: Sunday, November 05, 2000 9:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [newbie] How
Henningsen wrote:
My modem is on cua2, which is initialized to IRQ 4 when I start up, however,
the correct value is IRQ 10, so whenever I want to use my modem, i have to
do as root
setserial -v /dev/cua2 irq 10
How can I get that to be done on startup, preferably, where is the script
that
You should not use cua devices anymore, they are going away soon. You
should use ttyS2 instead.
Edit your /etc/rc.d/rc.3/S99local and put at the bottom of it:
# Set the correct IRQ for ttyS2
echo "Setting IRQ for ttyS2"
/bin/setserial -v /dev/ttyS2 irq 10
Bill
-Original Message-
You could right a simple bash script to issue that command when you start
kppp and tell it to connect. Or write the script and have the script
executed when you boot. It wouldn't have to be anything any more
complicate then this:
#!/bin/sh
setserial -v /dev/cua2 irq 10
Thats about all there
It was Nov 5, 2000, 17:37, when Bill Shirley keyboarded:
Edit your /etc/rc.d/rc.3/S99local and put at the bottom of it:
# Set the correct IRQ for ttyS2
echo "Setting IRQ for ttyS2"
/bin/setserial -v /dev/ttyS2 irq 10
As far as I know, it would be even better to add that to
/etc/rc.d/rc.local.