OP安装easytether

下载easytether软件包

http://www.mobile-stream.com/easytether/drivers.html

下载WinSCP软件

https://winscp.net/eng/download.php

找到对应平台ipk,使用WinSCP导入到路由

easytether-usb-openssl_0.8.9-4_openwrt-18.06.2/18.06.2/ar71xx/generic/easytether-usb-openssl_0.8.9-4_mips_24kc.ipk

安装easytether软件包

opkg install easytether-usb-openssl_0.8.9-4_mips_24kc.ipk

修改network,增加easytether接口

config interface 'wan'
	option ifname 'tap-easytether'
	option proto 'dhcp'

重启路由

reboot 

手机端安装easytether app软件

查看路由后台,出现如下接口,表示连接成功

 

备注:

        手机数据线接入到路由,然后手机需要进入开发者模式,然后开启usb debug模式

x-wrt固件(直接用usb)https://downloads.x-wrt.com/rom/
未编译(历史版本):https://github.com/x-wrt/build-release/releases
padavan(无插件,简洁):https://opt.cn2qq.com/padavan/ 

shell文件可以用自带的powershell进行替代,
ssh root@192.168.1.1
root是后台账号,密码同理
winscp 选择scp模式,然后连接路由器,进行文件上传

pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.143-1-26d38eee0e83bfac7d8e7964f611a97f) for kmod-tun

主机名    X-WRT
型号    Xiaomi MiWiFi Mini
架构    MediaTek MT7620A ver:2 eco:6
固件版本    X-WRT 9.0_b202108291236 Hirsute / LuCI Master git-21.240.66257-69d0f7a
内核版本    5.4.142

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.143-1-26d38eee0e83bfac7d8e7964f611a97f) for kmod-tun

/tmp# opkg depends -A kmod-tun

以上报错是内核版本不一致注意调整。


op安装软件命令:opkg install /tmp/e.ipk
更新命令: opkg update 
opkg list

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值