User Tools

Site Tools


unix:freebsd:ipmi_sol

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
unix:freebsd:ipmi_sol [2019/06/25 01:11] – created - external edit 127.0.0.1unix:freebsd:ipmi_sol [2025/03/21 14:41] (current) – [edit /etc/ttys] rodolico
Line 7: Line 7:
 ===== edit /etc/ttys ===== ===== edit /etc/ttys =====
 Find the line for ttyu1 and modify as follows. This sets the port to respond at 57600, using vt100 protocol and requiring a login. Find the line for ttyu1 and modify as follows. This sets the port to respond at 57600, using vt100 protocol and requiring a login.
 +**Note:** use **3wire** instead of **std** if your machine does not use hardware handshaking (just leave as the default)
  
 <code> <code>
Line 15: Line 16:
  
 This tells the kernel to send messages to the serial port //and// the internal console, and sets the speed to 57600 This tells the kernel to send messages to the serial port //and// the internal console, and sets the speed to 57600
-<code>echo "-Dh -S57600" > /boot.config+<code>echo "-Dh -S115200>> /boot.config
 </code> </code>
  
Line 21: Line 22:
 Add/edit the following in /boot/loader.conf to set up console redirect when booting. Add/edit the following in /boot/loader.conf to set up console redirect when booting.
 <code> <code>
 +# adjust if needed for the speed
 +comconsole_speed="115200"
 +# uncomment one of the following for the port you'll use
 +# 0x2f8 is the second serial port, 0x3F8 is the first one
 +#comconsole_port="0x2F8"
 +comconsole_port="0x3F8"
 +# allow multiple consoles
 boot_multicons="YES" boot_multicons="YES"
 +# one of them is serial
 boot_serial="YES" boot_serial="YES"
 +# use these two consoles
 console="comconsole,vidconsole" console="comconsole,vidconsole"
 comconsole_port="0x2F8" comconsole_port="0x2F8"
-hint.uart.0.flags="0x00"+# the 0x10 means it is eligible for console. If you know 
 +# which uart you're using, change the other to 0x00 
 +hint.uart.0.flags="0x10"
 hint.uart.1.flags="0x10" hint.uart.1.flags="0x10"
 </code> </code>
unix/freebsd/ipmi_sol.1561443100.txt.gz · Last modified: 2019/06/25 01:11 by 127.0.0.1