-
-
Save amanjuman/cd1d80444d6b9c8a464bf96e2f3ca1b4 to your computer and use it in GitHub Desktop.
### The original Author of this package had enabled CloudFlare JS verification. As a result, this automated script will not work. | |
### Therefore you have to download each package and install it manually. | |
## Change Directory | |
cd /tmp/ | |
## Update opkg | |
opkg update | |
## If wget not installed already | |
opkg install wget ca-certificates ca-bundle | |
## Download and Add Repo Key | |
wget -O kuoruan-public.key https://openwrt.kuoruan.net/packages/public.key | |
opkg-key add kuoruan-public.key | |
## Add Repo to Source List | |
echo "src/gz kuoruan_packages https://openwrt.kuoruan.net/packages/releases/$(. /etc/openwrt_release ; echo $DISTRIB_ARCH)" >> /etc/opkg/customfeeds.conf | |
echo "src/gz kuoruan_universal https://openwrt.kuoruan.net/packages/releases/all" >> /etc/opkg/customfeeds.conf | |
## Update opkg | |
opkg update | |
## Remove DNSMasq | |
opkg remove dnsmasq | |
## Install V2Ray Mini Version | |
opkg install luci-app-v2ray v2ray-core-mini | |
## Download Luci App V2Ray | |
wget -O luci-app-v2ray_1.5.6_all.ipk https://github.com/kuoruan/luci-app-v2ray/releases/download/v1.5.6-1/luci-app-v2ray_1.5.6_all.ipk | |
## Install Luci App V2Ray Manually | |
opkg install luci-app-v2ray_*.ipk |
try this link:
https://uzbox.com/en/technology/v2ray-for-openwrt.html
Pls help with this:
root@OpenWrt:~# opkg update
Downloading http://openwrt.kuoruan.net/packages/releases/mipsel_24kc/Packages.gz
Updated list of available packages in /var/opkg-lists/kuoruan_packages
Downloading http://openwrt.kuoruan.net/packages/releases/mipsel_24kc/Packages.sig
Signature check failed.
Remove wrong Signature file.
and then I can not install v2ray-core-mini
upd: reboot and now it's ok!)
upd; v2ray-core-mini "Not running" ((
They removed that package repo. I'll update the new package alternative.
upd; v2ray-core-mini "Not running" (( !! too.
Change Directory .
cd /tmp/
Update opkg
opkg update
If wget not installed already
opkg install wget ca-certificates ca-bundle
Download and Add Repo Key
wget -o kuoruan-public.key http://openwrt.kuoruan.net/packages/public.key
opkg-key add kuoruan-public.key
Add Repo to Source List .
echo "src/gz kuoruan_packages http://openwrt.kuoruan.net/packages/releases/$(. /etc/openwrt_release ; echo $DISTRIB_ARCH )" \
/etc/opkg/customfeeds.conf
echo "src/gz kuoruan_packages http://openwrt.kuoruan.net/packages/releases/$(. /etc/openwrt_release ; echo $DISTRIB_ARCH)" \
Update opkg
opkg update
Remove DNSMasq
opkg remove dnsmasq
Install V2Ray
opkg install v2ray-core-mini
Download Luci App V2Ray
wget -o luci-app-v2ray_2.0.0-1_all.ipk https://github.com/kuoruan/luci-app-v2ray/releases/download/v2.0.0-1/luci-app-v2ray_2.0.0-1_all.ipk
opkg install luci-app-v2ray_2.0.0-1_all.ipk
Unfortunately, I fail to be able to install V2Ray. See error message below:
root@OpenWrt:/tmp# echo "src/gz kuoruan_packages http://openwrt.kuoruan.net/packages/releases/$(. /etc/openwrt_release ; echo $DISTRIB_ARCH )" \
/etc/opkg/customfeeds.conf
src/gz kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64 /etc/opkg/customfeeds.conf
root@OpenWrt:/tmp# opkg update
Downloading http://downloads.openwrt.org/snapshots/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.9/packages/x86_64/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
root@OpenWrt:/tmp# opkg remove dnsmasq
No packages removed.
root@OpenWrt:/tmp# opkg install v2ray-core-mini
Unknown package 'v2ray-core-mini'.
Collected errors:
- opkg_install_cmd: Cannot install package v2ray-core-mini.
This error may be linked to above, but continue without above wil get me to errors below:
root@OpenWrt:/tmp# wget -o luci-app-v2ray_2.0.0-1_all.ipk https://github.com/kuoruan/luci-app-v2ray/releases/download/v2.0.0-1/luci-app-v2ray_2.0.0-1_all.ipk
root@OpenWrt:/tmp# opkg install luci-app-v2ray_2.0.0-1_all.ipk
Collected errors:
- opkg_conf_parse_file: Duplicate src declaration (kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64). Skipping.
- opkg_conf_parse_file: Duplicate src declaration (kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64). Skipping.
- opkg_conf_parse_file: Duplicate src declaration (kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64). Skipping.
- pkg_init_from_file: Malformed package file luci-app-v2ray_2.0.0-1_all.ipk.
This error may be linked to above, but continue without above wil get me to errors below:
root@OpenWrt:/tmp# wget -o luci-app-v2ray_2.0.0-1_all.ipk https://github.com/kuoruan/luci-app-v2ray/releases/download/v2.0.0-1/luci-app-v2ray_2.0.0-1_all.ipk root@OpenWrt:/tmp# opkg install luci-app-v2ray_2.0.0-1_all.ipk Collected errors:
- opkg_conf_parse_file: Duplicate src declaration (kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64). Skipping.
- opkg_conf_parse_file: Duplicate src declaration (kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64). Skipping.
- opkg_conf_parse_file: Duplicate src declaration (kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64). Skipping.
- pkg_init_from_file: Malformed package file luci-app-v2ray_2.0.0-1_all.ipk.
The original Author of this package had enabled CloudFlare JS verification. As a result, this automated script will not work. Therefore you have to download each package and install it manually.
Thanks for your quick response.
Any thoughts on my other error above?
And how to download & install manually? Do you have a list of commands?
Thanks for your quick response.
Any thoughts on my other error above?
And how to download & install manually? Do you have a list of commands?
Just use this one
https://v2raya.org/en/docs/prologue/installation/openwrt/
Getting even worse now :-(
Downloading http://openwrt.kuoruan.net/packages/releases/x86_64/Packages.gz
*** Failed to download the package list from http://openwrt.kuoruan.net/packages/releases/x86_64/Packages.gz
Downloading http://downloads.openwrt.org/snapshots/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.9/packages/x86_64/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Collected errors:
- opkg_conf_parse_file: Duplicate src declaration (kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64). Skipping.
- opkg_conf_parse_file: Duplicate src declaration (kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64). Skipping.
- opkg_conf_parse_file: Duplicate src declaration (kuoruan_packages http://openwrt.kuoruan.net/packages/releases/x86_64). Skipping.
- opkg_download: Failed to download http://openwrt.kuoruan.net/packages/releases/x86_64/Packages.gz, wget returned 8.
Still not :-(
root@OpenWrt:/tmp# wget https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03
--2023-07-23 18:56:06-- https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub
Resolving osdn.net... 34.211.25.169, 54.149.175.225
Connecting to osdn.net|34.211.25.169|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://osdn.net/frs/redir.php?m=osdn&f=%2Fstorage%2Fg%2Fv%2Fv2%2Fv2raya%2Fopenwrt%2Fv2raya.pub [following]
--2023-07-23 18:56:21-- https://osdn.net/frs/redir.php?m=osdn&f=%2Fstorage%2Fg%2Fv%2Fv2%2Fv2raya%2Fopenwrt%2Fv2raya.pub
Reusing existing connection to osdn.net:443.
HTTP request sent, awaiting response... 302 Found
Location: https://osdn.dl.osdn.net/storage/g/v/v2/v2raya/openwrt/v2raya.pub [following]
--2023-07-23 18:56:49-- https://osdn.dl.osdn.net/storage/g/v/v2/v2raya/openwrt/v2raya.pub
Resolving osdn.dl.osdn.net... 44.227.127.205, 54.184.171.155
Connecting to osdn.dl.osdn.net|44.227.127.205|:443... connected.
OpenSSL: error:0A000126:SSL routines::unexpected eof while reading
Unable to establish SSL connection.
I keep trying, but cannot go past the first step of the instruction:
root@OpenWrt:~# wget https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub -O /etc/opkg/keys/94cc2a834fb0aa03
--2023-07-23 20:31:48-- https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub
Resolving osdn.net... 54.149.175.225, 34.211.25.169
Connecting to osdn.net|54.149.175.225|:443... connected.
HTTP request sent, awaiting response... 504 Gateway Time-out
Retrying.
--2023-07-23 20:32:00-- (try: 2) https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub
Reusing existing connection to osdn.net:443.
HTTP request sent, awaiting response... 302 Found
Location: https://osdn.net/frs/redir.php?m=osdn&f=%2Fstorage%2Fg%2Fv%2Fv2%2Fv2raya%2Fopenwrt%2Fv2raya.pub [following]
--2023-07-23 20:32:00-- https://osdn.net/frs/redir.php?m=osdn&f=%2Fstorage%2Fg%2Fv%2Fv2%2Fv2raya%2Fopenwrt%2Fv2raya.pub
Reusing existing connection to osdn.net:443.
HTTP request sent, awaiting response... No data received.
Retrying.
--2023-07-23 20:32:50-- (try: 2) https://osdn.net/frs/redir.php?m=osdn&f=%2Fstorage%2Fg%2Fv%2Fv2%2Fv2raya%2Fopenwrt%2Fv2raya.pub
Connecting to osdn.net|54.149.175.225|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://osdn.dl.osdn.net/storage/g/v/v2/v2raya/openwrt/v2raya.pub [following]
--2023-07-23 20:33:31-- https://osdn.dl.osdn.net/storage/g/v/v2/v2raya/openwrt/v2raya.pub
Resolving osdn.dl.osdn.net... 44.227.127.205, 54.184.171.155
Connecting to osdn.dl.osdn.net|44.227.127.205|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2023-07-23 20:33:31 ERROR 500: Internal Server Error.
Ah wait... I cannot even access "https://osdn.net/projects/v2raya/storage/openwrt/v2raya.pub" from browser. Seems it's down?
Thanks for your help. I am quite desperate to install v2ray on my openwrt box. I have passwall and ssr+ running, but both don't support my node. The URL in the URL above seems outdated. Any idea how to get v2ray installed?
Thanks for your help. I am quite desperate to install v2ray on my openwrt box. I have passwall and ssr+ running, but both don't support my node. The URL in the URL above seems outdated. Any idea how to get v2ray installed?
The original Repo is working again, The Author fixed the CloudFlare WAF issue.
that gave error