Re: How to set serial ports over reboot

2002-06-28 Thread Donald R. Spoon

Kent West <[EMAIL PROTECTED]> wrote:

> I need to use setserial to set the parms on /dev/ttyS3. I can do this,
> but the settings don't hold over a reboot.
>
> "man setserial" refers to "/etc/setserial.conf", but there is no such
> file. A "locate setserial.conf" doesn't return the location of such a
> file either, although there are similar files in /var/lib/dpkg and
> /var/lib/setserial.
>
> I assume this is related to the "autosave once" option during install.
>
> Can anyone tell me how to get this setting to be preserved over a reboot?
>
> (Also, I understand it's a "bug" for a Debian package to ship without a
> man page; is it also a bug for the man page to be wrong? Should I file a
> bug report?)
>
> Thanks!
>
> Kent
>
>

I think 'setserial" is configurable by debconf, hence "dpkg-reconfigure 
setserial" will bring up that particular series of questions again.


You might try making the changes and then re-configure setserial per the 
above command and see what happens.


BTW #1:  I don't have a /etc/setserial.conf file either, and I used the 
"autosave once" option on the initial install.  Dunno what would have 
happened if I used one of the other options...


BTW #2:  I just found a neat GUI program called "gkdebconf" that brings 
up a small window that lists ALL of the packages that were configured 
via debconf and thus allows you to select the one you want to run 
"dpkg-reconfigure" on.  I have found it quite useful for correcting 
errors made on the initial install due to my ignorance at the time.


Cheers,
-Don Spoon-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How to set serial ports over reboot

2002-06-28 Thread Colin Watson
On Fri, Jun 28, 2002 at 04:02:03PM -0500, Kent West wrote:
> (Also, I understand it's a "bug" for a Debian package to ship without a 
> man page; is it also a bug for the man page to be wrong?

Of course. I don't know the answer to your particular problem, although
for what it's worth 'dpkg -L setserial' lists an /etc/serial.conf.

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



How to set serial ports over reboot

2002-06-28 Thread Kent West
I need to use setserial to set the parms on /dev/ttyS3. I can do this, 
but the settings don't hold over a reboot.


"man setserial" refers to "/etc/setserial.conf", but there is no such 
file. A "locate setserial.conf" doesn't return the location of such a 
file either, although there are similar files in /var/lib/dpkg and 
/var/lib/setserial.


I assume this is related to the "autosave once" option during install.

Can anyone tell me how to get this setting to be preserved over a reboot?

(Also, I understand it's a "bug" for a Debian package to ship without a 
man page; is it also a bug for the man page to be wrong? Should I file a 
bug report?)


Thanks!

Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]