{"id":499,"date":"2018-10-18T23:09:00","date_gmt":"2018-10-18T14:09:00","guid":{"rendered":"https:\/\/wp.zassoul.com\/?p=499"},"modified":"2018-10-18T23:09:00","modified_gmt":"2018-10-18T14:09:00","slug":"linux-os%e3%81%a7%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e3%82%b3%e3%83%b3%e3%82%bd%e3%83%bc%e3%83%ab%e6%8e%a5%e7%b6%9a","status":"publish","type":"post","link":"https:\/\/wp.zassoul.com\/?p=499","title":{"rendered":"Linux OS\u3067\u30b7\u30ea\u30a2\u30eb\u30b3\u30f3\u30bd\u30fc\u30eb\u63a5\u7d9a"},"content":{"rendered":"<p>Windows10\u306bWSL\u304c\u5b9f\u88c5\u3055\u308c, Ubuntu\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067bash\u3092\u3064\u304b\u3063\u305f\u30eb\u30fc\u30bf\u7b49\u306b\u30b7\u30ea\u30a2\u30eb\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u63a5\u7d9a\u3059\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u306e\u304b\u8abf\u3079\u305f\u3068\u3053\u308d, \u3059\u3054\u304f\u7c21\u5358\u3060\u3063\u305f\u3002<\/p>\n<p>Windows\u4e0a\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u30dd\u30fc\u30c8\u304c\u300cCom1\u300d\u3060\u3063\u305f\u5834\u5408,<\/p>\n<pre>$ sudo screen \/dev\/ttyS1<br \/><\/pre>\n<p>\u3067\u63a5\u7d9a\u3067\u304d\u308b\u3002Com\u30dd\u30fc\u30c8\u306e\u756a\u53f7\u3068ttySX\u306e\u300cX\u300d\u304c\u7d10\u3064\u3044\u3066\u3044\u308b\u3002<\/p>\n<pre>Ctrl-A -&gt; k<br \/><\/pre>\n<p>\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u7d42\u4e86\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u30679600\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3089\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u304f\u3066\u5927\u4e08\u592b\u306a\u306f\u305a\u3002<\/p>\n<p>\u306a\u304a, screen\u306f\u6a19\u6e96\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304c, MS\u306e\u30da\u30fc\u30b8\u3067\u306fcu \u30b3\u30de\u30f3\u30c9\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308b\u3002<br \/><a href=\"https:\/\/blogs.msdn.microsoft.com\/wsl\/2017\/04\/14\/serial-support-on-the-windows-subsystem-for-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">Serial Support on the Windows Subsystem for Linux<\/a><\/p>\n<p>cu \u30b3\u30de\u30f3\u30c9\u3067\u3084\u308b\u5834\u5408\u306f, \u30bf\u30fc\u30df\u30ca\u30eb\u8a2d\u5b9a\u306eFlow control\u3092\u7121\u52b9\u306b\u3057\u306a\u3044\u3068\u53cd\u5fdc\u304c\u8fd4\u3063\u3066\u3053\u306a\u3044\u3002<br \/>\/etc\/uucp\/port \u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<pre>port      ttyS2       # Port name<br \/>type      direct      # Direct connection to other system<br \/>device    \/dev\/ttyS2  # Port device node<br \/>hardflow  false       # No hardware flow control<br \/>speed     9600        # Line speed\u3064d<\/pre>\n<p>\/dev\/ttyS1 \u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304croot\/dialout \u3068\u306a\u3063\u3066\u3044\u308b\u3002\u30e6\u30fc\u30b6\u3092dialout\u30b0\u30eb\u30fc\u30d7\u306b\u53c2\u52a0\u3055\u305b\u308b\u5fc5\u8981\u304c\u308b\u3002<\/p>\n<pre>$ sudo gpasswd ubuntu dialout<\/pre>\n<p>\u4e0a\u8a18\u8a2d\u5b9a\u5f8c\u306b <\/p>\n<pre>$ cu -l \/dev\/ttyS1<\/pre>\n<p>\u3067\u63a5\u7d9a\u3067\u304d\u308b\u3002\u7d42\u4e86\u3059\u308b\u3068\u304d\u306f\u300c~.\u300d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows10\u306bWSL\u304c\u5b9f\u88c5\u3055\u308c, Ubuntu\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067bash\u3092\u3064\u304b\u3063\u305f\u30eb\u30fc\u30bf\u7b49\u306b\u30b7\u30ea\u30a2\u30eb\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u63a5\u7d9a\u3059\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u306e\u304b\u8abf\u3079\u305f\u3068\u3053\u308d, \u3059\u3054\u304f\u7c21\u5358\u3060\u3063\u305f\u3002 Windows\u4e0a\u3067\u30b3\u30f3\u30bd\u30fc\u2026 <span class=\"read-more\"><a href=\"https:\/\/wp.zassoul.com\/?p=499\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,6,13,8],"tags":[],"class_list":["post-499","post","type-post","status-publish","format-standard","hentry","category-cisco","category-it","category-linux","category-8"],"_links":{"self":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=499"}],"version-history":[{"count":0,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}