找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1302|回复: 11

安装socat后,重启就没有了咋办?

[复制链接]
发表于 2022-5-10 15:36 | 显示全部楼层 |阅读模式
打开配置环境,然后在从webshell输入以下命令
opkg update
opkg install socat
路由重启后在从webshell输入sacat -h显示找不到,该咋办?

我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-5-10 15:42 | 显示全部楼层
命令是更新和安装,没有错的话,那就是网络没有连接上  没有下载更新文件  

点评

可是输完命令,在从webshell输入socat -h可以显示一大串的信息。重启之后就在输入socat -h就不见了  详情 回复 发表于 2022-5-10 15:47
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-10 15:47 | 显示全部楼层
oxxo119 发表于 2022-5-10 15:42
命令是更新和安装,没有错的话,那就是网络没有连接上  没有下载更新文件

可是输完命令,在从webshell输入socat -h可以显示一大串的信息。重启之后就在输入socat -h就不见了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
发表于 2022-5-10 15:53 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-10 16:02 | 显示全部楼层
我是放到自定义脚本里面,每次重启自动安装和配置。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-10 16:16 | 显示全部楼层
本帖最后由 ITdesk 于 2022-5-10 16:18 编辑

opkg list | grep "socat"

还有路由重启后在从webshell输入sacat -h显示找不到,该咋办?

sacat -h明显打错了,socat

点评

不好意思打错了,现在应该怎么处理啊大佬?  详情 回复 发表于 2022-5-10 16:28
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-10 16:28 | 显示全部楼层
ITdesk 发表于 2022-5-10 16:16
opkg list | grep "socat"

还有路由重启后在从webshell输入sacat -h显示找不到,该咋办?

不好意思打错了,现在应该怎么处理啊大佬?

点评

命令给你了,检查一下有没有安装,看看安装好了没有  详情 回复 发表于 2022-5-10 16:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-10 16:30 | 显示全部楼层
hancc91 发表于 2022-5-10 16:28
不好意思打错了,现在应该怎么处理啊大佬?

命令给你了,检查一下有没有安装,看看安装好了没有

点评

socat - 1.7.4.1-1 - SoCat (for SOcket CAT) establishes two bidirectional byte streams and transfers data between them. Data channels may be files, pipes, devices (terminal or modem, etc.), or sockets  详情 回复 发表于 2022-5-10 16:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-10 16:38 | 显示全部楼层
ITdesk 发表于 2022-5-10 16:30
命令给你了,检查一下有没有安装,看看安装好了没有

socat - 1.7.4.1-1 - SoCat (for SOcket CAT) establishes two bidirectional byte streams and transfers data between them. Data channels may be files, pipes, devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking, logging and tracing, different modes for interprocess communication and many more options.

点评

看起来安装有了,没有反应不排除你命令有误(但理论上会有报错)。我这边不能重启没办法给你测试  详情 回复 发表于 2022-5-10 17:01
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-10 17:01 | 显示全部楼层
hancc91 发表于 2022-5-10 16:38
socat - 1.7.4.1-1 - SoCat (for SOcket CAT) establishes two bidirectional byte streams and transfer ...

看起来安装有了,没有反应不排除你命令有误(但理论上会有报错)。我这边不能重启没办法给你测试

点评

我重启后输入这个。显示是这个socat - 1.7.3.4-2 - SoCat (for SOcket CAT) establishes two bidirectional byte streams and transfers data between them. Data channels may be files, pipes, devices (terminal  详情 回复 发表于 2022-5-10 17:03
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-5-10 17:03 | 显示全部楼层
ITdesk 发表于 2022-5-10 17:01
看起来安装有了,没有反应不排除你命令有误(但理论上会有报错)。我这边不能重启没办法给你测试

我重启后输入这个。显示是这个socat - 1.7.3.4-2 - SoCat (for SOcket CAT) establishes two bidirectional byte streams and transfers data between them. Data channels may be files, pipes, devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking, logging and tracing, different modes for interprocess communication and many more options.

但是输入socat -h仍然显示/bin/sh: socat: not found
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-5-10 22:41 来自手机 | 显示全部楼层
hiboy固件默认是安装在运存中,
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 17:44

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表