ser2net使用

在ubuntu下或者openwrt下安装了ser2net程序之后,可以将串口中的数据转发为以太网数据。

设置在/etc/ser2net.conf中最后:

3002:0:/dv/ttyUSB0:115200 8DATABITS 1STOPBIT banner

运行时执行ser2net就可以了(ubuntu下需要sudo!)

原文地址:https://www.cnblogs.com/tfanalysis/p/3641085.html