vbx89ps
September 1, 2024, 1:45pm
1
Hi everyone,
I am new to Openwrt and I've installed it on a Flint 2 (GL-MT6000) after some testing on a virtual machine (x86/64)
It works very well but now I face the following Problem. I'm trying to set the openvpn client.
On the virtual machine it was quite easy:
install the package openvpn-openssl and the package luci-app-openvpn
import the openvpn cert
start the client
Unfortunately on the Flint 2 I can't find the package "openvpn-openssl".
Without that package I get (naturally) the error that /etc/init.d/openvpn is missing.
Here some data:
Architecture ARMv8 Processor rev 4
Target Platform mediatek/filogic
Firmware Version OpenWrt 23.05.4 r24012-d8dd03c46f / LuCI openwrt-23.05 branch git-24.212.79335-cdbe903
Kernel Version 5.15.162
Is it possible to build the package or to download it somewhere?
Do you have any suggestions to solve this problem?
Thank you in advance,
vbx89ps
vbx89ps
September 1, 2024, 3:21pm
2
It works now, I looked the content of /etc/opkg/distfeeds.conf:
src/gz openwrt_core https://downloads.openwrt.org/releases/23.05.4/targets/mediatek/filogic/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/base
src/gz openwrt_luci https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/telephony
As I understand those pages are where openwrt looks for packages.
I checked those urls on the browser and I've found the package "openvpn-openssl" on the page "https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/packages ".
The url "https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/packages " was already present in the file /etc/opkg/distfeeds.conf
I manually uploaded the package on openwrt and the openvpn connection works.
How come the package "openvpn-openssl" was not in the list of available packages?
And, more important, is it ok to do, what I did?
brada4
September 1, 2024, 5:32pm
3
Did you update feeds like opkg update?
vbx89ps
September 1, 2024, 5:56pm
4
Hi @brada4 , yes I clicked "Update Lists" on Luci that executes "opkg update" but the package was not present till I manually uploaded it.
brada4
September 1, 2024, 5:59pm
5
Run
zcat /tmp/opkg-lists/openwrt_packages | grep openvpn
It should be there by all means....
vbx89ps
September 1, 2024, 6:43pm
6
Yes, it's there but probably wasn't there before I uploaded the package manually.
I think everything is ok. Thank you @brada4
brada4
September 1, 2024, 7:53pm
7
You have to ckeck, 0.01% chance online repo index misses it due to some build error?
vbx89ps
September 2, 2024, 5:16am
8
I'm not sure I understand what you mean. The Url in the distfeeds.conf was:
https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/packages
I used the same Url in the browser and I've found the package to download, that was not present in the list on Luci.
How can I check what you suggest?
brada4
September 2, 2024, 8:02am
9
Unzip downloaded package index and grep for openvpn packages in the list.
vbx89ps
September 2, 2024, 10:25am
10
the package is in the list.
brada4
September 2, 2024, 12:48pm
11
Rather strange it did not list. Lets write it off as a short-lived buildbot glitch?
vbx89ps
September 2, 2024, 12:57pm
12
Maybe It could be of help to know that when I've uploaded the package, other packages with the keyword "openvpn" appeared. At least "openvpn-easy-rsa" and "openvpn-wolfssl".
brada4
September 2, 2024, 1:04pm
13
If the package is in the index file it is always properly visualised in "available" packages.
I suspect you did nothing wrong, just something in OpenWRT glitched behind the scenes, time washed it away.
1 Like
vbx89ps
September 2, 2024, 1:18pm
14
I know it's not related but I just flashed another device (not Flint 2) and all the openvpn packages are visible.