{"id":5137,"date":"2022-04-11T10:32:58","date_gmt":"2022-04-11T01:32:58","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=5137"},"modified":"2023-06-27T20:46:03","modified_gmt":"2023-06-27T11:46:03","slug":"ubuntu%e3%82%88%e3%82%8acisco%e3%81%ae%e3%83%ab%e3%83%bc%e3%82%bf%e3%81%ab%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e6%8e%a5%e7%b6%9a%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/5137","title":{"rendered":"Cisco\u306e\u30eb\u30fc\u30bf\u306bUbuntu\u3088\u308a\u30b3\u30f3\u30bd\u30fc\u30eb\u63a5\u7d9a\u3059\u308b\uff01"},"content":{"rendered":"<p>Ubuntu\u3088\u308aCisco\u306e\u30eb\u30fc\u30bf\u306b\u30b3\u30f3\u30bd\u30fc\u30eb\u63a5\u7d9a\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>\u4f7f\u7528\u74b0\u5883<\/h2>\n<ul>\n<li>Ubuntu 18.04 LTS Desktop<\/li>\n<li>Cisco\u4e92\u63db\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30b1\u30fc\u30d6\u30eb\uff08USB\u63a5\u7d9a\uff09<\/li>\n<li>Cisco 891F<\/li>\n<\/ul>\n<h2>Cisco\u306e\u30eb\u30fc\u30bf\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30b1\u30fc\u30d6\u30eb\u3092USB\u7d4c\u7531\u3067\u63a5\u7d9a\u3059\u308b\uff01<\/h2>\n<p>Cisco\u306e\u30eb\u30fc\u30bf\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30b1\u30fc\u30d6\u30eb\u3092USB\u7d4c\u7531\u3067\u63a5\u7d9a\u3057\u307e\u3059\u3002dmesg\u3067\u63a5\u7d9a\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ dmesg\r\n...\r\n&#x5B;129657.719853] usb 1-1.3: new full-speed USB device number 124 using xhci_hcd\r\n&#x5B;129657.951178] usb 1-1.3: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00\r\n&#x5B;129657.951182] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3\r\n&#x5B;129657.951185] usb 1-1.3: Product: FT232R USB UART\r\n&#x5B;129657.951187] usb 1-1.3: Manufacturer: FTDI\r\n&#x5B;129657.951188] usb 1-1.3: SerialNumber: A9853UKI\r\n&#x5B;129657.992429] usbcore: registered new interface driver usbserial_generic\r\n&#x5B;129657.992660] usbserial: USB Serial support registered for generic\r\n&#x5B;129657.994868] usbcore: registered new interface driver ftdi_sio\r\n&#x5B;129657.994875] usbserial: USB Serial support registered for FTDI USB Serial Device\r\n&#x5B;129657.994914] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected\r\n&#x5B;129657.994947] usb 1-1.3: Detected FT232RL\r\n&#x5B;129657.996166] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0\r\n<\/pre>\n<p>\u30c7\u30d0\u30a4\u30b9\u300cFT232RL\u300d\u3067\u8a8d\u8b58\u3055\u308c\u3001\u30c7\u30d0\u30a4\u30b9\u30d5\u30a1\u30a4\u30eb\u300cttyUSB0\u300d\u306b\u63a5\u7d9a\u3055\u308c\u305f\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2>cu\u30b3\u30de\u30f3\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>cu\u30b3\u30de\u30f3\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ sudo apt install cu\r\n<\/pre>\n<h2>cu\u30b3\u30de\u30f3\u30c9\u3067\u30b7\u30ea\u30a2\u30eb\u63a5\u7d9a\u3059\u308b\uff01<\/h2>\n<p>cu\u30b3\u30de\u30f3\u30c9\u3067\u63a5\u7d9a\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ sudo cu -l ttyUSB0 -s 9600\r\ncu: open (\/dev\/ttyUSB0): Permission denied\r\ncu: ttyUSB0: Line in use\r\n<\/pre>\n<p>\u6a29\u9650\u4e0d\u8db3\u306a\u306e\u3067\u3001chmod\u30b3\u30de\u30f3\u30c9\u3067\u6a29\u9650\u3092\u4ed8\u4e0e\u3057\u3066\u3001\u63a5\u7d9a\u3057\u76f4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ ls -l \/dev\/ttyUSB0\r\ncrw-rw---- 1 root dialout 188, 0 Nov  1 09:37 \/dev\/ttyUSB0\r\n$ ls -l \/dev\/ttyUSB0\r\ncrw-rw-rw- 1 root dialout 188, 0 Nov  1 09:37 \/dev\/ttyUSB0\r\n$ cu -l ttyUSB0 -s 9600\r\nConnected.\r\n<\/pre>\n<p>Enter\u30ad\u30fc\u3092\u62bc\u3059\u3068\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u30eb\u30fc\u30bf\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nRouter&gt;\r\n<\/pre>\n<h2>cu\u30b3\u30de\u30f3\u30c9\u306e\u63a5\u7d9a\u3092\u7d42\u4e86\u3059\u308b\uff01<\/h2>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nRouter&gt;~.\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Cisco\u306e\u30eb\u30fc\u30bf\u306b\u30b3\u30f3\u30bd\u30fc\u30eb\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001Windows\u3067TeraTerm\u3092\u4f7f\u7528\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u3068\u601d\u3044\u307e\u3059\u304c\u3001Ubuntu\u304b\u3089\u3067\u3082\u7c21\u5358\u306b\u63a5\u7d9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/6832\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Cisco\u306e\u30eb\u30fc\u30bf\u3068\u30b9\u30a4\u30c3\u30c1\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2022\/04\/fi_cisco_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Cisco\u306e\u30eb\u30fc\u30bf\u3068\u30b9\u30a4\u30c3\u30c1\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">Cisco\u306e\u30eb\u30fc\u30bf\u3068\u30b9\u30a4\u30c3\u30c1\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>Cisco\u30eb\u30fc\u30bf\u306e\u30b3\u30de\u30f3\u30c9\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><iframe sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=infotecr-22&language=ja_JP&o=9&p=8&l=as4&m=amazon&f=ifr&ref=as_ss_li_til&asins=B00FOJ0CVO&linkId=0f81bf7069e566ae3488f8764d617331\"><\/iframe><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu\u3088\u308aCisco\u306e\u30eb\u30fc\u30bf\u306b\u30b3\u30f3\u30bd\u30fc\u30eb\u63a5\u7d9a\u3057\u3066\u307f\u307e\u3059\u3002 \u4f7f\u7528\u74b0\u5883 Ubuntu 18.04 LTS Desktop Cisco\u4e92\u63db\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30b1\u30fc\u30d6\u30eb\uff08USB\u63a5\u7d9a\uff09 Cisco 891F Cisco\u306e\u30eb\u30fc\u30bf\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30b1\u30fc\u30d6\u30eb\u3092US\u2026<\/p>\n","protected":false},"author":1,"featured_media":5526,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[312,51,638],"class_list":["post-5137","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cisco","tag-cisco","tag-ubuntu","tag-638"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=5137"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5137\/revisions"}],"predecessor-version":[{"id":12634,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/5137\/revisions\/12634"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5526"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=5137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=5137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=5137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}