Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualisation:serial-interface [2022/02/02 11:02]
schmitt
virtualisation:serial-interface [2022/02/16 14:47]
schmitt
Line 9: Line 9:
 ===== 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>​