{"id":9217,"date":"2022-08-02T19:23:03","date_gmt":"2022-08-03T00:23:03","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=9217"},"modified":"2022-08-02T19:51:26","modified_gmt":"2022-08-03T00:51:26","slug":"using-screen-to-access-console-port","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=9217","title":{"rendered":"Using Screen to Access Console Port"},"content":{"rendered":"<p>We needed to console into some Cisco access points &#8212; RJ45 to USB to plug into the device console port and the laptop&#8217;s USB port? Check! OK &#8230; now what? Turns out you can use the <em>screen<\/em> command as a terminal emulator. The basic syntax is <em>screen &lt;port&gt; &lt;baud rate&gt;<\/em> &#8212; since the documentation said to use 9600 baud and the access point showed up on \/dev\/ttyUSB0, this means running:<\/p>\n<p>&nbsp;<\/p>\n<pre><code>screen \/dev\/ttyUSB0 9600<\/code><\/pre>\n<p>More completely, screen &lt;port&gt; &lt;baud rate&gt;,&lt;7 or 8 bits per byte&gt;,&lt;enable or disable sending flow control&gt;,&lt;enable or disable rcving flow control&gt;,&lt;keep or clear the eight bit in each byte&gt;<\/p>\n<pre><code>screen \/dev\/ttyUSB0 9600,cs8,ixon,ixoff,istrip<\/code> \r\n- or - \r\n<code>screen \/dev\/ttyUSB0 9600,cs7,-ixon,-ixoff,-istrip<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>We needed to console into some Cisco access points &#8212; RJ45 to USB to plug into the device console port and the laptop&#8217;s USB port? Check! OK &#8230; now what? Turns out you can use the screen command as a terminal emulator. The basic syntax is screen &lt;port&gt; &lt;baud rate&gt; &#8212; since the documentation said &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[47,294,1195,870],"class_list":["post-9217","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-fedora","tag-linux","tag-redhat","tag-screen"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9217"}],"version-history":[{"count":3,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9217\/revisions"}],"predecessor-version":[{"id":9220,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9217\/revisions\/9220"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}