{"id":966,"date":"2015-08-17T00:40:14","date_gmt":"2015-08-16T15:40:14","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=966"},"modified":"2015-08-17T00:40:14","modified_gmt":"2015-08-16T15:40:14","slug":"post-966","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2015\/08\/17\/post-966.html","title":{"rendered":"osx \u306e\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u306e\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u30fc\u3042\u308c\u3053\u308c"},"content":{"rendered":"
\u30b7\u30ea\u30a2\u30eb\u3092telnet \u7d4c\u7531\u3057\u3066\u3064\u306a\u3052\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001ArduinoIDE \u304b\u3089\u30b7\u30ea\u30a2\u30eb\u3092WiFi \u3067\u66f8\u304d\u8fbc\u3081\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u3088\u3046\u3068\u3042\u308c\u3053\u308c\u3084\u308b\u3053\u3068\u30011\u65e5\u5f31\u3002\u7d50\u5c40\u3001osx \u3067\u306f\u826f\u3044\u30c4\u30fc\u30eb\u304c\u898b\u3064\u304b\u3089\u305a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 <\/p>\n
\u4f55\u304c\u3067\u304d\u306a\u304b\u3063\u305f\u304b\u3068\u8a00\u3046\u3068\u3001\u4eee\u60f3\u30b7\u30ea\u30a2\u30eb\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3001\u305d\u308c\u3092ArduinoIDE \u304b\u3089\u8a8d\u8b58\u3067\u304d\u305a\u3067\u3001\u4f55\u304b\u3084\u308a\u65b9\u304c\u3042\u308b\u3093\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u3002socat \u306e\u4f7f\u3044\u65b9\u304c\u60aa\u3044\u3093\u3060\u3068\u601d\u3046\u306e\u3067\u3001\u7d99\u7d9a\u3057\u3066\u8abf\u67fb\u3002Windows \u3060\u3068\u3053\u306e\u3042\u305f\u308a\u306e\u30c4\u30fc\u30eb\u306f\u305f\u304f\u3055\u3093\u3042\u3063\u3066\u3001\u82e6\u52b4\u3057\u306a\u3044\u611f\u3058\u306a\u306e\u3067\u3001\u6b21\u56de\u306f\u3001Windows \u3067\u3084\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3002 <\/p>\n
\u3067\u3001\u3044\u308d\u3044\u308dsocat \u306e\u4f7f\u3044\u65b9\u3092\u8a66\u3057\u3066\u3044\u308b\u3046\u3061\u306b\u3001\u6628\u65e5\u306e\u7591\u554f\u304c\u89e3\u3051\u307e\u3057\u305f\u3002<\/p>\n
\u30fbESP12 \u306e\u63a5\u7d9aIP\u306b\u3064\u306a\u3052\u3066\u3001echo \u304c\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3046\u554f\u984c
\u30fbCTL + C \u306a\u3069 \u63a5\u7d9a\u3057\u305f\u5148\u3067\u3084\u308a\u305f\u3044\u3093\u3060\u3051\u3069\u3001socat \u306e\u63a5\u7d9a\u5143\uff08osx \u5074\uff09\u3067 CTL + C \u306b\u306a\u308b\u554f\u984c <\/p>\n
\u3053\u308c\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308c\u3070\u826f\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n
\n$ socat STDIN,raw,echo=0 TCP:192.168.1.36:23 <\/p>\n<\/blockquote>\n
raw \u3092\u3064\u3051\u3066\u304a\u3051\u3070\u3001\u305d\u306e\u307e\u307e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u4fe1\u53f7\u3082\u9001\u3089\u308c\u308b\u3051\u3069\u3082\u3001\u624b\u5143\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u306f\u4e2d\u65ad\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u9589\u3058\u3066\u3057\u307e\u3046\u611f\u3058\u3002tcpdump \u3068\u304b\u3001WiFi \u7d4c\u7531\u306e\u30b7\u30ea\u30a2\u30eb\u304b\u3089\u5165\u3063\u3066\u63a1\u53d6\u3057\u3066\u308b\u3068\u304d\u3068\u304b\u3001CTL + C \u3067\u304d\u308b\u3057\u3001\u4e0a\u77e2\u5370\u306e\u30b3\u30de\u30f3\u30c9\u5c65\u6b74\u3082\u3001tab \u88dc\u5b8c\u30ad\u30fc\u3082\u52b9\u304d\u307e\u3059\u3002\u7406\u5c48\u304c\u308f\u304b\u3063\u3066\u3057\u307e\u3048\u3070\u3001\u3042\u3001\u305d\u3046\u304b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u304c\u3002\u3002\u3002\u3002<\/p>\n
<\/p>\n
\u8abf\u3079\u3066\u3044\u308b\u3068\u304d\u306b\u3001\u3088\u304f\u307e\u3068\u307e\u3063\u305fBlog\u8a18\u4e8b\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n
\n