Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新架构适配 #3

Open
alongLFB opened this issue Nov 16, 2023 · 6 comments
Open

新架构适配 #3

alongLFB opened this issue Nov 16, 2023 · 6 comments

Comments

@alongLFB
Copy link

root@OpenWrt:/tmp# pwd
/tmp
root@OpenWrt:/tmp# pkg_name=uuplugin_latest-1_$(grep '^DISTRIB_ARCH' /etc/openwrt_release | awk -F "'" '{print $2}').ipk
root@OpenWrt:/tmp# wget "https://github.com/ttc0419/uuplugin/releases/download/latest/$pkg_name" && opkg install $pkg_na
me || echo "You router is not supported!"
Downloading 'https://github.com/ttc0419/uuplugin/releases/download/latest/uuplugin_latest-1_aarch64_generic.ipk'
Connecting to 20.233.83.145:443
HTTP error 404
You router is not supported!
root@OpenWrt:/tmp# cd ~
root@OpenWrt:# mkdir net_uu
root@OpenWrt:
# cd net_uu/
root@OpenWrt:/net_uu# wget http://uu.gdl.netease.com/uuplugin-script/202012111056/install.sh -O install.sh
Downloading 'http://uu.gdl.netease.com/uuplugin-script/202012111056/install.sh'
Connecting to 104.73.172.57:80
Writing to 'install.sh'
install.sh 100% |*******************************| 10145 0:00:00 ETA
Download completed (10145 bytes)
root@OpenWrt:
/net_uu# uname -m
aarch64
root@OpenWrt:~/net_uu# uname -a
Linux OpenWrt 5.15.134 #0 SMP PREEMPT Mon Oct 9 21:45:35 2023 aarch64 GNU/Linux

作者你好 我的软路由 设备 是 FriendlyARM NanoPi R2S 请问这个软路由 能支持适配吗?

@alongLFB
Copy link
Author

root@OpenWrt:~# cd /tmp
root@OpenWrt:/tmp# pkg_name=uuplugin_latest-1_$(grep '^DISTRIB_ARCH' /etc/openwrt_release
| awk -F "'" '{print $2}').ipk
root@OpenWrt:/tmp#
root@OpenWrt:/tmp# wget "https://github.com/ttc0419/uuplugin/releases/download/latest/$pkg
_name" && opkg install $pkg_name || echo "You router is not supported!"
Downloading 'https://github.com/ttc0419/uuplugin/releases/download/latest/uuplugin_latest-1_mipsel_24kc.ipk'
Connecting to 20.233.83.145:443
Redirected to /github-production-release-asset-2e65be/607768372/49c1c6b9-e904-490c-9d47-33d95ab99bc6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231116%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231116T203257Z&X-Amz-Expires=300&X-Amz-Signature=5686e64bdf875863db0aa56b4bb3c8ec144160356cf50f6c860b731961d31e26&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=607768372&response-content-disposition=attachment%3B%20filename%3Duuplugin_latest-1_mipsel_24kc.ipk&response-content-type=application%2Foctet-stream on objects.githubusercontent.com
Writing to '49c1c6b9-e904-490c-9d47-33d95ab99bc6?X-Amz-Algorithm=AWS4-HMAC-SHA256'
49c1c6b9-e904-490c-9 100% |*******************************| 1610k 0:00:00 ETA
Download completed (1649062 bytes)
Collected errors:

  • wfopen: uuplugin_latest-1_mipsel_24kc.ipk: No such file or directory.
  • pkg_init_from_file: Failed to extract control file from uuplugin_latest-1_mipsel_24kc.ipk.
    You router is not supported!
    root@OpenWrt:/tmp# uname -a
    Linux OpenWrt 5.10.138 #0 SMP Sat Sep 3 02:55:34 2022 mips GNU/Linux
    root@OpenWrt:/tmp# uname -m
    mips

