User Tools

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
serial-console [2024/11/04 14:54] normanserial-console [2025/10/02 12:05] (current) – external edit 127.0.0.1
Line 30: Line 30:
 GRUB_TERMINAL=serial GRUB_TERMINAL=serial
 GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"</code>{{:screenshot_2024-11-04_14-52-34.jpg?400|}} GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"</code>{{:screenshot_2024-11-04_14-52-34.jpg?400|}}
 +
 +
 + Then update Grub
 +<code>update-grub</code>
 +
 +
 + ====== Connect ======
 +
 + When connecting from another Linux, can use minicom
 +<code>apt install minicom</code>
 +
 +Detect connection 
 +<code>ls /dev/tty*</code>
 +
 +For example, /dev/ttyUSB0
 +
 +Then connect to remote PC
 +<code>minicom -b 115200 -D /dev/ttyUSB0</code>
 +
 +
 +== P.s ==
 +
 +I prefer to use byobu as failsafe if have problems to exit minicom
 +
 +<code>apt install byobu</code>
 +
 +Sources:
 +
 +[[https://www.reddit.com/r/linuxquestions/comments/s6m11l/how_to_enable_serial_with_debian_11/|Reddit]]
 +
 +[[https://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/|cyberciti.biz]]