Newbie to menuconfig. How to include openvpn packages?

hi

i'm trying to build an x86/64 image for Wyse 3040 to use as an openvpn client. This is my very first attempt at building any self compiled image.

I can't use the imagebuilder because it includes Serial output support, which prevents the Wyse 3040 from booting properly. There is no console output after 'Booting OpenWrt' message at top of screen:
https://firmware-selector.openwrt.org/?version=22.03.6&target=x86%2F64&id=generic

I've used menuconfig to exclude the Serial output, and successfully built a simple image including LuCI for 22.03.6 (and 22.03.4).

OpenWrt boots up on the Wyse 3040.
However, in both 22.03.6 (an 22.03.4), when I update the opkg package list and and try to install openvpn-openssl, it fails.

I then discovered it is a known problem and have to include the openvpn packages in my self compiled image.
https://openwrt.org/faq/cannot_satisfy_dependencies

I've found the luci collections for openvpn in menuconfig.

I presume I need to include openvpn-openssl (and may be other packages?), but I can't seem to find the former in menuconfig.

What am I doing wrong?

Thanks in advance

specific menuconfig options for Wyse 3040:

# Select options:
#   Target System -> x86
#   Subtarget -> x86_64
#   Target Profile -> Generic x86/64
#   Target Images -> (uncheck) Use Console Terminal (in addition to Serial)
#   Target Images -> (clear out) Serial port device
#   Target Images -> (uncheck) GZip images
#   LuCI -> Collections -> luci
#   Select whatever else you want/don't want
# Save/Exit

from building openwrt for Wyse 3040 by pjobson:
https://github.com/pjobson/dell-wyse-3040-openwrt

Update: Finally found openvpn-openssl package ! in MenuConfig -> Network > VPN section.

https://forum.openwrt.org/t/dell-wyse-3040-and-openvpn/181578

1 Like

It’s been more years than I want to think about since I last used make menuconfig and can’t recall if it has a search function. Try make nconfig instead. (Included as a wrapper in most distro’s make).

Using F8 will provide a SymSearch entry prompt. ie. enter openvpn_openssl to see where/selected by/selects . . . info is available.

Using F2 & F8 has helped me immensely when tracking down dependancy/where selected issues.

Sometimes you'll have to install the package first, e.g. './scripts/feeds install X'. In the menuconfig you can use search function with keying in slash ('/'). It'll show you path down to the package in the menu structure.

1 Like

Thank you for all the replies. I was able to find openvpn-openssl package in MenuConfig -> Network > VPN section.

I was able to compile an image with functioning openvpn.

Unfortunately, I've discovered a performance bug. The monitor has to be connected to the Dell Wyse 3040 during openwrt start up, otherwise, the four cores seem to be stuck around 480 MHz, never rising to 1900 MHz. This has an adverse effect on speed tests. eg. openvpn speed tests max out around 40 mbps.

With monitor connected during openwrt startup, openvpn speeds of 135 mbps is possible.

Installing a dummy plug headless ghost display emulator may be one workaround.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.