关于无线中继的
中继的tcapi结点:
- 2.4G: apcli_entry0
- 5G: apcli_entry1
判断Lan连接状态、重置Lan口 和 无线接口:
//判断以太网口状态 :Port1Status~Port3Status
//0是未连接、1是已连接
tcapi get Info_Ether Port1Status
//wan为port 1 ; lan为port 2~4 相当于拔插网线
ethphxcmd eth0 reset port 3
//无线接口 ra0~3
ifconfig ra0 0.0.0.0 down
ifconfig ra0 0.0.0.0 up
ifconfig相关设置
tftp上传文件操作 下载文件操作
首先PC端打开tftp32工具并指定服务器文件所在路径:
上传文件:
tftp -p -l filename 192.168.10.182
下载文件:
tftp -g -l filename 192.168.10.182