这个 D-Link DIR-853 A3 的路由器 也不支持安装

@ttc0419
Copy link
Owner

ttc0419 commented Jan 31, 2024

root@OpenWrt:~# cd /tmp root@OpenWrt:/tmp# pkg_name=uuplugin_latest-1_$(grep '^DISTRIB_ARCH' /etc/openwrt_release | awk -F "'" '{print $2}').ipk root@OpenWrt:/tmp# root@OpenWrt:/tmp# wget "https://github.com/ttc0419/uuplugin/releases/download/latest/$pkg _name" && opkg install $pkg_name || echo "You router is not supported!" Downloading 'https://github.com/ttc0419/uuplugin/releases/download/latest/uuplugin_latest-1_mipsel_24kc.ipk' Connecting to 20.233.83.145:443 Redirected to /github-production-release-asset-2e65be/607768372/49c1c6b9-e904-490c-9d47-33d95ab99bc6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231116%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231116T203257Z&X-Amz-Expires=300&X-Amz-Signature=5686e64bdf875863db0aa56b4bb3c8ec144160356cf50f6c860b731961d31e26&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=607768372&response-content-disposition=attachment%3B%20filename%3Duuplugin_latest-1_mipsel_24kc.ipk&response-content-type=application%2Foctet-stream on objects.githubusercontent.com Writing to '49c1c6b9-e904-490c-9d47-33d95ab99bc6?X-Amz-Algorithm=AWS4-HMAC-SHA256' 49c1c6b9-e904-490c-9 100% |*******************************| 1610k 0:00:00 ETA Download completed (1649062 bytes) Collected errors:

  • wfopen: uuplugin_latest-1_mipsel_24kc.ipk: No such file or directory.
  • pkg_init_from_file: Failed to extract control file from uuplugin_latest-1_mipsel_24kc.ipk.
    You router is not supported!
    root@OpenWrt:/tmp# uname -a
    Linux OpenWrt 5.10.138 #0 SMP Sat Sep 3 02:55:34 2022 mips GNU/Linux
    root@OpenWrt:/tmp# uname -m
    mips

这个 D-Link DIR-853 A3 的路由器 也不支持安装

你的问题是No such file or directory,看看文件是不是在当前目录。

@ttc0419
Copy link
Owner

ttc0419 commented Jan 31, 2024

root@OpenWrt:/tmp# pwd /tmp root@OpenWrt:/tmp# pkg_name=uuplugin_latest-1_$(grep '^DISTRIB_ARCH' /etc/openwrt_release | awk -F "'" '{print $2}').ipk root@OpenWrt:/tmp# wget "https://github.com/ttc0419/uuplugin/releases/download/latest/$pkg_name" && opkg install $pkg_na me || echo "You router is not supported!" Downloading 'https://github.com/ttc0419/uuplugin/releases/download/latest/uuplugin_latest-1_aarch64_generic.ipk' Connecting to 20.233.83.145:443 HTTP error 404 You router is not supported! root@OpenWrt:/tmp# cd ~ root@OpenWrt:# mkdir net_uu root@OpenWrt:# cd net_uu/ root@OpenWrt:/net_uu# wget http://uu.gdl.netease.com/uuplugin-script/202012111056/install.sh -O install.sh Downloading 'http://uu.gdl.netease.com/uuplugin-script/202012111056/install.sh' Connecting to 104.73.172.57:80 Writing to 'install.sh' install.sh 100% |*******************************| 10145 0:00:00 ETA Download completed (10145 bytes) root@OpenWrt:/net_uu# uname -m aarch64 root@OpenWrt:~/net_uu# uname -a Linux OpenWrt 5.15.134 #0 SMP PREEMPT Mon Oct 9 21:45:35 2023 aarch64 GNU/Linux

作者你好 我的软路由 设备 是 FriendlyARM NanoPi R2S 请问这个软路由 能支持适配吗?

