Differences

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

Link to this comparison view

Next revision
Previous revision
virtualisation:serial-interface [2019/09/30 15:31] – created juraschekvirtualisation:serial-interface [2022/02/16 14:47] (current) schmitt
Line 5: Line 5:
 Please change the mode of the serial Interface you want to use to "none"  Please change the mode of the serial Interface you want to use to "none" 
  
-{{ :virtualisation:screenshot_2019-09-30_16-58-17.png?nolink |}}+{{ :virtualisation:serial.png?nolink |}}
  
 ===== lxc settings ===== ===== lxc settings =====
  
-The Serial intefaces als already available for the lxc containter and needed to be add as a filesystem node in the guest. +The Serial intefaces is already available for the lxc containter and needed to be add as a filesystem node in the guest. 
  
-Before you create the node you need to get the MAJOR and MINOR Number which can seen in the ls  in the router root shell. +Before you create the node you need to get the MAJOR and MINOR Number which can seen in the /dev directory with the ls -al | grep ttyS  in the router root shell. 
  
 <konsole> <konsole>
Line 27: Line 27:
  
 <konsole root> <konsole root>
-mknod /dev/ttyHostSerial0 c 4 65 +mknod /dev/ttyHostSerial0 c 4 64 
-mknod /dev/ttyHostSerial1 c 4 64+mknod /dev/ttyHostSerial1 c 4 65
 </konsole> </konsole>
  
Line 34: Line 34:
  
 <konsole root> <konsole root>
-microcom -s 115200 /dev/ttyHostSerial0 +microcom -s 115200 -p /dev/ttyHostSerial0 
-microcom -s 115200 /dev/ttyHostSerial1+microcom -s 115200 -p /dev/ttyHostSerial1
  
 </konsole> </konsole>