{"id":163,"date":"2011-10-05T13:57:00","date_gmt":"2011-10-05T11:57:00","guid":{"rendered":"http:\/\/elkano.org\/blog\/?p=163"},"modified":"2012-01-09T11:09:21","modified_gmt":"2012-01-09T10:09:21","slug":"access-to-your-switch-or-router-through-serial-cable","status":"publish","type":"post","link":"https:\/\/elkano.org\/blog\/access-to-your-switch-or-router-through-serial-cable\/","title":{"rendered":"Access to your switch or router through serial cable"},"content":{"rendered":"<p>To access to your switch or router through a serial cable you can use tools like <a href=\"http:\/\/www.kermitproject.org\/\" target=\"_blank\">kermit<\/a> or <a href=\"http:\/\/freshmeat.net\/projects\/minicom\/\" target=\"_blank\">minicom<\/a>.<\/p>\n<p>To access with kermit in a debian machine you can simple install it with:<\/p>\n<pre class=\"brush: text; gutter: false; first-line: 1; highlight: []; html-script: false\"># apt-get install ckermit<\/pre>\n<p>To run kermit I use this config file in my home directory<\/p>\n<pre class=\"brush: text; gutter: false; first-line: 1; highlight: []; html-script: false\">$ cat .kermrc\r\nset carrier-watch off\r\nset handshake none\r\nset flow-control none\r\nset line \/dev\/ttyS0<\/pre>\n<p>Once you have connected the serial cable on ttyS0 you can run kermit command:<\/p>\n<pre class=\"brush: text; gutter: false; first-line: 1; highlight: []; html-script: false\">$ kermit\r\nC-Kermit 8.0.211, 10 Apr 2004, for Linux\r\n Copyright (C) 1985, 2004,\r\n  Trustees of Columbia University in the City of New York.\r\nType ? or HELP for help.\r\n(\/user\/) C-Kermit&gt;<\/pre>\n<p>Now, simple type connect kermit command to access to your router:<\/p>\n<pre class=\"brush: shell; gutter: false\">(\/user\/) C-Kermit&gt;connect\r\nConnecting to \/dev\/ttyS0, speed 9600\r\n Escape character: Ctrl-\\ (ASCII 28, FS): enabled\r\nType the escape character followed by C to get back,\r\nor followed by ? to see other options.\r\n----------------------------------------------------\r\n\r\nRouter&gt;<\/pre>\n<p>This is simple way to access to your router or switch and configure it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To access to your switch or router through a serial cable you can use tools like kermit or minicom. To access with kermit in a debian machine you can simple install it with: # apt-get install ckermit To run kermit I use this config file in my home directory $ cat .kermrc set carrier-watch off [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[22,23,26,24,25],"_links":{"self":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/163"}],"collection":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/comments?post=163"}],"version-history":[{"count":17,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":174,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/posts\/163\/revisions\/174"}],"wp:attachment":[{"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elkano.org\/blog\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}