你可以把a53的ipk解压缩,把uuplugin二进制直接上传到openwrt运行,如果运行没有报错截图上传到此issue。

@solitary-sails
Copy link

solitary-sails commented Jun 26, 2024

root@OpenWrt:/tmp# pwd /tmp root@OpenWrt:/tmp# pkg_name=uuplugin_latest-1_$(grep '^DISTRIB_ARCH' /etc/openwrt_release | awk -F "'" '{print $2}').ipk root@OpenWrt:/tmp# wget "latest $pkg_name (download)" && opkg install $pkg_na me || echo "You router is not supported!" Downloading 'latest uuplugin_latest-1_aarch64_generic.ipk (download)' Connecting to 20.233.83.145:443 HTTP error 404 You router is not supported! root@OpenWrt:/tmp# cd ~ root@OpenWrt:# mkdir net_uu root@OpenWrt:# cd net_uu/ root@OpenWrt:/net_uu# wget http://uu.gdl.netease.com/uuplugin-script/202012111056/install.sh -O install.sh Downloading 'http://uu.gdl.netease.com/uuplugin-script/202012111056/install.sh' Connecting to 104.73.172.57:80 Writing to 'install.sh' install.sh 100% |*******************************| 10145 0:00:00 ETA Download completed (10145 bytes) root@OpenWrt:/net_uu# uname -m aarch64 root@OpenWrt:~/net_uu# uname -a Linux OpenWrt 5.15.134 #0 SMP PREEMPT Mon Oct 9 21:45:35 2023 aarch64 GNU/Linux
作者你好 我的软路由 设备 是 FriendlyARM NanoPi R2S 请问这个软路由 能支持适配吗?

你可以把a53的ipk解压缩,把uuplugin二进制直接上传到openwrt运行,如果运行没有报错截图上传到此issue。

我用的也是R2S,immortalWrt的固件。openwrt_release里写的DISTRIB_ARCH值是aarch64_generic。clone下来手动加了一下然后打包出来,可以正常加速没问题。所以在这设备上用应该是没问题的,就是不同固件写的值不一样还得改怪麻烦的。

@oyuyuyuan
Copy link

oyuyuyuan commented Sep 3, 2024

root@OpenWrt:~# cd /tmp
root@OpenWrt:/tmp# pkg_name=uuplugin_latest-1_$(grep '^DISTRIB_ARCH' /etc/openwr
t_release | awk -F "'" '{print $2}').ipk
root@OpenWrt:/tmp# wget "https://github.com/ttc0419/uuplugin/releases/download/l
atest/$pkg_name" && opkg install $pkg_name || echo "You router is not supported!
"
Downloading 'https://github.com/ttc0419/uuplugin/releases/download/latest/uuplugin_latest-1_aarch64_cortex-a53.ipk'
Connecting to 198.18.0.25:443
HTTP error 404
You router is not supported!
root@OpenWrt:/tmp#
是Openwrt beta太高的原因吗?core用的是linux-arm64(armv8)

@oyuyuyuan
Copy link

root@OpenWrt:~# cd /tmp root@OpenWrt:/tmp# pkg_name=uuplugin_latest-1_$(grep '^DISTRIB_ARCH' /etc/openwr t_release | awk -F "'" '{print $2}').ipk root@OpenWrt:/tmp# wget "https://github.com/ttc0419/uuplugin/releases/download/l atest/$pkg_name" && opkg install $pkg_name || echo "You router is not supported! " Downloading 'https://github.com/ttc0419/uuplugin/releases/download/latest/uuplugin_latest-1_aarch64_cortex-a53.ipk' Connecting to 198.18.0.25:443 HTTP error 404 You router is not supported! root@OpenWrt:/tmp# 是Openwrt beta太高的原因吗?core用的是linux-arm64(armv8)

哦,但好像UU加速器自带了openwrt的指令,直接用terminal书写进去就可以了~!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants