使用屏幕作为终端模拟器连接串行控制台

・1 分钟阅读

使用屏幕作为终端模拟器连接到串行控制台

screen /dev/tty<device> 9600
使用GNU/screen作为任何串行控制台相关的终端模拟器,screen/dev/tty ,例如, screen/dev/ttyS0 9600 MacOSX:http://www.macosxhints.com/article.php?story=20061109133825654备忘单:http://www.catonmat.net/blog/screen-terminal-emulator-cheat-sheet/
示例输出
$ screen /dev/ttyUSB0 9600
*** Welcome to pfSense 2.0-BETA3-nanobsd (i386) on pfsense ***
 WAN (wan) -> xl1 -> x.x.x.x (DHCP)
 LAN (lan) -> xl0 -> 192.168.x.1 
 PUBLICWIFI (opt1) -> xl0_vlan2 -> 192.168.x3.1 
 PRIVATEWIFI (opt2) -> xl0_vlan1 -> 192.168.x2.1 
 pfSense console setup 
***************************
 0) Logout (SSH only)
 1) Assign Interfaces
 2) Set interface(s) IP address
 3) Reset webConfigurator password
 4) Reset to factory defaults
 5) Reboot system
 6) Halt system
 7) Ping host
 8) Shell
 9) PFtop
10) Filter Logs
11) Restart webConfigurator
12) pfSense Developer Shell
13) Upgrade from console
14) Disable Secure Shell (sshd)
Enter an option:
Hujiuxiang profile image