changing baud rate without recompiling
C. P. Ghost
cpghost at cordula.ws
Wed Nov 9 11:11:38 UTC 2011
On Wed, Nov 9, 2011 at 10:11 AM, saeedeh motlagh
<saeedeh.motlagh at gmail.com> wrote:
> - change the baud rate in /etc/ttys file
(...)
> when i use "stty -f /dev/ttyu0.init 115200" the baud rate for
> ttyu0.init change to 115200. after that i use "kill -1 1" in order to
> reinitialize devices but nothing happened and the baud rate for ttyu0
> is still 9600.
Are you sure you really updated /etc/ttys correctly?
ttyu0 "/usr/libexec/getty std.115200" dialup on secure
What does 'ps ax | grep getty' say? Something like this:
1416 u0 Is+ 0:00.24 /usr/libexec/getty std.9600 ttyu0
or like this:
1416 u0 Is+ 0:00.24 /usr/libexec/getty std.115200 ttyu0
Then, check that std.115200 is indeed in /etc/gettytab.
Save for getty, I don't know what would reset the speed
to 9600... Maybe some weird setting in /etc/login.conf?
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
More information about the freebsd-questions
mailing list