[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to set serial ports over reboot



Kent West <westk@nicanor.acu.edu> 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 debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: