Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2011 12:41:45 +0330
From:      saeedeh motlagh <saeedeh.motlagh@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   changing baud rate without recompiling
Message-ID:  <CAN%2BS=WCnTLq08TWpu=1d1QS9wkbi8Ur8NWy9rwJeO2eq=jwWTQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hi

i wanna have serial console communication with the other system. i
want to have baud rate 115200 for this communication but the default
is 9600. i test the following options but the baud rate is 9600 yet:

- add the following commands to the /boot/loader.conf file:
  boot_multicons=3D=94YES=94
  boot_serial=3D=94YES=94
  comconsole_speed=3D=94115200=94
  console=3D=94comconsole,vidcobsole=94

- change the baud rate in /etc/ttys file

- stty -f  /dev/ttyu0 115200

- change the baud rate in /etc/rc.d/serial 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.
i know adding the "COM_CONSOLE_SPEED=3D115200" to make.conf and
recompile it, change the baud rate but i want to know if there is a
way to change it without recompiling.
please let me know if there is any way to do that.
my FreeBSD is 8.0

thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN%2BS=WCnTLq08TWpu=1d1QS9wkbi8Ur8NWy9rwJeO2eq=jwWTQ>