{"id":290737,"date":"2024-04-05T21:15:53","date_gmt":"2024-04-05T13:15:53","guid":{"rendered":"https:\/\/lrxjmw.cn\/lxnckgjdjmvr.html"},"modified":"2024-04-05T21:15:53","modified_gmt":"2024-04-05T13:15:53","slug":"lxnckgjdjmvr","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lxnckgjdjmvr.html","title":{"rendered":"Linux\u865a\u62df\u4e32\u53e3\u5de5\u5177\u5927\u63ed\u79d8\uff1aVSPT\u5982\u4f55\u98a0\u8986\u4f20\u7edf\u4e32\u53e3\u901a\u8baf\uff1f"},"content":{"rendered":"

\u4ec0\u4e48\u662fLinux<\/a>\u865a\u62df\u4e32\u53e3\u5de5\u5177<\/b><\/p>\n

\u4fe1\u606f\u5316\u6d6a\u6f6e\u6c79\u6d8c\u7684\u5f53\u4e0b\uff0cLinux\u5f00\u6e90\u64cd\u4f5c\u7cfb\u7edf<\/a>\u56e0\u5176\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8bf8\u591a\u9886\u57df\u800c\u6210\u4e3a\u7126\u70b9\u3002\u5176\u4e2d\uff0cVirtual Serial Port Tool\uff08VSPT\uff09\u4f5c\u4e3aLinux\u7684\u6838\u5fc3\u7ec4\u4ef6\uff0c\u5176\u91cd\u8981\u6027\u4e0d\u8a00\u81ea\u660e\u3002VSPT\u501f\u52a9\u8f6f\u786c\u4ef6\u6a21\u62df\u80fd\u529b\uff0c\u4f7f\u65e0\u7269\u7406\u7aef\u53e3\u73af\u5883\u4e0b\u7684\u4e32\u53e3\u901a\u8baf\u53d8\u4e3a\u53ef\u80fd\u3002\u5728Linux\u73af\u5883\u4e0b\uff0cVSPT\u53d1\u6325\u7740\u4e3e\u8db3\u8f7b\u91cd\u7684\u4f5c\u7528\uff0c\u8d4b\u4e88\u7528\u6237\u4fbf\u6377\u4e0e\u7075\u6d3b\u7684\u4f53\u9a8c\u3002<\/p>\n

Linux\u73af\u5883\u4e0b\uff0c\u865a\u62df\u4e32\u53e3\u5de5\u5177\u501f\u52a9\u8f6f\u4ef6\u6a21\u62df\u6280\u5de7\u670d\u52a1\u4e8e\u4e32\u53e3\u4f20\u5bfc\u6570\u636e\u7684\u5de5\u4f5c\uff0c\u5c06\u6570\u636e\u81ea\u5728\u4e24\u4e2a\u7aef\u53e3\u4e4b\u95f4\u6765\u56de\u7a7f\u68ad\uff0c\u540c\u65f6\uff0c\u5176\u5374\u80fd\u865a\u62df\u51fa\u8bf8\u591a\u4e32\u53e3\uff0c\u4f7f\u5f97\u591a\u8def\u590d\u7528\u53ca\u5e76\u884c\u901a\u4fe1\u64cd\u4f5c\u5f97\u4ee5\u5b9e\u73b0\u3002\u8fd9\u79cd\u6280\u672f\u624b\u6bb5\u4e0d\u4ec5\u4e3a\u7528\u6237\u5e26\u6765\u7b80\u4fbf\u7684\u4e32\u53e3\u4ea4\u4e92\u4f53\u9a8c\uff0c\u540c\u65f6\u4e5f\u8282\u7701\u4e86\u786c\u4ef6\u8d44\u6e90\u7684\u6d88\u8017\uff0c\u63d0\u5347\u4e86\u7cfb\u7edf\u7684\u5e94\u53d8\u80fd\u529b\u4e0e\u62d3\u5c55\u7a7a\u95f4\u3002<\/p>\n

\u5e38\u89c1\u7684Linux\u865a\u62df\u4e32\u53e3\u5de5\u5177<\/b><\/p>\n

\u5728Linux\u73af\u5883\u4e0b\uff0c\u539f\u751f\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u865a\u62df\u4e32\u53e3\u5de5\u5177\uff0c\u6bcf\u4e2a\u7ec8\u4ea7\u54c1\u90fd\u5177\u5907\u81ea\u8eab\u7279\u70b9\u53ca\u7279\u5b9a\u9700\u6c42\u60c5\u51b5\u4e0b\u7684\u5e94\u7528\u4f18\u52bf\uff0c\u6bd4\u5982\uff1a<\/p>\n

1. socat<\/b><\/p>\n

Socat\u4e0d\u4ec5\u5177\u5907\u652f\u6491\u865a\u62df\u4e32\u53e3\u7684\u529f\u80fd\uff0c\u66f4\u6db5\u76d6\u4e86\u8bf8\u591a\u7f51\u7edc\u534f\u8bae\u8303\u56f4\u5185\u7684\u5e94\u7528\u3002\u8be5\u8f6f\u4ef6\u80fd\u9ad8\u6548\u5b9e\u73b0\u8fde\u7ebf\u521b\u5efa\u3001\u6570\u636e\u76d1\u6d4b\u3001\u683c\u5f0f\u8f6c\u6362\u7b49\u64cd\u4f5c\u3002\u5c24\u5176\u5728Linux\u73af\u5883\u4e0b\uff0cSocat\u5bf9\u865a\u62df\u4e32\u53e3\u901a\u8baf\u65b9\u9762\u8868\u73b0\u51fa\u6781\u9ad8\u7684\u9002\u5e94\u6027\u4e0e\u7a33\u5b9a\u6027\uff0c\u6df1\u53d7\u4e1a\u754c\u8ba4\u53ef\u3002<\/p>\n

2. ser2net<\/b><\/p>\n

Ser2net\u4e43\u4e00\u6b3e\u5c06\u4f20\u7edf\u4e32\u884c\u7aef\u53e3\u8f6c\u53d8\u6210TCP\/IP\u7f51\u7edc\u5957\u63a5\u5b57\uff08Socket\uff09\u670d\u52a1\u7aef\u7684\u8f6f\u4ef6\u5de5\u5177\u3002\u501f\u52a9\u8fd9\u6b3e\u8f6f\u4ef6\uff0c\u7528\u6237\u5f97\u4ee5\u5c06\u5b9e\u4f53\u4e32\u53e3\u8f6c\u53d8\u4e3a\u865a\u62df\u7f51\u7edc\u63a5\u53e3\uff0c\u8fdb\u800c\u6784\u5efa\u8fdc\u8ddd\u79bb\u8bbf\u95ee\u3001\u8c03\u63a7\u53ca\u7ba1\u7406\u4f53\u7cfb\u3002\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4ee5\u53ca\u8fdc\u7a0b\u76d1\u63a7\u9886\u57df\u5f97\u5230\u4e86\u5e7f\u6cdb\u91c7\u7eb3\u3002<\/p>\n

3. com0com<\/b><\/p>\n

com0com\u4f5c\u4e3aWindows\u7cfb\u7edf\u4e0b\u7684\u865a\u62df\u4e32\u53e3\u9a71\u52a8\uff0c\u53ef\u521b\u5efa\u865a\u62dfCOM\u7aef\u53e3\u5e76\u652f\u6301\u6570\u636e\u4f20\u8f93\u529f\u80fd\u3002\u5b83\u4e3b\u8981\u670d\u52a1\u4e8eWindows\u7528\u6237\u7fa4\u4f53\uff0c\u540c\u65f6\u5728Linux\u7cfb\u7edf\u4e2d\u501f\u52a9\u6807\u793a\u4e3aWine\u7684\u7279\u6b8a\u5e94\u7528\u7a0b\u5e8f\uff0c\u6784\u5efa\u51fa\u7c7b\u4f3c\u4e8eWindows\u73af\u5883\u7684\u8fd0\u884c\u6a21\u5f0f\uff0c\u540c\u6837\u5f97\u4ee5\u5b9e\u73b0\u672c\u9a71\u52a8\u7a0b\u5e8f\u7684\u4f7f\u7528\u3002<\/p>\n

4. pty\/tty<\/b><\/p>\n

\u5728Linux\u7cfb\u7edf\u73af\u5883\u4e0b\uff0c\u6211\u4eec\u53ef\u5229\u7528pty\/tty\u865a\u62df\u8bbe\u5907\u6784\u5efa\u51fa\u865a\u5047\u7684\u4e32\u53e3\u8bbe\u5907\u3002PTY\uff08\u5047\u7ec8\u7aef\u8bbe\u5907\uff09\u548cTTY\uff08\u7535\u4f20\u6253\u5b57\u673a\u8bbe\u5907\uff09\u80fd\u591f\u5b9e\u73b0\u5728\u4e0d\u540c\u7a0b\u5e8f\u4e4b\u95f4\u7684\u901a\u4fe1\u53ca\u7c7b\u4f3c\u7269\u7406\u7ec8\u7aef\u8bbe\u5907\u7684\u4eff\u771f\u64cd\u4f5c\u3002<\/p>\n

\u9488\u5bf9\u51e0\u79cd\u5e38\u89c1Linux\u865a\u62df\u4e32\u53e3\u5de5\u5177\uff0c\u5b83\u4eec\u5404\u81ea\u5177\u5907\u72ec\u7279\u529f\u80fd\uff0c\u9002\u5408\u5728\u591a\u6837\u5316\u573a\u666f\u4e2d\u4f7f\u7528\u3002<\/p>\n

Linux\u865a\u62df\u4e32\u53e3\u5de5\u5177\u7684\u5e94\u7528\u573a\u666f<\/b><\/p>\n

\u968f\u7740\u5404\u884c\u4e1a\u7684\u53d1\u5c55\uff0cLinux\u865a\u62df\u4e32\u53e3\u5de5\u5177\u88ab\u5e7f\u6cdb\u91c7\u7528\u5e76\u5728\u5d4c\u5165\u5f0f\u7814\u53d1\u3001\u8fdc\u7a0b\u76d1\u6d4b\u548c\u81ea\u52a8\u5316\u6d4b\u8bd5\u7b49\u5173\u952e\u73af\u8282\u4e2d\u626e\u6f14\u4e86\u5173\u952e\u89d2\u8272\u3002<\/p>\n

1.\u5d4c\u5165\u5f0f\u5f00\u53d1<\/b><\/p>\n

\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u6784\u5efa\u8fc7\u7a0b\u4e2d\uff0c\u5e38\u5e38\u9700\u8981\u5904\u7406\u4e0e\u5916\u8bbe\u88c5\u7f6e\u95f4\u7684\u6570\u636e\u4ea4\u6362\u53ca\u901a\u8baf\u4e8b\u5b9c\u3002\u501f\u52a9\u865a\u62df\u4e32\u53e3\u8bbe\u5907\uff0c\u80fd\u6781\u5927\u5730\u7b80\u5316\u786c\u4ef6\u8fde\u7ebf\uff0c\u4fbf\u4e8e\u8c03\u8bd5\u53ca\u9a8c\u8bc1\u3002\u7814\u53d1\u4eba\u5458\u53ef\u5229\u7528\u4eff\u771f\u5668\u6216\u8c03\u8bd5\u5668\u5b9e\u73b0\u4e0e\u76ee\u6807\u8bbe\u5907\u7684\u5feb\u901f\u8fde\u901alinux \u865a\u62df\u4e32\u53e3\u5de5\u5177<\/strong>linux \u865a\u62df\u4e32\u53e3\u5de5\u5177<\/strong>\uff0c\u4ece\u800c\u6709\u6548\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002<\/p>\n

2.\u8fdc\u7a0b\u76d1\u63a7<\/b><\/p>\n

\u9488\u5bf9\u9700\u8fdc\u8ddd\u76d1\u6d4b\u6216\u64cd\u63a7\u8bbe\u5907\u60c5\u51b5\u7ea2\u65d7linux\u64cd\u4f5c\u7cfb\u7edf\uff0c\u91c7\u7528\u865a\u62df\u4e32\u53e3\u5de5\u5177\u53ef\u5b9e\u73b0\u8fdc\u7aef\u63a5\u5165\u53ca\u6570\u636e\u4f20\u9001\u529f\u80fd\u3002\u4e0d\u5fc5\u4eb2\u8d74\u73b0\u573a\u4fbf\u80fd\u5b9e\u65f6\u638c\u63a7\u8bbe\u5907\u72b6\u51b5\u3001\u6536\u96c6\u6570\u636e\u6216\u662f\u53d1\u5e03\u6307\u4ee4\u3002<\/p>\n

3.\u81ea\u52a8\u5316\u6d4b\u8bd5<\/b><\/p>\n

\u5728\u81ea\u52a8\u5316\u6d4b\u8bd5\u9886\u57df\u4e2d\uff0c\u6a21\u62df\u5916\u8bbe\u4e0e\u7cfb\u7edf\u7684\u4e92\u52a8\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u73af\u8282\u3002\u501f\u52a9\u4e8e\u865a\u62df\u4e32\u53e3\u5de5\u5177\uff0c\u53ef\u4fbf\u6377\u5730\u521b\u8bbe\u6d4b\u8bd5\u73af\u5883\uff0c\u7f16\u5199\u76f8\u5e94\u7684\u81ea\u52a8\u6d4b\u8bd5\u811a\u672c\u4ee5\u5b9e\u73b0\u9ad8\u6548\u8282\u6d41\u4e14\u7cbe\u786e\u65e0\u8bef\u7684\u6d4b\u8bd5\u8fc7\u7a0b\u3002<\/p>\n

4.\u6559\u5b66\u57f9\u8bad<\/b><\/p>\n

\u501f\u52a9\u6559\u5b66\u57f9\u8bad\u5e73\u53f0\uff0c\u5229\u7528\u865a\u62df\u4e32\u53e3\u5de5\u5177\u53ef\u52a9\u5b66\u751f\u6df1\u5165\u7406\u89e3\u5e76\u638c\u63e1\u4e32\u53e3\u901a\u4fe1\u6280\u672f\u4e0e\u5b9e\u9645\u5e94\u7528\u3002\u901a\u8fc7\u5b9e\u9a8c\u73af\u8282\u7684\u5b9e\u6218\u6f14\u7ec3\uff0c\u4f7f\u7406\u8bba\u77e5\u8bc6\u5f97\u4ee5\u66f4\u52a0\u624e\u5b9e\u7684\u638c\u63e1\u3002<\/p>\n

\u4ee5\u4e0b\u5217\u4e3e\u4e86Linux\u865a\u62df\u4e32\u53e3\u4e2d\u8f83\u4e3a\u5e38\u89c1\u7684\u51e0\u79cd\u5e94\u7528\u573a\u666f\uff0c\u5176\u5b9e\u8df5\u8fd0\u7528\u8fdc\u6bd4\u8fd9\u4e9b\u590d\u6742\u591a\u5143\u3002<\/p>\n

\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684Linux\u865a\u62df\u4e32\u53e3\u5de5\u5177<\/b><\/p>\n

\u5bf9\u4e8e\u7279\u5b9a\u7684\u5e94\u7528\u9700\u6c42\u53ca\u573a\u666f\u7279\u6027\uff0c\u5728\u9009\u53d6\u9002\u5b9c\u7684Linux\u865a\u62df\u4e32\u53e3\u5de5\u5177\u65f6\uff0c\u5fc5\u987b\u5ba1\u614e\u8003\u8651\u4ee5\u4e0b\u56e0\u7d20\uff1a<\/p>\n

1.\u529f\u80fd\u9700\u6c42<\/b><\/p>\n

\u8bf7\u5148\u660e\u786e\u6240\u6c42\u529f\u80fd\uff0c\u4ec5\u987b\u57fa\u7840\u7684\u6570\u636e\u4ea4\u6362\u4ea6\u6216\u662f\u66f4\u52a0\u590d\u6742\u7684\u4ea4\u4e92\u64cd\u4f5c\uff1f\u636e\u6b64\u4ee5\u786e\u5b9a\u9002\u5408\u4e4b\u865a\u62df\u4e32\u53e3\u8f6f\u4ef6\u3002<\/p>\n

2.\u517c\u5bb9\u6027<\/b><\/p>\n

\u8bc4\u4f30\u9009\u5b9aLinux\u4e32\u53e3\u6a21\u62df\u5668\u5728\u76ee\u6807\u8bbe\u5907\u53ca\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u9002\u7528\u6027\uff0c\u5224\u65ad\u5176\u80fd\u5426\u6d41\u7545\u63a5\u5165\u73b0\u6709\u7cfb\u7edf\u73af\u5883\u3002<\/p>\n

3.\u7a33\u5b9a\u6027\u4e0e\u53ef\u9760\u6027<\/b><\/p>\n

\u865a\u62df\u4e32\u53e3\u5de5\u5177\u4e0b\u8f7d_\u865a\u62df\u4e32\u53e3\u5de5\u5177\u4f7f\u7528_linux \u865a\u62df\u4e32\u53e3\u5de5\u5177<\/p>\n

\u5728\u8003\u8651Linux\u865a\u62df\u7684\u9009\u62e9\u6807\u51c6\u65f6\uff0c\u7a33\u5b9a\u6027\u548c\u53ef\u9760\u6027\u81f3\u5173\u91cd\u8981\u3002\u9700\u6ce8\u610f\u4fdd\u8bc1\u6240\u9009\u4ea7\u54c1\u80fd\u957f\u671f\u7a33\u5b9a\u8fd0\u884c\u4e14\u65e0\u5f02\u5e38\u6216\u5d29\u6e83\u3002<\/p>\n

4.\u793e\u533a\u652f\u6301\u4e0e\u66f4\u65b0\u9891\u7387<\/b><\/p>\n

\u63a8\u8350\u9009\u7528\u5177\u6709\u6d3b\u8dc3\u7528\u6237\u793e\u533a\u4ee5\u53ca\u9891\u7e41\u66f4\u65b0\u7684Linux\u865a\u62df\u4e3b\u673a\uff0c\u4ee5\u83b7\u5f97\u66f4\u597d\u7684\u6280\u672f\u652f\u6301\u548c\u7cfb\u7edf\u7ef4\u62a4\u3002<\/p>\n

5.\u6613\u7528\u6027\u4e0e\u6587\u6863\u8d44\u6599<\/b><\/p>\n

\u5728\u9009\u62e9Linux\u865a\u62df\u673a\u65f6linux\u8bba\u575b\uff0c\u52a1\u5fc5\u8003\u8651\u793e\u533a\u6d3b\u8dc3\u7a0b\u5ea6\u4ee5\u53ca\u9891\u7e41\u66f4\u65b0\u7684\u53ef\u80fd\u6027\u3002\u540c\u65f6\uff0c\u8fd8\u9700\u8003\u5bdf\u5176\u552e\u540e\u670d\u52a1\u7684\u5b8c\u5907\u6027\u53ca\u6587\u6863\u8d44\u6599\u7684\u8be6\u7ec6\u660e\u6670\u5ea6\uff0c\u4ee5\u4fbf\u7528\u6237\u80fd\u591f\u8fc5\u901f\u638c\u63e1\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n

\u603b\u4f53\u800c\u8a00\uff0c\u6311\u9009\u9002\u7528\u7684Linux\u865a\u62df\u673a\u65f6\u9700\u4f18\u5148\u8003\u8651\u5176\u5bf9\u6700\u65b0\u6280\u672f\u7684\u517c\u5bb9\u6027\u548c\u9891\u7e41\u66f4\u65b0\u7684\u7279\u6027\u3002\u6b64\u5916\uff0c\u670d\u52a1\u652f\u6301\u548c\u8be6\u7ec6\u660e\u786e\u7684\u7528\u6237\u6587\u6863\u4ea6\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u53c2\u8003\u56e0\u7d20\uff0c\u80fd\u4e3a\u7528\u6237\u8fc5\u901f\u638c\u63e1\u7cfb\u7edf\u4f7f\u7528\u65b9\u6cd5\u63d0\u4f9b\u6709\u529b\u4fdd\u969c\u3002<\/p>\n

\u7ed3\u8bed<\/b><\/p>\n

\u672c\u7bc7\u65e8\u5728\u5256\u6790Linux\u6240\u9009\u865a\u62df\u673a\u7684\u9002\u7528\u6027\uff0c\u4ee5\u53ca\u5176\u662f\u5426\u5177\u5907\u5b8c\u5584\u7684\u6280\u672f\u652f\u6301\u548c\u6e05\u6670\u6613\u61c2\u7684\u7528\u6237\u6587\u6863\uff0c\u6709\u52a9\u4e8e\u7528\u6237\u8fc5\u901f\u638c\u63e1\u6280\u5de7\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4ec0\u4e48\u662fLinux\u865a\u62df\u4e32\u53e3\u5de5\u5177\u5e38\u89c1\u7684Linux\u865a\u62df\u4e32\u53e3\u5de5\u5177Linux\u865a\u62df\u4e32\u53e3\u5de5\u5177\u7684\u5e94\u7528\u573a\u666f\u501f\u52a9\u6559\u5b66\u57f9\u8bad\u5e73\u53f0\uff0c\u5229\u7528\u865a\u62df\u4e32\u53e3\u5de5\u5177\u53ef\u52a9\u5b66\u751f\u6df1\u5165\u7406\u89e3\u5e76\u638c\u63e1\u4e32\u53e3\u901a\u4fe1\u6280\u672f\u4e0e\u5b9e\u9645\u5e94\u7528\u3002\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684Linux\u865a\u62df\u4e32\u53e3\u5de5\u5177\u636e\u6b64\u4ee5\u786e\u5b9a\u9002\u5408\u4e4b\u865a\u62df\u4e32\u53e3\u8f6f\u4ef6\u3002<\/p>\n","protected":false},"author":1,"featured_media":290738,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-290737","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/290737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=290737"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/290737\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/290738"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=290737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=290737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=290737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}