Connect to switch by rs-232 on linux

How to connect to switch using RS-232 communication port? On Microsoft Windows, you can use 超級終端機(Super Terminal) to do this job, but how to do the same job on Linux ?

I find C-kermit to do this job on Linux. Here is some command to connect to Switch:

If your linux box do not have this program, you can download binary or source code from C-kermit project page

# kemit
kermit> set line /dev/ttyS0
kermit> set carrier-watch off
kermit> connect

In connect state, Input escape character can break connect and return to local computer prompt:

(press ctrl and \, release ctrl and \,  then press 'c')
Ctrl + \c   - send 'break signal'
Ctrl + \!  - Enter interior shell, "exit" to return
Ctrl + \? - help message

Reference:
1.C-KERMIT 8.0 UNIX MANUAL PAGE AND TUTORIAL
2.C-Kermit 8.0

廣告

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

%d 位部落客按了讚: